Re: (OT) Helper tool crashing under 10.2.8
Re: (OT) Helper tool crashing under 10.2.8
- Subject: Re: (OT) Helper tool crashing under 10.2.8
- From: OL&L Lists <email@hidden>
- Date: Thu, 10 Mar 2005 00:49:46 -0800
At 2:30 PM +0000 1/30/05, Tim Hewett wrote:
Hi,
This isn't strictly Cocoa as such but I'm hoping someone can help.
My app has a helper tool to perform authorised actions for the main
app. It works fine under 10.3. but crashes under 10.2.8. The crash
dump is not helpful:
=========================================
Command: auth
PID: 435
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x53746f7a
Thread 0 Crashed:
#0 0x90004204 in free_list_remove_ptr
#1 0x90003ea0 in szone_free
#2 0x0000365c in printDir
#3 0x00004170 in performOperation
#4 0x00004768 in main
#5 0x000026bc in _start
#6 0x00002530 in start
=========================================
It says it is crashing in the printDir() function of the helper tool but
doesn't give a line number (or even source file) even though the
executable was built to contain debugging symbols. It says it is
crashing where the printDir() function calls szone_free(), but it doesn't
call szone_free() anywhere. I wondered if the optimiser was inlining
simple library calls (which maybe then call szone_free()) which would
mean that they would not appear on the stack trace, but the same
result happens when the optimiser is turned right off.
It is bizarre, it doesn't call the szone_free() function and without line
numbers it will become tricky to debug. It is hard to run in a debugger
because it is a helper tool - i.e. it relies on being started by the parent
application.
Any suggestions on how to solve this, or what the causing the problem
(and why it only happens under 10.2.8) would be very much appreciated.
Regards,
Tim.
You are probably calling a 10.3-only SCF API that is present in 10.3
but not 10.2.
Michael
Orbital Launch & Lift, Inc.
http://www.orbitallaunch.com
_______________________________________________
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