You are not logged in.

#1 2013-11-15 20:04:05

SammyF
Member
Registered: 2010-05-28
Posts: 25

Mono applications crashing on start

I am not able to start any of the games writen in mono I own . They all crash when I try to start them. The dump is also always similar, but different libs seem to fail depending on the game.
I removed all of mono (-Rc), reinstalled it, tried removing pulseaudio (on a whim,  because I saw a post from someone for whom pulse was the culprit), I installed steam and tried starting the games for which I had keys from there ... to no avail. Apart from that my system is rock-stable, so now I'm a bit at a loss.

Some of the games i tried are KSP, Sir You Are Being Hunted, Race For The Sun.

this is the output when I try to start the game normally

~$ ./sir_alpha_v0.6.4860 

Set current directory to /media/TARDIS/home/sammy/Desktop/linux
Found path: /media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6.4860
Mono path[0] = '/media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Managed'
Mono path[1] = '/media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono'
Mono config path = '/media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/etc'
Stacktrace:


Native stacktrace:

	/media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/x86/libmono.so(+0x8b190) [0xf4b90190]
	/media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/x86/libmono.so(+0xbd22d) [0xf4bc222d]
	linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7713410]
	./sir_alpha_v0.6.4860() [0x82ca4ea]
	./sir_alpha_v0.6.4860() [0x82caf7c]
	./sir_alpha_v0.6.4860() [0x816582f]
	./sir_alpha_v0.6.4860() [0x84f1d5a]
	./sir_alpha_v0.6.4860() [0x84c8c08]
	./sir_alpha_v0.6.4860() [0x87d248d]
	/usr/lib32/libc.so.6(__libc_start_main+0xf3) [0xf71bf9d3]

Debug info from gdb:

ptrace: Operation not permitted.
No threads.

=================================================================
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 (core dumped)

here for another game, just to show that the output is pretty much the same but it's libpthread and not linux_gate

~$ ./RaceTheSun.x86_64
 
Set current directory to /media/TARDIS/home/sammy/Desktop/RaceTheSun/RaceTheSun_1.10_LINUX
Found path: /media/TARDIS/home/sammy/Desktop/RaceTheSun/RaceTheSun_1.10_LINUX/RaceTheSun.x86_64
Mono path[0] = '/media/TARDIS/home/sammy/Desktop/RaceTheSun/RaceTheSun_1.10_LINUX/RaceTheSun_Data/Managed'
Mono path[1] = '/media/TARDIS/home/sammy/Desktop/RaceTheSun/RaceTheSun_1.10_LINUX/RaceTheSun_Data/Mono'
Mono config path = '/media/TARDIS/home/sammy/Desktop/RaceTheSun/RaceTheSun_1.10_LINUX/RaceTheSun_Data/Mono/etc'
Stacktrace:


Native stacktrace:

	/media/TARDIS/home/sammy/Desktop/RaceTheSun/RaceTheSun_1.10_LINUX/RaceTheSun_Data/Mono/x86_64/libmono.so(+0x92db2) [0x7fbed98ebdb2]
	/media/TARDIS/home/sammy/Desktop/RaceTheSun/RaceTheSun_1.10_LINUX/RaceTheSun_Data/Mono/x86_64/libmono.so(+0xd0735) [0x7fbed9929735]
	/usr/lib/libpthread.so.0(+0xf870) [0x7fbede06f870]
	/usr/lib/libc.so.6(strlen+0x2a) [0x7fbedd615a7a]
	./RaceTheSun.x86_64() [0x692f88]
	./RaceTheSun.x86_64() [0x6932b5]
	./RaceTheSun.x86_64() [0x693ee9]
	./RaceTheSun.x86_64() [0x52e538]
	./RaceTheSun.x86_64() [0x8c19da]
	./RaceTheSun.x86_64() [0x89825d]
	./RaceTheSun.x86_64() [0xbab0a7]
	/usr/lib/libc.so.6(__libc_start_main+0xf5) [0x7fbedd5b5bc5]
	./RaceTheSun.x86_64() [0x44b9b9]

Debug info from gdb:

ptrace: Operation not permitted.
No threads.

=================================================================
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 (core dumped)

Here if I try starting it with sudo:

~$ sudo ./sir_alpha_v0.6.4860

[sudo] password for sammy:
Set current directory to /media/TARDIS/home/sammy/Desktop/linux
Found path: /media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6.4860
Mono path[0] = '/media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Managed'
Mono path[1] = '/media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono'
Mono config path = '/media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/etc'
Stacktrace:
Native stacktrace:
/media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/x86/libmono.so(+0x8b190) [0xf4bc3190]
/media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/x86/libmono.so(+0xbd22d) [0xf4bf522d]
linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7746410]
./sir_alpha_v0.6.4860() [0x82ca4ea]
./sir_alpha_v0.6.4860() [0x82caf7c]
./sir_alpha_v0.6.4860() [0x816582f]
./sir_alpha_v0.6.4860() [0x84f1d5a]
./sir_alpha_v0.6.4860() [0x84c8c08]
./sir_alpha_v0.6.4860() [0x87d248d]
/usr/lib32/libc.so.6(__libc_start_main+0xf3) [0xf71f29d3]
Debug info from gdb:
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[New LWP 28414]
[New LWP 28413]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0xf7746430 in __kernel_vsyscall ()
Id Target Id Frame
3 Thread 0xf7708b40 (LWP 28413) "sir_alpha_v0.6." 0xf7746430 in __kernel_vsyscall ()
2 Thread 0xf4530b40 (LWP 28414) "sir_alpha_v0.6." 0xf7746430 in __kernel_vsyscall ()
* 1 Thread 0xf4fca980 (LWP 28412) "sir_alpha_v0.6." 0xf7746430 in __kernel_vsyscall ()
Thread 3 (Thread 0xf7708b40 (LWP 28413)):
#0 0xf7746430 in __kernel_vsyscall ()
#1 0xf74002b6 in nanosleep () from /usr/lib32/libpthread.so.0
#2 0xf4ca70a7 in ?? () from /media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/x86/libmono.so
#3 0xf73f8f10 in start_thread () from /usr/lib32/libpthread.so.0
#4 0xf72c6fce in clone () from /usr/lib32/libc.so.6
Thread 2 (Thread 0xf4530b40 (LWP 28414)):
#0 0xf7746430 in __kernel_vsyscall ()
#1 0xf73feeb5 in sem_wait@@GLIBC_2.1 () from /usr/lib32/libpthread.so.0
#2 0xf4cc55d9 in mono_sem_wait () from /media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/x86/libmono.so
#3 0xf4c22138 in ?? () from /media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/x86/libmono.so
#4 0xf4c9304b in ?? () from /media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/x86/libmono.so
#5 0xf4cbcf7f in ?? () from /media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/x86/libmono.so
#6 0xf4cde973 in ?? () from /media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/x86/libmono.so
#7 0xf73f8f10 in start_thread () from /usr/lib32/libpthread.so.0
#8 0xf72c6fce in clone () from /usr/lib32/libc.so.6
Thread 1 (Thread 0xf4fca980 (LWP 28412)):
#0 0xf7746430 in __kernel_vsyscall ()
#1 0xf73ffadb in read () from /usr/lib32/libpthread.so.0
#2 0xf4bc3326 in ?? () from /media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/x86/libmono.so
#3 0xf4bf522d in ?? () from /media/TARDIS/home/sammy/Desktop/linux/sir_alpha_v0.6_Data/Mono/x86/libmono.so
#4 <signal handler called>
#5 0xf725bca6 in __strlen_sse2_bsf () from /usr/lib32/libc.so.6
#6 0x082ca1bb in ?? ()
#7 0x082ca4ea in ?? ()
#8 0x082caf7c in ?? ()
#9 0x0816582f in ?? ()
#10 0x084f1d5a in ?? ()
#11 0x084c8c08 in ?? ()
#12 0x087d248d in ?? ()
#13 0xf71f29d3 in __libc_start_main () from /usr/lib32/libc.so.6
#14 0xf7767fbc in _DYNAMIC () from /lib/ld-linux.so.2
#15 0x00000001 in ?? ()
#16 0x08082980 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
=================================================================
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.
=================================================================

the ldd output for "sir you are being hunted".

~$ ldd sir_alpha_v0.6.4860
linux-gate.so.1 (0xf7730000)
libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf7654000)
libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7553000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf741c000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7409000)
libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf73fd000)
libdl.so.2 => /usr/lib32/libdl.so.2 (0xf73f8000)
libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf73dc000)
librt.so.1 => /usr/lib32/librt.so.1 (0xf73d3000)
libm.so.6 => /usr/lib32/libm.so.6 (0xf738d000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7372000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf71c3000)
/lib/ld-linux.so.2 (0xf7731000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf70da000)
libnvidia-tls.so.325.15 => /usr/lib32/libnvidia-tls.so.325.15 (0xf70d6000)
libnvidia-glcore.so.325.15 => /usr/lib32/libnvidia-glcore.so.325.15 (0xf4ff5000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf4fd3000)
libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf4fc7000)
libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf4fc1000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf4fbd000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf4fb6000)

anybody got an idea?

Offline

#2 2013-11-17 17:09:56

toadicus
Member
Registered: 2012-03-13
Posts: 8

Re: Mono applications crashing on start

I'm having similar problems, maybe, but they aren't limited to games.  Kerbal Space Program won't start if I run it from a Desktop launcher via gnome-shell, but neither will banshee or monodevelop (they never even try).  When I run them from the command line, KSP.x86_64 starts up just fine, as does banshee, but monodevelop crashes as soon as it gets to the welcome screen.

I've tried downgrading basically everything I can think to downgrade, including Gnome 3.10.2 -> 3.10.1, glibc, the kernel, and my nvidia drivers, all to no avail.

Offline

#3 2013-11-22 06:13:21

adolson
Member
Registered: 2013-11-22
Posts: 6

Re: Mono applications crashing on start

I have a similar problem. I'm trying to play Hammerwatch, and it just segfaults. And Tomboy just does nothing (no console output). Launching FEZ will just open a MonoGame window that just sits there and stays black. I am new to Arch, and have no idea how to fix this.

Offline

#4 2013-11-22 17:59:34

Shawn8901
Member
Registered: 2013-05-07
Posts: 38

Re: Mono applications crashing on start

Hi,

Ich have similar problem with the terraria "port" for linux. Its a mono application and in AUR, called linaria.

[shawn@pointbeta linaria]$ LANG=C mono Terraria.exe
Loading sounds failed; disabling audio.
Stacktrace:


Native stacktrace:

        mono() [0x4b5bc1]
        mono() [0x50cc3b]
        mono() [0x423f82]
        /usr/lib/libpthread.so.0(+0xf870) [0x7fc4ea254870]
        mono() [0x5e13a8]
        mono() [0x5876c9]
        mono() [0x5d6ab8]
        mono() [0x5d865c]
        mono() [0x5d92b4]
        mono() [0x5dccc8]
        mono() [0x5f2549]
        mono() [0x5f2614]
        [0x40e64b8d]

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.
=================================================================

The Game itself starts, but when hitting the "create world" button it crashes without mono-stacktrace, so maybe its connected?

Last edited by Shawn8901 (2013-11-22 18:00:00)

Offline

#5 2013-11-24 05:25:54

adolson
Member
Registered: 2013-11-22
Posts: 6

Re: Mono applications crashing on start

I installed the MonoDevelop IDE just to see if that would run. It does, but then it dies after a couple seconds.

I started downgrading some suspect packages based on complete guesses on my part, as well as some reading I did. Nothing has worked.

However, I now suspect the NVIDIA driver might be the cause. It was upgraded from 325.15 or so, to 331.20 or so, on Nov 15th - the same day as this thread was created, and the same day I noticed the Tomboy notes app wouldn't start (I ignored it for a while). Do you guys all use NVIDIA cards with the proprietary drivers?

I've got to do some reading on how to downgrade all of the NVIDIA-related packages... So far I am not having any luck just winging it, like the Arch newbie that I am.

Edit: I guess I should have read the above posts more clearly, as I see a reference to the older 325.15 driver in the ldd output, so that means 331.20 can't be the culprit as I suspected.

I will keep on looking for something, I guess.

Last edited by adolson (2013-11-24 05:28:59)

Offline

#6 2013-11-24 20:31:02

gilmoreja
Member
From: Florida
Registered: 2012-05-28
Posts: 74

Re: Mono applications crashing on start

I'm getting the same issue, I think, though I originally thought the problem was stemming from some other source (thread here).

I've done so much upgrading and downgrading, and I've not been able to nail down what is causing this.

On top of that, the problem seems to come and go randomly after computer reboots.

I was playing Borderlands 2 just fine about 15 minutes ago, rebooted my computer, and now it is not working again.

This has been so very frustrating.


Time you enjoy wasting isn't wasted time.

Offline

#7 2013-11-25 07:53:01

adolson
Member
Registered: 2013-11-22
Posts: 6

Re: Mono applications crashing on start

I got Tomboy to run again. I did a fresh -Syua and reboot. Tomboy still wasn't showing in my panel. It showed it was running in the output of ps, so I killed and re-launched it, and then it worked this time... I thought maybe everything was fixed... But no.

Hammerwatch still segfaults.

MonoDevelop still closes 2-3 seconds after launching.

Offline

#8 2013-11-25 20:58:25

SammyF
Member
Registered: 2010-05-28
Posts: 25

Re: Mono applications crashing on start

just got a new game writen with unity/mono and same problem. Weirdly teh PC version seems to run fine in wine?!?
I uninstalled and reinstalled all the mono related packages ... no chance.

just to compare, here are the specs of my system :

System:    Host: cosmic-bandito Kernel: 3.12.0-1-ARCH x86_64 (64 bit) Desktop: Xfce 4.10.2 Distro: Arch Linux
Machine:   Mobo: ASUSTeK model: P5N-E SLI version: 1.XX Bios: Phoenix version: ASUS P5N-E SLI 0901 date: 02/01/2008
CPU:       Quad core Intel Core2 Quad CPU Q6600 (-MCP-) cache: 4096 KB flags: (lm nx sse sse2 sse3 ssse3 vmx)
           Clock Speeds: 1: 2400.079 MHz 2: 2400.079 MHz 3: 2400.079 MHz 4: 2400.079 MHz
Graphics:  Card: NVIDIA GF114 [GeForce GTX 560] X.Org: 1.14.4 driver: nvidia Resolution: 1680x1050@59.9hz
           GLX Renderer: GeForce GTX 560/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 331.20
Audio:     Card-1: Creative Labs CA0106 Soundblaster driver: snd_ca0106 Sound: ALSA ver: k3.12.0-1-ARCH
           Card-2: NVIDIA GF114 HDMI Audio Controller driver: snd_hda_intel
           Card-3: NVIDIA MCP51 High Definition Audio driver: snd_hda_intel
           Card-4: Logitech QuickCam E 3500 driver: USB Audio
Network:   Card: NVIDIA MCP51 Ethernet Controller driver: forcedeth
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 00:1e:8c:cf:a4:32
Drives:    HDD Total Size: 6001.2GB (47.8% used) 1: id: /dev/sda model: ST2000DL003 size: 2000.4GB
           2: id: /dev/sdb model: Hitachi_HDS72101 size: 1000.2GB 3: id: /dev/sdc model: WDC_WD2002FAEX size: 2000.4GB
           4: id: /dev/sdd model: SAMSUNG_HD103UJ size: 1000.2GB
Partition: ID: / size: 145G used: 77G (57%) fs: ext3 ID: /boot size: 198M used: 26M (15%) fs: ext2
Sensors:   System Temperatures: cpu: 40.0C mobo: 38.0C gpu: 39C
           Fan Speeds (in rpm): cpu: 1654 sys-1: 1814 sys-2: 0
Info:      Processes: 149 Uptime: 2:43 Memory: 1259.2/7988.5MB Client: Shell (bash) inxi: 1.9.16

Offline

#9 2013-11-28 19:29:29

gilmoreja
Member
From: Florida
Registered: 2012-05-28
Posts: 74

Re: Mono applications crashing on start

I still haven't come up with anything.

The best "solution" I have so far is to just reboot my PC over and over until the software just decides to work.


Time you enjoy wasting isn't wasted time.

Offline

#10 2013-11-28 19:36:37

adolson
Member
Registered: 2013-11-22
Posts: 6

Re: Mono applications crashing on start

Well, just on a hunch, I tried running HammerWatch and MonoDevelop as root via sudo. HammerWatch window comes up fine. MonoDevelop doesn't close on its own. So this tells me there's a permissions issue somewhere. Now that I have a fresh lead, time to do some Googling.

Edit:
I deleted ~/.config/MonoGame and Hammerwatch would run. Not sure why.

A few days later, and now I get a different problem... https://bbs.archlinux.org/viewtopic.php?id=173086

Last edited by adolson (2013-12-03 22:39:14)

Offline

Board footer

Powered by FluxBB