Re: How to get a core dump

[prev] [thread] [next] [Date index for 2004/11/08]

From: Stas Bekman
Subject: Re: How to get a core dump
Date: 22:53 on 08 Nov 2004
Marc Gracia wrote:
> Sorry, here the backtrace... 
> 
> #0  0x4018de75 in Perl_hv_free_ent (my_perl=0x85ba6d8, hv=0xd103fd0,
>     entry=0xcfdb698) at hv.c:1592
> #1  0x4018e11b in S_hfreeentries (my_perl=0x85ba6d8, hv=0x85ba6d8) at
> hv.c:1681
> #2  0x4018e182 in Perl_hv_undef (my_perl=0x85ba6d8, hv=0xd103fd0) at
> hv.c:1707
> #3  0x401a4367 in Perl_sv_clear (my_perl=0x85ba6d8, sv=0xd103fd0) at
> sv.c:5051
> #4  0x401a49e4 in Perl_sv_free (my_perl=0x85ba6d8, sv=0xd103fd0) at
> sv.c:5226
> #5  0x4019be83 in do_clean_all (my_perl=0x85ba6d8, sv=0xd103fd0) at
> sv.c:422
> #6  0x4019bba2 in S_visit (my_perl=0x85ba6d8, f=0x4019be40
> <do_clean_all>)
>     at sv.c:314
> #7  0x4019bee3 in Perl_sv_clean_all (my_perl=0x85ba6d8) at sv.c:440
> #8  0x4012fa04 in perl_destruct (my_perl=0x85ba6d8) at perl.c:796
> #9  0x400be0f3 in perl_shutdown (s=0x809979c, p=0xa1d9fd4) at
> mod_perl.c:294
> #10 0x400c0ca1 in perl_child_exit (s=0x809979c, p=0xa1d9fd4) at
> mod_perl.c:965
> #11 0x400c0958 in perl_child_exit_cleanup (data=0xd103fd0) at
> mod_perl.c:933

It's hard to tell whether this is a bug in perl or some module that you 
use. Shutdown bugs are really hard to deal with. If you could reproduce 
that at will, trying to eliminate modules, programs should help to find 
the guilty party. Since things happen at the server shutdown, you could 
set a low limit on the max number of requests served before retiring the 
process.

Also could you try to upgrade to 5.8.5 just to check that may be it's some 
bug that was fixed in perl since 5.8.0?



        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

How to get a core dump
Marc Gracia 12:38 on 05 Nov 2004

Re: How to get a core dump
Stas Bekman 15:58 on 05 Nov 2004

Re: How to get a core dump
Glenn Strauss 16:05 on 05 Nov 2004

Re: How to get a core dump
Marc Gracia 16:46 on 05 Nov 2004

Re: How to get a core dump
Marc Gracia 11:51 on 08 Nov 2004

Re: How to get a core dump
Marc Gracia 14:35 on 08 Nov 2004

Re: How to get a core dump
Marc Gracia 14:39 on 08 Nov 2004

Re: How to get a core dump
David Hodgkinson 14:48 on 08 Nov 2004

Re: How to get a core dump
Marc Gracia 14:58 on 08 Nov 2004

Re: How to get a core dump
Stas Bekman 22:53 on 08 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52