[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Bug#38786: marked as done (KMail crashes when sending Large (ca 60MB) Attachments) by Marc Mutz <mut
From:       owner () bugs ! kde ! org (Stephan Kulow)
Date:       2002-02-28 16:48:04
[Download RAW message or body]

Your message with subj: Bug#38786: KMail crashes when sending Large (ca 60MB) \
Attachments

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 28 February 2002 16:29, gunter@gunter.de wrote:
<snip>
> I tried to send a large file (62341120 Bytes).
> 
> On xosview i could see how my mem (256MB) and Swap (ca.120MB) fills
> up. Finaly when swap & mem all full KMail crashes.
<snip>

No. Kmail is terminated by the kernel because a memory request cannot be 
handled due to OOM.
Add more RAM or swap.
That KMail uses large amounts of VM for certain operations (handling 
large attachments is one of them) is well-known and was already 
reported dozens of times. We are working on a solution, but it will be 
massive and thus will not make it into KDE3.0.

Try again with 512M swap. That should suffice (you should always have 
2xRAM as swap, BTW). In the _very_ ideal case, attaching a 60M file 
needs already (1+1.33)*60=140M VM. You can play some tricks like having 
smaller buffers and stream from one file into another and then out to 
the network, but the truth is that 60M is _waaaay_ to big for an EMail. 
You should put files that large on a ftp or http server and send a 
link. I guess many mail servers would reject mails that big.

Marc

- -- 
Marc Mutz <mutz@kde.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8fl1U3oWD+L2/6DgRAra0AJ95pTlSU1awrHrn+auLCn66fmQqpwCff0yn
U2acdZslqRgovT4foSwl7DM=
=U9Ge
-----END PGP SIGNATURE-----


has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

Received: (at submit) by bugs.kde.org; 28 Feb 2002 15:29:41 +0000
Received: (qmail 4029 invoked by uid 33); 28 Feb 2002 15:29:41 -0000
Date: 28 Feb 2002 15:29:41 -0000
Message-ID: <20020228152941.4028.qmail@mail.kde.org>
To: submit@bugs.kde.org
Subject: KMail crashes when sending Large (ca 60MB) Attachments
From: gunter@gunter.de
X-KDE-Received: -217.24.236.9

Package:           kmail
Version:           KDE 2.2.2
Severity:          normal
Installed from:    SuSE RPMs
Compiler:          gcc-2.95.3-124
OS:                Linux
OS/Compiler notes: Not Specified

I tried to send a large file (62341120 Bytes).
On xosview i could see how my mem (256MB) and Swap (ca.120MB) fills up. Finaly when \
swap & mem all full KMail crashes. I Upgraded to KDE2.2.2 and Kmail still crashes \
with large attachments.

I think this says something to you:  :-)

0x41129079 in wait4 () from /lib/libc.so.6
#0  0x41129079 in wait4 () from /lib/libc.so.6
#1  0x411a18c4 in __DTOR_END__ () from /lib/libc.so.6
#2  0x40908805 in KCrash::defaultCrashHandler ()
   from /opt/kde2//lib/libkdecore.so.3
#3  <signal handler called>
#4  0x410af861 in kill () from /lib/libc.so.6
#5  0x410af665 in raise () from /lib/libc.so.6
#6  0x410b0c81 in abort () from /lib/libc.so.6
#7  0x41035e48 in __default_terminate () from /usr/lib/libstdc++-libc6.2-2.so.3
#8  0x41035e6d in __terminate () from /usr/lib/libstdc++-libc6.2-2.so.3
#9  0x41036926 in throw_helper () from /usr/lib/libstdc++-libc6.2-2.so.3
#10 0x41036af5 in __throw () from /usr/lib/libstdc++-libc6.2-2.so.3
#11 0x41038847 in __builtin_vec_new () from /usr/lib/libstdc++-libc6.2-2.so.3
#12 0x405e0718 in mem_alloc () from /opt/kde2//lib/libmimelib.so.1
#13 0x405e2ecc in DwString::_replace () from /opt/kde2//lib/libmimelib.so.1
#14 0x405e0b14 in DwString::DwString () from /opt/kde2//lib/libmimelib.so.1
#15 0x405d12b5 in DwDecodeBase64 () from /opt/kde2//lib/libmimelib.so.1
#16 0x08110b95 in KDialog::marginHint ()
#17 0x08110e62 in KDialog::marginHint ()
#18 0x080ea37f in KDialog::marginHint ()
#19 0x4048670f in KIO::Job::result () from /opt/kde2//lib/libkio.so.3
#20 0x4046d481 in KIO::Job::emitResult () from /opt/kde2//lib/libkio.so.3
#21 0x4046e331 in KIO::SimpleJob::slotFinished ()
   from /opt/kde2//lib/libkio.so.3
#22 0x40470551 in KIO::TransferJob::slotFinished ()
   from /opt/kde2//lib/libkio.so.3
#23 0x40b93ddd in QObject::activate_signal () from /usr/lib/qt2/lib/libqt.so.2
#24 0x4045f8e6 in KIO::SlaveInterface::finished ()
   from /opt/kde2//lib/libkio.so.3
#25 0x4045bbfc in KIO::SlaveInterface::dispatch ()
   from /opt/kde2//lib/libkio.so.3
#26 0x4045b93a in KIO::SlaveInterface::dispatch ()
   from /opt/kde2//lib/libkio.so.3
#27 0x4045a4ec in KIO::Slave::gotInput () from /opt/kde2//lib/libkio.so.3
#28 0x40b940be in QObject::activate_signal () from /usr/lib/qt2/lib/libqt.so.2
#29 0x40bea13a in QSocketNotifier::activated ()
   from /usr/lib/qt2/lib/libqt.so.2
#30 0x40bc997f in QSocketNotifier::event () from /usr/lib/qt2/lib/libqt.so.2
#31 0x40b40836 in QApplication::notify () from /usr/lib/qt2/lib/libqt.so.2
#32 0x4086e7a6 in KApplication::notify () from /opt/kde2//lib/libkdecore.so.3
#33 0x40b0c059 in sn_activate () from /usr/lib/qt2/lib/libqt.so.2
#34 0x40b0c79e in QApplication::processNextEvent ()
   from /usr/lib/qt2/lib/libqt.so.2
#35 0x40b4245f in QApplication::enter_loop () from /usr/lib/qt2/lib/libqt.so.2
#36 0x40b0c0cb in QApplication::exec () from /usr/lib/qt2/lib/libqt.so.2
#37 0x08175c44 in KDialog::marginHint ()
#38 0x4109e7ee in __libc_start_main () from /lib/libc.so.6

Have a nice day!
-> gunter

(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application, KDE Version, OS, Compiler \
manually changed)

_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic