Jeff Epler jepler@unpythonic.net writes:
On Wed, Dec 17, 2003 at 03:01:00PM +0100, Michael Lauer wrote:
Hi, I have a python program which works fine on x86 but doesn't work on any of my arm-linux devices (Zaurus, Ipaq, SIMpad) - all of them are running Python 2.3.2 on top of glibc 2.3.2+linuxthreads on top of kernel 2.4.18-rmk6-pxa3 respectively kernel 2.4.19-rmk7.
Using threads and fork together seems to be a big smelly armpit in Python. There are also problems on redhat9, where signals in a fork+exec'd subprocess are blocked, for instance.
This is in no way restricted to RH9...
This seemed to be a consequence of blocking all signals in thread_pthread.h:PyThread_start_new_thread(). Perhaps pthread_atfork()
Perhaps.
Cheers, mwh