David E. Wheeler wrote:
On Apr 23, 2008, at 11:07, David E. Wheeler wrote:

(gdb) bt
#0  0x0002f43b in open_multi_logs ()
#1  0x0002f7be in init_config_log ()
#2  0x00002b88 in ap_run_open_logs ()
#3  0x0000a701 in main ()

Shit! I recompiled Perl, Apache, and mod_perl with debugging info, and got exactly the same thing!

(gdb) bt
#0  0x0002efd2 in open_multi_logs ()
#1  0x0002f354 in init_config_log ()
#2  0x00002514 in ap_run_open_logs ()
#3  0x0000a115 in main ()

Annoying. Is there something else I can do? Would you like me to upload the core file somewhere?

Nah, the core file by itself is not exactly super usefull. You just have
to figure out how to get a debugging build. Also, I've tried to reproduce
this on OS X/Apache 2.2.8 prefork/ Perl 5.10 without any luck.

Can you post the exact details on how you built each of these ?

For me, it goes something like:

perl> ./Configure -des \
  -Doptimize=-g \
  -Dprefix=$HOME/opt/perl.org/perl/5.10.0/debug
apache> CFLAGS="-g" ./configure \
  --with-included-apr \
  --with-mpm=prefork \
  --enable-maintainer-mode \
  --enable-modules=all \
  --neable-mods-shared=max \
  --prefix=$HOME/opt/apache.org/httpd/2.2.8/prefork-debug
mod_perl> perl Makefile.PL \
  MP_APXS=$HOME/opt/apache.org/httpd/2.2.8/prefork-debug/bin/apxs
  MP_MAINTAINER=1 \
  MP_DEBUG=1

--
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to