Mac apps not compatible with Mac OS X Leopard 10.5

Previous topic - Next topic

quangdx

I'm getting reports my programs aren't working on Mac OS X Leopard 10.5
Wrote a simple test program, and it just crashes straight away.

Code (glbasic) Select
SETSCREEN 320,240,FALSE
LIMITFPS 60
CLEARSCREEN -1
SYSTEMPOINTER FALSE

WHILE TRUE
DRAWRECT 0,0,320,240,RGB(RND(255),RND(255),RND(255))
SHOWSCREEN
WEND


What are other people's experiences?
Asobi tech - the science of play.
Spare time indiegame developer.

Kitty Hello


quangdx

Just tried it without the setscreen,
and it does the some thing.

Process:         MacOSX [179]
Path:            /Volumes/TOOLS/Asobitech/CompTest2.app/Contents/MacOS/MacOSX
Identifier:      com.asobitech.comptest2
Version:         0.001.0 (0.001.0)
Code Type:       X86 (Native)
Parent Process:  launchd [103]

Interval Since Last Report:          259 sec
Crashes Since Last Report:           2
Per-App Interval Since Last Report:  1 sec
Per-App Crashes Since Last Report:   2

Date/Time:       2011-12-27 10:56:38.759 +0000
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  2BC3A9B7-0731-4D37-A157-BC2F0FAAEF7F

Exception Type:  EXC_CRASH (SIGBUS)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  1

Thread 0:
0   ???                              0000000000 0 + 0
1   com.asobitech.comptest2          0x0002f79c __GlobalInit + 2534
2   com.asobitech.comptest2          0x00018ee6 SDL_main + 786
3   com.asobitech.comptest2          0x00003b2e -[SDLMain applicationDidFinishLaunching:] + 88 (SDLMain.m:302)
4   com.apple.Foundation             0x9249152c _nsnote_callback + 364
5   com.apple.CoreFoundation         0x92b4f47a __CFXNotificationPost + 362
6   com.apple.CoreFoundation         0x92b4f753 _CFXNotificationPostNotification + 179
7   com.apple.Foundation             0x9248e680 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
8   com.apple.Foundation             0x92497ed8 -[NSNotificationCenter postNotificationName:object:] + 56
9   com.apple.AppKit                 0x96bb3df2 -[NSApplication _postDidFinishNotification] + 125
10  com.apple.AppKit                 0x96bb3d01 -[NSApplication _sendFinishLaunchingNotification] + 77
11  com.apple.AppKit                 0x96b2d81b -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 284
12  com.apple.AppKit                 0x96b2d014 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 98
13  com.apple.Foundation             0x924b6a9f -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 655
14  com.apple.Foundation             0x924b67af _NSAppleEventManagerGenericHandler + 223
15  com.apple.AE                     0x9090e648 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 144
16  com.apple.AE                     0x9090e57e dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
17  com.apple.AE                     0x9090e425 aeProcessAppleEvent + 177
18  com.apple.HIToolbox              0x95ad7981 AEProcessAppleEvent + 38
19  com.apple.AppKit                 0x96b2a8e9 _DPSNextEvent + 1189
20  com.apple.AppKit                 0x96b29f88 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
21  com.apple.AppKit                 0x96b22f9f -[NSApplication run] + 795
22  com.asobitech.comptest2          0x00003956 CustomApplicationMain + 428 (SDLMain.m:231)
23  com.asobitech.comptest2          0x00003dd1 main + 280 (SDLMain.m:382)
24  com.asobitech.comptest2          0x000026ce _start + 228 (crt.c:272)
25  com.asobitech.comptest2          0x000025e9 start + 41

Thread 1 Crashed:
0   libSystem.B.dylib                0x91d6e46e __semwait_signal + 10
1   libSystem.B.dylib                0x91d98dcd pthread_cond_wait$UNIX2003 + 73
2   libGLProgrammability.dylib       0x9616db32 glvmDoWork + 162
3   libSystem.B.dylib                0x91d98155 _pthread_start + 321
4   libSystem.B.dylib                0x91d98012 thread_start + 34

Thread 1 crashed with X86 Thread State (32-bit):
  eax: 0x00000004  ebx: 0x91d98ded  ecx: 0xb0146e9c  edx: 0x91d6e46e
  edi: 0xa079ae08  esi: 0xb0147000  ebp: 0xb0146f18  esp: 0xb0146e9c
   ss: 0x0000001f  efl: 0x00000247  eip: 0x91d6e46e   cs: 0x00000007
   ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
  cr2: 0xb0146fec
Asobi tech - the science of play.
Spare time indiegame developer.

Kitty Hello

run it from a command line. What does it say?

quangdx

The same thing happens in Terminal,
open CompabilityTest.app
will open the program then it crashes straight away,
with the same crash report.
No messages show up in the terminal window.
Asobi tech - the science of play.
Spare time indiegame developer.

Kitty Hello

did you compile for MacOSX_uni or _x86?

quangdx

I tried it with both, and I get the same error :(
Asobi tech - the science of play.
Spare time indiegame developer.

quangdx

Looks like GLBasic programs don't run on Tiger 10.4 either :(

Guess I'll have to tell people the minimum requirement is Snow Leopard.
Asobi tech - the science of play.
Spare time indiegame developer.

Kitty Hello


quangdx

Quote from: Kitty Hello on 2012-Jan-02
how can that be?
I wish I knew, there must be something different with Tiger and Leopard,
that just cause the App to open, then crash straight away.
Maybe one of the initialisation routines.
Asobi tech - the science of play.
Spare time indiegame developer.

MrTAToad

I presume you do have "console program" not checked.  In addition, it might be worth checking to make sure that executable program status is checked...