GNOME Bugzilla – Bug 603652
Sporadic crashes with GtkSocket
Last modified: 2010-02-05 14:25:35 UTC
Created attachment 148958 [details] Backtrace of the crash I'm experiencing crashes from time to time (1/40) in a notification-area like app (using XEmbed a lot), and after using synchronous X calls, I traced most of the crashes to the gdk_window_begin_implicit_paint() function (attached bt, sorry but I have only 14 levels available). Perhaps putting error trap in the function would be a good idea.
I should add that I'm using gdk_window_set_composited(TRUE) on the GtkSocket's window. I don't know if also standard GtkSocket exhibits these crashes.
See bug 598476 which looks sort of the same. Michal, could it be your icon is crashing first at an inopportune moment in gtk's draw cycle bringing your notification-area like app down with it?
Ray, actually yes. My app is actually Awn's notification-area applet, and I'm mostly seeing this issue when Rhythmbox embeds itself - it seems to be doing something scary, cause it embeds, destroys the tray window (probably after figuring out it's alpha-capable) and then embeds once again. I can mostly trigger the crash by starting Rhythmbox. I've been over the bug you linked and it does seem to be the same issue. If you're trying to determine the severity, it'd say it's very high, because if the expose comes in wrong time, the Rhythmbox app is able is crash the notification-area, which in our case in also embeded, and can actually crash our main process (where the same bug happens).
*** This bug has been marked as a duplicate of bug 598476 ***