Running this piece of code causes a crash on device and Corona Simulator
local bLine = display.newLine(10,90,100,90);
Crash info:
Process: Corona Simulator [11585] Path: /Applications/CoronaSDK-2.0/Corona Simulator.app/Contents/MacOS/Corona Simulator Identifier: com.coronalabs.Corona\_Simulator Version: 2013.103 (2013.103) Code Type: X86-64 (Native) Parent Process: java [10064] User ID: 501 Date/Time: 2013-09-27 16:05:27.635 +0900 OS Version: Mac OS X 10.8.5 (12F37) Report Version: 10 Interval Since Last Report: 484620 sec Crashes Since Last Report: 7 Per-App Interval Since Last Report: 925 sec Per-App Crashes Since Last Report: 7 Anonymous UUID: C88D6C07-D37C-8664-014D-D5DB215B4B54 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC\_BAD\_ACCESS (SIGSEGV) Exception Codes: KERN\_INVALID\_ADDRESS at 0x0000000000000000 VM Regions Near 0: --\> \_\_TEXT 0000000100000000-00000001001f7000 [2012K] r-x/rwx SM=COW /Applications/CoronaSDK-2.0/Corona Simulator.app/Contents/MacOS/Corona Simulator Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.coronalabs.Corona\_Simulator 0x00000001000b60b3 0x100000000 + 745651 1 com.coronalabs.Corona\_Simulator 0x00000001000b466e 0x100000000 + 738926 2 com.coronalabs.Corona\_Simulator 0x00000001000bb949 0x100000000 + 768329 3 com.coronalabs.Corona\_Simulator 0x0000000100097a8e 0x100000000 + 621198 4 com.coronalabs.Corona\_Simulator 0x00000001000102d1 0x100000000 + 66257 5 com.apple.AppKit 0x00007fff85cc0ad7 -[\_NSOpenGLLayer drawInCGLContext:pixelFormat:forLayerTime:displayTime:] + 304 6 com.apple.QuartzCore 0x00007fff8ec73a36 CAOpenGLLayerDraw(CAOpenGLLayer\*, double, CVTimeStamp const\*, unsigned int) + 768 7 com.apple.QuartzCore 0x00007fff8ec73622 -[CAOpenGLLayer \_display] + 397 8 com.apple.QuartzCore 0x00007fff8eb75425 CA::Layer::display\_if\_needed(CA::Transaction\*) + 593 9 com.apple.QuartzCore 0x00007fff8eb74c3f CA::Layer::layout\_and\_display\_if\_needed(CA::Transaction\*) + 35 10 com.apple.QuartzCore 0x00007fff8eb6a417 CA::Context::commit\_transaction(CA::Transaction\*) + 261 11 com.apple.QuartzCore 0x00007fff8eb6a1e7 CA::Transaction::commit() + 369 12 com.apple.QuartzCore 0x00007fff8eb6a003 CA::Transaction::observer\_callback(\_\_CFRunLoopObserver\*, unsigned long, void\*) + 63 13 com.apple.CoreFoundation 0x00007fff8fa57417 \_\_CFRUNLOOP\_IS\_CALLING\_OUT\_TO\_AN\_OBSERVER\_CALLBACK\_FUNCTION\_\_ + 23 14 com.apple.CoreFoundation 0x00007fff8fa57381 \_\_CFRunLoopDoObservers + 369 15 com.apple.CoreFoundation 0x00007fff8fa32104 CFRunLoopRunSpecific + 324 16 com.apple.HIToolbox 0x00007fff8a0b2eb4 RunCurrentEventLoopInMode + 209 17 com.apple.HIToolbox 0x00007fff8a0b2c52 ReceiveNextEventCommon + 356 18 com.apple.HIToolbox 0x00007fff8a0b2ae3 BlockUntilNextEventMatchingListInMode + 62 19 com.apple.AppKit 0x00007fff85612533 \_DPSNextEvent + 685 20 com.apple.AppKit 0x00007fff85611df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 21 com.apple.AppKit 0x00007fff856091a3 -[NSApplication run] + 517 22 com.apple.AppKit 0x00007fff855adbd6 NSApplicationMain + 869 23 com.coronalabs.Corona\_Simulator 0x0000000100001a64 start + 52