GNOME Bugzilla – Bug 595501
Crash on a changed filter rule removal
Last modified: 2013-09-13 01:04:28 UTC
I am running the latest code from the gnome-2-28 branch on ubuntu jaunty. Here is the stack trace: (gdb) bt
+ Trace 217649
Thread 1 (Thread 0xb62e6750 (LWP 22970))
Here is some additional info to reproduce this: 1) I opened the dialog "Open saved searches" in tasks and selected an item. 2) In this rule, all conditions had to be satisfied and two conditions were there. - priority not low - status not completed 3) I added another condition pressing the button top left. 4) I chose priority, and "is", and "normal" and hit the "Remove" button and boom!!
I can reproduce on evolution 2.27.92 Program received signal SIGSEGV, Segmentation fault. 0x00007fffe1652016 in filter_rule_remove_part (fr=0x138c280, fp=0x14d0600) at filter-rule.c:521 521 filter-rule.c: No such file or directory. in filter-rule.c (gdb) bt full
+ Trace 217659
Created attachment 143429 [details] [review] proposed evo patch for evolution; Confirming. I did a mistake when removing deprecated Gtk+ symbols.
Looks fine. Commit.
Just after a code freeze. Someone should notify me of "all of them" :)
Created commit 033337a in evo master (2.29.1+) Created commit f68dc8e in evo gnome-2-28 (2.28.1+)
*** Bug 604092 has been marked as a duplicate of this bug. ***
Just got segfault in less_parts in em-filter-rule.c and - smart as I am - first did a search before creating a new bug. And it looks like the changes to filter/filter-rule.c did not make it into mail/em-filter-rule.c. Unfortunately, when I tried to apply the above patch, there would still be an assertion: (evolution:9171): evolution-mail-CRITICAL **: less_parts: assertion `part_data != NULL' failed (gdb) bt full
+ Trace 219693
(gdb)
Created attachment 150165 [details] [review] proposed evo patch ][ for evolution; ah, right, the similar functions, but different file. Pity. Please try with this patch instead. There were necessary more changes. I also do not get the crash, but I saw some runtime warnings on console while clicking on "remove" button in message filters bottom part.
(In reply to comment #9) > Created an attachment (id=150165) [details] [review] > proposed evo patch ][ > > for evolution; > > ah, right, the similar functions, but different file. Pity. Please try with > this patch instead. Yep. Works. Thanks, Milan!
Created commit 6ba2bdc in evo master (2.29.5+) Created commit a1bd223 in evo gnome-2-28 (2.28.3+) Thanks for noticing and testing, Thomas.