Hi Alois,

I've seen this problem on some debian systems running
Apache 1.3.3x (x < 4) a couple of weeks ago.

You may try to get mod_mono's sources from SVN and compile
them yourself:

svn co http://svn.myrealbox.com/source/trunk/mod_mono
cd mono_mono
./configure ...
etc. ...

If it still doesn't work, you may try the attached patch.
The patch simply disables the https detection. This was the
problem on the system I mentioned above.

Rob



Hi,

today I decided to update mono from version 1.1.8 to 1.1.9.2 to get the utf-8 - 
iso-8859-1 problem under control (thanks to daniel, rob and bernhard). First I've tried 
to uninstall the old versions of mono, mod_mono and xsp with "make uninstall". 
After this I've installed mono-1.1.9.2, mod-mono-1.1.9.2 and xsp-1.1.9.2 respectively 
from latest stable tarball.  I didn't use any --prefix option with ./configure. Now I've 
tried to restart the apache but in the error.log i saw that the location of 
mod-monoserver.exe has changed. So i updated the httpd.conf. Now it looks as follows:

# Mono Related Stuff

MonoExecutablePath "/usr/local/bin/mono"

MonoServerPath "/usr/local/lib/xsp/1.0/mod-mono-server.exe"

AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx

MonoApplicationsConfigDir "/etc/apache/monoapplications/"


The web-application-config contains

<apps>
  <web-application>
    <name>monodemo</name>
    <vhost>www.mydomain.de</vhost>
    <vport>80</vport>
    <vpath>/monodemo</vpath>
    <path>/usr/src/mono-1.1.9.2/xsp-1.1.9.2/test</path>
  </web-application>
</apps>

I've restarted apache and it seems that mod-mono-server is coming up. But if i 
try to call the demo application I get the following error in apache error.log

child pid 31807 exit signal Segmentation fault (11)

I've compiled mod_mono in debug-mode but I can't figure out any abnormal 
message. Here is the log:

[Fri Oct 28 12:50:08 2005] [warn] Host: www.myhost.de
[Fri Oct 28 12:50:08 2005] [warn] Keep-Alive: 300
[Fri Oct 28 12:50:08 2005] [warn] User-Agent: Mozilla/5.0 (Windows; U; Windows 
NT 5.1; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
[Fri Oct 28 12:50:08 2005] [warn] Done headers (init2)
[Fri Oct 28 12:50:08 2005] [warn] Sending init3
[Fri Oct 28 12:50:08 2005] [warn] Done init3
[Fri Oct 28 12:50:08 2005] [warn] Loop
Application_Start
[Fri Oct 28 12:50:13 2005] [warn] Command received: GET_SERVER_VARIABLE
[Fri Oct 28 12:50:14 2005] [notice] child pid 31807 exit signal Segmentation 
fault (11)

Does anybody know what to do?

I've also tried to delete all mono related files on this machine and 
reinstalled everything. This doesn't change anything.


Thanks

Alois



------------------------------------------------------------------------

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Index: mod_mono.c
===================================================================
--- mod_mono.c  (revision 51734)
+++ mod_mono.c  (working copy)
@@ -525,9 +525,6 @@
                request_send_response_from_memory (r, str, size);
                break;
        case GET_SERVER_VARIABLES:
-               secure = (strcmp (ap_http_method (r), "https") == 0);
-               if (secure)
-                       apr_table_add (r->subprocess_env, "SERVER_PORT_SECURE", 
"True");
                status = !send_table (r->pool, r->subprocess_env, sock);
                break;
        case SET_RESPONSE_HEADERS:
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to