Crash in PyThread_acquire_lock

Antoine Pitrou solipsis at pitrou.net
Sat Jul 3 10:43:50 EDT 2010


Hello,

> 'thelock->locked' is for sure still locked, but I can't identify the
> problem.
> Its just waiting, but it gets a 'EXC_BAD_ACCESS'. The line of the
> crash
> in PyThread_acquire_lock is the following one:
> 
> while ( thelock->locked ) {
>     status = pthread_cond_wait(&thelock->lock_released, &thelock-
> >mut);  <<<<<<<<<<

Are you sure the crash happens in this thread and not another one?






More information about the Python-list mailing list