• 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
(OT) Helper tool crashing under 10.2.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(OT) Helper tool crashing under 10.2.8


  • Subject: (OT) Helper tool crashing under 10.2.8
  • From: Tim Hewett <email@hidden>
  • Date: Sun, 30 Jan 2005 14:30:16 +0000

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.

_______________________________________________
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


  • Follow-Ups:
    • Re: (OT) Helper tool crashing under 10.2.8
      • From: John Stiles <email@hidden>
  • Prev by Date: Best way to set default values for "added" objects bound to NSArrayController?
  • Next by Date: Re: Best way to set default values for "added" objects bound to NSArrayController?
  • Previous by thread: Re: Best way to set default values for "added" objects bound to NSArrayController?
  • Next by thread: Re: (OT) Helper tool crashing under 10.2.8
  • Index(es):
    • Date
    • Thread