Re: gtk3 HEAD crash



Hi Ildar,

On 10/27/2011 11:24:57 PM Thu, Ildar Mulyukov wrote:
Not sure how it happened. Guess the window was minimized.

/usr/bin/balsa -D
** Message: init gpgme version 1.3.1
** Message: protocol OpenPGP: engine /usr/bin/gpg2 (home (null), version 2.0.18)
** Message: protocol CMS: engine /usr/bin/gpgsm (home (null), version 2.0.18)
** Message: protocol GPGCONF: engine /usr/bin/gpgconf (home (null), version 2.0.18)
** Message: protocol Assuan: engine /tmp/.private/ildar/keyring-bFbmDV/gpg (home !GPG_AGENT, version 1.0)
Status: Connected (1319768668)
Status: Asleep (1319769719)
Status: Connected (1319771310)

(balsa:20709): Gtk-WARNING **: GtkDialog 0x7875c0: widget tried to gtk_widget_get_height inside  GtkWidget     ::get_height implementation. Should just invoke GTK_WIDGET_GET_CLASS(widget)->get_height directly rather than using gtk_widget_get_height

I was seeing similar warnings early in the gtk3 port, but not followed by a crash.  It was get_width, not get_height, and it was fixed with commit 083fcd8f5331bf02744ed34ccdb74a9f3e4550b2.  The issue was a signal-handler locking the mailbox, which requires temporarily dropping the gdk lock; another thread stepped in, and the result was a re-entrant call to the widget sizing code.  The fix was to move the action that required locking the mailbox from the signal-handler to an idle-callback.

If you can reproduce the warning and get a stack trace (all threads), it would allow a start on debugging.  Without that, it's hard to know where to begin!

Best,

Peter

Attachment: pgpi5l9WtnU13.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]