• 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
Interface Builder crashing while saving nib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interface Builder crashing while saving nib


  • Subject: Interface Builder crashing while saving nib
  • From: John Clayton <email@hidden>
  • Date: Sat, 06 Nov 2004 09:06:40 -0500

Hello,

After parsing some new header files into the main menu nib file in my XCode project, Interface Builder went mad. I've tried reversing what I did, but the problem persists.

The problem first manifested in two ways. When I tried to save the file, IB kept saying that the file MainMenu~.nib existed and would not save it based on the red dot in the close window button. In fact, it was saving file after file with names like MainMenu~~.nib, constantly adding another tilde. At the same time, XCode SCM complained that it could not update the status of the nib file. This turns out to be because the nib was only partially written before IB crashed. It was missing its keyedobjects.nib file and its CVS directory. I can restore the file from the MainMenu~.nib file, but I cannot save it. I have trashed my IB prefs to no avail.

Here is some of the crash log. I would appreciate anyone's advice on this. Do I just need to recreate the whole nib file? Ugh, spent months on it.

Thank you very much,

John





Host Name:      Silverado.local
Date/Time:      2004-11-06 08:52:50 -0500
OS Version:     10.3.5 (Build 7M34)
Report Version: 2

Command: Interface Builder
Path: /Developer/Applications/Interface Builder.app/Contents/MacOS/Interface Builder
Version: 2.4.2 (364)
PID: 6561
Thread: 0


Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xd4d5e200

Thread 0 Crashed:
0 libobjc.A.dylib 0x908311f4 objc_msgSend + 0x14
1 com.apple.CoreFoundation 0x90193004 _CFArrayReplaceValues + 0x150
2 com.apple.CoreFoundation 0x90195ff4 CFArrayAppendValue + 0xe0
3 com.apple.AppKit 0x9307c27c -[NSIBObjectData encodeWithCoder:] + 0x414
4 com.apple.Foundation 0x90ab0ffc _encodeObject + 0x3b8
5 ...e.InterfaceBuilderFramework 0x90efe788 -[__IBDocument writeDataToFile:] + 0x264
6 ...e.InterfaceBuilderFramework 0x90efe9e4 -[__IBDocument writeToFile:ofType:originalFile:saveOperation:] + 0x88
7 com.apple.AppKit 0x92fb17b0 -[NSDocument _writeItemAt:withType:forSaveOperation:] + 0x1f0
8 com.apple.AppKit 0x92fb1568 -[NSDocument writeWithBackupToFile:ofType:saveOperation:] + 0x1fc
9 com.apple.InterfaceBuilder 0x00071540 0x1000 + 0x70540
10 com.apple.AppKit 0x92fb0db0 -[NSDocument _finishSaveDocumentTo:withType:forSaveOperation:withDelegate: didSaveSelector:contextInfo:] + 0x74
11 ...e.InterfaceBuilderFramework 0x90ef7cc0 -[__IBDocument _finishSaveDocumentTo:withType:forSaveOperation:withDelegate: didSaveSelector:contextInfo:] + 0xa8
12 com.apple.InterfaceBuilder 0x00070edc 0x1000 + 0x6fedc
13 com.apple.AppKit 0x92e773ac -[NSApplication sendAction:to:from:] + 0x6c
14 com.apple.AppKit 0x92eacc18 -[NSMenu performActionForItemAtIndex:] + 0x188
15 com.apple.AppKit 0x92ef1538 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 0x68
16 com.apple.AppKit 0x92ef7e68 -[NSMenu performKeyEquivalent:] + 0x104
17 com.apple.AppKit 0x92ed6ea0 -[NSApplication _handleKeyEquivalent:] + 0x124
18 com.apple.AppKit 0x92df4738 -[NSApplication sendEvent:] + 0xa5c
19 com.apple.InterfaceBuilder 0x00010690 0x1000 + 0xf690
20 com.apple.AppKit 0x92dfcfb0 -[NSApplication run] + 0x240
21 com.apple.InterfaceBuilder 0x00017780 0x1000 + 0x16780
22 com.apple.InterfaceBuilder 0x00036914 0x1000 + 0x35914
23 dyld 0x8fe1a558 _dyld_start + 0x64


Thread 1:
0 libSystem.B.dylib 0x900074c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007018 mach_msg + 0x38
2 com.apple.CoreFoundation 0x90191708 __CFRunLoopRun + 0x350
3 com.apple.CoreFoundation 0x90195e94 CFRunLoopRunSpecific + 0x148
4 com.apple.Foundation 0x909fc850 -[NSRunLoop runMode:beforeDate:] + 0xac
5 com.apple.Foundation 0x90a15454 -[NSRunLoop run] + 0x4c
6 com.apple.Foundation 0x90a679bc +[NSURLCache _diskCacheSyncLoop:] + 0xa8
7 com.apple.Foundation 0x90a39b74 forkThreadForFunction + 0x6c
8 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28


PPC Thread State:
  srr0: 0x908311f4 srr1: 0x0000d030                vrsave: 0x00000000
    cr: 0x44002228  xer: 0x20000004   lr: 0x90193004  ctr: 0x908311e0
    r0: 0x90193004   r1: 0xbfffe120   r2: 0xa0190f94   r3: 0x041f1960
    r4: 0x9088d10c   r5: 0xbfffe65c   r6: 0x00000001   r7: 0x00403d31
    r8: 0x00403d31   r9: 0x00610072  r10: 0x00000000  r11: 0x24002228
   r12: 0xd4d5e200  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
   r16: 0x00000000  r17: 0x00000000  r18: 0x00319cb0  r19: 0x000e0000
   r20: 0xa2debe68  r21: 0xbfffe65c  r22: 0x00000000  r23: 0xa01900e0
   r24: 0x00000001  r25: 0x0414acc0  r26: 0x00000001  r27: 0xbfffe160
   r28: 0xa0192e94  r29: 0x00000000  r30: 0x00000001  r31: 0x90192ecc






------------------------------------------------------------------------ ------
http://libcvs.cvshome.org/ Access CVS through a library.
------------------------------------------------------------------------ ------
"It is the truth that frees, not your attempts to be free."
- J. Krishnamurti


_______________________________________________
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


  • Prev by Date: Re: QuickTime Callback
  • Next by Date: Re: Book about creating Cocoa widgets
  • Previous by thread: Part II - Temporary badging on Files and Folders.What is wrong in the code attached?
  • Next by thread: AuthorizationExecuteWithPrivileges /sbin/SystemStarter
  • Index(es):
    • Date
    • Thread