GNOME Bugzilla – Bug 650587
Hide Search Folder actions when Search Folders are disabled
Last modified: 2011-05-31 04:48:24 UTC
Evolution crashes when you are in the email view, select an email and choose any of the Message > Create Rule > Search Folder from * menu entries.
+ Trace 227181
Here I add my backtrace full. Debian unstable Evolution(experimental package I think) version 3.0.0-2 Program received signal SIGSEGV, Segmentation fault. rule_from_message (rule=0x0, context=0x0, msg=0x7fffe0029150, flags=2) at mail-autofilter.c:256 256 mail-autofilter.c: No such file or directory. in mail-autofilter.c (gdb) bt full
+ Trace 227183
I can't reproduce in evolution-3.0.1-1.fc15.i686 and from git master. any can test again?
I forgot to mention the exact version of Evolution in my case is evolution-3.0.1-1.fc15
And x86_64 here.
Does "Search Folders" appear at the bottom of your sidebar? I was able to reproduce the crash when Search Folders are disabled through GConf. Those menu items shouldn't even be visible when Search Folders are disabled.
No, I didn't have Search Folders in in the sidebar. /apps/evolution/mail/display/enable_vfolders was set to false. When setting it to true, the search folders show up in the sidebar and the crash no longer occurs. If i set it back to false, the Message > Create Rule > Search Folder from * menu items are still visible and crash evolution, just like before. I've to add that I dragged my evolution settings through many evolution versions, using Evolution's build in save and restore settings functionality.
So I just set up a fresh Evolution for a new user and the search folders were enabled by default, so there's no problem for a fresh Evolution. But setting /apps/evolution/mail/display/enable_vfolders to false caused the crash for this clean evolution too, meaning that the Message > Create Rule > Search Folder from * menu entries are still visible.
Okay good, that's exactly what I expected. Updating bug summary accordingly.
Fixed for Evolution 3.1.2 in a series of commits: http://git.gnome.org/browse/evolution/commit/?id=f15ef02a7f3dda6b2f8058efab8407946d1d6a60 http://git.gnome.org/browse/evolution/commit/?id=7333f12087eb0b0271ff272c6643909a7803510b http://git.gnome.org/browse/evolution/commit/?id=9aa668aa6bf612673ad7e760b06fc62350be041e The changes are too extensive for 3.0, so only the first commit has been backported. This will cause the "Search Folder from *" menu items to just emit some runtime warnings to stderr and do nothing else, but it avoids a crash.
Downstream bug report from 3.0.1 about the same: https://bugzilla.redhat.com/show_bug.cgi?id=708875