perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pradeep kumar <pradeep.sm...@gmail.com>
Subject Re: [mp2] Repeated kill -HUP to httpd dumps core
Date Mon, 06 Dec 2004 14:32:22 GMT
Hi,
        I have reported a bug. The bug number is 32542. Looking into
the problem I found that the porblems on both 2.0.43 and 2.0.52 are
same. The perl_alloc funtion which caused the error as seen from the
stack trace of 2.0.52 was found to give the same  pthread_key_create
error. As seen by the PerlIO_stderr() function which is after the
perl_alloc funtion in the stack.


Thanks and Regards,
Pradeep

On Sat, 04 Dec 2004 10:17:26 -0500, Stas Bekman <stas@stason.org> wrote:
> pradeep kumar wrote:
> 
> 
> > Hi,
> >       But I have tried to reproduce the problem using USR1 and it also
> > dumped core. I have tried to reproduce the error on Apache 2.0.43 and
> > the error_log gave a different message. It gave the following message.
> >
> >   [Thu Nov 18 00:00:01 2004] [notice] configured -- resuming normal operations
> >    [Fri Nov 19 00:00:05 2004] [warn] child process 12783 still did not
> >    exit, sending a SIGTERM
> >    [Fri Nov 19 00:00:05 2004] [notice] SIGHUP received.       Attempting to
> >    restart
> 
> But it still reports SIGHUP, so there is no difference with what you had
> before. Do you get the same report when you run httpd -k graceful? May be
> USR1 is not quite the same as I was told. Which mpm you are on? I've asked
> you to submit a full bug report, but you didn't.
> 
> 
> 
> >    panic: pthread_key_create      <<<<<<here is the message
> >    [Fri Nov 19 00:12:33 2004] [notice]    configured -- resuming
> > normal operations
> >
> > I did a strings on mod_perl and found the panic: pthread_key_create
> > message.  Where can I find this message being generated so that I can
> > work on it. I also wanted to know if the errors on 2.0.43 and that of
> > 2.0.52 are related.
> >
> > I did this
> > # strings mod_perl.so | grep "panic: pthread_key_create"
> > panic: pthread_key_create
> > # strings /opt/perl/bin/perl | grep "panic: pthread_key_create"
> > panic: pthread_key_create
> >
> >
> > This suggests that the perl interpreter is generating this message.
> > Where do I proceed from here.
> 
> perl-5.8.x/thread.x:
> 
> #ifndef ALLOC_THREAD_KEY
> #  define ALLOC_THREAD_KEY \
>      STMT_START {                                               \
>         int _eC_;                                               \
>         if ((_eC_ = pthread_key_create(&PL_thr_key, 0))) {      \
>             PerlIO_printf(PerlIO_stderr(), "panic: pthread_key_create (%d)
> [%s:%d]",       \
>                                  _eC_, __FILE__, __LINE__);     \
>             exit(1);                                            \
>         }                                                       \
>      } STMT_END
> #endif
> 
> --
> __________________________________________________________________
> 
> 
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:stas@stason.org 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


Mime
View raw message