• 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
crash when loading nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

crash when loading nib


  • Subject: crash when loading nib
  • From: Brent Gulanowski <email@hidden>
  • Date: Thu, 19 Jun 2003 01:55:33 -0400

OK, I have no idea why this is failing here. If the lower stacks look odd, it is because I am calling [NSDocument newDocument:] in code. The New... menu item sends its action to my app controller, which has to get some additional information (paths to two files that are parsed as a necessary part of creating the new document) via a custom New... panel.

What is going to cause an EXC_BAD_ACCESS while loading a nib? What could happen in -isOpaque? Where do I look for possible sources of the problem? The nib looks fine in IB.

This is an application that does NOTHING so far -- all I have is a user interface and skeletal controller code -- the minimum complexity I can manage and still have the U.I. load up properly.

#0 0x9313f580 in -[NSSplitView isOpaque] ()
#1 0x9318bee0 in -[NSSplitView _setIsGrabber:] ()
#2 0x9318bad8 in -[NSSplitView _compatibility_initWithUnkeyedCoder:] ()
#3 0x9318b7f0 in -[NSSplitView initWithCoder:] ()

#32 0x907e4cf8 in _decodeObject ()
#33 0x907e552c in _decodeValueOfObjCType ()
#34 0x907e6ab0 in -[NSUnarchiver decodeValuesOfObjCTypes:] ()
#35 0x930d50d4 in -[NSTextContainer setLineFragmentPadding:] ()
#36 0x907e4cf8 in _decodeObject ()
#37 0x93124524 in -[NSMenuItem keyEquivalentModifierMask] ()
#38 0x930eaa2c in +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] ()
#39 0x93149a5c in +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] ()
#40 0x931c7214 in -[NSWindowController loadWindow] ()
#41 0x931c6ffc in -[NSWindowController window] ()
#42 0x931ca1a4 in -[NSWindowController showWindow:] ()
#43 0x931ca164 in -[NSDocument showWindows] ()
#44 0x931f06c8 in -[NSDocumentController openUntitledDocumentOfType:display:] ()
#45 0x93284b54 in -[NSDocumentController newDocument:] ()
#46 0x930f9cac in -[NSApplication sendAction:to:from:] ()
#47 0x000065e8 in -[SCNewDocumentPanelController completeOpenNewDocument:] (self=0x3799b0, _cmd=0x9dba0, sender=0x37b2f0) at SCNewDocumentPanelController.m:106/Volumes/Clarke/Users/ brentgulanowski/Programming/astro/projects/SCatalogue/

--
Brent Gulanowski email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: crash when loading nib
      • From: Dave Thorup <email@hidden>
    • Re: crash when loading nib
      • From: Dave Thorup <email@hidden>
    • Re: crash when loading nib
      • From: Henri Lamiraux <email@hidden>
    • Re: crash when loading nib
      • From: email@hidden (Simon Fraser)
  • Prev by Date: Re: Most elegant solution to Reader/Writer Problem with Objective-C?
  • Next by Date: Re: control delegate (NSTextField)
  • Previous by thread: weird PB behavior
  • Next by thread: Re: crash when loading nib
  • Index(es):
    • Date
    • Thread