Sample Code GeocoderDemo crashes in Simulator
Sample Code GeocoderDemo crashes in Simulator
- Subject: Sample Code GeocoderDemo crashes in Simulator
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Tue, 16 Apr 2013 19:20:06 +0700
I took the Apple Sample Code GeocoderDemo and ran it in the iPhone 6.1 Simulator using Xcode 4.6.2.
When I enter a city and click "Geocode String", then click on the place mark (to get a map) the app crashes.
This code once (not sure when - some months ago) did work.
Any idea what I could do to fix this?
It seems to work on the device. But I need it to work in the Simulator as well.
Xcode tells me:
2013-04-16 19:10:55.814 Geocoder[25664:c07] failed to attach drawable storage
2013-04-16 19:10:55.815 Geocoder[25664:c07] Could not Create program
2013-04-16 19:10:55.815 Geocoder[25664:c07] Could not Create program
2013-04-16 19:10:55.816 Geocoder[25664:c07] Program link log:
2013-04-16 19:10:55.816 Geocoder[25664:c07] Could not Create program
2013-04-16 19:10:55.816 Geocoder[25664:c07] Program link log:
2013-04-16 19:10:55.816 Geocoder[25664:c07] Could not Create program
2013-04-16 19:10:55.816 Geocoder[25664:c07] Could not Create program
2013-04-16 19:10:55.817 Geocoder[25664:c07] Could not Create program
2013-04-16 19:10:55.831 Geocoder[25664:c07] failed to attach drawable storage
2013-04-16 19:10:55.832 Geocoder[25664:c07] Program link log:
2013-04-16 19:10:55.832 Geocoder[25664:c07] Could not Create program
2013-04-16 19:10:55.832 Geocoder[25664:c07] Program link log:
2013-04-16 19:10:55.832 Geocoder[25664:c07] Could not Create program
2013-04-16 19:10:55.833 Geocoder[25664:c07] Program link log:
2013-04-16 19:10:55.833 Geocoder[25664:c07] Could not Create program
2013-04-16 19:10:55.834 Geocoder[25664:c07] Program link log:
2013-04-16 19:10:55.834 Geocoder[25664:c07] Could not Create program
2013-04-16 19:10:55.834 Geocoder[25664:c07] Program link log:
2013-04-16 19:10:55.835 Geocoder[25664:c07] Could not Create program
2013-04-16 19:10:55.835 Geocoder[25664:c07] Program link log:
2013-04-16 19:10:55.835 Geocoder[25664:c07] Could not Create program
2013-04-16 19:10:55.949 Geocoder[25664:c07] failed to attach drawable storage
(lldb) bt
* thread #1: tid = 0x1c03, 0x0775ed01 VectorKit`-[VKMapRasterizer recursiveDrawScene:withContext:] + 397, stop reason = EXC_BAD_ACCESS (code=2, address=0x7c)
frame #0: 0x0775ed01 VectorKit`-[VKMapRasterizer recursiveDrawScene:withContext:] + 397
frame #1: 0x07621469 VectorKit`-[VKModelObject recursiveDrawScene:withContext:] + 227
frame #2: 0x076289cd VectorKit`-[VKMapModel recursiveDrawScene:withContext:] + 143
frame #3: 0x07621469 VectorKit`-[VKModelObject recursiveDrawScene:withContext:] + 227
frame #4: 0x07636588 VectorKit`-[VKWorld drawScene:withContext:] + 56
frame #5: 0x0762b8f8 VectorKit`-[VKScreenCanvas onTimerFired:] + 1139
frame #6: 0x0761d3e6 VectorKit`-[VKMapCanvas onTimerFired:] + 557
frame #7: 0x076377e1 VectorKit`-[VKMainLoop displayTimerFired:] + 928
frame #8: 0x02cae2d2 QuartzCore`CA::Display::DisplayLink::dispatch(unsigned long long, unsigned long long) + 110
frame #9: 0x02cae75f QuartzCore`CA::Display::TimerDisplayLink::callback(__CFRunLoopTimer*, void*) + 161
frame #10: 0x01765376 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
frame #11: 0x01764e06 CoreFoundation`__CFRunLoopDoTimer + 534
frame #12: 0x0174ca82 CoreFoundation`__CFRunLoopRun + 1810
frame #13: 0x0174bf44 CoreFoundation`CFRunLoopRunSpecific + 276
frame #14: 0x0174be1b CoreFoundation`CFRunLoopRunInMode + 123
frame #15: 0x022117e3 GraphicsServices`GSEventRunModal + 88
frame #16: 0x02211668 GraphicsServices`GSEventRun + 104
frame #17: 0x00421ffc UIKit`UIApplicationMain + 1211
frame #18: 0x00002109 Geocoder`main(argc=1, argv=0xbffff308) + 169 at main.m:56
(lldb)
Gerriet.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden