• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash in pthread_mutex_lock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Crash in pthread_mutex_lock
      • From: Jeremy Sagan <email@hidden>
References: 
 >Crash in pthread_mutex_lock (From: Jeremy Sagan <email@hidden>)

  • Prev by Date: Re: Internal Error Loading Projects After Installing 2.1
  • Next by Date: Build Style access at compile time
  • Previous by thread: Crash in pthread_mutex_lock
  • Next by thread: Re: Crash in pthread_mutex_lock
  • Index(es):
    • Date
    • Thread