GNOME Bugzilla – Bug 561628
Evolution crashed while looking at the print preview
Last modified: 2009-01-27 19:05:23 UTC
Steps to reproduce: The crash occurs while using email accounts that have a gpg key associated with it i.e., all the e-mail accounts will attach a gpg signature while sending an email. 1. Click on New Message 2. In the compose message window click on Print Preview 3. When the gpg password prompt comes up click cancel 4. Vola! Evolution crashes There is no stack trace generated even when the debuginfo were installed. I even tried using gdb. No luck. All I get is the following message (evolution:11675): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed Cannot confirm if this crash occurs while using e-mails accounts without the gpg keys associated with it. Stack trace: 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!
(In reply to comment #1) > 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! > Hi Matthew, What can I do if there is not stack trace generated. As I mentioned in the bug report, I have bug buggy installed as well as all the debuginfo packages installed. I cannot get the stack trace. I even used ***gdb*** with no luck. What more can I do?
Created attachment 123117 [details] Stack Trace from gdb Added the stack trace from gdb. The last set of outputs were repeated for ever. I just showed the output until #19, but everything else is exactly the same.
Hmm, looks like infinite recursion. The stuff in efhp_finalize() should probably be in a dispose() method, I guess. Haven't been able to reproduce the crash for myself yet using 2.25.1. I tried with a GPG signed message, a GPG encrypted message, and both. Print preview comes up fine in all three cases.
(In reply to comment #4) > Haven't been able to reproduce the crash for myself yet using 2.25.1. I tried > with a GPG signed message, a GPG encrypted message, and both. Print preview > comes up fine in all three cases. > Does the print preview as for a password to verify the gpg key?
For GPG encrypted mails, yes. For GPG signed mails it doesn't need to.
Actually it does require your GPG password when you are in composer, choosing File->Print Preview. :) (I was [also?] playing with a message preview pane under message list).
Created attachment 127330 [details] [review] proposed evo patch (typo) for evolution; Typo in the code, the object claimed its parent is itself, which caused an infinite loop.
This will work, but the better way to do it is: parent_class = g_type_class_peek_parent (class); It's one less place to hard-code what the parent class is. Approving anyway. Take my suggestion if you want.
Committed to trunk. Committed revision 37142. Committed to gnome-2-24. Committed revision 37143. I chose the g_type_class_peek_parent finally, even I saw that function before, I wasn't sure about class referencing there, thus I went by the safe way. :)