GNOME Bugzilla – Bug 509124
crash in e_msg_composer_new_with_message (message=0x0) at e-msg-composer.c:4549
Last modified: 2008-01-24 12:44:04 UTC
What were you doing when the application crashed? I was juggling between two emails. I hit control+enter by mistake, and the seahorse dialog popped up to ask whether to allow using my GPG passphrase. I canceled the seahorse dialog and the Evolution dialog that came after, and there it crashed. Distribution: Debian lenny/sid Gnome Release: 2.20.3 2008-01-12 (Debian) BugBuddy Version: 2.20.1 System: Linux 2.6.22-3-amd64 #1 SMP Sun Nov 4 18:18:09 UTC 2007 x86_64 X Vendor: The X.Org Foundation X Vendor Release: 10400000 Selinux: No Accessibility: Disabled GTK+ Theme: Gorilla Icon Theme: Gorilla Memory status: size: 717639680 vsize: 717639680 resident: 126541824 share: 34324480 rss: 126541824 rss_rlim: 18446744073709551615 CPU usage: start_time: 1200215881 rtime: 9278 utime: 7318 stime: 1960 cutime:117 cstime: 57 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/evolution' Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0x2b49d210c970 (LWP 4649)] [New Thread 0x41802950 (LWP 6071)] [New Thread 0x43847950 (LWP 5875)] [New Thread 0x43806950 (LWP 5230)] [New Thread 0x43005950 (LWP 5229)] [New Thread 0x42804950 (LWP 5200)] [New Thread 0x42003950 (LWP 5195)] [New Thread 0x41001950 (LWP 5192)] [New Thread 0x40800950 (LWP 5191)] 0x00002b49c9d3b34f in waitpid () from /lib/libpthread.so.0
+ Trace 185155
Thread 1 (Thread 0x2b49d210c970 (LWP 4649))
----------- .xsession-errors (280 sec old) --------------------- adding certinfo sudres jacques <jacques.sudres@c-s.fr> adding certinfo sudres jacques <jacques.sudres@c-s.fr> adding certinfo sudres jacques <jacques.sudres@c-s.fr> creating fff adding certinfo sudres jacques <jacques.sudres@c-s.fr> adding certinfo sudres jacques <jacques.sudres@c-s.fr> adding certinfo sudres jacques <jacques.sudres@c-s.fr> fff get joss smtp://joss;auth=PLAIN@diva.malsain.org/ Find Items 0 get joss smtp://joss;auth=PLAIN@diva.malsain.org/ Find Items 0 (evolution:4649): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed --------------------------------------------------
The "Evolution dialog that came after" was probably the one we present if something goes wrong in build_message(): Could not create mail message. Because (blah), you may need to select different mail options. build_message() will then return NULL and we don't handle that well anywhere. Additionally, camel_object_cast() should check for NULL.
Created attachment 103492 [details] [review] Patch for camel_object_cast()
Created attachment 103494 [details] [review] Patch for e-msg-composer.c Improves the error handling a bit when build_message() fails.
Looks fine Matt.
Committed to trunk (evo revision 34883 / eds revision 8418).