GNOME Bugzilla – Bug 639698
Crash in mail_shell_view_execute_search()
Last modified: 2013-01-23 14:27:08 UTC
What were you doing when the application crashed? searching a mail through the "search" option Distribution: Debian 6.0 Gnome Release: 2.30.2 2010-11-12 (Debian) BugBuddy Version: 2.30.0 System: Linux 2.6.36.2 #5 SMP Mon Dec 27 19:49:17 CET 2010 x86_64 X Vendor: The X.Org Foundation X Vendor Release: 10707000 Selinux: No Accessibility: Disabled GTK+ Theme: Unity Icon Theme: SphereCrystal GTK+ Modules: gnomebreakpad, canberra-gtk-module Memory status: size: 660828160 vsize: 660828160 resident: 44118016 share: 23007232 rss: 44118016 rss_rlim: 18446744073709551615 CPU usage: start_time: 1295212592 rtime: 258 utime: 248 stime: 10 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/evolution' [Thread debugging using libthread_db enabled] [New Thread 0x7f616665f710 (LWP 16468)] [New Thread 0x7f617136c710 (LWP 16456)] [New Thread 0x7f6171b6d710 (LWP 16455)] 0x00007f6180073b4d in waitpid () from /lib/libpthread.so.0
+ Trace 225556
Thread 1 (Thread 0x7f6185b11800 (LWP 16454))
Inferior 1 [process 16454] will be detached. Quit anyway? (y or n) [answered Y; input not from terminal] ----------- .xsession-errors (40 sec old) --------------------- ## mpc_buildContextMenu() ## mpc_buildContextMenu() ## mpc_buildContextMenu() ## mpc_extractStreamInternal (http://performance.izzop.com/modules/PEAR/apc.php, [object XPCNativeWrapper [object Window]]) ## mpc_extractStreamInternal2 (undefined, [object XPCNativeWrapper [object HTMLDocument]]) ## ## mpc_extractStreamInternal2 0ms # pageshow ## mpc_extractStreamOnDoc (http://performance.izzop.com/modules/PEAR/apc.php) ## mpc_extractStreamInternal2 (undefined, [object XPCNativeWrapper [object HTMLDocument]]) ## ## mpc_extractStreamInternal2 0ms ## mpc_extractStreamInternal (http://performance.izzop.com/modules/PEAR/apc.php, [object XPCNativeWrapper [object Window]]) ## mpc_extractStreamInternal2 (undefined, [object XPCNativeWrapper [object HTMLDocument]]) ## ## mpc_extractStreamInternal2 1ms (evolution:16454): evolution-network-manager-WARNING **: The name org.freedesktop.NetworkManager was not provided by any .service files --------------------------------------------------
The crash was triggered (twice) by a search in the search bar.
*** Bug 641177 has been marked as a duplicate of this bug. ***
*** Bug 649703 has been marked as a duplicate of this bug. ***
Similar downstream bug report from 3.6.2: https://bugzilla.redhat.com/show_bug.cgi?id=902970 Description of problem: Open Evolution and choose the top parent folder (called "Auf diesem Rechner" in german, probably "On this machine" in english) Enter a search term and choose to search in all acconts. Press enter to execute the search. After the search is done evolution starts to act weird, you can't switch to another folder or clear the search results. Click on the symbol that should clear the search term. Evolution crashes. Version-Release number of selected component: evolution-3.6.2-3.fc18 Additional info: backtrace_rating: 4 cmdline: evolution crash_function: mail_shell_view_execute_search executable: /usr/bin/evolution kernel: 3.7.2-204.fc18.x86_64 Core was generated by `evolution'. Program terminated with signal 6, Aborted.
+ Trace 231418
Thread 1 (Thread 0x7f9deb821a00 (LWP 1960))
Created attachment 234203 [details] [review] evo patch for evolution; When there was no folder selected in the folder tree, like the account nodes like On This Computer is, then the restore for the folder used uninitialized memory, which led to the crash. This patch avoids the crash. It also sets a CAMEL_STORE_FOLDER_PRIVATE flag on the virtual folders behind the search, thus they are not part of the Unmatched folder.
I forgot to mention, a workaround for this is to initiate the search only when staying on a real folder, like In This Computer/Inbox. Created commit fe8e579 in evo master (3.7.5+) Created commit b19b5a6 in evo gnome-3-6 (3.6.4+)