[EMAIL PROTECTED] discourseth: > I'm getting segfaults when doing a PyObject_CallFunction() from a > C/GTK+ value_changed signal handler on an adjustment. My top-level > program is written in pygtk. Can anyone think of anything likely to > cause this (threading related, for example)? I'm using pygtk-0.6.3 > and python-1.5.2 with threads. OK, putting PyGtk_BlockThreads()/PyGtk_UnblockThreads() around the PyObject_CallFunction() seems to fix the problem. I'd tried that before, but *that* was core-dumping because I hadn't called init_pygtk(). Anyhow, if anyone has commentary on this please speak up. If not, continue to watch me respond to myself. :) Note: doing `gdb /usr/local/bin/python core' was surprisingly pleasant. Eric To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
