I have been trying to fix this still, and I read it may be usefull to also include a stack trace. Here it is:
Starting program: /usr/local/apache/bin/httpd -X
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x28161766 in memcpy () from /usr/lib/libc.so.4
(gdb) where
#0 0x28161766 in memcpy () from /usr/lib/libc.so.4
#1 0xbfbffb58 in ?? ()
#2 0x806b9b3 in invoke_cmd ()
#3 0x806c3a5 in ap_handle_command ()
#4 0x806c443 in ap_srm_command_loop ()
#5 0x806caf7 in ap_process_resource_config ()
#6 0x806d438 in ap_read_config ()
#7 0x8077a31 in main ()
#8 0x804ee79 in _start ()
(gdb)
I don't know how to debug if from here, I'm not good enough with C.
I should also include this is on a FreeBSD 4.3 RELEASE #8 system running Apache 1.3.20. Nothing shows up in my error_log from this.
I configured apache like this this:
./configure --enable-module=so --enable-module=rewrite --enable-shared=rewrite --enable-module=speling --enable-shared=speling --enable-module=info --enable-shared=info --enable-module=include --enable-shared=include --enable-module=status --enable-shared=status --enable-module=backhand --enable-shared=backhand
Any help is greatly appreciated I've been stuck on this for about 4 days now :(
--Previous message--
I am having trouble getting apache to load with the mod_backhand.c in the httpd.conf. I am using the httpd.conf.default that is made with the compile. The only thing I change is this:
<IfModule mod_backhand.c>
UnixSocketDir /var/backhand/backhand
MulticastStats 10.0.0.2 10.0.255.255:4445 #Change here
AcceptStats 10.0.0.0/16 # Change here
<Location "/backhand/">
SetHandler backhand-handler
</Location>
</IfModule>
With this config I run "apachectl start" and I get:
Segmentation fault - core dumped
/var/backhand/bin/apachectl start: httpd could not be started
If I remark out the "AddModule mod_backhand.c" line apache/httpd will start. Thanks in advance for any help.
------------------------------------------------------------
Get the official Your Mom T-Shirts!
http://www.yourmom.com/ym/mail/t.asp
Starting program: /usr/local/apache/bin/httpd -X
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x28161766 in memcpy () from /usr/lib/libc.so.4
(gdb) where
#0 0x28161766 in memcpy () from /usr/lib/libc.so.4
#1 0xbfbffb58 in ?? ()
#2 0x806b9b3 in invoke_cmd ()
#3 0x806c3a5 in ap_handle_command ()
#4 0x806c443 in ap_srm_command_loop ()
#5 0x806caf7 in ap_process_resource_config ()
#6 0x806d438 in ap_read_config ()
#7 0x8077a31 in main ()
#8 0x804ee79 in _start ()
(gdb)
I don't know how to debug if from here, I'm not good enough with C.
I should also include this is on a FreeBSD 4.3 RELEASE #8 system running Apache 1.3.20. Nothing shows up in my error_log from this.
I configured apache like this this:
./configure --enable-module=so --enable-module=rewrite --enable-shared=rewrite --enable-module=speling --enable-shared=speling --enable-module=info --enable-shared=info --enable-module=include --enable-shared=include --enable-module=status --enable-shared=status --enable-module=backhand --enable-shared=backhand
Any help is greatly appreciated I've been stuck on this for about 4 days now :(
--Previous message--
I am having trouble getting apache to load with the mod_backhand.c in the httpd.conf. I am using the httpd.conf.default that is made with the compile. The only thing I change is this:
<IfModule mod_backhand.c>
UnixSocketDir /var/backhand/backhand
MulticastStats 10.0.0.2 10.0.255.255:4445 #Change here
AcceptStats 10.0.0.0/16 # Change here
<Location "/backhand/">
SetHandler backhand-handler
</Location>
</IfModule>
With this config I run "apachectl start" and I get:
Segmentation fault - core dumped
/var/backhand/bin/apachectl start: httpd could not be started
If I remark out the "AddModule mod_backhand.c" line apache/httpd will start. Thanks in advance for any help.
------------------------------------------------------------
Get the official Your Mom T-Shirts!
http://www.yourmom.com/ym/mail/t.asp