On Tue, 6 Jun 2000, Mike McLagan wrote:

> Hello,
> 
>    I am having the above segfault using mod_perl 1.23 and mod_perl 1.24 on a 
> RedHat 6.2 system with Perl 5.00503.  The Apache daemon was compiled with max 
> DSO and included the mod_ssl patches, etc as shown below.  mod_perl is compiled 
> with -DEAPI per it's request.  If I operate without mod_auth_mysql, the server 
> is fine.  If I operate without mod_perl, the server is fine but my perl 
> programs don't work.
> The code for mod_auth_mysql hasn't changed in over a year or more so I am 
> inclined to believe that it's not the source of the problem.
> 
> [root #] gdb httpd
> (gdb) set args -X
> (gdb) run
> [notice] Apache/1.3.12 (Unix) AuthMySQL/2.20 mod_ssl/2.6.2 OpenSSL/0.9.5 
> mod_perl/1.24 configured -- resuming normal operations
> Program received signal SIGSEGV, Segmentation fault.
> 0x40286b78 in Perl_pp_leavetry () from /usr/lib/apache/mod_perl.so
> (gdb) bt
> #0  0x40286b78 in Perl_pp_leavetry () from /usr/lib/apache/mod_perl.so
> #1  0x40204238 in ?? () from /usr/lib/apache/mod_perl.so
> #2  0x78756e69 in ?? ()
> Cannot access memory at address 0x6c2e6264
> (gdb)

try this:
(gdb) source mod_perl-x.xx/.gdbinit
(gdb) curinfo

hopefully that will print the filename:line of the code Perl was running
here.   maybe that will shed some light.  do you have these same troubles
if mod_perl is linked static?

Reply via email to