Hi All,
I’ve been trying to debug a bug that I only get while testing on an iPhone 4. It seems kind of random, but I followed the instructions to check the first thread in Xcode to work out where the bug is in the code.
It looks like it is in the abort() function. I have no idea what that is or how to go about fixing it.
Any suggestions welcome!
Thanks,
Thread 1 (thread 11523):
#0 0x3028bffc in __abort ()
#1 0x3028c04c in abort ()
#2 0x3027c324 in szone_error ()
#3 0x3027c41e in free_list_checksum_botch ()
#4 0x30203c02 in tiny_free_list_remove_ptr ()
#5 0x3027e064 in szone_free_definite_size ()
#6 0x30200dde in free ()
#7 0x33add410 in sgxReleaseAllRenderTargets ()
#8 0x33adb384 in SubmitPacketsIfAny ()
#9 0x33adb412 in gldFlush ()
#10 0x346d560e in gliPresentViewES ()
#11 0x3156875a in -[EAGLContext presentRenderbuffer:] ()
#12 0x0000dca8 in PresentSurface (surface=@0xa70c68) at /Users/melligeorgiou/Desktop/* MYGAME/Xcode - MyGame/Classes/AppController.mm:434
#13 0x0000de78 in PresentContext_UnityCallback (unityFrameStats=0x2fffe500) at /Users/melligeorgiou/Desktop/* MYGAME/Xcode - MyGame/Classes/AppController.mm:466
#14 0x00757d38 in PresentContextGLES () at iostream:76
#15 0x0061b238 in GfxDevice::PresentFrame () at iostream:76
#16 0x006d5840 in PlayerLoop () at iostream:76
#17 0x00757af0 in UnityPlayerLoop () at iostream:76
#18 0x0000eab4 in -[AppController Repaint] (self=0xf0cb90, _cmd=0x9af559) at /Users/melligeorgiou/Desktop/* MYGAME/Xcode - MyGame/Classes/AppController.mm:550
#19 0x308362ea in -[NSObject(NSObject) performSelector:withObject:] ()
#20 0x349c7824 in __NSThreadPerformPerform ()
#21 0x3084df24 in CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION ()
#22 0x3081fba6 in __CFRunLoopDoSources0 ()
#23 0x3081f44a in __CFRunLoopRun ()
#24 0x3081f276 in CFRunLoopRunSpecific ()
#25 0x3081f17e in CFRunLoopRunInMode ()
#26 0x31e445f2 in GSEventRunModal ()
#27 0x31e4469e in GSEventRun ()
#28 0x31e51122 in -[UIApplication _run] ()
#29 0x31e4f12e in UIApplicationMain ()
#30 0x0000ff40 in main (argc=1, argv=0x2ffff5a8) at /Users/melligeorgiou/Desktop/* MYGAME/Xcode - MyGame/Classes/main.mm:25
Alexey
November 9, 2010, 5:43pm
2
it means that memory is corrupted
Do you use native plugins? if not - hurry up and submit bug report, and drop me case number by the way
No native plugins… I guess I’m gonna submit the bug report!
Thanks,
Alexey, the case number is:
Case 381591
Thanks!
Alexey
November 9, 2010, 9:44pm
5
ahem, you should have attached your project - how am i supposed to know what’s wrong without it?
Apologies. We’ve included the entire project. I trust it is in safe hands!
New Case: 381591.
Thanks!