GNOME Bugzilla – Bug 357492
[patch] Composer: Crash on deleting an Attachment
Last modified: 2013-09-10 14:04:39 UTC
What were you doing when the application crashed? moved 4 attachments from one email message (in the outbox. Was too large to send) to a new message then attempted to delete the 4 from the first message. Distribution: Ubuntu 6.10 (edgy) Gnome Release: 2.16.0 2006-09-04 (Ubuntu) BugBuddy Version: 2.16.0 Memory status: size: 323993600 vsize: 0 resident: 323993600 share: 0 rss: 57376768 rss_rlim: 0 CPU usage: start_time: 1159117632 rtime: 0 utime: 6197 stime: 0 cutime:5611 cstime: 0 timeout: 586 it_real_value: 0 frequency: 0 Backtrace was generated from '/usr/bin/evolution-2.8' (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1233365328 (LWP 28134)] [New Thread -1350571104 (LWP 28607)] [New Thread -1342178400 (LWP 28603)] [New Thread -1332286560 (LWP 28155)] [New Thread -1323791456 (LWP 28152)] [New Thread -1315398752 (LWP 28151)] [New Thread -1306612832 (LWP 28148)] [New Thread -1297228896 (LWP 28147)] [New Thread -1288795232 (LWP 28144)] [New Thread -1280365664 (LWP 28142)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 73143
Thanks for the bug report. Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Can you reproduce the crash?
Created attachment 73526 [details] debug output debug
Thanks for the stacktrace. :) REOPENing. Pasting the relevant part here for convenient searching:
+ Trace 73432
Although the stacktraces do not match entirely, I believe this to be the same issue as bug 353382. The description is the same, and these are the only crashes in e_attachment_bar_remove_selected() so far, no other duplicates at all. The difference in the stacktraces likely is due to different actions (keyboard shortcut vs. context menu).
*** Bug 353382 has been marked as a duplicate of this bug. ***
*** Bug 358779 has been marked as a duplicate of this bug. ***
Component Mailer.
Confirming.
*** Bug 366449 has been marked as a duplicate of this bug. ***
*** Bug 367863 has been marked as a duplicate of this bug. ***
From bug 366449:
+ Trace 81084
Priority urgent, Target Milestone 2.8. Note: According to the descriptions, there are a *lot* of duplicates out there (unfortunately with a corrupt stacktrace).
*** Bug 368379 has been marked as a duplicate of this bug. ***
*** Bug 368563 has been marked as a duplicate of this bug. ***
*** Bug 365403 has been marked as a duplicate of this bug. ***
Created attachment 75947 [details] [review] proposed patch This bug fixes the crash and also fixes the problem of the attachments not getting deleted.
*** Bug 365489 has been marked as a duplicate of this bug. ***
*** Bug 369555 has been marked as a duplicate of this bug. ***
*** Bug 369918 has been marked as a duplicate of this bug. ***
*** Bug 369978 has been marked as a duplicate of this bug. ***
*** Bug 370007 has been marked as a duplicate of this bug. ***
*** Bug 370830 has been marked as a duplicate of this bug. ***
*** Bug 370928 has been marked as a duplicate of this bug. ***
*** Bug 371496 has been marked as a duplicate of this bug. ***
*poke* What about committing the patch? So we just missed to get it in into 2.9.2, eh?
(In reply to comment #24) > *poke* > > What about committing the patch? So we just missed to get it in into 2.9.2, eh? > Is there a patch I can download to fix this problem? I'm using Ubuntu and my Evolution seems to be up-to-date. P.
*** Bug 372125 has been marked as a duplicate of this bug. ***
Pawel, the (source code) patch is attached to this report. However, unless you are building from source, you'd need to wait for your distro to release a version that contains this fix.
Partha it fixes the bug. But is that another ptr array req? you can just unref the attachment u get. I feel unnecessary iterations included.
*** Bug 372622 has been marked as a duplicate of this bug. ***
(In reply to comment #28) > Partha it fixes the bug. But is that another ptr array req? you can just unref > the attachment u get. I feel unnecessary iterations included. > Srini, the earlier code used to unref it within the loop, but what happens is that the items list gets unrefed too (the attachemnts array data is linked to the items) - so it becomes necessary that we have another array. Shall i commit this??
Got it. Please commit to HEAD and Stable.
Patch committed. Thanks.
Partha you missed to putinto stable. Done :)
*** Bug 374678 has been marked as a duplicate of this bug. ***
*** Bug 385370 has been marked as a duplicate of this bug. ***
*** Bug 385587 has been marked as a duplicate of this bug. ***
*** Bug 387986 has been marked as a duplicate of this bug. ***
*** Bug 398304 has been marked as a duplicate of this bug. ***
*** Bug 399553 has been marked as a duplicate of this bug. ***
*** Bug 400135 has been marked as a duplicate of this bug. ***
*** Bug 400261 has been marked as a duplicate of this bug. ***
*** Bug 405273 has been marked as a duplicate of this bug. ***
*** Bug 404562 has been marked as a duplicate of this bug. ***
*** Bug 405684 has been marked as a duplicate of this bug. ***
*** Bug 417440 has been marked as a duplicate of this bug. ***
*** Bug 418530 has been marked as a duplicate of this bug. ***
*** Bug 431494 has been marked as a duplicate of this bug. ***
*** Bug 431616 has been marked as a duplicate of this bug. ***
*** Bug 444865 has been marked as a duplicate of this bug. ***
*** Bug 481319 has been marked as a duplicate of this bug. ***
*** Bug 497090 has been marked as a duplicate of this bug. ***