Re: Crash in pthread_mutex_lock
Re: Crash in pthread_mutex_lock
- Subject: Re: Crash in pthread_mutex_lock
- From: Jonas Maebe <email@hidden>
- Date: Sun, 12 Jun 2005 10:31:10 +0200
On 12 Jun 2005, at 07:35, Jeremy Sagan wrote:
Now my major problem is that every call to pthread_mutex_lock
crashes with a EXC_Bad_ACCESS. I have tried changing the compiler
from 4.0 to 3.3 with no difference. The same call works fine when
compiled under codewarrior.
Are you calling pthread_mutex_init first, and if you pass an
attribute are you initialising that one as well? That the code works
fine when compiled with Codewarrior does not necessarily mean it's
correct. Different stack layouts can expose different bugs.
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden