[Mono-list] Segmentation fault using mod_mono, apache2, ubuntu64
Damien DALY
damien.daly at free.fr
Thu Oct 19 05:18:45 EDT 2006
Hi
Here is my config :
- VMWare running a x64 proc under WinXP 32
- Ubuntu Server Dapper x64
- Repository universe and multiverse
- All packages latest version
I've installed a clean server version (basic install).
Then I've executed :
apt-get install mono-apache-server2 libapache2-mod-mono mono-xsp2
asp.net2-examples
vi /etc/apache2/mods-enabled/mod_mono.conf
/etc/init.d/apache2 force-reload
So I'm using apache2 with mod_mono running xsp2.
I'm working on apache2 default site, default VirtualHost.
I'm testing with a simple web page Default.aspx (with the Default.aspx.cs code)
with just a label. This page is Ok running xsp2 directly.
I added : Alias /test "/home/dede/test"
If I use : MonoAutoApplication enabled
I have this in logs :
[Thu Oct 19 11:10:22 2006] [notice] Apache/2.0.55 (Ubuntu) mod_mono/1.1.10
configured -- resuming normal operations
cannot open assembly /usr/lib/pkgconfig/../../lib/xsp/1.0/mod-mono-server.exe
cannot open assembly /usr/lib/pkgconfig/../../lib/xsp/1.0/mod-mono-server.exe
Another mod-mono-server with the same arguments is already running.
If I add :
MonoServerPath /usr/lib/xsp/2.0/mod-mono-server2.exe
I have in logs :
[Thu Oct 19 11:14:20 2006] [notice] child pid 8473 exit signal Segmentation
fault (11)
[Thu Oct 19 11:14:20 2006] [notice] child pid 8475 exit signal Segmentation
fault (11)
Using this options does the same thing :
MonoDebug true
MonoRunXSP true
If I add my application using only this directives :
Alias /test "/home/dede/test"
AddMonoApplications test "/test:/home/dede/test"
<Location /test>
SetHandler mono
</Location>
I have this in logs :
cannot open assembly /usr/lib/pkgconfig/../../lib/xsp/1.0/mod-mono-server.exe
And putting the right mod-mono-server2.exe path causes "segmentation fault".
Is this a mono version-specific problem, a distrib-specific problem, or a
noob-config problem ?
Thanks
Dédé
More information about the Mono-list
mailing list