Bug#758619: Much simpler code to trigger the problem (extract from bug #671785)

Eric Valette Eric.Valette at Free.fr
Thu Aug 21 09:27:49 UTC 2014


On 08/21/2014 10:52 AM, Eric Valette wrote:

cat > test.py
#!/usr/bin/python
import gtk
gtk.gdk.threads_init()
raw_input("If this didn't crash, hit enter.")

2 r-x-ceva6380:~->python test.py
If this didn't crash, hit enter.Attempt to unlock mutex that was not locked
Aborted


#!/usr/bin/python
import gtk

gtk.gdk.threads_init()
gtk.gdk.threads_enter()  <============= fixes the problem
raw_input("If this didn't crash, hit enter.")

python test.py
If this didn't crash, hit enter.



More information about the pkg-gnome-maintainers mailing list