Mailing List Archive

[mod_backhand-users] Problem with apache core dumping(more info)
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
[mod_backhand-users] Problem with apache core dumping(more info) [ In reply to ]
matt green wrote:
> 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)...
> (gdb) where
> #1 0xbfbffb58 in ?? ()

No symbols beeing found doesn't help.

> ./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

You ran ./precompile to set up the apache tree before you ran ./configure and
make?

You might want to try compiling and install Apache without mod_backhand (keep
the --enable-module=so).

The compile and install mod_backhand after that (using ./configure
--with-apxs=/path/to/apxs and then copy the mod_backhand.so into your apache
libexec directory.

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7
[mod_backhand-users] Problem with apache core dumping(more info) [ In reply to ]
I tried your suggestions, and still had no luck. As soon as I installed mod_backhand I still got the core dump. I tried to install the symbols for httpd, but couldn't get it to work. Would it help much to install the symbols, and if so how do I do it?

Also I am running Apache 1.3.20 with FreeBSD 4.3 is this supported by backhand ver 1.20? Is it possible the CVS version would work better for me?


>Date: Thu, 30 Aug 2001 17:52:45 -0400
> "Theo E. Schlossnagle" <jesus@omniti.com> backhand-users@lists.backhand.org Re: [mod_backhand-users] Problem with apache core dumping(more info)Reply-To: backhand-users@lists.backhand.org
>
>matt green wrote:
>> 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)...
>> (gdb) where
>> #1 0xbfbffb58 in ?? ()
>
>No symbols beeing found doesn't help.
>
>> ./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
>
>You ran ./precompile to set up the apache tree before you ran ./configure and
>make?
>
>You might want to try compiling and install Apache without mod_backhand (keep
>the --enable-module=so).
>
>The compile and install mod_backhand after that (using ./configure
>--with-apxs=/path/to/apxs and then copy the mod_backhand.so into your apache
>libexec directory.
>
>--
>Theo Schlossnagle
>1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
>2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7
>
>
>
>
>_______________________________________________
>backhand-users mailing list
>backhand-users@lists.backhand.org
>http://lists.backhand.org/mailman/listinfo/backhand-users




------------------------------------------------------------
Get the official Your Mom T-Shirts!
http://www.yourmom.com/ym/mail/t.asp