App crashes during startup when executed as IPA

355 views
Skip to first unread message

Oliver Goretzki

unread,
Apr 8, 2014, 12:04:08 AM4/8/14
to rob...@googlegroups.com
Hello guys,

I'm facing a problem for a couple of days deploying my libgdx app on my iPhone for a couple of days know and I'm running out of ideas what could cause it.
Whenever I upload my app as an IPA on various iPhones it starts up showing the splash screen, hangs for a couple of seconds and then crashes.
The bizarre thing is that it runs perfectly fine when I execute the app directly from Eclipse (on both the simulator and real devices). The problem appears only when I execute the app as an IPA.

Here is the entry from the device log:

Apr  7 22:45:07 My-iPhone backboardd[28] <Warning>: Application ‘UIKitApplication:com.blabla.mygame[0xba3c]' exited abnormally with signal 11: Segmentation fault: 11
Apr  7 22:45:07 My-iPhone ReportCrash[3293] <Notice>: Saved crashreport to /var/mobile/Library/Logs/CrashReporter/RobovmLauncher_2014-04-07-224507_My-iPhone.ips using uid: 0 gid: 0, synthetic_euid: 501 egid: 0

And the first part of the crash report:

Incident Identifier: 595F3C9B-992F-48ED-B5FA-296FE25261BC
CrashReporter Key:   0c021ec9d16b1a5bb2f1df66c98dca77130c028a
Hardware Model:      iPhone5,1
Process:             RobovmLauncher [3295]
Path:                /var/mobile/Applications/90323D16-ACB4-4262-AE2F-4BE535D96F87/RobovmLauncher.app/RobovmLauncher
Identifier:          com.blabla.mygame
Version:             2 (0.2)
Code Type:           ARM (Native)
Parent Process:      launchd [1]

Date/Time:           2014-04-07 22:45:07.355 -0500
OS Version:          iOS 7.1 (11D167)
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000
Triggered by Thread:  0

Thread 0 Crashed:
0   libsystem_kernel.dylib         0x3b266f2c __psynch_cvwait + 24
1   libsystem_pthread.dylib        0x3b2cdf62 _pthread_cond_wait + 518
2   libsystem_pthread.dylib        0x3b2ced9c pthread_cond_wait + 36
3   RobovmLauncher                 0x0087d608 0x33000 + 8693256
4   RobovmLauncher                 0x00875a46 0x33000 + 8661574
5   RobovmLauncher                 0x0086e850 0x33000 + 8632400
6   RobovmLauncher                 0x0021dad0 0x33000 + 2009808

Any idea what went wrong here?

Niklas Therning

unread,
Apr 8, 2014, 2:09:36 AM4/8/14
to Oliver Goretzki, rob...@googlegroups.com
Please provide a symbolicated crash log. It may provide a clue to what is happening.



--
You received this message because you are subscribed to the Google Groups "RoboVM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robovm+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Eric Nondahl

unread,
Apr 8, 2014, 10:06:51 AM4/8/14
to rob...@googlegroups.com
Have you tried cleaning, uninstalling the app, and deleting the .metadata build cache? Then re-build to the device from eclipse. I had a resource problem like that which was first found in the IPA, that's a possibility.

Oliver Goretzki

unread,
Apr 9, 2014, 11:34:11 AM4/9/14
to rob...@googlegroups.com
I followed Eric suggestions by deleting the build cache but it doesn't seem to fix the issue. 
I spent hours yesterday to figure out how to symbolicate the crash but without success. I followed Niklas guide (and also tried a couple of scripts I found online) but it doesn't seem to symbolicate the crucial part in the crash report.
I notice that there is a newer conversation thread going on regarding symbolication, so I will try out those suggestions tonight and keep you guys posted what worked for me (or not :-) )

On Monday, April 7, 2014 11:04:08 PM UTC-5, Oliver Goretzki wrote:

Eric Nondahl

unread,
Apr 9, 2014, 11:56:42 AM4/9/14
to rob...@googlegroups.com
I'm having basically this same issue, where the IPA app crashes during the launch and the crash report seemingly can't be symbolicated. I thought I saw the converted lines via the atos command, but i'm not sure they were correct :/ i'll update this if I find any way to figure out why it is crashing.

Eric Nondahl

unread,
Apr 9, 2014, 12:58:47 PM4/9/14
to rob...@googlegroups.com
I found the cause of my boot crash via adding logging to the LibGdx AssetManager error() method. It was a resource issue in the IPA caused by an issue in my build script. 

It would still be nice to be able to read the IPA crash log, I can imagine a case in the future where it would not be so easy to find the cause of the crash without the crash log.

Niklas Therning

unread,
Apr 13, 2014, 1:25:44 PM4/13/14
to Eric Nondahl, rob...@googlegroups.com
So it seems like Apple's symbolicatecrash script fails quite often? Did you use the exact same dSYM folder that was created when you generated the IPA?


--

Eric Nondahl

unread,
Apr 14, 2014, 9:22:05 AM4/14/14
to rob...@googlegroups.com, Eric Nondahl
Yes, I was using the correct dSYM when attempting to symbolicate

Eric Nondahl

unread,
Apr 14, 2014, 9:53:06 AM4/14/14
to rob...@googlegroups.com, Eric Nondahl
Also, for what it's worth, i've been using TestFlight to send beta builds of our game to testers.  They are receiving crash reports, and it looks like their dSYM crash symbolication also fails on a RoboVM IPA.
Reply all
Reply to author
Forward
0 new messages