> A Trace/BPT trap is generated when the process kills itself, such as abort() 
> or __builtin_trap() or assert() failure.
>
> Is this a normal app, or something unusual like a user agent or LSUIElement ?

My app is an LSUIElement, although I did see the problem after
removing LSUIElement from the Info.plist file.  The purpose of the app
is to backup Google Docs, Calendars, and Contacts.  The app typically
performs backups every hour.  When I have seen this error, I have had
the app in "stress test" mode, backing up data every minute.  I don't
know if backing up data so often is triggering the error, or just
making it happen more quickly.

In one case, I saw a "Throttling respawn: Will start in 10 seconds"
just before the Trace/BPT trap:

3/27/11 10:53:50
PM      com.apple.launchd.peruser.502[157]      (com.apple.ReportCrash)
Throttling respawn: Will start in 10 seconds
3/27/11 10:53:51
PM      com.apple.launchd[1]    catch_mach_exception_raise_state_identity():
PID: 16410 thread: 0x9a47 type: 0xa code: 0x1000f6044 codeCnt: 0x2
flavor: 0x1000f6054 old_state: 0x1000f605c old_stateCnt: 0x2c
new_state: 0x1000f502c new_stateCnt: 0x1000f5028
3/27/11 10:53:51
PM      com.apple.launchd[1]    (com.apple.ReportCrash.Root[16410]) Job
appears to have crashed: Trace/BPT trap
3/27/11 10:53:51
PM      com.apple.launchd[1]    catch_mach_exception_raise_state_identity():
PID: 16409 thread: 0x9d07 type: 0xa code: 0x7fff5fbfe0c4 codeCnt: 0x2
flavor: 0x7fff5fbfe0d4 old_state: 0x7fff5fbfe0dc old_stateCnt: 0x2c
new_state: 0x7fff5fbfe5ec new_stateCnt: 0x7fff5fbfe5e8
3/27/11 10:53:51
PM      com.apple.launchd[1]    (0x10041f6b0.mach_init.mdworker[16409]) Job
appears to have crashed: Trace/BPT trap
3/27/11 10:53:51
PM      com.apple.launchd[1]    (0x10041f6b0.mach_init.mdworker) Failed to
check-in!
3/27/11 10:54:00
PM      com.apple.launchd.peruser.502[157]      
catch_mach_exception_raise_state_identity():
PID: 16412 thread: 0x124e3 type: 0xa code: 0x1000f8044 codeCnt: 0x2
flavor: 0x1000f8054 old_state: 0x1000f805c old_stateCnt: 0x2c
new_state: 0x1000f702c new_stateCnt: 0x1000f7028
3/27/11 10:54:00
PM      com.apple.launchd.peruser.502[157]      
(com.apple.ReportCrash.Self[16412])
Job appears to have crashed: Trace/BPT trap
3/27/11 10:54:00
PM      com.apple.launchd.peruser.502[157]      
catch_mach_exception_raise_state_identity():
PID: 16411 thread: 0x11eef type: 0xa code: 0x7fff5fbfdef4 codeCnt: 0x2
flavor: 0x7fff5fbfdf04 old_state: 0x7fff5fbfdf0c old_stateCnt: 0x2c
new_state: 0x7fff5fbfe41c new_stateCnt: 0x7fff5fbfe418
3/27/11 10:54:00
PM      com.apple.launchd.peruser.502[157]      (com.apple.ReportCrash[16411])
Job appears to have crashed: Trace/BPT trap
3/27/11 10:54:00
PM      com.apple.launchd.peruser.502[157]      
catch_mach_exception_raise_state_identity():
PID: 16112 thread: 0x11ef3 type: 0xa code: 0x7fff5fbfdef4 codeCnt: 0x2
flavor: 0x7fff5fbfdf04 old_state: 0x7fff5fbfdf0c old_stateCnt: 0x2c
new_state: 0x7fff5fbfe41c new_stateCnt: 0x7fff5fbfe418
3/27/11 10:54:00
PM      com.apple.launchd.peruser.502[157]      
([0x0-0xa5ea5e].com.goldenhillsoftware.CloudPull[16112])
Job appears to have crashed: Trace/BPT trap

I am using ASIHTTPRequest heavily, and that uses asserts.  I will try
removing the asserts to see if that changes the result.

Thanks.

John
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to