• 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
SIGTRAP with MallocStackLogging enabled on Intel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SIGTRAP with MallocStackLogging enabled on Intel


  • Subject: SIGTRAP with MallocStackLogging enabled on Intel
  • From: Steven Frank <email@hidden>
  • Date: Mon, 28 Aug 2006 13:14:27 -0700

Hello,

I have a project which breaks into the debugger with SIGTRAP when debugged on an Intel Mac, but not on a PowerPC Mac.

There is some sort of relation with MallocStackLogging -- when it's set to 1, I get the SIGTRAP. When it's set to 0, I don't. On PowerPC, it doesn't happen at all.

One of the threads is always in a fairly innocuous-looking call to usleep() at the time of the SIGTRAP. All of the other threads are in various states of sitting around not doing much.

Obviously, I can work around it by disabling MallocStackLogging -- but is this symptomatic of a memory issue in my code, or is it simply a bug in MallocStackLogging? In which case, should it be reported? (Is MallocStackLogging not threadsafe?)

Thanks for any advice,

Steven
http://panic.com/
http://stevenf.com/



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: sprite video tracking
  • Next by Date: Responding to a double-click in a table
  • Previous by thread: Re: sprite video tracking
  • Next by thread: Responding to a double-click in a table
  • Index(es):
    • Date
    • Thread