Bug 137361

Summary: bad_alloc / crash when using big attachements
Product: [Applications] kontact Reporter: Olaf Schubert <bugs>
Component: generalAssignee: kdepim bugs <pim-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Olaf Schubert 2006-11-14 22:27:48 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages
OS:                Linux

When attaching big files to an E-Mail Kontact crashes after a short while. I encountered this bug when trying to attach several images with a total size of about 30MB.
I was able to reproduce the crash with these steps:
1) dd if=/dev/zero of=/tmp/bigFile count=50k
2) attach drag&drop /tmp/bigFile to an empty message
Kontact takes some time (seconds) and then crashes.

The last 
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
Comment 1 Olaf Schubert 2006-11-15 10:58:05 UTC
see Bug 137364 (this was submitted twice)
Comment 2 Bram Schoenmakers 2006-11-15 14:33:20 UTC

*** This bug has been marked as a duplicate of 137364 ***