hang in multithreaded program / python and gdb.

Jd jd at nospam.com
Thu Sep 13 09:56:20 CEST 2007


Hi
   I want to debug a locking situation in my program.

   http://wiki.python.org/moin/DebuggingWithGdb

   Where do I get binaries for ?
     - debug python 2.5 binary/rpm for FC7

   Also, the description of the hang is as follows.

   2 therads waiting in sem_wait at GLIBC_2.0 ... from PyThread_acquire_lock()

   1 thread in _poll from _socketmodule.so.

   Any ideas what might be going on. (Isnt PyThread_acquire_lock()
trying to get the global interpreter lock ?)

  Any help.. pointers are welcome.

Thanks
/Jd



More information about the Python-list mailing list