• 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
Custom view crashes app for some
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom view crashes app for some


  • Subject: Custom view crashes app for some
  • From: John Pannell <email@hidden>
  • Date: Tue, 6 Jul 2004 21:30:05 -0600

Hi all-

I am puzzled by the behavior of my shareware for some (but not all) of my users who have upgraded to the most recent release. The app includes a new custom view I have written (PSMPreviewView) and crashes immediately at launch with the following crashlog:

Thread 0 Crashed:
#0 0x97e54964 in _NSRaiseError
#1 0x97e547ec in +[NSException raise:format:]
#2 0x97e00ba4 in -[NSObject(NSForwardInvocation) forward::]
#3 0x9068c130 in _objc_msgForward
#4 0x000134a4 in -[PSMPreviewView initWithFrame:]
#5 0x930fdb50 in -[NSCustomView nibInstantiate]
#6 0x930a6bf4 in -[NSIBObjectData instantiateObject:]
#7 0x930ad468 in -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:]
#8 0x93124578 in old_loadNib
#9 0x930eaa2c in +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:]
#10 0x93149a5c in +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:]
#11 0x9314981c in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
#12 0x9315fbfc in NSApplicationMain
#13 0x00009324 in _start (crt.c:267)
#14 0x8fe19154 in _dyld_start

The people who have written are both using 10.2.8, but I cannot say this is universal. The PSMPreviewView object does respond to initWithFrame: , but does not explicitly declare it in its header; it is a subclass to NSBox and overrides the superclass' method. Add'l info: nib is Pre 10.2 format; I have seen in previous posts where this might be an issue.

I am really stumped; can someone provide any insight as to why most people's machines are fine with this new view, but others crash on launch? Thanks so much for any help offered!

John
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Calling AppleScripts from Obj-C
  • Next by Date: Re: Drawing Pixels with NSBezierPath
  • Previous by thread: Re: Noob Playing with Windows
  • Next by thread: Re: Custom view crashes app for some
  • Index(es):
    • Date
    • Thread