Apache Server Dumpos Frequently - "*** glibc detected *** /usr/sbin/apache2: double free or corruption"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Apache Sewrvices crashes several times a day with memory dumps in the error.log file - usually it will restart itself though occasionally it will need me to restart the service manually.
Ubuntu 10.10 maverick (from lsb_release)
Apache/2.2.16 (Ubuntu)
PHP Version 5.3.3-1ubuntu9.5
*** glibc detected *** /usr/sbin/apache2: double free or corruption (fasttop): 0x00007f4fe4028600 ***
======= Backtrace: =========
/lib/libc.
/lib/libc.
/usr/lib/
/usr/lib/
/usr/lib/
/lib/libc.
/lib/libc.
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib/libc.
/usr/sbin/
======= Memory map: ========
(I left this part off let me know if its needed)
I created a brand new server last night, using EC2 (Amazon) - used the official AMI of Ubuntu 10.10 from Ubuntu site ami-cef405a7
Added Apache, PHP, MySQL (apt-get install)
Moved one domain which uses VBulletin to this server
This morning I have the same crash on this new server int he Apache error.log
*** glibc detected *** /usr/sbin/apache2: double free or corruption (fasttop): 0x00007f5c084c7950 *** so.6(+0x774b6) [0x7f5c069e74b6 ] so.6(cfree+ 0x73)[0x7f5c069 edc83] apache2/ modules/ libphp5. so(+0x2d40eb) [0x7f5c035200eb ] apache2/ modules/ libphp5. so(+0x1f038a) [0x7f5c0343c38a ] apache2/ modules/ libphp5. so(zend_ error+0x60c) [0x7f5c0357213c ] so.6(+0x33c20) [0x7f5c069a3c20 ] so.6(__ libc_malloc+ 0xd)[0x7f5c069e c32d] so.6(__ strdup+ 0x22)[0x7f5c069 f2b82] apache2/ modules/ libphp5. so(+0x2d3ed5) [0x7f5c0351fed5 ] apache2/ modules/ libphp5. so(+0x1f038a) [0x7f5c0343c38a ] apache2/ modules/ libphp5. so(zend_ error+0x60c) [0x7f5c0357213c ] apache2/ modules/ libphp5. so(+0x32fee6) [0x7f5c0357bee6 ] apache2/ modules/ libphp5. so(zend_ parse_parameter s+0x95) [0x7f5c0357c6a5 ] apache2/ modules/ libphp5. so(zif_ feof+0x2c) [0x7f5c034b088c ] apache2/ modules/ libphp5. so(+0x3770fa) [0x7f5c035c30fa ] apache2/ modules/ libphp5. so(execute+ 0x210)[ 0x7f5c0359a1a0] apache2/ modules/ libphp5. so(zend_ execute_ scripts+ 0x15d)[ 0x7f5c0357199d] apache2/ modules/ libphp5. so(php_ execute_ script+ 0x1d8)[ 0x7f5c0351d2a8] apache2/ modules/ libphp5. so(+0x3b359d) [0x7f5c035ff59d ] apache2( ap_run_ handler+ 0x70)[0x7f5c077 fe310] apache2( ap_invoke_ handler+ 0xce)[0x7f5c078 01c9e] apache2( ap_process_ request+ 0x1c8)[ 0x7f5c0780f7b8] apache2( +0x4e748) [0x7f5c0780c748 ] apache2( ap_run_ process_ connection+ 0x68)[0x7f5c078 05ef8] apache2( +0x56177) [0x7f5c07814177 ] apache2( +0x5648a) [0x7f5c0781448a ] apache2( ap_mpm_ run+0xc24) [0x7f5c07815114 ] apache2( main+0xb40) [0x7f5c077ea530 ] so.6(__ libc_start_ main+0xfe) [0x7f5c0698ed8e ] apache2( +0x2b4c9) [0x7f5c077e94c9 ]
======= Backtrace: =========
/lib/libc.
/lib/libc.
/usr/lib/
/usr/lib/
/usr/lib/
/lib/libc.
/lib/libc.
/lib/libc.
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib/libc.
/usr/sbin/