On Mon, Dec 06, 2004 at 08:02:22PM +0530, pradeep kumar wrote: > 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.
Until you actually have any idea what is causing this bug, randomly opening bug reports is not going to help -- especially not against httpd since this looks like a custom vendor-patched httpd build. I suggest the first thing to do is to reproduce the bug with a more recent version of Perl - as Stas shows, it will give a better diagnostic in the panic message. joe ... > > > 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 > > -- 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