App Crashing

Hello –

I just purchased the pro version last night, but now I am having an issue. When I build my app for and put it on my ipod touch it fails to launch. I click the icon and the screen goes black and returns to the home-screen.

Here is an error report I got off of the device after this occurred:

Incident Identifier: CAA780EC-AB6C-4074-8CF4-0BF7B3C4EC47
CrashReporter Key: 75fb76caf70b6fc3a9fd539df6cdd127133e3810
Hardware Model: iPod3,1
Process: Sales4SureFULL [118]
Path: /var/mobile/Applications/6BB135E2-B3C7-4A9A-835A-3BCBBED72AE7/Sales4SureFULL.app/Sales4SureFULL
Identifier: Sales4SureFULL
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]

Date/Time: 1969-12-31 19:27:24.051 -0500
OS Version: iPhone OS 4.2.1 (8C148)
Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000
Crashed Thread: 0

Thread 0 Crashed:
0 Sales4SureFULL 0x00061cd8 0x1000 + 396504
1 Sales4SureFULL 0x0000d0a8 0x1000 + 49320
2 UIKit 0x32d44bbe 0x32d08000 + 248766
3 UIKit 0x32d40252 0x32d08000 + 229970
4 UIKit 0x32d0c484 0x32d08000 + 17540
5 UIKit 0x32d0bec2 0x32d08000 + 16066
6 UIKit 0x32d0b900 0x32d08000 + 14592
7 GraphicsServices 0x3365eefc 0x3365a000 + 20220
8 CoreFoundation 0x35a436f8 0x35a0e000 + 218872
9 CoreFoundation 0x35a436bc 0x35a0e000 + 218812
10 CoreFoundation 0x35a35f76 0x35a0e000 + 163702
11 CoreFoundation 0x35a35c80 0x35a0e000 + 162944
12 CoreFoundation 0x35a35b88 0x35a0e000 + 162696
13 UIKit 0x32d3f302 0x32d08000 + 226050
14 UIKit 0x32d3ce8c 0x32d08000 + 216716
15 Sales4SureFULL 0x00003f40 0x1000 + 12096
16 Sales4SureFULL 0x00003f00 0x1000 + 12032

Thread 1:
0 libSystem.B.dylib 0x3279f974 0x32772000 + 186740
1 libSystem.B.dylib 0x32849704 0x32772000 + 882436
2 libSystem.B.dylib 0x32849174 0x32772000 + 881012
3 libSystem.B.dylib 0x32848b98 0x32772000 + 879512
4 libSystem.B.dylib 0x327ed24a 0x32772000 + 504394
5 libSystem.B.dylib 0x327e5970 0x32772000 + 473456

Thread 2:
0 libSystem.B.dylib 0x327ed9e0 0x32772000 + 506336
1 libSystem.B.dylib 0x327ed364 0x32772000 + 504676
2 libSystem.B.dylib 0x327e5970 0x32772000 + 473456

Thread 3:
0 libSystem.B.dylib 0x32773268 0x32772000 + 4712
1 libSystem.B.dylib 0x32775354 0x32772000 + 13140
2 CoreFoundation 0x35a36648 0x35a0e000 + 165448
3 CoreFoundation 0x35a35ed2 0x35a0e000 + 163538
4 CoreFoundation 0x35a35c80 0x35a0e000 + 162944
5 CoreFoundation 0x35a35b88 0x35a0e000 + 162696
6 WebCore 0x340f5124 0x3403e000 + 749860
7 libSystem.B.dylib 0x327ec886 0x32772000 + 501894
8 libSystem.B.dylib 0x327e1a88 0x32772000 + 457352

Thread 0 crashed with ARM Thread State:
r0: 0x00155a80 r1: 0x0000001e r2: 0x00155a80 r3: 0x00000001
r4: 0x00155a80 r5: 0x00000000 r6: 0x2fdfe418 r7: 0x2fdfe408
r8: 0x000cf158 r9: 0x0014de68 r10: 0x000c6808 r11: 0x00000003
ip: 0x0000ed95 sp: 0x2fdfe3f8 lr: 0x0000d0af pc: 0x00061cd8
cpsr: 0x60000030

Binary Images:
0x1000 - 0xc5fff +Sales4SureFULL armv7 <9da29366c1c03b79914183d01a8d504d> /var/mobile/Applications/6BB135E2-B3C7-4A9A-835A-3BCBBED72AE7/Sales4SureFULL.app/Sales4SureFULL
0x25d000 - 0x25efff dns.so armv7 /usr/lib/info/dns.so
0x2fe00000 - 0x2fe27fff dyld armv7 <06e6959cebb4a72e66c833e26ae64d26> /usr/lib/dyld
0x30018000 - 0x3001afff CrashReporterSupport armv7 <30a5f1edcdb9ffe868a620199a4cbe12> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport
0x3018a000 - 0x302aafff CoreGraphics armv7 <2d7b40a7baca915ce78b1dd9a0d6433b> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x302c9000 - 0x302cdfff AssetsLibraryServices armv7 /System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices
0x302d9000 - 0x302e9fff DataAccessExpress armv7 <6767a1e2afbc86a1ec63dd784f5d3677> /System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
0x302ea000 - 0x302f0fff liblockdown.dylib armv7 <5bbd9b3f5cfece328f80c403a8805ce9> /usr/lib/liblockdown.dylib
0x302f5000 - 0x3058ffff libLAPACK.dylib armv7 <2e77d87e96af938aacf0a6008e6fb89d> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib
0x305a4000 - 0x305e4fff CoreAudio armv7 /System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x305e5000 - 0x3061cfff Security armv7 /System/Library/Frameworks/Security.framework/Security
0x3064b000 - 0x30656fff libz.1.dylib armv7 /usr/lib/libz.1.dylib
0x30659000 - 0x306a6fff libsqlite3.dylib armv7 <55038e5c1d4d0dbdd94295e8cad7a9a4> /usr/lib/libsqlite3.dylib
0x306ba000 - 0x306fdfff ManagedConfiguration armv7 <27ac7f05482a8aa9977150f34f9be6eb> /System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration
0x3074c000 - 0x307e2fff AddressBookUI armv7 <45665471fd70b0733b206d8166df74ef> /System/Library/Frameworks/AddressBookUI.framework/AddressBookUI
0x307e3000 - 0x30820fff CoreMedia armv7 <4ea4d349e886206d1ecf5bae870f3f04> /System/Library/Frameworks/CoreMedia.framework/CoreMedia
0x321a4000 - 0x321a5fff CoreSurface armv7 /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
0x321c6000 - 0x321ccfff ProtocolBuffer armv7 <7e279d3b6d1e1fd7dc8c8a883255fa17> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer
0x321ec000 - 0x324fcfff GeoServices armv7 /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices
0x324fd000 - 0x32500fff IOSurface armv7 /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
0x32501000 - 0x32617fff libicucore.A.dylib armv7 /usr/lib/libicucore.A.dylib
0x3274f000 - 0x32756fff libbz2.1.0.dylib armv7 <2989ea7a5cad2cfe91bd632b041d0ff4> /usr/lib/libbz2.1.0.dylib
0x32772000 - 0x32883fff libSystem.B.dylib armv7 <138a43ab528bb428651e6aa7a2a7293c> /usr/lib/libSystem.B.dylib
0x3288a000 - 0x32897fff libbsm.0.dylib armv7 <0f4e595e6eb2170aceb729f32b5de8c2> /usr/lib/libbsm.0.dylib
0x328e2000 - 0x32911fff SystemConfiguration armv7 <3f982c11b5526fc39a92d585c60d8a90> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x32990000 - 0x329a6fff EAP8021X armv7 <36659ec2b9def7b5798a05327e369247> /System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X
0x329c4000 - 0x32a71fff JavaScriptCore armv7 <3f2df600942dc72aad312b3cc98ec479> /System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore
0x32ab3000 - 0x32ab3fff vecLib armv7 /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
0x32ab4000 - 0x32ab9fff MobileKeyBag armv7 /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
0x32b4e000 - 0x32c36fff libGLProgrammability.dylib armv7 <1f478a71783cd7eb4ae9ef6f2dcea803> /System/Library/Frameworks/OpenGLES.framework/libGLProgrammability.dylib
0x32c3e000 - 0x32ce7fff libxml2.2.dylib armv7 /usr/lib/libxml2.2.dylib
0x32d08000 - 0x33089fff UIKit armv7 /System/Library/Frameworks/UIKit.framework/UIKit
0x33090000 - 0x33092fff libgcc_s.1.dylib armv7 /usr/lib/libgcc_s.1.dylib
0x33218000 - 0x3321dfff libMobileGestalt.dylib armv7 <5f73c7138ee1cb7103a98aec99f9ed88> /usr/lib/libMobileGestalt.dylib
0x33280000 - 0x332cbfff libBLAS.dylib armv7 <251c5ac7380802a16e30d827c027c637> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib
0x332cc000 - 0x333b5fff GLEngine armv7 <305ddfcddb54d00acd8e2ca9005496c8> /System/Library/Frameworks/OpenGLES.framework/GLEngine.bundle/GLEngine
0x333b6000 - 0x333c9fff MediaControl armv7 <874e83896424ebb3afe59a3a59ba4dfe> /System/Library/PrivateFrameworks/MediaControl.framework/MediaControl
0x333e5000 - 0x33405fff PrintKit armv7 <02a9c6f4173a0673c4637a3b570345cd> /System/Library/PrivateFrameworks/PrintKit.framework/PrintKit
0x33406000 - 0x33409fff CaptiveNetwork armv7 /System/Library/PrivateFrameworks/CaptiveNetwork.framework/CaptiveNetwork
0x3346b000 - 0x33474fff ITSync armv7 <87d409553f90e41a01afce047dc2e8fe> /System/Library/PrivateFrameworks/ITSync.framework/ITSync
0x33530000 - 0x33549fff libRIP.A.dylib armv7 /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
0x3354a000 - 0x33594fff libstdc++.6.dylib armv7 <53a6e7239c3908fa8c2915b65ff3b056> /usr/lib/libstdc++.6.dylib
0x3365a000 - 0x33666fff GraphicsServices armv7 <0099670dccd99466653956bf918d667a> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x3367d000 - 0x3369cfff Bom armv7 <0f5fd6057bad5e1677869500d636821f> /System/Library/PrivateFrameworks/Bom.framework/Bom
0x337e8000 - 0x3381bfff AddressBook armv7 <7c87e0175c8649d6832419da8a1cfac1> /System/Library/Frameworks/AddressBook.framework/AddressBook
0x338e9000 - 0x33a08fff Foundation armv7 <81d36041f04318cb51db5aafed9ce504> /System/Library/Frameworks/Foundation.framework/Foundation
0x33a15000 - 0x33b52fff MediaToolbox armv7 /System/Library/PrivateFrameworks/MediaToolbox.framework/MediaToolbox
0x33b56000 - 0x33b95fff libGLImage.dylib armv7 /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x33b99000 - 0x33c47fff QuartzCore armv7 <83a8e5f0033369e437069c1e758fed83> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x33c4a000 - 0x33c53fff CoreVideo armv7 <2092d5deb6b234e04678b7c1878ccd81> /System/Library/Frameworks/CoreVideo.framework/CoreVideo
0x33c85000 - 0x33c9afff libresolv.9.dylib armv7 /usr/lib/libresolv.9.dylib
0x33c9b000 - 0x33c9dfff libAccessibility.dylib armv7 <3f0b58ea13d30f0cdb73f6ffe6d4e75c> /usr/lib/libAccessibility.dylib
0x33ca0000 - 0x33ca1fff DataMigration armv7 /System/Library/PrivateFrameworks/DataMigration.framework/DataMigration
0x33ca2000 - 0x33cb5fff libmis.dylib armv7 <855aefc263c6c20e6cf8723ea36125a2> /usr/lib/libmis.dylib
0x33cb6000 - 0x33da3fff libiconv.2.dylib armv7 /usr/lib/libiconv.2.dylib
0x33dc8000 - 0x33df1fff MobileCoreServices armv7 <54484a513761868149405df7fc29b5c0> /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x33fa4000 - 0x34013fff ProofReader armv7 /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
0x3403e000 - 0x34626fff WebCore armv7 /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x34636000 - 0x34638fff MobileInstallation armv7 <8e6b0d9f642be06729ffdaaee97053b0> /System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallation
0x34639000 - 0x3464bfff PersistentConnection armv7 /System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConnection
0x34681000 - 0x346b7fff CoreText armv7 /System/Library/Frameworks/CoreText.framework/CoreText
0x34a6d000 - 0x34a75fff MobileWiFi armv7 /System/Library/PrivateFrameworks/MobileWiFi.framework/MobileWiFi
0x34a84000 - 0x34b93fff MediaPlayer armv7 <9337abd4fdd749473efaefe64ee649a0> /System/Library/Frameworks/MediaPlayer.framework/MediaPlayer
0x34bee000 - 0x34c81fff ImageIO armv7 <5b5a294d4250eff866fdbf891b1e8b34> /System/Library/Frameworks/ImageIO.framework/ImageIO
0x34c82000 - 0x34c88fff IAP armv7 <134f59ad5bb91bab6a5fe21b6f36dc8b> /System/Library/PrivateFrameworks/IAP.framework/IAP
0x34c89000 - 0x34c8cfff ApplePushService armv7 <9d1eb7b11f0f146c941efbab2c055606> /System/Library/PrivateFrameworks/ApplePushService.framework/ApplePushService
0x34c8d000 - 0x34c95fff libkxld.dylib armv7 <854e82fe66feef01e54c7c8a209851ac> /usr/lib/system/libkxld.dylib
0x34ccc000 - 0x34d70fff IMGSGX535GLDriver armv7 <03ce082398774b1c545d08b64081d82e> /System/Library/Extensions/IMGSGX535GLDriver.bundle/IMGSGX535GLDriver
0x34d71000 - 0x34dabfff IOKit armv7 /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x34dac000 - 0x34e01fff libvDSP.dylib armv7 <9365fc6cae1bff737257e74faf3b1f26> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
0x34e06000 - 0x34e13fff OpenGLES armv7 /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x34e14000 - 0x34e14fff Accelerate armv7 <29dd5f17440bbb6e8e42e11b6fceda9a> /System/Library/Frameworks/Accelerate.framework/Accelerate
0x34e15000 - 0x34ed6fff libobjc.A.dylib armv7 /usr/lib/libobjc.A.dylib
0x34ed9000 - 0x34edffff StoreKit armv7 /System/Library/Frameworks/StoreKit.framework/StoreKit
0x34f04000 - 0x34fb3fff WebKit armv7 <644a1c6120578f896bed7121307aa2af> /System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x34fb4000 - 0x35055fff Celestial armv7 /System/Library/PrivateFrameworks/Celestial.framework/Celestial
0x3508e000 - 0x350c6fff libCGFreetype.A.dylib armv7 <374bd566263e8929c10d50d6a6a48a46> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
0x35118000 - 0x351cefff MapKit armv7 <69921a6353270a6f77e0816d636812e8> /System/Library/Frameworks/MapKit.framework/MapKit
0x3520a000 - 0x35214fff AccountSettings armv7 <19c79f81d5d55fe2e6b618fcdc28258e> /System/Library/PrivateFrameworks/AccountSettings.framework/AccountSettings
0x35223000 - 0x35259fff CoreLocation armv7 /System/Library/Frameworks/CoreLocation.framework/CoreLocation
0x353d5000 - 0x353eafff OpenAL armv7 <8ea22c729b71c6e7e19566b91a03afd2> /System/Library/Frameworks/OpenAL.framework/OpenAL
0x355d5000 - 0x355d8fff libGFXShared.dylib armv7 <3a385ed495379116abbe50bc8cd5a612> /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
0x355f9000 - 0x35732fff AudioToolbox armv7 <657b327f2ceee9f22f9474f2f9bddbe6> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x3579a000 - 0x35859fff CFNetwork armv7 <02fe0e30e54fffdcbbbd02e8cb812c3a> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x3589a000 - 0x358dcfff CoreTelephony armv7 <96d3af505b9f2887e62c7e99c157733e> /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x35a0e000 - 0x35af4fff CoreFoundation armv7 <01441e01f5141a50ee723362e59ca400> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x35af5000 - 0x35b45fff GMM armv7 <2b63c1e1ce647e031a8a491e156f04d3> /System/Library/PrivateFrameworks/GMM.framework/GMM
0x35b92000 - 0x35b9afff MobileBluetooth armv7 <6d6c62f52219d27be50f1d7c39a68dc6> /System/Library/PrivateFrameworks/MobileBluetooth.framework/MobileBluetooth
0x35cdc000 - 0x35cdffff ArtworkCache armv7 <1e65b5000a2234b69164e7904fcf826b> /System/Library/PrivateFrameworks/ArtworkCache.framework/ArtworkCache
0x35ce4000 - 0x35cf0fff SpringBoardServices armv7 <137b75e19b2450c234dec88d538798ff> /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
0x35cf1000 - 0x35d19fff StoreServices armv7 /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
0x35e1a000 - 0x35e4bfff VideoToolbox armv7 /System/Library/PrivateFrameworks/VideoToolbox.framework/VideoToolbox
0x35fa3000 - 0x35fd5fff AppSupport armv7 <47c8055ac99f187174ca373b702ffa68> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x360ab000 - 0x360b2fff AggregateDictionary armv7 <71372c95d4af7af787d0682a939e40ac> /System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary
0x360b5000 - 0x360b7fff IOMobileFramebuffer armv7 <1040629f37795146c9dcac8ab1a868fc> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer
0x36140000 - 0x36232fff MusicLibrary armv7 <34edbee423aa7e2ea32ad4eed0620b85> /System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary
[import]uid: 28005 topic_id: 9513 reply_id: 309513[/import]

I should also note that it works fine when I build for Android and I am using the latest nightly… I will try to use the latest stable release and report back. [import]uid: 28005 topic_id: 9513 reply_id: 34767[/import]

Fails with 484 too…

This is pretty upsetting. As soon as I drop a few hundred dollars on Corona then it become unusable. [import]uid: 28005 topic_id: 9513 reply_id: 34768[/import]

are your images all same case? the device and the mac are not the same when it comes to case sensitivity. the xcode organizer also has a handy console output, can you look at the contents there and see what you get?

could be as easy as calling display.newImage(“Foo.png”) when the actual filename is “foo.png” same with mp3, or other assets. they must match case.

depending on the android device, case sensitivity is up to manufacturer

c. [import]uid: 24 topic_id: 9513 reply_id: 34900[/import]

Thanks for the followup –

I will investigate further, but the issues occurred after I transitioned my code over to CoronaUI… So I reverted back to using director.lua for now because the project is for school and has to be done by Wednesday. I will double check all the filenames - it might also be an issue with how I was using CoronaUI

In any case thanks for the comment. I have just one other concern. When using some of the CoronaUI features in Landscape they are distorted (mainly the radio buttons so far). Is this a known issue? I can post a screenshot and sample code if necessary.
Thanks.
EDIT: Any more examples for CoronaUI other than the few that were in the zip? [import]uid: 28005 topic_id: 9513 reply_id: 34905[/import]

yes corona ui still have some issues - we are aware and JB is fixing them accordingly

if u are using director class, you will have some issues - you can also build for xcode simulator and see what error you get which will be the console and the output will help me more.

c [import]uid: 24 topic_id: 9513 reply_id: 34906[/import]

The odd thing is that when I compiled and ran it in the X-Code simulator it worked fine (at least from the crashing issue)…

I updated my iPod Touch to the latest version and recompiled the code and it was semi-working… but the back button functionality was very delayed.

What issues do you think I will have with Director class? So far I have fixed most of the problems I encountered on that front.

The other issue I am having with CoronaUI is when I add a new screen with visible set to false it pops up ontop of the current screen momentarily. I am not sure if I am using it right. I tried to create the three or four screens with one set to visible, but it doesn’t always work correctly.

In any case I will try to recreate the issues in the x-code simulator and send you the output. [import]uid: 28005 topic_id: 9513 reply_id: 34913[/import]

I just updated one of my Apps using the latest Corona build (502) and I updated to

Director version 1.2

My App was crashing all over the place

I have not had time to spend on figuring out problem with Director 1.2

…but I reverted back to Director version 1.1 and my same App Code works on all devices now.

Just an FYI that I think there are problems in Director 1.2 [import]uid: 10965 topic_id: 9513 reply_id: 35491[/import]