[Resolved] Not working on device even though working on simulator

My basic app is not working on device after testing fine in corona simulator.

After reading a few posts here by Peach, I don’t see I have case-sensitive issue, or image png corruption issue(I have several png files, no other formats). The images show fine in Mac/finder with size and dimensions, viewable.
After build, install device, I open the icon in device, the app shows default.png, loading menu page, but stop at menu page with black screen. Here is device console log, anyone can help?

appreciate it!
Bill

>
Jul 2 21:20:55 unknown amfid[2967] : libMobileGestalt computeUniqueDeviceID: total time for bb to return imei: 0
Jul 2 21:20:55 unknown kernel[0] : launchd[2966] Builtin profile: container (sandbox)
Jul 2 21:20:55 unknown kernel[0] : launchd[2966] Container: /private/var/mobile/Applications/8783872E-77A8-4130-A68C-2EB1A5D0EE7C [69] (sandbox)
>
Jul 2 21:20:56 unknown corona1bk1[2966] : libMobileGestalt computeUniqueDeviceID: total time for bb to return imei: 0
Jul 2 21:20:56 unknown corona1bk1[2966] : libMobileGestalt computeUniqueDeviceID: total time for bb to return imei: 0
Jul 2 21:20:56 unknown corona1bk1[2966] : Warning: Libinfo call to mDNSResponder on main thread
Jul 2 21:20:56 unknown corona1bk1[2966] : Warning: Libinfo call to mDNSResponder on main thread
Jul 2 21:20:56 unknown UIKitApplication:corona1bk1[0x9fa5][2966] : Lua Runtime Error: lua_pcall failed with status: 2, error message is: calling ‘send’ on bad self (udp{connected} expected, got userdata)
>
Jul 2 21:20:57 unknown UIKitApplication:corona1bk1[0x9fa5][2966] : Lua Runtime Error: lua_pcall failed with status: 2, error message is: calling ‘send’ on bad self (udp{connected} expected, got userdata)
>
Jul 2 21:21:51 unknown CommCenter[57] : No more assertions for PDP context 0. Returning it back to normal.
Jul 2 21:21:51 unknown CommCenter[57] : Scheduling PDP tear down timer for (362971611.471406) (current time == 362971311.471425)
Jul 2 21:21:51 unknown CommCenter[57] : Client [com.apple.persistentconnection[apsd,50]] is telling PDP context 0 to go active.
>
Jul 2 21:21:56 unknown SpringBoard[52] : Posting ‘com.apple.iokit.hid.displayStatus’ notifyState=0
Jul 2 21:21:56 unknown SpringBoard[52] : MultitouchHID: detection mode: 0->255
Jul 2 21:21:56 unknown kernel[0] : ALS: [AppleCT700] setPropertiesGated: requested ReportInterval=0 turn OFF sensor
Jul 2 21:21:56 unknown UserEventAgent[12] : DEBUG: Changing screen blanked state: 1
Jul 2 21:21:56 unknown UserEventAgent[12] : DEBUG: We could backup; waking backupd to decide
Jul 2 21:21:56 unknown UserEventAgent[12] : TRACE: mbmanagerclient: establishing connection with daemon…
Jul 2 21:21:56 unknown UserEventAgent[12] : TRACE: mbconnection: sending {
command = kMBMessageWakeUp;
}
Jul 2 21:21:56 unknown lockdownd[26] : libMobileGestalt computeUniqueDeviceID: total time for bb to return imei: 0
Jul 2 21:21:57 unknown lockdownd[26] : libMobileGestalt computeUniqueDeviceID: total time for bb to return imei: 0
Jul 2 21:21:57 unknown backupd[2969] : INFO: Scheduling next backup at 7/2/12 9:32:02 PM
>
Jul 2 21:22:07 unknown kernel[0] : AppleSerialMultiplexer: mux-ad(eng)::dormancySetIntervalGated: Setting dormancy interval to 2500 ms with mask 0x1700

Meanwhile I deployed several other apps to device, some of them work, other work on simulator but not device. I don’t think it is signature or license issue but I think I missed some fundamental points on debug on devices. [import]uid: 150242 topic_id: 28222 reply_id: 328222[/import] </mbconnection:></mbmanagerclient:>

I admit I can’t make sense of these logs most of the time unfortunately.

(The case issues normally relate to Android and “corrupted” errors,) so do you get a black screen immediately after the splash screen BEFORE the menu loads?

If so what happens in your menu scene/screen? Start and ads? GameNetwork stuff? Anything outside of displaying images and adding functions?

Please let me know. [import]uid: 52491 topic_id: 28222 reply_id: 114049[/import]

Jul 2 21:20:57 unknown UIKitApplication:corona1bk1[0x9fa5][2966] : Lua Runtime Error: lua_pcall failed with status: 2, error message is: calling ‘send’ on bad self (udp{connected} expected, got user data)

That appears to be your problem, and from what I can guess it seems to be network related - ‘self’ is expecting a udp packet, but appears to be getting a lua userdata type.

Have you got any networking features in your app? [import]uid: 33275 topic_id: 28222 reply_id: 114052[/import]

Quick forum post also revelaed another problem with identical crash message:

http://developer.coronalabs.com/forum/2012/06/03/weird-error

Are you using Cider? [import]uid: 33275 topic_id: 28222 reply_id: 114054[/import]

Quick forum post also revelaed another problem with identical crash message:

http://developer.coronalabs.com/forum/2012/06/03/weird-error

Are you using Cider? [import]uid: 33275 topic_id: 28222 reply_id: 114055[/import]

Great to your quick response! You are my hero to rescue!
I am using cider, 7/1 corona build, I donot have Internet connection issue as my other app uses network without problem, not case cap issue. This app is not using network.
I isolated to some image problem but not so sure in this morning. But I think I am using png edited by gimp, lower case, is this fine? I can share the source with you to help me if you want. The solution will be interesting. [import]uid: 150242 topic_id: 28222 reply_id: 114080[/import]

In simulated the app works perfect this worries me how I test the images are not corrupted / not recognized by device. This app have problem on loading menu, no ad and No game at menu Page. It is just image, text. [import]uid: 150242 topic_id: 28222 reply_id: 114082[/import]

I’m pretty certain it appears to be a Cider issue, but not 100%. I don’t use Cider (I drink it :slight_smile: ) so don’t really know about it, in the other thread the devs of Cider suggested it was because multiple simulators were running at the same time - I presume that’s not the same with you?

I don’t think this is anything to do with corrupted images, but again not 100% certain. [import]uid: 33275 topic_id: 28222 reply_id: 114090[/import]

Great! I will remove cider code from main if it is there too. I isolated the problem by removing code block by block, and deployed to device. It looks some image with lower case name has problem, with them it is not working on device; but in mac system, the images are lower case and viewable. How do we know it is corrupted in device but not simulator?

I am confused on this, very interesting.
[import]uid: 150242 topic_id: 28222 reply_id: 114091[/import]

SegaBoy,

After remove Cider line, it works! I never thought about it because some app with Cider line work.

Thank you so much! You save me hours!

Bill [import]uid: 150242 topic_id: 28222 reply_id: 114201[/import]

No worries, happy to help - glad it’s sorted.
[import]uid: 33275 topic_id: 28222 reply_id: 114227[/import]