[Mono-bugs] [Bug 74672][Blo] Changed - SVN r43310 mod_mono: runtime error with Apache 1.3.33

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 24 Apr 2005 06:43:00 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by flashdict@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=74672

--- shadow/74672	2005-04-20 15:36:13.000000000 -0400
+++ shadow/74672.tmp.19901	2005-04-24 06:43:00.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 74672
 Product: Mono: Tools
 Version: 1.1
 OS: other
 OS Details: FreeBSD
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Blocker
 Component: mod_mono
 AssignedTo: gonzalo@ximian.com                            
 ReportedBy: flashdict@gmail.com               
 QAContact: mono-bugs@ximian.com
@@ -47,6 +47,46 @@
 +#endif
         }
  }
 
 ------- Additional Comments From gonzalo@ximian.com  2005-04-20 15:36 -------
 Fixed
+
+------- Additional Comments From flashdict@gmail.com  2005-04-24 06:43 -------
+Hmm.  This still doesn't quite work.  There are two problems, when
+building and installing mod_mono svn with xsp from svn, against Apache
+1.3.33
+
+1. When using non-TCP sockets,  I get 3 messages in the error log of
+the form:
+
+"Another mod-mono-server with the same arguments is already running."
+
+and no xsp server is ever started.  When I add the a 
+
+MonoListenPort 9999
+
+to httpd.conf, I still get two errors for another mod-mono-server
+already running, but the first one, at least, remains alive.  I'm not
+sure why mod_mono is trying to start three xsp servers.  And I don't
+have time right now to investigate further, since it's fishing-day.  
+
+
+2.  The latest change, which was supposed to have fixed this bug
+originally, seems to have reversed the logic for redefining the
+missing apr call for 1.3.  The following fixes the problem:
+
+Index: src/mod_mono.h
+===================================================================
+--- src/mod_mono.h      (revision 43510)
++++ src/mod_mono.h      (working copy)
+@@ -70,7 +70,7 @@
+ #define apr_pcalloc ap_pcalloc
+
+ #define apr_table_setn ap_table_setn
+-#define apr_table_setn ap_table_addn
++#define apr_table_addn apr_table_setn
+ #define apr_table_get ap_table_get
+
+
+
+