Apache 1.3.37 crashes with Cache::Memcached 1.20 and higher

Kevin Old kevin at kevinold.com
Tue Jul 17 13:36:26 UTC 2007


Hello everyone,

We've been using memcached and Cache::Memcached for several years now
and have been running fine on version 1.18 of Cache::Memcached for
over a year.

We recently added a few new servers to our cluster and installed the
latest Cache::Memcached from CPAN and find that from versions 1.20
thru 1.23 for 1 out of every 100 requests to varying pages results in
a crash of the Apache child process (output is below).  A new child is
spawned, but that user's request isn't completed.

Is anyone else seeing this problem?

Thanks for any help,
Kevin



*** glibc detected *** /usr/local/apache.bizjcontent/bin/httpd:
munmap_chunk(): invalid pointer: 0x0dc80580 ***
======= Backtrace: =========
/lib/libc.so.6(cfree+0x1bb)[0x37055b]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_safesysfree+0x21)[0x1a1ad1]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_setsv_flags+0x4d5)[0x1c66f5]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_pp_sassign+0x70)[0x1b66e0]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_runops_standard+0x1f)[0x1b088f]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so[0x150ffe]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_call_sv+0x5e6)[0x155806]
/usr/local/apache.bizjcontent/bin/httpd(perl_call_handler+0x650)[0x80786e0]
/usr/local/apache.bizjcontent/bin/httpd(perl_run_stacked_handlers+0x9e)[0x807917e]
/usr/local/apache.bizjcontent/bin/httpd(perl_handler+0x365)[0x807ae95]
/usr/local/apache.bizjcontent/bin/httpd(ap_invoke_handler+0x121)[0x80bbfbf]
/usr/local/apache.bizjcontent/bin/httpd[0x80d31cd]
/usr/local/apache.bizjcontent/bin/httpd(ap_process_request+0x33)[0x80d322a]
/usr/local/apache.bizjcontent/bin/httpd[0x80c94bf]
/usr/local/apache.bizjcontent/bin/httpd[0x80c97d6]
/usr/local/apache.bizjcontent/bin/httpd[0x80c9b07]
/usr/local/apache.bizjcontent/bin/httpd[0x80ca18b]
/usr/local/apache.bizjcontent/bin/httpd(main+0x3ba)[0x80ca81e]
/lib/libc.so.6(__libc_start_main+0xe0)[0x31af70]
/usr/local/apache.bizjcontent/bin/httpd[0x8055df1]
======= Memory map: ========



*** glibc detected *** /usr/local/apache.bizjcontent/bin/httpd:
munmap_chunk(): invalid pointer: 0x0e448e5c ***
======= Backtrace: =========
/lib/libc.so.6(cfree+0x1bb)[0x37055b]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_safesysfree+0x21)[0x1a1ad1]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_sv_setsv_flags+0x4d5)[0x1c66f5]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_pp_sassign+0x70)[0x1b66e0]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_runops_standard+0x1f)[0x1b088f]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so[0x150ffe]
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so(Perl_call_sv+0x5e6)[0x155806]
/usr/local/apache.bizjcontent/bin/httpd(perl_call_handler+0x650)[0x80786e0]
/usr/local/apache.bizjcontent/bin/httpd(perl_run_stacked_handlers+0x9e)[0x807917e]
/usr/local/apache.bizjcontent/bin/httpd(perl_handler+0x365)[0x807ae95]
/usr/local/apache.bizjcontent/bin/httpd(ap_invoke_handler+0x121)[0x80bbfbf]
/usr/local/apache.bizjcontent/bin/httpd[0x80d31cd]
/usr/local/apache.bizjcontent/bin/httpd(ap_process_request+0x33)[0x80d322a]
/usr/local/apache.bizjcontent/bin/httpd[0x80c94bf]
/usr/local/apache.bizjcontent/bin/httpd[0x80c97d6]
/usr/local/apache.bizjcontent/bin/httpd[0x80c9866]
/usr/local/apache.bizjcontent/bin/httpd[0x80c9f58]
/usr/local/apache.bizjcontent/bin/httpd(main+0x3ba)[0x80ca81e]
/lib/libc.so.6(__libc_start_main+0xe0)[0x31af70]
/usr/local/apache.bizjcontent/bin/httpd[0x8055df1]
======= Memory map: ========

-- 
Kevin Old
kevin at kevinold.com


More information about the memcached mailing list