[Mono-devel-list] Mod_mono breaking under Solaris 9.

Bob Meader bob at cci.net
Mon Jan 24 19:38:49 EST 2005


I did a cvs checkout of XSP and mod_mono Jan 21.
I turned on DEBUG in mod_mono.c .
I added a DEBUG_PRINT prior to execv() in fork_mod_mono_server()
to see exactly how starting mod-mono-server.exe.

I try to open demo applications via http://127.0.0.1/demo ...
mod-mono-server.exe crashes.
I attached the apache error_log below.
It looks like mod-mono-server starts up OK with proper
arguments but faults during read causing Apache mod_mono module
fail to write "init1" string.  Mod_mono module parent and child process
exit at this time.

XSP.exe does correctly serve pages on port 8080.

Any hints were to look in mod-mono-server.exe source ?

===========Apache error_log==============
[Mon Jan 24 16:20:22 2005] [warn] try_connect: -1
[Mon Jan 24 16:22:27 2005] [warn] Initializing handler
[Mon Jan 24 16:22:27 2005] [warn] try_connect: -1
[Mon Jan 24 16:22:27 2005] [warn] create_mono_server_config
[Mon Jan 24 16:22:28 2005] [warn] Initializing handler
[Mon Jan 24 16:22:28 2005] [notice] Apache/2.0.52 (Unix) mod_mono/1.0.5
configured -- resuming normal operations
[Mon Jan 24 16:22:39 2005] [warn] handler: mono
[Mon Jan 24 16:22:39 2005] [warn] try_connect: -1
[Mon Jan 24 16:22:39 2005] [warn] Applications:
/demo:/usr/local/share/doc/xsp/test
[Mon Jan 24 16:22:39 2005] [warn] Config file: (null)
[Mon Jan 24 16:22:39 2005] [warn] Config dir.: (null)
[Mon Jan 24 16:22:39 2005] [warn] Listen port: (null)
[Mon Jan 24 16:22:39 2005] [warn] Listen address: (null)
[Mon Jan 24 16:22:39 2005] [warn] child started
[Mon Jan 24 16:22:39 2005] [warn] PATH: /usr/sbin:/usr/bin
[Mon Jan 24 16:22:39 2005] [warn] monodir: /usr/local/bin
[Mon Jan 24 16:22:39 2005] [warn] serverdir: /usr/local/lib/mono/1.0
[Mon Jan 24 16:22:39 2005] [warn] PATH after:
/usr/local/bin:/usr/local/lib/mono/1.0:/usr/sbin:/usr/bin
[Mon Jan 24 16:22:39 2005] [warn] running /usr/local/bin/mono
/usr/local/lib/mono/1.0/mod-mono-server.exe --filename
/tmp/mod_mono_server --applications
/demo:/usr/local/share/doc/xsp/test --nonstop --appconfigdir
/usr/local/apache2/conf/mod-mono-applications (null) (null) (null) (null)
[Mon Jan 24 16:22:39 2005] [warn] parent waiting
[Mon Jan 24 16:22:40 2005] [warn] try_connect 0
Directory /usr/local/apache2/conf/mod-mono-applications does not exist.
[Mon Jan 24 16:22:41 2005] [warn] try_connect 1
[Mon Jan 24 16:22:41 2005] [warn] After setup_socket
[Mon Jan 24 16:22:41 2005] [warn] Send init1
[Mon Jan 24 16:22:41 2005] [warn] handler: mono
[Mon Jan 24 16:22:41 2005] [warn] try_connect: 0
[Mon Jan 24 16:22:41 2005] [warn] After setup_socket
[Mon Jan 24 16:22:41 2005] [warn] Send init1

Unhandled Exception: System.Net.Sockets.SocketException: Invalid arguments
in <0x009e8> System.Net.Sockets.Socket:Select
(System.Collections.IList,System.Collections.IList,System.Collections.IList,
int)
in <0x000f8> Mono.ASPNET.SocketPool:SelectRead ()
in <0x00068> Mono.ASPNET.ApplicationServer:RunServer ()
in <0x0008c> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void
()

[Mon Jan 24 16:22:42 2005] [notice] child pid 29812 exit signal Bus error
(10)
[Mon Jan 24 16:22:42 2005] [notice] child pid 29810 exit signal Bus error
(10)




More information about the Mono-devel-list mailing list