Bug 34212

Summary: kmail crashes when sending mail with big attachment (size: 31MB)
Product: [Applications] kmail Reporter: Thomas Reitelbach <tr>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.3.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thomas Reitelbach 2001-10-28 10:05:58 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kmail
Version:           1.3.1 (using KDE 2.2.1 )
Severity:          normal
Installed from:    SuSE
Compiler:          gcc version 2.95.2 19991024 (release)
OS:                Linux (i686) release 2.2.14
OS/Compiler notes: 

Kmail crashes while sending a message with a big attachment.
In my case the attachment is a 31MB big zip file. when i click on the send button kmail works for a few seconds my harddrive works for a few seconds too. seems that kmail is processing the attachment. then kmail crashes with SIGABRT no debug symbols are found by kcrash.

any hints?

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Ingo Kl 2001-10-28 21:24:08 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 28 October 2001 11:05 tr@erdfunkstelle.de wrote:
> Kmail crashes while sending a message with a big attachment.
> In my case the attachment is a 31MB big zip file. when i click on the
> send button kmail works for a few seconds my harddrive works for a
> few seconds too. seems that kmail is processing the attachment. then
> kmail crashes with SIGABRT no debug symbols are found by kcrash.
>
> any hints?

KMail needs very much memory if you send huge attachments. The current=20
version needs temporarily about 10 times the size of the attachment=20
i.e. in your case about 300 MB. If you don't have that much memory it's=20
no wonder that KMail crashed.
BTW sending huge files as attachments is not a good idea because for=20
transportation the file is blown up to 4/3 of the original size (base64=20
encoding). It would be much better to put the file on a ftp or web=20
server.

Regards
Ingo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE73Hd4GnR+RTDgudgRAkI4AKCG0HDj0vndE9lM+gjGzOaLT//BxQCgyy6U
IdYtwQOwoQHvz1OGuKq11jE=3D
=3D8L14
-----END PGP SIGNATURE-----