GNOME Bugzilla – Bug 348679
[patch]Crash removing an http:// Attachment
Last modified: 2007-03-30 23:59:24 UTC
I was composing a new mail. Accidentally added a new attachment by drag-n-drop a link from Firefox to the Composer (wanted to get the URL in the mail body only). The link I accidentally attached is a PDF file, about 10 MByte large, http:// source. The attachment can not have been pulled from the net before I clicked the attachment. Also, the icon still was some place-holder with a large questionmark. On right clicking the attachment to remove it, Evo crashed instantly. Reproducible. Note: Why is org_gnome_evolution_import_ics_attachments() being called at all here? Evolution 2.6.2+, patch for bug 342242 applied Including the crashing, top-most thread only. Backtrace was generated from '/opt/gnome-2.14/bin/evolution-2.6' Using host libthread_db library "/lib/tls/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1230387520 (LWP 8177)] [New Thread -1346184272 (LWP 9339)] [Thread debugging using libthread_db enabled] [New Thread -1230387520 (LWP 8177)] [New Thread -1346184272 (LWP 9339)] [Thread debugging using libthread_db enabled] [New Thread -1230387520 (LWP 8177)] [New Thread -1346184272 (LWP 9339)] [New Thread -1330672720 (LWP 8523)] [New Thread -1322280016 (LWP 8522)] [New Thread -1309017168 (LWP 8304)] [New Thread -1296671824 (LWP 8237)] [New Thread -1288094800 (LWP 8236)] [New Thread -1279698000 (LWP 8186)] [New Thread -1269937232 (LWP 8185)] [New Thread -1261151312 (LWP 8183)] [New Thread -1252709456 (LWP 8181)] [New Thread -1244316752 (LWP 8180)] [New Thread -1235924048 (LWP 8179)] 0xffffe410 in ?? ()
+ Trace 69616
Stacktrace very similar to the one in bug 331435. However, please note this significant difference in the stacktrace above: e_plugin_invoke (ep=0x0, name=0x0, data=0x0)
Also, bug 332280 got a similar stacktrace. The difference in all these cases are the passed values and NULL pointers...
Created attachment 74970 [details] [review] proposed patch Accessing the structure members directly (as was the case) is the reason for the crash. The cameldatawrapper class provides methods to determine mime type, use that instead of trying to access the member variable. The attached patch fixes the issue.
This patch has been committed to head.
Thanks for the fix. Can you commit it to STABLE as well?
*** Bug 422536 has been marked as a duplicate of this bug. ***