Bug 688067 - Crashes with GLib.child_watch_add
Crashes with GLib.child_watch_add
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-11-11 00:04 UTC by Daniel Narvaez
Modified: 2012-11-12 06:30 UTC (History)
1 user (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix crash with GLib.child_watch_add (878 bytes, patch)
2012-11-11 00:04 UTC, Daniel Narvaez
committed Details | Diff | Review

Description Daniel Narvaez 2012-11-11 00:04:59 UTC
Created attachment 228667 [details] [review]
Fix crash with GLib.child_watch_add

I'm seeing crashes when the destroy notify is called. I can reproduce them only in Ubuntu 12.10 and inside a complex application (sugar). So I couldn't come up with a test case.

  • #0 tupledealloc.24592
    at ../Objects/tupleobject.c line 218

The attached patch seems to solve the issue.
Comment 1 Martin Pitt 2012-11-12 06:30:21 UTC
Comment on attachment 228667 [details] [review]
Fix crash with GLib.child_watch_add

Thanks! These static bindings disappeared entirely from trunk, but I applied the patch to the pygobject-3-4 branch, so it will be in today's 3.4.2 release.

Note You need to log in before you can comment on or make changes to this bug.