PDA

View Full Version : Help with pthreads



DBQ
April 8th, 2012, 06:12 AM
Hi everybody.

Could somebody please enlighten me, about what could in theory be causing this error in my pthreads program?



pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.


Thank You!

MadCow108
April 8th, 2012, 06:07 PM
likely some memory corruption
try running valgrind on it.