Re: Bus Error with mod_perl 2.04

2008-07-13 Thread David E. Wheeler
On May 29, 2008, at 12:41, Philip M. Gollucci wrote: | perl-5.10.0> sh Configure -des \ | -Duseshrplib\ | -Dprefix=/usr/local/perl-5.10.0.d \ | -Doptimize='-g' - -g3 -O0 -DDEBUGGING will get you just about everything... Okay, did this: sh Configure -des \ -Duseshrplib \ -Dprefix=/usr/local

Re: Bus Error with mod_perl 2.04

2008-05-31 Thread David E. Wheeler
On May 31, 2008, at 14:27, Philip M. Gollucci wrote: David E. Wheeler wrote: This merely adds -DAP_DEBUG which does not include -g, so yes, thats out of date. CFLAGS="-g3 -O0 -DAP_UNSAFE_ERROR_LOG_UNESCAPED" . ./configure should get you just about everything. Updated in 662085. Cool, t

Re: Bus Error with mod_perl 2.04

2008-05-31 Thread Philip M. Gollucci
Philip M. Gollucci wrote: David E. Wheeler wrote: This merely adds -DAP_DEBUG which does not include -g, so yes, thats out of date. CFLAGS="-g3 -O0 -DAP_UNSAFE_ERROR_LOG_UNESCAPED" . ./configure should get you just about everything. Updated in 662085. Thanks! --

Re: Bus Error with mod_perl 2.04

2008-05-29 Thread Philip M. Gollucci
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David E. Wheeler wrote: | perl-5.10.0> sh Configure -des \ | -Duseshrplib\ | -Dprefix=/usr/local/perl-5.10.0.d \ | -Doptimize='-g' - -g3 -O0 -DDEBUGGING will get you just about everything... | httpd-2.2.8>export CPPFLAGS="-I/usr/local/include" |

Re: Bus Error with mod_perl 2.04

2008-05-28 Thread David E. Wheeler
On Apr 24, 2008, at 00:03, Philippe M. Chiasson wrote: 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 det

Re: Bus Error with mod_perl 2.04

2008-04-24 Thread Philippe M. Chiasson
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 0x2b88 in ap_run_open_logs () #3 0xa701 in main () Shit! I recompiled Perl, Apache, and mod_perl with debugging info, and

Re: Bus Error with mod_perl 2.04

2008-04-23 Thread David E. Wheeler
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 0x2b88 in ap_run_open_logs () #3 0xa701 in main () Shit! I recompiled Perl, Apache, and mod_perl with debugging info, and got exactly the same th

Re: Bus Error with mod_perl 2.04

2008-04-23 Thread David E. Wheeler
On Apr 23, 2008, at 10:50, David E. Wheeler wrote: Can you get a debug build and get a good backtrace out of it ? I recompiled mod_perl with MP_DEBUG=1. Is that all I need to do? If so, where would I find the backtrace? The crash file that Mac OS X creates isn't any different. I found th

Re: Bus Error with mod_perl 2.04

2008-04-23 Thread David E. Wheeler
On Apr 23, 2008, at 00:54, Philippe M. Chiasson wrote: David E. Wheeler wrote: Howdy, I can get Apache to crash with a Bus Error with this httpd.conf: Worrysome. Can you also do it with Apache/httpd < 2.2.8 Dunno. I'll try another version in a bit. If I comment out the section, it works.

Re: Bus Error with mod_perl 2.04

2008-04-23 Thread Philippe M. Chiasson
David E. Wheeler wrote: Howdy, I can get Apache to crash with a Bus Error with this httpd.conf: Worrysome. Can you also do it with Apache/httpd < 2.2.8 LoadModule perl_module modules/mod_perl.so ServerName localhost ServerRoot /usr/local/apache2 PidFile

Bus Error with mod_perl 2.04

2008-04-22 Thread David E. Wheeler
Howdy, I can get Apache to crash with a Bus Error with this httpd.conf: LoadModule perl_module modules/mod_perl.so ServerName localhost ServerRoot /usr/local/apache2 PidFile logs/httpd.pid Listen 80 User daemon Group