[Mono-list] Apache error log shows serious Mono runtime error

apocalypznow apocalypznow at gmail.com
Thu Mar 9 01:23:57 EST 2006


When Apache starts, I get this error at the end of my Apache error log:
=================================================================
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.
=================================================================

Stacktrace:


Native stacktrace:

	/opt/mono-1.1.13.4/bin/mono(mono_handle_native_sigsegv+0xbb) [0x814ee2b]
	/opt/mono-1.1.13.4/bin/mono [0x813b2cf]
	/lib/i686/libpthread.so.0 [0x400b3666]
	/lib/i686/libc.so.6 [0x401543b0]
	[0x409dbb7c]
	[0x409db91b]
	[0x409db701]
	[0x40cba6ad]
	[0x40cb858a]
	[0x40cb83ec]
	[0x409d3430]
	[0x409d3403]
	[0x40cc3ed9]
	[0x409cfe6c]
	[0x409cf86c]
	/opt/mono-1.1.13.4/bin/mono [0x813b180]
	/opt/mono-1.1.13.4/bin/mono(mono_runtime_invoke+0x27) [0x80d63f7]
	/opt/mono-1.1.13.4/bin/mono(mono_runtime_exec_main+0xb1) [0x80d7561]
	/opt/mono-1.1.13.4/bin/mono(mono_runtime_run_main+0x171) [0x80d7131]
	/opt/mono-1.1.13.4/bin/mono(strftime+0x1b6a) [0x805d002]
	/opt/mono-1.1.13.4/bin/mono(mono_main+0x841) [0x805d9d1]
	/opt/mono-1.1.13.4/bin/mono(__fxstat64+0x133) [0x805c3cb]
	/lib/i686/libc.so.6(__libc_start_main+0xc7) [0x401417f7]
	/opt/mono-1.1.13.4/bin/mono(sinh+0x49) [0x805c321]
	
The beginning of my error log looks like this:

[Wed Mar 08 12:59:46 2006] [warn] creating dir config for (null)
[Wed Mar 08 12:59:46 2006] [warn] Initializing handler
[Wed Mar 08 12:59:46 2006] [warn] Mono Child Init
[Wed Mar 08 12:59:46 2006] [warn] Socket file name 
/tmp/mod_mono_server_default
[Wed Mar 08 12:59:46 2006] [warn] errno in try_connect 2 No such file or 
directory
[Wed Mar 08 12:59:46 2006] [warn] try_connect: -1
[Wed Mar 08 12:59:46 2006] [warn] forking default
[Wed Mar 08 12:59:46 2006] [warn] Applications: 
/test:/opt/mono-1.1.13.4/lib/xsp/test,/support:/usr/htdocs/support,/SimpleWebApp:/usr/htdocs/testapp
[Wed Mar 08 12:59:46 2006] [warn] Config file: (null)
[Wed Mar 08 12:59:46 2006] [warn] Config dir.: (null)
[Wed Mar 08 12:59:46 2006] [warn] Listen port: (null)
[Wed Mar 08 12:59:46 2006] [warn] Listen address: (null)
[Wed Mar 08 12:59:46 2006] [warn] Mono Child Init
[Wed Mar 08 12:59:46 2006] [warn] Socket file name 
/tmp/mod_mono_server_default
[Wed Mar 08 12:59:46 2006] [warn] errno in try_connect 2 No such file or 
directory
[Wed Mar 08 12:59:46 2006] [warn] try_connect: -1
[Wed Mar 08 12:59:46 2006] [warn] forking default
[Wed Mar 08 12:59:46 2006] [warn] Applications: 
/test:/opt/mono-1.1.13.4/lib/xsp/test,/support:/usr/htdocs/support,/SimpleWebApp:/usr/htdocs/testapp
[Wed Mar 08 12:59:46 2006] [warn] Config file: (null)
[Wed Mar 08 12:59:46 2006] [warn] Config dir.: (null)
[Wed Mar 08 12:59:46 2006] [warn] Listen port: (null)
[Wed Mar 08 12:59:46 2006] [warn] Listen address: (null)
[Wed Mar 08 12:59:46 2006] [warn] child started
[Wed Mar 08 12:59:46 2006] [warn] PATH: 
/opt/mono-1.1.13.4/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
[Wed Mar 08 12:59:46 2006] [warn] monodir: /opt/mono-1.1.13.4/bin
[Wed Mar 08 12:59:46 2006] [warn] serverdir: /opt/mono-1.1.13.4/lib/xsp/1.0
[Wed Mar 08 12:59:46 2006] [warn] PATH after: 
/opt/mono-1.1.13.4/bin:/opt/mono-1.1.13.4/lib/xsp/1.0:/opt/mono-1.1.13.4/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
[Wed Mar 08 12:59:46 2006] [warn] child started
[Wed Mar 08 12:59:46 2006] [warn] PATH: 
/opt/mono-1.1.13.4/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
[Wed Mar 08 12:59:46 2006] [warn] monodir: /opt/mono-1.1.13.4/bin
[Wed Mar 08 12:59:46 2006] [warn] serverdir: /opt/mono-1.1.13.4/lib/xsp/1.0
[Wed Mar 08 12:59:46 2006] [warn] PATH after: 
/opt/mono-1.1.13.4/bin:/opt/mono-1.1.13.4/lib/xsp/1.0:/opt/mono-1.1.13.4/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
[Wed Mar 08 12:59:46 2006] [warn] Mono Child Init
[Wed Mar 08 12:59:46 2006] [warn] Socket file name 
/tmp/mod_mono_server_default
[Wed Mar 08 12:59:46 2006] [warn] errno in try_connect 2 No such file or 
directory
[Wed Mar 08 12:59:46 2006] [warn] try_connect: -1
[Wed Mar 08 12:59:46 2006] [warn] forking default
[Wed Mar 08 12:59:46 2006] [warn] Applications: 
/test:/opt/mono-1.1.13.4/lib/xsp/test,/support:/usr/htdocs/support,/SimpleWebApp:/usr/htdocs/testapp
[Wed Mar 08 12:59:46 2006] [warn] Config file: (null)
[Wed Mar 08 12:59:46 2006] [warn] Config dir.: (null)
[Wed Mar 08 12:59:46 2006] [warn] Listen port: (null)
[Wed Mar 08 12:59:46 2006] [warn] Listen address: (null)
[Wed Mar 08 12:59:46 2006] [warn] Mono Child Init
[Wed Mar 08 12:59:46 2006] [warn] Socket file name 
/tmp/mod_mono_server_default
[Wed Mar 08 12:59:46 2006] [warn] errno in try_connect 2 No such file or 
directory
[Wed Mar 08 12:59:46 2006] [warn] try_connect: -1
[Wed Mar 08 12:59:46 2006] [warn] forking default
[Wed Mar 08 12:59:46 2006] [warn] Applications: 
/test:/opt/mono-1.1.13.4/lib/xsp/test,/support:/usr/htdocs/support,/SimpleWebApp:/usr/htdocs/testapp
[Wed Mar 08 12:59:46 2006] [warn] Config file: (null)
[Wed Mar 08 12:59:46 2006] [warn] Config dir.: (null)
[Wed Mar 08 12:59:46 2006] [warn] Listen port: (null)
[Wed Mar 08 12:59:46 2006] [warn] Listen address: (null)
[Wed Mar 08 12:59:46 2006] [warn] Mono Child Init
[Wed Mar 08 12:59:46 2006] [warn] Socket file name 
/tmp/mod_mono_server_default
[Wed Mar 08 12:59:46 2006] [warn] errno in try_connect 2 No such file or 
directory
[Wed Mar 08 12:59:46 2006] [warn] try_connect: -1
[Wed Mar 08 12:59:46 2006] [warn] forking default
[Wed Mar 08 12:59:46 2006] [warn] Applications: 
/test:/opt/mono-1.1.13.4/lib/xsp/test,/support:/usr/htdocs/support,/SimpleWebApp:/usr/htdocs/testapp
[Wed Mar 08 12:59:46 2006] [warn] Config file: (null)
[Wed Mar 08 12:59:46 2006] [warn] Config dir.: (null)
[Wed Mar 08 12:59:46 2006] [warn] Listen port: (null)
[Wed Mar 08 12:59:46 2006] [warn] Listen address: (null)
[Wed Mar 08 12:59:46 2006] [warn] child started
[Wed Mar 08 12:59:46 2006] [warn] PATH: 
/opt/mono-1.1.13.4/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
[Wed Mar 08 12:59:46 2006] [warn] monodir: /opt/mono-1.1.13.4/bin
[Wed Mar 08 12:59:46 2006] [warn] serverdir: /opt/mono-1.1.13.4/lib/xsp/1.0
[Wed Mar 08 12:59:46 2006] [warn] PATH after: 
/opt/mono-1.1.13.4/bin:/opt/mono-1.1.13.4/lib/xsp/1.0:/opt/mono-1.1.13.4/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
[Wed Mar 08 12:59:46 2006] [warn] child started
[Wed Mar 08 12:59:46 2006] [warn] PATH: 
/opt/mono-1.1.13.4/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
[Wed Mar 08 12:59:46 2006] [warn] monodir: /opt/mono-1.1.13.4/bin
[Wed Mar 08 12:59:46 2006] [warn] serverdir: /opt/mono-1.1.13.4/lib/xsp/1.0
[Wed Mar 08 12:59:46 2006] [warn] PATH after: 
/opt/mono-1.1.13.4/bin:/opt/mono-1.1.13.4/lib/xsp/1.0:/opt/mono-1.1.13.4/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
[Wed Mar 08 12:59:46 2006] [notice] Apache/2.0.55 (Unix) mod_mono/1.1.13 
configured -- resuming normal operations
[Wed Mar 08 12:59:47 2006] [warn] child started
[Wed Mar 08 12:59:47 2006] [warn] PATH: 
/opt/mono-1.1.13.4/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
[Wed Mar 08 12:59:47 2006] [warn] monodir: /opt/mono-1.1.13.4/bin
[Wed Mar 08 12:59:47 2006] [warn] serverdir: /opt/mono-1.1.13.4/lib/xsp/1.0
[Wed Mar 08 12:59:47 2006] [warn] PATH after: 
/opt/mono-1.1.13.4/bin:/opt/mono-1.1.13.4/lib/xsp/1.0:/opt/mono-1.1.13.4/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin

I built Apache, and Mod_mono from source.  Mono came as a binary 
install.  Apache version is 2.0.55.  Mono version is 1.1.13.4.  Mod_mono 
version is 1.1.13.
Apache built without error.  Mono installed without error.  I'm on 
Mandrake 9.1.
The configure command for mod_mono was:
./configure --prefix=/usr --with-mono-prefix=/opt/mono-1.1.13.4 
--with-apxs=/usr/bin/apxs --with-apr-config=/usr/bin/apr-config 
--enable-debug
and executed without error, as did "make" and "make install".

After getting the above error, I decided to get mod_mono.c (2006-01-11) 
and mod_mono.h (2005-12-08) from SVN and try recompiling, but I get the 
exact same errors.

I've tried everything I can think of.  Please help me out, I'm at wits end!



More information about the Mono-list mailing list