Using ShellEnd on a Mac causes a bit of a crash :
Process: MacOSX [206]
Path: /Volumes/Programming/GLBasic/BallZ II Redux/BallZ II Redux.app/Contents/MacOS/MacOSX
Identifier: GLBasic.com
Version: 1.0 (r406)
Code Type: X86 (Native)
Parent Process: launchd [84]
Interval Since Last Report: 106845 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 316 sec
Per-App Crashes Since Last Report: 2
Date/Time: 2009-08-13 23:57:37.449 +0100
OS Version: Mac OS X 10.5.8 (9L30)
Report Version: 6
Anonymous UUID: DBDC220E-7970-45D7-A5A6-1F9E5B2D8C91
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000128494
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0xffff07c7 __memcpy + 39 (cpu_capabilities.h:246)
1 libSystem.B.dylib 0x9385f0ee __sfvwrite + 409
2 libSystem.B.dylib 0x9385eca1 __vfprintf + 18797
3 libSystem.B.dylib 0x93881c46 sprintf + 478
4 GLBasic.com 0x0008058f __GLBASIC__::SHELLEND(__GLBASIC__::DGStr) + 41
5 GLBasic.com 0x00061afe __GLBASIC__::updateGame() + 8094
When called from Terminal, its called a Bus error
It happens at "Shut down GLB"
yes, there's a stupid "sprintf", which crashed. Fixed in next update.