New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS crash at startup #714
Comments
Comment #1 originally posted by codenameone on 2013-05-19T04:36:34.000Z: I just tried your latest version on an iPad II and it worked just fine. |
Comment #2 originally posted by codenameone on 2013-05-19T14:40:07.000Z: It is an original iPad, iOS 5.1.1 is the last release for that device. |
Comment #3 originally posted by codenameone on 2013-05-19T18:16:02.000Z: Unfortunately we don't have such a device and its hard to debug things like that remotely (Apples simulators are no good). Do you know when you built the last version that you know was good? |
Comment #4 originally posted by codenameone on 2013-05-19T19:20:24.000Z: The first release was submitted to Apple on March 11th 2013, it was probably built the same day or shortly before. This worked. The second release was submitted to Apple on May 8th 2013, this one fails on this particular iPad. I have an old iPod 3G that is also running 5.1.1. Unfortunately I am traveling and don't have that device with me. I will try it on this when I can. I don't know if the problem is 5.1.5 or the original iPad or a combination of both. If you have an older device stuck at 5.1.5 can you test on it. |
Comment #5 originally posted by codenameone on 2013-05-19T19:26:19.000Z: I contacted a friend who might be able to get one but it isn't his device so that might be difficult. I'll try to review commits in this date range. |
Comment #6 originally posted by codenameone on 2013-05-21T00:20:07.000Z: I have been through the list of chsnges and I don't see anything that would require something new. There are some enhancements but they are all based on existing functionality. I am trying to get the user back to the old version via iTunes. If we can do that and get the old version to run again it will prove that it wasn't a change her end. Then I will do two adhoc build, the original release and the new release and will have her install them. Hopefully the results1 will point us in a direction. |
Comment #7 originally posted by codenameone on 2013-05-21T09:56:59.000Z: I just tried our existing code on the older simulator for 5.1 (unfortunately still no device) and it seemed to work. |
Comment #8 originally posted by codenameone on 2013-05-22T08:08:03.000Z: We have encountered a very similar crash with our app on iPad 1 running iOS 5.1.1. It works fine on iPad 2, and it did work fine on iPad 1 too but suddenly started to crash at the very begenning when showing the splash screen. The crash log is very similar to this one, this part being identical: Since then it has been impossible to run it again on iPad 1. Rebooting and reinstalling hasn't helped either. |
Comment #9 originally posted by codenameone on 2013-05-22T16:52:55.000Z: khash777 do you still have the device? |
Comment #10 originally posted by codenameone on 2013-05-23T07:54:01.000Z: Yes we have the device so feel free to send the build and I'll be happy to help you. |
Comment #11 originally posted by codenameone on 2013-05-23T08:47:56.000Z: Thanks, |
Comment #12 originally posted by codenameone on 2013-05-23T10:42:06.000Z: the UDID is: ac3b933eca0270467b329035c4d16ca8b6b85bf4 |
Comment #13 originally posted by codenameone on 2013-05-23T11:35:28.000Z: Thanks, can you try installing this: Install link here: https://codename-one.appspot.com/ota.jsp?id=10157205&t=i If it will fail on startup we "should" have readable logs (hopefully). |
Comment #14 originally posted by codenameone on 2013-05-23T11:45:34.000Z: I get this error message when trying to install it via your link: |
Comment #15 originally posted by codenameone on 2013-05-23T12:05:23.000Z: Sorry about that, wrong provisioning profile. https://codename-one.appspot.com/ota.jsp?id=10139352&t=i |
Comment #16 originally posted by codenameone on 2013-05-23T12:32:40.000Z: Still getting the same error message. Has it something to do with certificates maybe? |
Comment #17 originally posted by codenameone on 2013-05-23T13:49:57.000Z: I'm a bit stumped, since I built locally I deleted stuff from xcode and rebuilt. If this doesn't solve the issue then I'm not sure what could be the cause. |
Comment #18 originally posted by codenameone on 2013-05-23T14:22:52.000Z: Yeah still can't install getting the same error message. I've got help from an ios developer to clear all provisioning profiles on the device and try to install it running the console in xCode, this is the output which might give you some clues. |
Comment #19 originally posted by codenameone on 2013-05-23T17:11:16.000Z: Thanks, I think its because push notification is turned on but not in the provisioning profile. Try this http://codename-one.appspot.com/getData?m=result&i=10317211&b=57296734-acef-47e7-9922-09d7d11a1358&n=KitchenSink.ipa |
Comment #20 originally posted by codenameone on 2013-05-24T08:10:48.000Z: Heeey it worked! :D |
Comment #21 originally posted by codenameone on 2013-05-24T08:24:53.000Z: Lets try this http://codename-one.appspot.com/getData?m=result&i=10343281&b=1721ae7d-d923-431a-aba4-5a9f1897fbf8&n=KitchenSink.ipa They were built on the build server (not locally) without the symbol information. |
Comment #22 originally posted by codenameone on 2013-05-24T08:50:57.000Z: This one also installs fine and doesn't crash when running. |
Comment #23 originally posted by codenameone on 2013-05-24T08:54:12.000Z: OK, in this case can you check that Mark's readerware application from the app store (its free) crashes? Thanks. |
Comment #24 originally posted by codenameone on 2013-05-24T09:07:16.000Z: Ok I installed "Readerware 3 (Books)" and ran it and it didn't crash. He said that version 2 crashed though, not sure if that's relevant or not. |
Comment #25 originally posted by codenameone on 2013-05-24T11:52:29.000Z: Mark? |
Comment #26 originally posted by codenameone on 2013-05-24T15:02:34.000Z: It's Martin :-) I am not sure what you are asking. The problem I had was this one user who had installed the initial release and it worked fine. I updated the product, the one currently in the app store, and it crashed on startup, just this one user. She had an original iPad running 5.1.1 which may or may not have been relevant. So that was the problem I was reporting. I still have not had any other reports of this. As my app runs fine on khash777's iPad 1 then maybe it is nothing to do with the device. What about your problem khash777? You still have an app that will not run on it right? |
Comment #27 originally posted by codenameone on 2013-05-24T15:22:19.000Z: Martin: |
Comment #28 originally posted by codenameone on 2013-05-24T19:38:07.000Z: Sorry Martin, long days ;-) khash777 does your app work on other iOS devices? |
Comment #29 originally posted by codenameone on 2013-05-28T07:55:47.000Z: Yes it does work on iPad 2 (ios 6.1.3) and iPhone 4s. |
Comment #30 originally posted by codenameone on 2013-05-30T23:09:05.000Z: I made a new debug build for her device. Still crashing, log attached. |
Comment #31 originally posted by codenameone on 2013-05-31T06:01:47.000Z: Did you define ios.no_strip=true in this build? If so it doesn't seem to be working. |
Comment #32 originally posted by codenameone on 2013-05-31T13:04:24.000Z: Sorry missed that, will do a new build. |
Comment #33 originally posted by codenameone on 2013-05-31T13:17:44.000Z: Is ios.no_strip=true just a build hint to the server? It doesn't seem to make that much difference to the resulting ipa file. Just wanted to check before I involve the user. |
Comment #34 originally posted by codenameone on 2013-05-31T13:23:57.000Z: yes. I'm afraid I didn't have a chance to properly test it out so I'm not sure if it works. I'm assuming you are sending debug builds, right? |
Comment #35 originally posted by codenameone on 2013-05-31T21:59:27.000Z: Here is the log with ios.no_strip=true. It doesn't look any different to me though |
Comment #36 originally posted by codenameone on 2013-06-01T04:34:28.000Z: Damn, I think the no strip didn't work. I'll test this and get back to you. |
Comment #37 originally posted by codenameone on 2013-06-01T13:06:22.000Z: I just tried crashing my own app and I don't get symbol information either. I looked at the build process and we seem to be doing everything correctly but its still not working. Unfortunately trying to figure out how to do these things through code is a very long process of trial/error and guesswork. |
Comment #38 originally posted by codenameone on 2013-06-05T19:21:23.000Z: It looks like any CodenameOne app crashes on her system now so something seems to have changed in the build process since my original release. I rebuilt the original release and it now crashes. I sent her the basic skeleton app you create when I select a new CodenameOne Project with the Hello World (Manual) theme. It displays the screen briefly and then crashes. Log attached. Source code for test app attached, the class name is set for my provisioning certificates. I use some iOS build properties and I included them in my test build so they might be relevant:
If you are going to build an app for her, I think you will need her UDID d64dd616dae9223224e3b6dc88b982286d27f7b3 |
Comment #39 originally posted by codenameone on 2013-06-05T19:37:45.000Z: Can you also include my UDID in any test build, that way I can verify that it installs before we involve the customer. Thanks cb203cb5c90a44ce8869c24f4c51cd10d80281cc |
Comment #40 originally posted by codenameone on 2013-06-08T09:04:42.000Z: This is an archived kitchen sink IPA which means that even if the crash log will seem obfuscated to you I still should be able to see it properly in xcode. I'm using Dropbox since google code only supports 10mb of attachments: https://dl.dropboxusercontent.com/u/57067724/cn1/KitchenSink.ipa |
Comment #41 originally posted by codenameone on 2013-06-08T18:31:14.000Z: Thanks I used iTunes to install it here and everything went fine. I have forwarded it to my user and will post as soon as I hear back. |
Comment #42 originally posted by codenameone on 2013-06-10T00:18:48.000Z: Here you go |
Comment #43 originally posted by codenameone on 2013-06-10T04:43:17.000Z: Thanks, I'm looking into it, just for reference this is the deobfuscated stack. |
Comment #44 originally posted by codenameone on 2013-06-10T07:45:40.000Z: I made a fix for this, it should be on the server now. |
Comment #45 originally posted by codenameone on 2013-06-10T20:34:22.000Z: I did a new build for my customer and she confirms it is now working. Thank you! |
Comment #46 originally posted by codenameone on 2013-06-11T05:04:06.000Z: Great! |
Comment #47 originally posted by codenameone on 2013-06-12T08:54:35.000Z: Shai: I can't find the fix on the server, the latest version available through Elipse seems to be 1.0.0.201305291835. Can you please direct me how to get this fix? |
Comment #48 originally posted by codenameone on 2013-06-12T08:56:39.000Z: Just send a build. The fix is seamless. |
Original issue 714 created by codenameone on 2013-05-18T23:56:00.000Z:
I have just released the second version of my iOS app. Some maintenance and a couple of new features, nothing that major.
I have one user that ran the first release without a problem. After installing second release it displays the splash screen and crashes. My app never starts. Just the one user.
She has tried deleting the old app, reinstalling, rebooting the device. Nothing helps.
She is using an original iPad running iOS 5.1.1. She sent me the crash log included below. Does this show anything relevant.
I don't know how to debug this.
Thanks
Had to attach the log as a file, too long
The text was updated successfully, but these errors were encountered: