Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 08-15-2009, 04:49 AM   #1 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 2
wikicita is on a distinguished road
Question Application fatal error during load

I'm looking for ways to find clues about an app that builds successfully but gets a fatal error during loading (using the simulator) with "_dyld_dyld_fatal_error" showing in the XCode Debugger menu bar call stack display
the prior call on the stack was to _dyld_ZN4dyld5_mainEPK11mach_headermiPPKcS5_S5_
The console shows the following message associated with this

[0x0-0x2d02d].com.apple.Xcode[371] Xcode(371,0xb0103000) malloc: free_garbage: garbage ptr = 0x432f820, has non-zero refcount = 1

Any suggestions?
wikicita is offline   Reply With Quote
Old 08-15-2009, 09:57 AM   #2 (permalink)
Registered Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
smasher will become famous soon enough
Default

That's the sort of message I usually see in the system console, not your app's console. Go to Run > Console to see the messages from your app. Post back if you think you see anything useful in there after the startup stuff (Attaching to process, possibly "unable to find symbols", resolving breakpoints, switching to thread)

If there are no useful messages in the app console, you'll have to put a breakpoint or NSLog at the beginning of applicationDidFinishLaunching . If you get that far you can step through the rest of the code until you crash.
__________________

Free Games!
smasher is offline   Reply With Quote
Old 08-15-2009, 03:26 PM   #3 (permalink)
Registered Member
 
Join Date: Aug 2009
Posts: 2
wikicita is on a distinguished road
Question Run Console Output

To Smasher's helpful reply Run Console shows the output below, Identifying CFXMLNodeGetInfoPtr as a symbol not found. When I google this, I find another post from today in another forum with the same error, but no fixes/


This GDB was configured as "i386-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 4021.
Pending breakpoint 1 - ""treedbViewController.m:12" resolved
Pending breakpoint 2 - ""treedbViewController.m:21" resolved
Pending breakpoint 3 - ""treedbAppDelegate.m:21" resolved
dyld: Symbol not found: _CFXMLNodeGetInfoPtr
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
wikicita is offline   Reply With Quote
Old 06-27-2010, 01:26 AM   #4 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 180
shnaps is on a distinguished road
Default I have the same issue

I get the same (above) error when I built for the Simulator. When I built for the device, I got the following errror:


Code:
run
Running…
[Switching to thread 11779]
[Switching to thread 11779]
continue
dyld: Symbol not found: _OBJC_CLASS_$_NSURL
  Referenced from: /var/mobile/Applications/96484668-2FE0-49DA-8DD0-788AAD490325/iNotate.app/iNotate
  Expected in: /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
 in /var/mobile/Applications/96484668-2FE0-49DA-8DD0-788AAD490325/myApp.app/imyApp
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Not safe to call dlopen at this time.)
shnaps is offline   Reply With Quote
Old 06-27-2010, 09:51 AM   #5 (permalink)
Registered Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
smasher will become famous soon enough
Default

I think it's a loader error - either you're using a framework but you didn't import it into your project, or you're using a framework that is not supported on the OS you're using, or (if it's a third party library) the library needs to be recompiled.
__________________

Free Games!
smasher is offline   Reply With Quote
Old 06-27-2010, 12:00 PM   #6 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 180
shnaps is on a distinguished road
Default ...no resolution...

Thanks Smasher....

I double-checked for all frameworks....and whichever ones that I used in previous SDK are also present in the current project. This lack of backward compatibility is mighty confusing, unfortunately.

Sam.
shnaps is offline   Reply With Quote
Old 06-27-2010, 06:44 PM   #7 (permalink)
Registered Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
smasher will become famous soon enough
Default

Are you using any third-party libraries like cURL or iSimulate or Flurry? If so they probably need to be recompiled for 4.0.
__________________

Free Games!
smasher is offline   Reply With Quote
Old 06-27-2010, 06:58 PM   #8 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 180
shnaps is on a distinguished road
Default ...more...

I am using the following frameworks:
CoreGraphics
CoreLocation
MapKit
Foundation
MessageUI
UIKit

The only library that comes to my mind is the one for the Facebook Connect functionality that I am using for my app. Do you think that I need the 4.0 version of that library?

Again, thanks.
Sam
shnaps is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 356
8 members and 348 guests
.Snipe, BSH, givensur, guusleijsten, HemiMG, NSString, Paul Slocum, SillyHoney
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,645
Threads: 94,111
Posts: 402,862
Top Poster: BrianSlick (7,990)
Welcome to our newest member, leighec68
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:26 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0