BlitzMax Application and MacOS X 10.5.6

BlitzMax Forums/BlitzMax Bug Reports/BlitzMax Application and MacOS X 10.5.6

I am creating an Application under MacOS X 10.4.11. I friend has tested then Beta on a Mac Pro with MacOS X 10.5.6 and it crashes.

This is the Crash Report:
Process: MetaTagEdit [535]
Path: /Users/********/Downloads/MetaTagEdit.app/Contents/MacOS/MetaTagEdit
Identifier: MetaTagEdit
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [137]

Date/Time: 2009-02-15 09:31:34.586 +0100
OS Version: Mac OS X 10.5.6 (9G55)
Report Version: 6

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000090
Crashed Thread: 0

Thread 0 Crashed:
0 MetaTagEdit 0x001a160b brl_stream_WriteLine + 21
1 MetaTagEdit 0x0000666f 96 + 403
2 MetaTagEdit 0x0000411a 301 + 0
3 MetaTagEdit 0x0000368b 4 + 20
4 MetaTagEdit 0x000030a5 run + 162
5 com.apple.Foundation 0x91816f1c _nsnote_callback + 364
6 com.apple.CoreFoundation 0x90e888da __CFXNotificationPost + 362
7 com.apple.CoreFoundation 0x90e88bb3 _CFXNotificationPostNotification + 179
8 com.apple.Foundation 0x91814080 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
9 com.apple.Foundation 0x9181d8c8 -[NSNotificationCenter postNotificationName:object:] + 56
............

The crashreport is a little bit longer than here. Has anyone an idea.
I should be a problem with writeline. If i remove the lines from my source it does not crash under MacOS X 10.5.6, under MacOS X 10.4.11 it works fine.
I have read that under MacOS X 10.5.X the Applications have an uuid in the info.plist?

Only thing I can think of is that the stream you are writing to is not valid (eg. open).
In debug mode it should stop you :
		Assert _cstream Else "Attempt to write to closed stream"
		Assert _mode & MODE_WRITE Else "Attempt to write to read-only stream"

Although, looking at the code, I think it is broken :-p
Should probably rather say :
		Assert _cstream, "Attempt to write to closed stream"
		Assert _mode & MODE_WRITE, "Attempt to write to read-only stream"


Ok. I have installed MacOS X 10.5.6 and it work. My friend have tested this on his machine and it does not work. Is is possible that some application enhancer kill the blitzmax application.

Hi,

Can you post some code for us to try out?