Hi My app is parsing an XML in the AppDelegate. I am able to run the app in the Simulator. But when I try to run it on the iPhone, the app crashes at start-up and the springboard appears. I tried debugging the app on the device. And a "where" in gdb gives this log:
(gdb) where #0 0x300c87ec in objc_msgSend () #1 0x3022e590 in CFRelease () #2 0x3023f368 in __CFTypeCollectionRelease () #3 0x30246be8 in __CFDictionaryDeallocate () #4 0x3022e6d0 in _CFRelease () #5 0x3022e5b4 in CFRelease () #6 0x30672ede in -[NSCFDictionary release] () #7 0x30673102 in NSPopAutoreleasePool () #8 0x3069b028 in __NSFireDelayedPerform () #9 0x3025bff2 in CFRunLoopRunSpecific () #10 0x3025b58a in CFRunLoopRunInMode () #11 0x316998ec in GSEventRunModal () #12 0x30a5e310 in -[UIApplication _run] () #13 0x30a671e4 in UIApplicationMain () #14 0x000020bc in main (argc=1, argv=0x2ffff554) Also the Crash report says this: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0xc005612f Crashed Thread: 0 Thread 0 Crashed: 0 libobjc.A.dylib 0x300c87ec objc_msgSend + 20 1 CoreFoundation 0x3022e58a CFRelease + 58 2 CoreFoundation 0x3023f362 __CFTypeCollectionRelease + 30 3 CoreFoundation 0x30246be2 __CFDictionaryDeallocate + 262 4 CoreFoundation 0x3022e6ca _CFRelease + 170 5 CoreFoundation 0x3022e5ae CFRelease + 94 6 Foundation 0x30672ed8 -[NSCFDictionary release] + 2 7 Foundation 0x306730fc NSPopAutoreleasePool + 540 8 Foundation 0x3069b022 __NSFireDelayedPerform + 646 9 CoreFoundation 0x3025bfec CFRunLoopRunSpecific + 2642 10 CoreFoundation 0x3025b584 CFRunLoopRunInMode + 44 11 GraphicsServices 0x316998e4 GSEventRunModal + 268 12 UIKit 0x30a5e308 -[UIApplication _run] + 404 13 UIKit 0x30a671dc UIApplicationMain + 1064 14 GoApp 0x000020b6 0x1000 + 4278 15 GoApp 0x0000202c 0x1000 + 4140 From what I see in gdb, I am trying to use a released Dictionary object. But in that case, the app shouldn't work in the simulator too! And debugging the app on the device does not show any dictionary objects which are released and being used. Can someone please tell me how to solve this problem? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
