Author Topic: Linux, game not starts at all.  (Read 4581 times)

Xalkin

  • Guest
Linux, game not starts at all.
« on: April 06, 2009, 06:00:01 PM »
Game crashes at startup:

Code: [Select]
$ mono -V
Mono JIT compiler version 2.0.1 (tarball)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none

Code: [Select]
$ mono Dyson.exe
Stacktrace:                             

  at (wrapper managed-to-native) System.Windows.Forms.X11Keyboard.XOpenIM (intptr,intptr,intptr,intptr) <0x00004>
  at (wrapper managed-to-native) System.Windows.Forms.X11Keyboard.XOpenIM (intptr,intptr,intptr,intptr) <0xffffffff>
  at System.Windows.Forms.X11Keyboard.SetupXIM () <0x000c3>                                                         
  at System.Windows.Forms.X11Keyboard.EnsureLayoutInitialized () <0x0005a>                                         
  at System.Windows.Forms.X11Keyboard..ctor (intptr,intptr) <0x00096>                                               
  at System.Windows.Forms.XplatUIX11.SetDisplay (intptr) <0x004b2>                                                 
  at System.Windows.Forms.XplatUIX11..ctor () <0x000b1>                                                             
  at System.Windows.Forms.XplatUIX11.GetInstance () <0x0003b>                                                       
  at System.Windows.Forms.XplatUI..cctor () <0x000e6>                                                               
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>         
  at System.Windows.Forms.SystemInformation.get_VirtualScreen () <0xffffffff>                                       
  at System.Windows.Forms.SystemInformation.get_VirtualScreen () <0x0000f>                                         
  at System.Windows.Forms.Screen..cctor () <0x00024>                                                               
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>         
  at Dyson.Game..ctor () <0xffffffff>                                                                               
  at Dyson.Game..ctor () <0x003f8>                                                                                 
  at Dyson.Game.Main () <0x00016>                                                                                   
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>         

Native stacktrace:

        mono [0x806cff9]
        mono [0x8085b6b]
        [0xb7f6240c]   
        /usr/lib/libX11.so.6 [0xb6e33e9f]
        /usr/lib/libX11.so.6(XrmQGetResource+0x3e) [0xb6e4a74e]
        /usr/lib/libX11.so.6(XStringToKeysym+0x149) [0xb6e41d69]
        /usr/lib/libX11.so.6(_XimParseStringFile+0xc72) [0xb6e68ce2]
        /usr/lib/libX11.so.6(_XimParseStringFile+0xd7b) [0xb6e68deb]
        /usr/lib/libX11.so.6(_XimLocalOpenIM+0x434) [0xb6e77bd4]   
        /usr/lib/libX11.so.6(_XimOpenIM+0x13d) [0xb6e6f69d]         
        /usr/lib/libX11.so.6(XOpenIM+0x4a) [0xb6e5432a]             
        [0xb6426cfc]                                               
        [0xb6426b64]                                               
        [0xb643a88b]                                               
        [0xb643a5bf]                                               
        [0xb71e445b]                                               
        [0xb71dce4a]                                               
        [0xb71dca34]                                               
        [0xb71dbdf7]                                               
        [0xb77d71ae]                                               
        mono [0x80fa95d]                                           
        mono(mono_runtime_class_init+0x19) [0x80fb019]             
        mono [0x81abb3e]                                           
        mono [0x806fcdf]                                           
        [0xb7a9a066]                                               
        [0xb71dbb1d]                                               
        [0xb77d71ae]                                               
        mono [0x80fa95d]                                           
        mono [0x8194940]                                           
        mono [0x81a9ab5]                                           
        mono [0x81ab971]                                           
        mono [0x806fcdf]                                           
        [0xb7a9a066]                                               
        [0xb77de83f]                                               
        [0xb77d71ae]                                               
        mono(mono_runtime_exec_main+0xe5) [0x80f6f95]               
        mono(mono_runtime_run_main+0x16b) [0x80f770b]               
        mono(mono_main+0x16df) [0x805c7bf]                         
        mono [0x805ab62]                                           
        /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7cf3775]
        mono [0x805aaa1]                                             

Debug info from gdb:

(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb73f2b90 (LWP 31512)]         
[New Thread 0xb77d6b90 (LWP 31511)]         
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
(no debugging symbols found)                 
0xb7f62424 in __kernel_vsyscall ()           
  3 Thread 0xb77d6b90 (LWP 31511)  0xb7f62424 in __kernel_vsyscall ()
  2 Thread 0xb73f2b90 (LWP 31512)  0xb7f62424 in __kernel_vsyscall ()
* 1 Thread 0xb7caa6e0 (LWP 31510)  0xb7f62424 in __kernel_vsyscall ()

Thread 3 (Thread 0xb77d6b90 (LWP 31511)):
#0  0xb7f62424 in __kernel_vsyscall ()
#1  0xb7e707c6 in nanosleep () from /lib/i686/cmov/libpthread.so.0
#2  0x08163f58 in ?? ()
#3  0xb77d6394 in ?? ()
#4  0x00000000 in ?? ()

Thread 2 (Thread 0xb73f2b90 (LWP 31512)):
#0  0xb7f62424 in __kernel_vsyscall ()
#1  0xb7e6cfb5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0x08152b87 in ?? ()
#3  0x0993f354 in ?? ()
#4  0x0993f33c in ?? ()
#5  0x00007b18 in ?? ()
#6  0x00000000 in ?? ()

Thread 1 (Thread 0xb7caa6e0 (LWP 31510)):
#0  0xb7f62424 in __kernel_vsyscall ()
#1  0xb7e6ffcb in read () from /lib/i686/cmov/libpthread.so.0
#2  0x0806d0f3 in ?? ()
#3  0x00000019 in ?? ()
#4  0xb7a992e4 in ?? ()
#5  0x00000400 in ?? ()
#6  0xb7e39560 in ?? () from /lib/i686/cmov/libc.so.6
#7  0x00000000 in ?? ()

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted

107

  • Guest
Re: Linux, game not starts at all.
« Reply #1 on: April 06, 2009, 06:52:18 PM »
I have the same error too:

Code: [Select]
mono -V
Mono JIT compiler version 2.2 (tarball Mon Apr  6 11:58:08 MSD 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none

Code: [Select]
mono Dyson.exe

Stacktrace:

  at (wrapper managed-to-native) System.Windows.Forms.X11Keyboard.XOpenIM (intptr,intptr,intptr,intptr) <0x00004>
  at (wrapper managed-to-native) System.Windows.Forms.X11Keyboard.XOpenIM (intptr,intptr,intptr,intptr) <0xffffffff>
  at System.Windows.Forms.X11Keyboard.SetupXIM () <0x000a1>
  at System.Windows.Forms.X11Keyboard.EnsureLayoutInitialized () <0x00057>
  at System.Windows.Forms.X11Keyboard..ctor (intptr,intptr) <0x000b2>
  at System.Windows.Forms.XplatUIX11.SetDisplay (intptr) <0x00559>
  at System.Windows.Forms.XplatUIX11..ctor () <0x0010f>
  at System.Windows.Forms.XplatUIX11.GetInstance () <0x0003c>
  at System.Windows.Forms.XplatUI..cctor () <0x00100>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at System.Windows.Forms.SystemInformation.get_VirtualScreen () <0xffffffff>
  at System.Windows.Forms.SystemInformation.get_VirtualScreen () <0x00012>
  at System.Windows.Forms.Screen..cctor () <0x0002e>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at Dyson.Game..ctor () <0xffffffff>
  at Dyson.Game..ctor () <0x004c8>
  at Dyson.Game.Main () <0x00026>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono [0x80f343e]
        mono [0x811f6c2]
        [0xffffe40c]
        /usr/lib/libX11.so.6 [0xb7045178]
        [0x851c228]
        [(nil)]

dyson120-linux.zip @ 2.6.29-gentoo linux (GNU libc 2.9, X.Org X Server 1.5.3 )

m1h

  • Guest
Re: Linux, game not starts at all.
« Reply #2 on: April 06, 2009, 09:25:27 PM »
I have this sort of problem too

Code: [Select]
$ mono -V
Mono JIT compiler version 2.4 (tarball Tue Mar 31 14:48:00 CEST 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none

Code: [Select]
$ mono Dyson.exe

Stacktrace:

  at (wrapper managed-to-native) System.Windows.Forms.X11Keyboard.XOpenIM (intptr,intptr,intptr,intptr) <0x00004>
  at (wrapper managed-to-native) System.Windows.Forms.X11Keyboard.XOpenIM (intptr,intptr,intptr,intptr) <0xffffffff>
  at System.Windows.Forms.X11Keyboard.SetupXIM () <0x000a1>
  at System.Windows.Forms.X11Keyboard.EnsureLayoutInitialized () <0x00057>
  at System.Windows.Forms.X11Keyboard..ctor (intptr,intptr) <0x000b2>
  at System.Windows.Forms.XplatUIX11.SetDisplay (intptr) <0x005e5>
  at System.Windows.Forms.XplatUIX11..ctor () <0x0010f>
  at System.Windows.Forms.XplatUIX11.GetInstance () <0x0003c>
  at System.Windows.Forms.XplatUI..cctor () <0x00100>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at System.Windows.Forms.SystemInformation.get_VirtualScreen () <0xffffffff>
  at System.Windows.Forms.SystemInformation.get_VirtualScreen () <0x00012>
  at System.Windows.Forms.Screen..cctor () <0x0002e>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at Dyson.Game..ctor () <0xffffffff>
  at Dyson.Game..ctor () <0x004c6>
  at Dyson.Game.Main () <0x00026>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono [0x80c8bff]
        mono [0x80f331b]
        [0xb7fa040c]
        /usr/lib/libX11.so.6 [0xb6fc4e4f]
        /usr/lib/libX11.so.6(XrmQGetResource+0x3e) [0xb6fdb5ee]
        /usr/lib/libX11.so.6(XStringToKeysym+0x181) [0xb6fd2c91]
        /usr/lib/libX11.so.6(_XimParseStringFile+0xc73) [0xb6ffe903]
        /usr/lib/libX11.so.6(_XimLocalOpenIM+0x434) [0xb7000534]
        /usr/lib/libX11.so.6(_XimOpenIM+0x13d) [0xb70015ed]
        /usr/lib/libX11.so.6(XOpenIM+0x4a) [0xb6fe515a]
        [0xb6582846]
        [0xb65826da]
        [0xb6592468]
        [0xb659213b]
        [0xb6f0caa6]
        [0xb6f54930]
        [0xb6f544cd]
        [0xb6f53821]
        [0xb772d1fa]
        mono [0x819b43d]
        mono(mono_runtime_class_init+0x19) [0x819baf9]
        mono [0x8063148]
        mono [0x80d1975]
        [0xb7a15066]
        [0xb6f535d7]
        [0xb772d1fa]
        mono [0x819b43d]
        mono [0x808341a]
        mono [0x806166d]
        mono [0x8062f79]
        mono [0x80d1975]
        [0xb7a15066]
        [0xb772fe87]
        [0xb772d1fa]
        mono(mono_runtime_exec_main+0xe5) [0x8197a85]
        mono(mono_runtime_run_main+0x16b) [0x819822b]
        mono(mono_main+0x18aa) [0x80b11ba]
        mono [0x805ac41]
        /lib/libc.so.6(__libc_start_main+0xe5) [0xb7d576c5]
        mono [0x805ab71]

Debug info from gdb:


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Аварийный останов


Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 14
  • Posts: 1,035
Re: Linux, game not starts at all.
« Reply #3 on: April 06, 2009, 11:01:00 PM »
I guess this is something that has occurred between 1.10 and 1.20... sorry about this, I'll take a look when I can.

theli

  • Guest
Re: Linux, game not starts at all.
« Reply #4 on: June 25, 2009, 02:02:56 AM »
this is, supposedly a bug in mono ... can be workarounded by setting environment variable
MONO_WINFORMS_XIM_STYLE=disabled