[Mono-devel-list] Problem with mono under MacOSX and native calls to the SDL Lib

Sven Carstensen mono at svencarstensen.com
Tue Dec 28 08:09:19 EST 2004


Hi all,

i'm currently trying to port one of our games to MacOSX 10.3.
We are using SDL/OpenGL for graphics rendering. The Mono version is 
1.05. The SDL samples are running flawless. The Windows and Linux ports 
are running fine ( with mono and .NET)
The compile of our game was OK, but when i try to start the programm i 
get the following error:

<snip>
.....
Method TRFramework.Client.GUI.TRDesktop:get_DesktopSize () emitted at 
0x1fd8e10 to 0x1fd8e60 [TRVWY.exe]
Method System.Drawing.Size:get_Width () emitted at 0x1fd8e68 to 
0x1fd8eb4 [TRVWY.exe]
Method System.Drawing.Size:get_Height () emitted at 0x1fd8eb8 to 
0x1fd8f04 [TRVWY.exe]
Method TRFramework.Client.GUI.Video:SetVideoModeWindowOpenGL 
(int,int,bool) emitted at 0x1fd8f08 to 0x1fd8fa0 [TRVWY.exe]
Method TRFramework.Client.GUI.Video:SetVideoMode (int,int,int,int) 
emitted at 0x1fd9010 to 0x1fd909c [TRVWY.exe]
Method (wrapper managed-to-native) 
TRFramework.Client.GUI.Natives:SDL_SetVideoMode (int,int,int,int) 
emitted at 0x1fd9138 to 0x1fd923c [TRVWY.exe]
2004-12-23 19:09:07.738 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d399f0 of class NSCFArray autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.740 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0xdf3430 of class NSCFArray autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.740 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d39c20 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.741 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0xdf48e0 of class NSCFArray autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.742 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0xdf4a20 of class NSCFArray autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.743 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d39c80 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.744 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d39ca0 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.745 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d39cc0 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.746 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d39ce0 of class NSCFArray autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.746 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0xdf4160 of class NSCFArray autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.747 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d39d00 of class NSPathStore2 autoreleased with no pool in place - 
just leaking
2004-12-23 19:09:07.748 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d39d60 of class NSPathStore2 autoreleased with no pool in place - 
just leaking
2004-12-23 19:09:07.749 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d39d90 of class NSPathStore2 autoreleased with no pool in place - 
just leaking
2004-12-23 19:09:07.750 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d39e60 of class NSPathStore2 autoreleased with no pool in place - 
just leaking
2004-12-23 19:09:07.751 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d39ea0 of class NSCFDictionary autoreleased with no pool in place - 
just leaking
2004-12-23 19:09:07.752 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d39f60 of class NSIdEnumerator autoreleased with no pool in place - 
just leaking
2004-12-23 19:09:07.753 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0xa2dce914 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.753 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d39fc0 of class NSCFArray autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.755 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d01110 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.756 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d010b0 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.757 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d01280 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.757 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d010d0 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.758 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d01080 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.759 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d00e00 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.760 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0xa2dce8a4 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.762 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0xdfffe0 of class NSCFNumber autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.764 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3aa10 of class NSCFData autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.768 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0xa2dcb0c0 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.770 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d2b1d0 of class _NSCachedBitmapImageRep autoreleased with no pool in 
place - just leaking
2004-12-23 19:09:07.773 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3a7c0 of class NSImage autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.774 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3bda0 of class _NSCachedBitmapImageRep autoreleased with no pool in 
place - just leaking
2004-12-23 19:09:07.775 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3bc80 of class NSImage autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.776 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d38fc0 of class _NSThemeCloseWidget autoreleased with no pool in 
place - just leaking
2004-12-23 19:09:07.777 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0xa2dcb0c0 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.780 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3c3c0 of class _NSCachedBitmapImageRep autoreleased with no pool in 
place - just leaking
2004-12-23 19:09:07.781 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3c210 of class NSImage autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.782 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3c260 of class _NSCachedBitmapImageRep autoreleased with no pool in 
place - just leaking
2004-12-23 19:09:07.783 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3c450 of class NSImage autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.783 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3bf90 of class _NSThemeWidget autoreleased with no pool in place - 
just leaking
2004-12-23 19:09:07.828 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0xa2dcb0c0 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.829 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3c2a0 of class _NSCachedBitmapImageRep autoreleased with no pool in 
place - just leaking
2004-12-23 19:09:07.830 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d39090 of class NSImage autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.831 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d2aaf0 of class _NSCachedBitmapImageRep autoreleased with no pool in 
place - just leaking
2004-12-23 19:09:07.832 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3c790 of class NSImage autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.833 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3bf20 of class _NSThemeWidget autoreleased with no pool in place - 
just leaking
2004-12-23 19:09:07.835 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3bc10 of class NSCFString autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.836 mono[15909] *** _NSAutoreleaseNoPool(): Object 
0x2d3c0b0 of class NSException autoreleased with no pool in place - just 
leaking
2004-12-23 19:09:07.837 mono[15909] *** Uncaught exception: 
<NSInternalInconsistencyException> Error (1002) creating CGSWindow
Trace/BPT trap
<snip>

Mono was run with the -v parameter. For me it seemed that the native 
call to set the video mode ( SDL_SetVideMode ) failed.
Has everyone had a simliar problem or has a hint for me how to solve 
this problem?

Thanks a lot!

Sven

-- 
team ringnebel
http://www.venuswasyesterday.de



More information about the Mono-devel-list mailing list