11.09.11 23:40:36,960 com.apple.debugserver-141: 1 +0.000000 sec [9d31/0303]: er

Originator:mc
Number:rdar://10107023 Date Originated:2011-09-11
Status:Open Resolved:
Product:Developer Tools Product Version:10.7.1
Classification:Other Bug Reproducible:Always
 
PS for Open Radar: Crap, I forgot to name this one better... I should have called it "bad error message when exiting with 173"

Summary:
Some "weird" messages are outputed in the Console instead of a clear "exited with code 173" when exit(173) is called.

Steps to Reproduce:

I'm using a "development" receipt. At some time, I moved it on one machine, changed my code, and forgot to move it on the other machine. So the code couldn't find the receipt and thus threw a 173.

Sadly though what I was getting was totally obscure like

11.09.11 23:40:36,960 com.apple.debugserver-141: 1 +0.000000 sec [9d31/0303]: error: ::mach_vm_read ( task = 0x1b03, addr = 0x00000000, size = 512, data => 0x00000000, dataCnt => 0 ) err = (os/kern) invalid address (0x00000001)

or the

21.08.11 13:54:53,484 com.apple.debugserver-141: 1 +0.000000 sec [0bad/1a03]: error: ::read ( 1, 0x10c880a78, 1024 ) => -1 err = Bad file descriptor (0x00000009)

you can see at https://devforums.apple.com/message/518398#518398

Expected Results:

A cleared "exited with code 173" message

Actual Results:

A totally ununderstandable message.

Regression:

Can't see, because I hadn't moved the receipt before.

Notes:

There's no real "optimal" solution for working with receipt on debug mode -- hope you guys are working on something "better" then the current options.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!