GNOME Bugzilla – Bug 491210
Closing find dialog while composing reply closes Evolution
Last modified: 2008-01-22 10:27:53 UTC
Please describe the problem: Pressing 'Close' button in find dialog while composing reply not only closes that dialog, but quits Evolution. Steps to reproduce: 1. Press Ctrl+L (reply) 2. Press Ctrl+F (find) 3. Press 'Close' button in find dialog Actual results: Evolution quits Expected results: just close find dialog Does this happen every time? yes Other information:
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Sorry, I didn't thought that it's actually a crash until I've run Evolution in gdb. Here's backtrace:
+ Trace 173552
(evolution:31802): GLib-GObject-WARNING **: g_object_weak_unref: couldn't find weak ref 0x5bcf270(0x7a9ea50) ==31802== ==31802== Invalid read of size 4 ==31802== at 0xA8D9E93: search_dialog_response (search.c:98) ==31802== by 0x5653EA4: g_cclosure_marshal_VOID(i_xx_t) (gmarshal.c:216) ==31802== by 0x56459A1: g_closure_invoke (gclosure.c:490) ==31802== by 0x565AB6C: signal_emit_unlocked_R (gsignal.c:2440) ==31802== by 0x565C707: g_signal_emit_valist (gsignal.c:2199) ==31802== by 0x565CB54: g_signal_emit (gsignal.c:2243) ==31802== by 0x41B8A20: gtk_dialog_response (gtkdialog.c:903) ==31802== by 0x41B8A64: action_widget_activated (gtkdialog.c:602) ==31802== by 0x565323E: g_cclosure_marshal_VOID__VOID (gmarshal.c:77) ==31802== by 0x56459A1: g_closure_invoke (gclosure.c:490) ==31802== by 0x565AB6C: signal_emit_unlocked_R (gsignal.c:2440) ==31802== by 0x565C707: g_signal_emit_valist (gsignal.c:2199) ==31802== Address 0xB4FE370 is 24 bytes inside a block of size 28 free'd ==31802== at 0x402243F: free (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==31802== by 0x56BA6C0: g_free (gmem.c:187) ==31802== by 0xA8D9677: gtk_html_search_dialog_destroy (search.c:164) ==31802== by 0xA8D9E89: search_dialog_response (search.c:97) ==31802== by 0x5653EA4: g_cclosure_marshal_VOID(i_xx_t) (gmarshal.c:216) ==31802== by 0x56459A1: g_closure_invoke (gclosure.c:490) ==31802== by 0x565AB6C: signal_emit_unlocked_R (gsignal.c:2440) ==31802== by 0x565C707: g_signal_emit_valist (gsignal.c:2199) ==31802== by 0x565CB54: g_signal_emit (gsignal.c:2243) ==31802== by 0x41B8A20: gtk_dialog_response (gtkdialog.c:903) ==31802== by 0x41B8A64: action_widget_activated (gtkdialog.c:602) ==31802== by 0x565323E: g_cclosure_marshal_VOID__VOID (gmarshal.c:77) The above log may give a better reason for this.
Created attachment 103396 [details] [review] Patch for bug 491210 in gtkhtml
Looks fine to commit. I tested with valgrind also, it works great. Thanks Bharath.
Committed to SVN trunk as r8694 (http://svn.gnome.org/viewvc/gtkhtml?view=revision&revision=8694)