Subject: Bus error - Simulator crashes every time
Corona Version: 0.3
System Version: 10.5.7
HW Info (your computer specs): OS X 10.5.7, 15 inch macbook pro, 2.4 GHz Intel Core 2 Duo, 4 gig 667 MHz
$ uname -a
Darwin nicholas-wrights-imac-2.local 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386
Severity: 1 Showstopper(crash)
Reproducibility: Every Time
Description: Bus error when using simulator
Steps to reproduce (keep this as simple as possible):
- start simulator or debugger
=======================
I’ve written probably 5 apps with corona so far (only one submitted so far, hasn’t been approved yet), and have never had this problem prior to about 3 days ago.
Basically even starting the debugger or simulator throws a reference error like so:
$ ./debugger
ANSCA Remote Debugger
Run the program you wish to debug
Sun Nov 1 17:59:47 nicholas-wrights-imac-2.local Corona Simulator[52576] <warning>: CGSResolveShmemReference : reference offset (36720) exceeds bounds (32768) on shmem obj 0x196150<br>2009-11-01 17:59:47.275 Corona Simulator[52576:10b] Error (1000) creating CGSWindow<br>^C^C./debugger: line 6: 52577 Bus error "$path/Corona Simulator.app/Contents/Resources/Corona Simulator_agent.app/Contents/MacOS/Corona Simulator" --run $path/debugger.lu<br>
Note that I hadn’t even chosen an application to start yet. Here’s another one where I made it as far as choosing an app:<br>$ ./debugger <br>ANSCA Remote Debugger<br>Run the program you wish to debug<br>Copyright (C) 2009 ANSCA, Inc.<br> Version: 0.5<br> Build: 2009.10.15.1<br>Sun Nov 1 18:05:38 nicholas-wrights-imac-2.local Corona Simulator[52588] <warning>: CGSResolveShmemReference : reference offset (36848) exceeds bounds (32768) on shmem obj 0x196150<br>2009-11-01 18:05:38.470 Corona Simulator[52588:10b] Error (1000) creating CGSWindow<br>^C<br><br>^C^C^C^C./debugger: line 6: 52589 Bus error "$path/Corona Simulator.app/Contents/Resources/Corona Simulator_agent.app/Contents/MacOS/Corona Simulator" --run $path/debugger.lu<br>
I simply ran the debugger and watched it blow up. I’ve tried reinstalling the sdk but I get the same issue. Sometimes it’ll let me get as far as running a portion of the app before it locks up and I have to kill the process before it uses all of my resources.
What is weird is that this problem is very recent, but now happens every time I even try to run my apps. Just a second ago I was able to make it as far as building an app out for a device, and I’m able to run the app fine on my iphone.
It’s also worth noting that the output from starting the debugger above may not be what you guys are used to seeing. I’ve never seen the debugger work the way it’s intended (ie, as a debugger). It has always started up the same way as the simulator and I’ve never been dropped into a prompt, nor have I been able to actually use the debugger to debug my programs.
Thanks! I love the sdk so far.
[import]uid: 70 topic_id: 204 reply_id: 300204[/import]