perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Piesk <a.pi...@gmx.net>
Subject Re: Problem with Apache::DBI 0.87
Date Tue, 07 Mar 2000 20:17:59 GMT
On Tue, 07 Mar 2000 20:57:00 +0100, you wrote:

>On Tue, 7 Mar 2000 13:34:29 -0500, you wrote:
>
>>On Tue, Mar 07, 2000 at 04:34:16PM +0100, Jens Lautenbacher wrote:
>>> No. after the childs are forked. Crash without any logging. (Or at
>>> least I don't find any)
>>
>>Run apache with -X.  Does it still crash?  If so, gdb is your friend...
>>
>>Dan
>>
>hiho,
>
>yes, it still crash. no, gdb isn't my friend :) but here's the output:
>
>(gdb) set args -X
>(gdb) r
>Starting program: /usr/sbin/httpd -X
>
>Program received signal SIGSEGV, Segmentation fault.
>0x403f2304 in XS_DBD_____common_trace_msg ()
>   from /usr/lib/perl5/site_perl/5.005/i586-linux/auto/DBI/DBI.so
>(gdb) 
>
hiho,

i rebuild DBI. so the output is much nicer :)

---start---
(gdb) set args -X
(gdb) r
Starting program: /usr/sbin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
XS_DBD_____common_trace_msg (cv=0xbffff954) at DBI.c:2798
2798    {
(gdb) l -10
2778        if (level != RETVAL) {       /* set value */
2779            if (level > 0) {
2780                fprintf(DBILOGFP,"    %s trace level set to %d in
DBI %s%s\n",
2781                    SvPV(sv,lna), level, XS_VERSION,
dbi_build_opt);
2782                if (!dowarn && level>0)
2783                    fprintf(DBILOGFP,"    Note: perl is running
without the recommended perl -w option\n");
2784                Fflush(DBILOGFP);
2785                ix = ix;            /* avoid 'unused variable'
warning      */
2786            }
2787            sv_setiv(dsv, level);
(gdb) l
2788        }
2789        }
2790    #line 2791 "DBI.c"
2791            ST(0) = sv_newmortal();
2792            sv_setiv(ST(0), (IV)RETVAL);
2793        }
2794        XSRETURN(1);
2795    }
2796
2797    XS(XS_DBD_____common_trace_msg)
(gdb) 
---end---

perhaps someone with knowledge in perl<->c find out something.

ciao -ap
___________________________________________________________________
 
 Andreas Piesk   a.piesk@gmx.net
 pgp fingerprint: 23CB A7E2 2E53 373C  DBCD 8EFC 7777 61C1
___________________________________________________________________

What goes up, must come down. Ask any system administrator.
___________________________________________________________________

Mime
View raw message