Works in Corona Simulator, Crashes in Android Simularor and iOS simulator

Hello,

I’ve been working on a app for a few days and I decided to test it in the iOS simulator. To my surprise, the app crashes right after Default.png is shown. I tried the Android simulator and got pretty much the same result (crashed right away).

After messing with my code a lot, I made a quick test and created a new main.lua in an empty folder with only this:

display.newRect(290,240,20,40)

And then did “Build > iOS > Xcode Simulator”. Same result. I tried build 484 and 490, reinstalled Xcode and reinstalled the Android SDK without any success.

I’d like to know what I need to do to fix this. Thank you.

Here are the crash logs from the xcode simulator console and android:

[text]Process: a [40471]
Path: /Volumes/Fuitad/Library/Application Support/iPhone Simulator/4.3.2/Applications/ACA00467-D235-4A06-8CB5-D3261129DFC0/a.app/a
Identifier: a
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [265]

Date/Time: 2011-04-21 13:18:32.380 -0400
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Application Specific Information:
iPhone Simulator 238.2, iPhone OS 4.3.2 (iPhone/8H7)
iPhone Simulator 238.2, iPhone OS 4.3.2 (iPhone/8H7)

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 a 0x00094382 0x1000 + 603010
1 a 0x0001051c 0x1000 + 62748
2 UIKit 0x0142bc89 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1163
3 UIKit 0x0142dd88 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 439
4 UIKit 0x01438617 -[UIApplication handleEvent:withNewEvent:] + 1533
5 UIKit 0x01430abf -[UIApplication sendEvent:] + 71
6 UIKit 0x01435f2e _UIApplicationHandleEvent + 7576
7 GraphicsServices 0x02411992 PurpleEventCallback + 1550
8 CoreFoundation 0x01e00944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
9 CoreFoundation 0x01d60cf7 __CFRunLoopDoSource1 + 215
10 CoreFoundation 0x01d5df83 __CFRunLoopRun + 979
11 CoreFoundation 0x01d5d840 CFRunLoopRunSpecific + 208
12 CoreFoundation 0x01d5d761 CFRunLoopRunInMode + 97
13 UIKit 0x0142d7d2 -[UIApplication _run] + 623
14 UIKit 0x01439c93 UIApplicationMain + 1160
15 a 0x00002f65 0x1000 + 8037
16 a 0x00002f05 0x1000 + 7941

Thread 1:
0 libSystem.B.dylib 0x902149b2 __workq_kernreturn + 10
1 libSystem.B.dylib 0x90214f48 _pthread_wqthread + 941
2 libSystem.B.dylib 0x90214b66 start_wqthread + 30

Thread 2:
0 libSystem.B.dylib 0x90215922 kevent + 10
1 libdispatch_sim.dylib 0x023a1f36 _dispatch_mgr_invoke + 237
2 libdispatch_sim.dylib 0x023a2333 _dispatch_queue_invoke + 162
3 libdispatch_sim.dylib 0x023a2593 _dispatch_worker_thread2 + 261
4 libSystem.B.dylib 0x90214d21 _pthread_wqthread + 390
5 libSystem.B.dylib 0x90214b66 start_wqthread + 30

Thread 3: WebThread
0 libSystem.B.dylib 0x901ef09a mach_msg_trap + 10
1 libSystem.B.dylib 0x901ef807 mach_msg + 68
2 CoreFoundation 0x01e00d86 __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x01d5de74 __CFRunLoopRun + 708
4 CoreFoundation 0x01d5d840 CFRunLoopRunSpecific + 208
5 CoreFoundation 0x01d5d761 CFRunLoopRunInMode + 97
6 WebCore 0x03304903 RunWebThread(void*) + 499
7 libSystem.B.dylib 0x9021c7fd _pthread_start + 345
8 libSystem.B.dylib 0x9021c682 thread_start + 34

Thread 4:
0 libLLVMContainer.dylib 0x04900a65 llvm::BitstreamCursor::ReadAbbreviatedField(llvm::BitCodeAbbrevOp const&, llvm::SmallVectorImpl&) + 135
1 libLLVMContainer.dylib 0x04900ed6 llvm::BitstreamCursor::ReadRecord(unsigned int, llvm::SmallVectorImpl&, char const**, unsigned int*) + 548
2 libLLVMContainer.dylib 0x048f1741 llvm::BitcodeReader::ParseTypeTable() + 1651
3 libLLVMContainer.dylib 0x048faa52 llvm::BitcodeReader::ParseModule() + 2662
4 libLLVMContainer.dylib 0x048fbbaa llvm::BitcodeReader::ParseBitcodeInto(llvm::Module*) + 858
5 libLLVMContainer.dylib 0x048fbd31 llvm::getLazyBitcodeModule(llvm::MemoryBuffer*, llvm::LLVMContext&, std::string*) + 129
6 libCoreVMClient.dylib 0x048a1cd2 cvmsCompCreateObjects + 231
7 libCoreVMClient.dylib 0x048a5639 cvmsCheckObjects + 846
8 libCoreVMClient.dylib 0x048a5f53 cvmsServerAttachService + 608
9 libCoreVMClient.dylib 0x048a3894 CVMSOpenService + 408
10 libCVMSPluginSupport.dylib 0x0489b969 cvmInitializeCVMS(void*) + 178
11 libCVMSPluginSupport.dylib 0x0489a918 cvmDoWork + 111
12 libSystem.B.dylib 0x9021c7fd _pthread_start + 345
13 libSystem.B.dylib 0x9021c682 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x0142b80c ecx: 0x0704bfb0 edx: 0x070439f0
edi: 0x0000001e esi: 0x0704bfb0 ebp: 0xbfffd8a8 esp: 0xbfffd890
ss: 0x0000001f efl: 0x00010286 eip: 0x00094382 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000000

Binary Images:
0x1000 - 0x139ffb +a ??? (???) <61B632DD-0ECD-3C9E-A9A3-5D228B6D7F3C> /Volumes/Fuitad/Library/Application Support/iPhone Simulator/4.3.2/Applications/ACA00467-D235-4A06-8CB5-D3261129DFC0/a.app/a
0x157000 - 0x1a5fe3 +AddressBook 30.0.0 (compatibility 1.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/AddressBook.framework/AddressBook
0x1d0000 - 0x2b6ffb +AddressBookUI 33.0.0 (compatibility 1.0.0) <2F235765-94B5-39E3-92A8-137E0AF3990E> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/AddressBookUI.framework/AddressBookUI
0x33a000 - 0x4e8fe7 +AudioToolbox 296.0.0 (compatibility 1.0.0) <221FE2D0-7C77-3175-814E-0B413861CB95> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x541000 - 0x687fff +CFNetwork 485.13.9 (compatibility 1.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x706000 - 0x93cff7 com.apple.CoreGraphics 1.600.0 (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x9a0000 - 0x9efff7 +CoreLocation 1079.25.0 (compatibility 1.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreLocation.framework/CoreLocation
0xa18000 - 0xbd9fe3 +Foundation 751.58.0 (compatibility 300.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/Foundation.framework/Foundation
0xcb6000 - 0xd9bff7 +ImageIO ??? (???) <8B695EFF-40E7-3F0E-9E61-8D7727E3FA6E> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/ImageIO.framework/ImageIO
0xdc7000 - 0xed3ff7 +MapKit 14.0.0 (compatibility 1.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/MapKit.framework/MapKit
0xf55000 - 0x1073fff +MediaPlayer ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/MediaPlayer.framework/MediaPlayer
0x1119000 - 0x115bfe3 +MobileCoreServices 20.0.0 (compatibility 1.0.0) <4139B8C9-F16B-379C-9283-1906AD01145C> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x1176000 - 0x1191ffb +OpenAL ??? (???) <35F42698-3313-37FC-8602-5698723CEE39> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/OpenAL.framework/OpenAL
0x119c000 - 0x11aeffb +OpenGLES ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x11b6000 - 0x12aafff +QuartzCore 1.7.0 (compatibility 1.2.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x1319000 - 0x137dfe7 +Security ??? (???) <2EEF9FD7-0358-30A4-B07B-1C2451ED6C3A> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/Security.framework/Security
0x13a5000 - 0x13adffb +StoreKit ??? (???) <0A6798AB-46CF-3DCB-9FA1-ED6A3B1C2C28> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/StoreKit.framework/StoreKit
0x13b6000 - 0x1400ffb +SystemConfiguration 381.0.0 (compatibility 1.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x141f000 - 0x193cfeb +UIKit 1500.0.0 (compatibility 1.0.0) <81D2A11F-9982-3F0D-9085-EFFBB934EC1A> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/UIKit.framework/UIKit
0x1b89000 - 0x1c5bbf7 +libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <452B1FE5-AB3A-3B95-B350-7ED4CFDCBC11> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/libobjc.A.dylib
0x1c6d000 - 0x1cf4ff7 +libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <747D18D9-6205-3A7E-A8FA-D858CD3D023E> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/libsqlite3.dylib
0x1d07000 - 0x1d18ffe +libSystem.dylib 125.0.0 (compatibility 1.0.0) <8DF0AFCD-FFA5-3049-88E2-7410F8398749> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/libSystem.dylib
0x1d2c000 - 0x1e7bffb +CoreFoundation 550.58.1 (compatibility 150.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1f6d000 - 0x1fb1fff +AppSupport 29.0.0 (compatibility 1.0.0) <4099D271-B230-3F7F-AAAD-BFC18581FB13> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x1fd6000 - 0x218afff +libicucore.A.dylib 46.0.0 (compatibility 1.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/libicucore.A.dylib
0x2206000 - 0x2219fff +SpringBoardServices ??? (???) <97993B29-B044-3476-8F17-0F427B153EA0> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
0x2225000 - 0x2230fff +AggregateDictionary ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary
0x223b000 - 0x2251feb +libbsm.0.dylib ??? (???) <8CEB4607-FC29-362B-9BEE-F004A0AD03CB> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/libbsm.0.dylib
0x225a000 - 0x2359ffb +libxml2.2.dylib 10.3.0 (compatibility 10.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/libxml2.2.dylib
0x237a000 - 0x2388feb +libz.1.dylib 1.2.3 (compatibility 1.0.0) <7852E046-088B-310A-9659-9C410E97AB4E> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/libz.1.dylib
0x238d000 - 0x2390ffc +IOKit 275.0.0 (compatibility 1.0.0) <7CC17486-140F-33E0-BC67-54AC9E705428> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/IOKit.framework/IOKit
0x2398000 - 0x2399ffe +libSystem.override.dylib ??? (???) <546BA693-1F43-321D-99A9-D0F87D7AADF1> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/system/libSystem.override.dylib
0x239e000 - 0x23a6fef +libdispatch_sim.dylib 161.5.0 (compatibility 1.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/system/libdispatch_sim.dylib
0x23af000 - 0x23b6fff +libnotify_sim.dylib 78.1.0 (compatibility 1.0.0) <27896AC9-514B-3FD3-B786-40EB0612C3A5> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/system/libnotify_sim.dylib
0x23bd000 - 0x23befff +libsystem_sim_blocks.dylib 50.0.0 (compatibility 1.0.0) <76718763-A9E1-3E11-A688-6AC7D9D39C80> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/system/libsystem_sim_blocks.dylib
0x23c2000 - 0x23cafff +libsystem_sim_dnssd.dylib ??? (???) <3045B68F-1912-3766-B16F-8CA65B85D868> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/system/libsystem_sim_dnssd.dylib
0x23d0000 - 0x23eafff +libsystem_sim_info.dylib ??? (???) <9A2BB28C-08C8-3CF5-8B64-A140838C5B95> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/system/libsystem_sim_info.dylib
0x23f5000 - 0x2400ffb +ITSync 18.0.0 (compatibility 1.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/ITSync.framework/ITSync
0x240a000 - 0x241afef +GraphicsServices 14.0.0 (compatibility 1.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x242b000 - 0x2443ffb +DataAccessExpress ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
0x2455000 - 0x2463fff +AccountSettings ??? (???) <54E60E6E-BADE-3E6D-9282-9714E7B8F930> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/AccountSettings.framework/AccountSettings
0x246d000 - 0x2475ffb +libMobileGestalt.dylib ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/libMobileGestalt.dylib
0x247d000 - 0x261cffb +JavaScriptCore 533.17.9 (compatibility 1.0.0) <361EF89D-6E87-3FFB-BB4C-1E7C4F508F95> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore
0x266f000 - 0x26befff +StoreServices ??? (???) <4CB0B6A4-A377-3C07-BD18-A3934C1FBB65> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
0x26f3000 - 0x276cff7 +CoreText ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreText.framework/CoreText
0x279e000 - 0x2882ffb +WebKit 533.17.9 (compatibility 1.0.0) <2B179B0E-B1D9-397C-94E1-CC6419EF73F8> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x28fc000 - 0x36defef +WebCore 533.17.9 (compatibility 1.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x3bdb000 - 0x3c8ffef +ProofReader 115.0.0 (compatibility 1.0.0) <9DAE2B5D-F407-3AF2-9A95-A8E438E32D78> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
0x3ca6000 - 0x3ca9ffb +libAccessibility.dylib ??? (???) <32CF5FC2-C4E8-3E1E-BF83-69F88833D4E0> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/libAccessibility.dylib
0x3cb1000 - 0x3ce0fe3 +PrintKit 68.0.0 (compatibility 1.0.0) <58FDAC14-F8CD-3D2D-B882-684F64348C8C> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/PrintKit.framework/PrintKit
0x3cf4000 - 0x3d7dfeb +CoreTelephony 1100.11.0 (compatibility 1.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x3dc4000 - 0x3dc5ffb +DataMigration ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/DataMigration.framework/DataMigration
0x3dca000 - 0x3dcdffb +MobileInstallation ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallation
0x3dd3000 - 0x3e07fe7 +Bom 157.0.0 (compatibility 2.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/Bom.framework/Bom
0x3e14000 - 0x3e21feb +libbz2.1.0.dylib 1.0.5 (compatibility 1.0.0) <3B53F7D3-EEC0-3474-A969-261D29B0CB3A> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/libbz2.1.0.dylib
0x3e26000 - 0x3e9ffef +CoreAudio ??? (???) <5204A2C9-BC1D-341C-9A1E-B19DC78E3A72> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x3ed5000 - 0x43befff +libBLAS.dylib ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x43ea000 - 0x4803ffb +libLAPACK.dylib ??? (???) <498CB8D0-4DE6-3373-B565-AD791A4643BF> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x482f000 - 0x483cfff +CoreVideo 1.6.1 (compatibility 1.2.0) <896139C4-44D2-3676-94B3-E8BA3CEFDB65> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreVideo.framework/CoreVideo
0x4849000 - 0x484fffb +libGFXShared.dylib ??? (???) <90A5CE36-16F2-348E-80DD-3564DDBC9BAC> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
0x4854000 - 0x4891ff7 +libGLImage.dylib ??? (???) <15F1AB0A-A2EF-398D-B390-B4FF5E476EE7> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x4899000 - 0x489bfff +libCVMSPluginSupport.dylib ??? (???) <986FFB51-9878-3C83-BF3D-DE1EC7D49C0F> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib
0x48a0000 - 0x48a8fff +libCoreVMClient.dylib ??? (???) <43CC9869-83DD-385B-9B41-7B599C8DD8BD> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib
0x48b0000 - 0x4fcdf87 +libLLVMContainer.dylib ??? (???) <81C5DFA2-D54C-3804-8885-2F42ECE26B46> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/OpenGLES.framework/libLLVMContainer.dylib
0x525c000 - 0x5261fff +AssetsLibraryServices ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices
0x5267000 - 0x5267ffe +libresolv.dylib 41.0.0 (compatibility 1.0.0) <77C6873D-56D9-3FC2-8DFA-DF1A20ABC92F> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/libresolv.dylib
0x526c000 - 0x52c7fff +ManagedConfiguration ??? (???) <7EE47F9C-C07D-3672-AFCE-5C3E93123A40> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration
0x5305000 - 0x5318ff7 +PersistentConnection ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConnection
0x5329000 - 0x532dffb +ApplePushService ??? (???) <727743FF-EE4B-34B8-A960-7B83746A9911> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/ApplePushService.framework/ApplePushService
0x5333000 - 0x536dff3 +Celestial ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/Celestial.framework/Celestial
0x53a4000 - 0x53f1fe3 +CoreMedia ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreMedia.framework/CoreMedia
0x540f000 - 0x5417fff +GeoServices ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/GeoServices.framework/GeoServices
0x5420000 - 0x5492fe3 +GMM 14.0.0 (compatibility 1.0.0) <9D9E6E4D-33D0-3C33-B4C5-ADE1FA05FC44> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/GMM.framework/GMM
0x54df000 - 0x54e8fff +ProtocolBuffer ??? (???) <7932A828-9C35-3538-8BE8-C0561790D9A5> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer
0x54f1000 - 0x57bfffb +VideoToolbox ??? (???) <70B5641E-3AE6-37E2-A436-F9899DC269F4> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/VideoToolbox.framework/VideoToolbox
0x582c000 - 0x59e3fff +MediaToolbox ??? (???) <273E8948-FEF3-39BD-8430-9E787577776B> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/MediaToolbox.framework/MediaToolbox
0x5a65000 - 0x5a6effb +IAP ??? (???) <2B507B40-A5D4-3659-9DB6-81F072DBEE93> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/IAP.framework/IAP
0x5a78000 - 0x5b2bff7 +MusicLibrary 18.0.0 (compatibility 1.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary
0x5b89000 - 0x5bb8ff7 +MediaControl ??? (???) <80551024-1B93-3F1B-8773-67FB1CD2295B> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/MediaControl.framework/MediaControl
0x5bc2000 - 0x5bc7fff +MediaRemote ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/MediaRemote.framework/MediaRemote
0x5bce000 - 0x5bd2ffb +ArtworkCache ??? (???) <056C907D-A5DB-3A7C-939A-82D2D44816D5> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/ArtworkCache.framework/ArtworkCache
0x5bd8000 - 0x5be9ff3 +HomeSharing ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/PrivateFrameworks/HomeSharing.framework/HomeSharing
0x7300000 - 0x734eff7 +libCGFreetype.A.dylib 600.0.0 (compatibility 64.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
0x7533000 - 0x755dfff +libRIP.A.dylib 600.0.0 (compatibility 64.0.0) <1DDBA519-3623-3A9F-A844-E39BF97AD056> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
0x7568000 - 0x764ffe7 +GLEngine 17320.0.0 (compatibility 1.0.0) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/OpenGLES.framework/GLEngine.bundle/GLEngine
0x7662000 - 0x778cfe7 +libGLProgrammability.dylib ??? (???) /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/OpenGLES.framework/libGLProgrammability.dylib
0x77aa000 - 0x77d5fe3 +GLRendererFloat 17320.0.0 (compatibility 1.0.0) <10BCEE64-2E23-35E3-A68D-AF26E579378C> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/OpenGLES.framework/GLRendererFloat.bundle/GLRendererFloat
0x8fe00000 - 0x8fe4162b dyld 132.1 (???) <39AC3185-E633-68AA-7CD6-1230E7F1CEF4> /usr/lib/dyld
0x901ee000 - 0x90395ff7 libSystem.B.dylib 125.2.10 (compatibility 1.0.0) /usr/lib/libSystem.B.dylib
0x90531000 - 0x90534fe7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib
0x91ff7000 - 0x92061fe7 libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib
0x93465000 - 0x93545fe7 com.apple.vImage 4.1 (4.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x93e37000 - 0x93f2bff7 libiconv.2.dylib 7.0.0 (compatibility 7.0.0) <061ABF36-8BA9-79C1-6CE7-EC69A4998F51> /usr/lib/libiconv.2.dylib
0x94907000 - 0x94913ff7 libkxld.dylib ??? (???) /usr/lib/system/libkxld.dylib
0x96685000 - 0x966c7ff7 libvDSP.dylib 268.0.1 (compatibility 1.0.0) <8A4721DE-25C4-C8AA-EA90-9DA7812E3EBA> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x96b97000 - 0x96bb7fe7 libresolv.9.dylib 41.0.0 (compatibility 1.0.0) /usr/lib/libresolv.9.dylib
0x96c1a000 - 0x96c89ff7 libvMisc.dylib 268.0.1 (compatibility 1.0.0) <595A5539-9F54-63E6-7AAC-C04E1574B050> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x97083000 - 0x97083ff7 com.apple.vecLib 3.6 (vecLib 3.6) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x995fa000 - 0x995faff7 com.apple.Accelerate 1.6 (Accelerate 1.6) <3891A689-4F38-FACD-38B2-4BF937DE30CF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x995fb000 - 0x99658ff7 com.apple.framework.IOKit 2.0 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib[/text]

[text]I/ActivityManager( 61): Start proc com.testapp.android for activity com.testapp.android/.MyCoronaActivity: pid=287 uid=10034 gids={3003}
I/dalvikvm( 61): Jit: resizing JitTable from 512 to 1024
I/ARMAssembler( 61): generated scanline__00000177:03515104_00001002_00000000 [87 ipp] (110 ins) at [0x445ed6f0:0x445ed8a8] in 852000 ns
W/dalvikvm( 287): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/ansca/corona/CoronaActivity;
W/dalvikvm( 287): Class init failed in newInstance call (Lcom/testapp/android/MyCoronaActivity;)
D/AndroidRuntime( 287): Shutting down VM
W/dalvikvm( 287): threadid=1: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime( 287): FATAL EXCEPTION: main
E/AndroidRuntime( 287): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 287): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime( 287): at java.lang.Class.newInstance(Class.java:1409)
E/AndroidRuntime( 287): at android.app.Instrumentation.newActivity(Instrumentation.java:1021)
E/AndroidRuntime( 287): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1561)
E/AndroidRuntime( 287): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
E/AndroidRuntime( 287): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
E/AndroidRuntime( 287): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
E/AndroidRuntime( 287): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 287): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 287): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 287): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 287): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 287): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 287): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 287): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 287): Caused by: java.lang.UnsatisfiedLinkError: Couldn’t load openal: findLibrary returned null
E/AndroidRuntime( 287): at java.lang.Runtime.loadLibrary(Runtime.java:429)
E/AndroidRuntime( 287): at java.lang.System.loadLibrary(System.java:554)
E/AndroidRuntime( 287): at com.ansca.corona.CoronaActivity.(Unknown Source)
E/AndroidRuntime( 287): … 15 more
W/ActivityManager( 61): Force finishing activity com.testapp.android/.MyCoronaActivity
W/ActivityManager( 61): Activity pause timeout for HistoryRecord{4076ce68 com.testapp.android/.MyCoronaActivity}
W/ActivityManager( 61): Activity destroy timeout for HistoryRecord{4076ce68 com.testapp.android/.MyCoronaActivity}
I/Process ( 287): Sending signal. PID: 287 SIG: 9
I/ActivityManager( 61): Process com.testapp.android (pid 287) has died.
W/InputManagerService( 61): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4078c768[/text] [import]uid: 10708 topic_id: 9164 reply_id: 309164[/import]

ZeStuff, this isn’t going to be much help to you, but I was able to build for the iOS and Android simulator under 484, using your example, with no issues.

Stu [import]uid: 8891 topic_id: 9164 reply_id: 33605[/import]

Can’t tell - If you are running the latest builds on android simulator it won’t work as we support ARM7 and the latest simulators from Android don’t support it.

for osx- the crash log is in xcode so that doesn’t tell me much.

c. [import]uid: 24 topic_id: 9164 reply_id: 33631[/import]

I tried android simulator 2.2, 2.3.3 and 3.0.

As for ios, what am I supposed to provide if the xcode simulator logs are not good?

I’m a bit confused here. I’m pretty certain I provided as much log as I could. [import]uid: 10708 topic_id: 9164 reply_id: 33639[/import]

android simulators won’t work.

there is no consfusion; the log from xocde doesn’t tell me where corona crashes.

c. [import]uid: 24 topic_id: 9164 reply_id: 33640[/import]

If the xcode ios simulator logs are not good to debug issues with corona and the xcode ios simulator, then what do you need? [import]uid: 10708 topic_id: 9164 reply_id: 33641[/import]

let me rephrase, the log you have here is not good. it doesn’t show me where corona crashes.

can you do print statements in your app where you may think the issue is?

c. [import]uid: 24 topic_id: 9164 reply_id: 33645[/import]

Mr Icaza,

as I mentioned in my first post:

After messing with my code a lot, I made a quick test and created a new main.lua in an empty folder with only this:

display.newRect(290,240,20,40)

And then did "Build \> iOS \> Xcode Simulator". Same result.

So an empty app with only a display.newRect commands give me the same result. The application always crashes before it even gets to my code. [import]uid: 10708 topic_id: 9164 reply_id: 34400[/import]

Have you tried the latest daily builds? We made a fix to the Xcode simulator last week to fix a crashing problem. [import]uid: 7563 topic_id: 9164 reply_id: 34434[/import]

The latest daily build worked for the xcode simulator. Thanks! [import]uid: 10708 topic_id: 9164 reply_id: 34639[/import]