Source

pygtk-threads /

Filename Size Date modified Message
cpp
python
87 B
1.8 KB
3.5 KB
Enabling a11y:
/desktop/gnome/interface/accessibility = true
export GTK_MODULES=gail:atk-bridge


Hang column indicates if the GTK application has hung.
Listed column indicates if the application is visible in the AT-SPI
listing.

                                         |   hang   | listed |
-----------------------------------------+----------+--------+
python/primarythread_gobject.py          |   no     |  yes   |
python/primarythread_gtkgdk.py           |   no     |  yes   |
python/secondarythread_gobject_import.py |   no [1] |  yes   |
python/secondarythread_gobject.py        |   yes    |  hang  |
python/secondarythread_gtkgdk_import.py  |   no [1] |  yes   |
python/secondarythread_gtkgdk.py         |   yes    |  hang  |
python/multiprocessing_gobject.py        |   no     |  yes   |
cpp/primarythread.cpp                    |   no     |  yes   |
cpp/secondarythread.cpp                  |   yes    |  hang  |
cpp/secondarythread_init.cpp             |   no [1] |  yes   |

[1] ** (secondarythread_gobject_import.py:5828): CRITICAL **:
giop_thread_request_push: assertion `tdata != NULL' failed
  -- at the application termination


Analogies:
python/primarythread_gtkgdk.py          - cpp/primarythread.cpp
python/secondarythread_gtkgdk_import.py - cpp/secondarythread_init.cpp
python/secondarythread_gtkgdk.py        - cpp/secondarythread.cpp


Both for Python and C++ secondarythread variants seem to hang when using
/usr/lib/libORBit-2.so.0. Only in this variant link_set_io_thread() 
inside giop_thread_new_check() is called, which leads to executing 
g_main_loop_run().


Some links:
http://www.daa.com.au/pipermail/pygtk/2009-June/017158.html
https://bugzilla.gnome.org/show_bug.cgi?id=326545
http://stackoverflow.com/questions/7010004/pygtk-threads-and-accessibility-application-hangs
https://bugzilla.redhat.com/show_bug.cgi?id=231394