2 running corona apps on same ipad makes one crach

Hello i just submit my first corona app(app #1) to the ios app store
it runs fine in test and on the ipad/iphone

But i just fined out that when my new app(app #2) is started on the ipad
the app #1 crashes/freezes after load (default.png)

app #2 runs fine whit out exceptions

app #1 i have it own provision profile (2012.799)
app #2 have wild card profile (latest daly build)

some help please

thank you

[import]uid: 147488 topic_id: 27509 reply_id: 327509[/import]

Will you try making both your apps with the latest daily build? We found some problems triggered by changes in the latest iOS that affected suspend/resume for both OpenGL and OpenAL. These could affect other apps that had the same problem.We fixed those problems, but I don’t remember the exact build number. I think the OpenAL fixes were done in the 790’s, but the OpenGL fixes were done around the 820’s.
[import]uid: 7563 topic_id: 27509 reply_id: 111780[/import]

Hello

Thanks for the quick reply!
No still same error both build whit the latest build Version 2012.828 (2012.12.8)

app #1 have
UIApplicationExitsOnSuspend = true,
in build.settings
and restarts ever time i click on the icon

app #2 dont have any UIApplicationExitsOnSuspend
resumes when i click on the icon

[import]uid: 147488 topic_id: 27509 reply_id: 111783[/import]

Update

i change removed UIApplicationExitsOnSuspend = true, from app #1

and now app #2 cant start if app #1 is running

only one can run a the time
[import]uid: 147488 topic_id: 27509 reply_id: 111785[/import]

Check the console logs on your device to see if there is any crash log information or helpful error messages.

I would also suggest setting two very different, explicit bundle identifiers for each app. I’m wondering f the wildcard is contributing to some of the confusion.

[import]uid: 7563 topic_id: 27509 reply_id: 111788[/import]

Hello

i cant see anything in the log

i have now fixed so each app have its own provision
and what i can see no changes

if both apps have UIApplicationExitsOnSuspend = true
there is no problem
but if one of them have UIApplicationExitsOnSuspend = false
the other will fail on load

[import]uid: 147488 topic_id: 27509 reply_id: 111791[/import]

No crash logs whatsoever? That seems odd.

Please explicitly close all other apps on your device. Any other app with this problem that is running could be contributing. (Do the double-tap home thing and jiggle the apps in the task bar and hit the close-X.) You might also immediately hard reboot your device right after this.

What if both are UIApplicationExitsOnSuspend = false?

What iOS version and what devices are you running on?
Is it only your apps, or do the Corona sample apps also crash? (Don’t forget to close all the apps before testing.) Which Corona apps crash? Try a simple app like HelloWorld and HelloWorldLocalized.
[import]uid: 7563 topic_id: 27509 reply_id: 111795[/import]

Hello

*No crash logs whatsoever? That seems odd.

  • i look in the organizer and there is no different in output on crash/freezes

*Please explicitly close all other apps on your device. Any other app with this problem that is running could be contributing. (Do the double-tap home thing and jiggle the apps in the task bar and hit the close-X.) You might also immediately hard reboot your device right after this.

  • Don that

What if both are UIApplicationExitsOnSuspend = false?

  • will try it later

What iOS version and what devices are you running on?
-ipad 3 latest ios

Is it only your apps, or do the Corona sample apps also crash? (Don’t forget to close all the apps before testing.) Which Corona apps crash? Try a simple app like HelloWorld and HelloWorldLocalized.

  • yes this is the next ting to try , have you tested it ?

Im away from office now
will continue testing when im back

[import]uid: 147488 topic_id: 27509 reply_id: 111797[/import]

Yes, Peach did some testing a few weeks ago. She found a OpenGL suspend/resume bug on iPad 3 opening 11-20 Corona apps. After we fixed it, she had 80 going with no problems.
[import]uid: 7563 topic_id: 27509 reply_id: 111800[/import]

Just to add to the conversation I’m running multiple (3) Corona apps at the same time on an iPhone 4S (5.1) without any issues here. [import]uid: 33275 topic_id: 27509 reply_id: 111804[/import]

Hello SegaBoy
do you have mixed UIApplicationExitsOnSuspend settings ?

[import]uid: 147488 topic_id: 27509 reply_id: 111805[/import]

So I’m running my main app ( UIApplicationExitsOnSuspend = false) and a simple test app, which I just changed to UIApplicationExitsOnSuspend = true.

Booting up both apps, the one with UIApplicationExitsOnSuspend = true exits as expected when switching to the other app, but when I switch back it safely boots up from scratch.

So I’m not observing anything I wouldn’t expect here. [import]uid: 33275 topic_id: 27509 reply_id: 111807[/import]

Update:

I use Cider to write code and it adds code to the main.lua
I guess that code tries to connect back to cider

so when 2 or more apps try to connect back to cider the port or similar it is busy
making one of the apps freeze

I done some testing and when i remove the code i can run all my apps whit out any problem

can some one help confirm this

Thank you

[import]uid: 147488 topic_id: 27509 reply_id: 111892[/import]

@blomjens1: Interesting find. I would post about it in the cider forum: http://developer.coronalabs.com/forums/cider

Sounds like a legitimate bug with cider. [import]uid: 84637 topic_id: 27509 reply_id: 114754[/import]