After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 603652 - Sporadic crashes with GtkSocket
Sporadic crashes with GtkSocket
Status: RESOLVED DUPLICATE of bug 598476
Product: gtk+
Classification: Platform
Component: Backend: X11
2.18.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on: 598476
Blocks:
 
 
Reported: 2009-12-02 22:37 UTC by Michal Hruby
Modified: 2010-02-05 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Backtrace of the crash (2.31 KB, text/plain)
2009-12-02 22:37 UTC, Michal Hruby
Details

Description Michal Hruby 2009-12-02 22:37:32 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.
Comment 1 Michal Hruby 2009-12-04 09:24:17 UTC
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.
Comment 2 Ray Strode [halfline] 2009-12-08 14:29:31 UTC
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?
Comment 3 Michal Hruby 2009-12-08 15:08:17 UTC
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).
Comment 4 Michal Hruby 2010-02-05 14:25:35 UTC

*** This bug has been marked as a duplicate of bug 598476 ***