FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-18-2012, 12:45 PM
Günter Ladwig
 
Default Apache2 "double free or corruption" error on PHP pages

Hi all,

we have just upgraded a server from lenny to squeeze and we're now having problems with Apache and PHP (presumably). We have a MediaWiki 1.18 installation (not from a Debian package) on this server. The usual pages work fine, however as soon as I navigate to a history view or special page, I get a "connection reset" error in the browser.

I had a look at Apache's error.log and discovered this (full backtrace is at the end of this mail):

*** glibc detected *** /usr/sbin/apache2: double free or corruption (!prev): 0xb956ec08 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(+0x6b381)[0xb76e8381]
/lib/i686/cmov/libc.so.6(+0x6cbd8)[0xb76e9bd8]
/lib/i686/cmov/libc.so.6(cfree+0x6d)[0xb76eccbd]
/usr/lib/libpcre.so.3(pcre_compile+0x413)[0xb7832143]
/usr/lib/apache2/modules/libphp5.so(pcre_get_compiled_regex_cache+0x25a)[0xb6d569ba]
/usr/lib/apache2/modules/libphp5.so(+0xa1184)[0xb6d5a184]
/usr/lib/apache2/modules/libphp5.so(execute_internal+0x4b)[0xb6fc3ceb]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x15fa3)[0xb60d4fa3]
/usr/lib/apache2/modules/libphp5.so(+0x336bb8)[0xb6fefbb8]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x16404)[0xb60d5404]
/usr/lib/apache2/modules/libphp5.so(+0x3368a6)[0xb6fef8a6]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
[…snip…]

I have found several instances of similar "double free" bugs on Google, but usually a few years old and with no helpful suggestions. Any ideas on how I should go about diagnosing this problem?

Here is some information about the system:

neon:~# uname -a
Linux neon 2.6.32-5-486 #1 Mon Mar 26 04:36:28 UTC 2012 i686 GNU/Linux

apache2 2.2.16-6+squeeze7
php5 5.3.3-7+squeeze8

neon:~# ls /etc/apache2/mods-enabled/*.load
/etc/apache2/mods-enabled/alias.load /etc/apache2/mods-enabled/env.load
/etc/apache2/mods-enabled/auth_basic.load /etc/apache2/mods-enabled/mime.load
/etc/apache2/mods-enabled/authn_file.load /etc/apache2/mods-enabled/negotiation.load
/etc/apache2/mods-enabled/authz_default.load /etc/apache2/mods-enabled/perl.load
/etc/apache2/mods-enabled/authz_groupfile.load /etc/apache2/mods-enabled/php5.load
/etc/apache2/mods-enabled/authz_host.load /etc/apache2/mods-enabled/reqtimeout.load
/etc/apache2/mods-enabled/authz_user.load /etc/apache2/mods-enabled/rewrite.load
/etc/apache2/mods-enabled/autoindex.load /etc/apache2/mods-enabled/setenvif.load
/etc/apache2/mods-enabled/cgi.load /etc/apache2/mods-enabled/status.load
/etc/apache2/mods-enabled/dir.load /etc/apache2/mods-enabled/vhost_alias.load

Thanks in advance!

Cheers,
Günter

Here is the full backtrace and memory map from error.log:

*** glibc detected *** /usr/sbin/apache2: double free or corruption (!prev): 0xb9559ce8 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(+0x6b381)[0xb76e8381]
/lib/i686/cmov/libc.so.6(+0x6cbd8)[0xb76e9bd8]
/lib/i686/cmov/libc.so.6(cfree+0x6d)[0xb76eccbd]
/usr/lib/libpcre.so.3(pcre_compile+0x413)[0xb7832143]
/usr/lib/apache2/modules/libphp5.so(pcre_get_compiled_regex_cache+0x25a)[0xb6d569ba]
/usr/lib/apache2/modules/libphp5.so(+0xa1184)[0xb6d5a184]
/usr/lib/apache2/modules/libphp5.so(execute_internal+0x4b)[0xb6fc3ceb]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x15fa3)[0xb60d4fa3]
/usr/lib/apache2/modules/libphp5.so(+0x336bb8)[0xb6fefbb8]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x16404)[0xb60d5404]
/usr/lib/apache2/modules/libphp5.so(+0x3368a6)[0xb6fef8a6]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x16404)[0xb60d5404]
/usr/lib/apache2/modules/libphp5.so(+0x3368a6)[0xb6fef8a6]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x16404)[0xb60d5404]
/usr/lib/apache2/modules/libphp5.so(+0x3368a6)[0xb6fef8a6]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x16404)[0xb60d5404]
/usr/lib/apache2/modules/libphp5.so(+0x3368a6)[0xb6fef8a6]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x16404)[0xb60d5404]
/usr/lib/apache2/modules/libphp5.so(zend_call_function+0x841)[0xb6f92001]
/usr/lib/apache2/modules/libphp5.so(call_user_function_ex+0x64)[0xb6f92c74]
/usr/lib/apache2/modules/libphp5.so(php_pcre_replace_impl+0xa19)[0xb6d57c69]
/usr/lib/apache2/modules/libphp5.so(php_pcre_replace+0x65)[0xb6d58135]
/usr/lib/apache2/modules/libphp5.so(+0x9f240)[0xb6d58240]
/usr/lib/apache2/modules/libphp5.so(+0x9f967)[0xb6d58967]
/usr/lib/apache2/modules/libphp5.so(execute_internal+0x4b)[0xb6fc3ceb]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x15fa3)[0xb60d4fa3]
/usr/lib/apache2/modules/libphp5.so(+0x336bb8)[0xb6fefbb8]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x16404)[0xb60d5404]
/usr/lib/apache2/modules/libphp5.so(+0x3368a6)[0xb6fef8a6]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x16404)[0xb60d5404]
/usr/lib/apache2/modules/libphp5.so(+0x3368a6)[0xb6fef8a6]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x16404)[0xb60d5404]
/usr/lib/apache2/modules/libphp5.so(+0x3368a6)[0xb6fef8a6]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x16404)[0xb60d5404]
/usr/lib/apache2/modules/libphp5.so(zend_call_function+0x841)[0xb6f92001]
/usr/lib/apache2/modules/libphp5.so(+0x205445)[0xb6ebe445]
/usr/lib/apache2/modules/libphp5.so(execute_internal+0x4b)[0xb6fc3ceb]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x15fa3)[0xb60d4fa3]
/usr/lib/apache2/modules/libphp5.so(+0x336bb8)[0xb6fefbb8]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x16404)[0xb60d5404]
/usr/lib/apache2/modules/libphp5.so(zend_call_function+0x841)[0xb6f92001]
/usr/lib/apache2/modules/libphp5.so(zend_call_method+0x142)[0xb6fb4b22]
/usr/lib/apache2/modules/libphp5.so(zend_std_call_user_call+0x110)[0xb6fc0e10]
/usr/lib/apache2/modules/libphp5.so(execute_internal+0x4b)[0xb6fc3ceb]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x15fa3)[0xb60d4fa3]
/usr/lib/apache2/modules/libphp5.so(+0x336bb8)[0xb6fefbb8]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x16404)[0xb60d5404]
/usr/lib/apache2/modules/libphp5.so(+0x3368a6)[0xb6fef8a6]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
/usr/lib/php5/20090626+lfs/suhosin.so(+0x16404)[0xb60d5404]
/usr/lib/apache2/modules/libphp5.so(+0x3368a6)[0xb6fef8a6]
/usr/lib/apache2/modules/libphp5.so(execute+0x1ce)[0xb6fc667e]
======= Memory map: ========
b5600000-b5621000 rw-p 00000000 00:00 0
b5621000-b5700000 ---p 00000000 00:00 0
b5742000-b5844000 rw-p 00000000 00:00 0
b5844000-b5861000 r-xp 00000000 08:01 1082747 /lib/libgcc_s.so.1
b5861000-b5862000 rw-p 0001c000 08:01 1082747 /lib/libgcc_s.so.1
b586c000-b586d000 ---p 00000000 00:00 0
b586d000-b606d000 rw-p 00000000 00:00 0
b60ac000-b60b0000 r-xp 00000000 08:01 96961 /lib/i686/cmov/libnss_dns-2.11.3.so
b60b0000-b60b1000 r--p 00004000 08:01 96961 /lib/i686/cmov/libnss_dns-2.11.3.so
b60b1000-b60b2000 rw-p 00005000 08:01 96961 /lib/i686/cmov/libnss_dns-2.11.3.so
b60b2000-b60b4000 r-xp 00000000 08:01 1082951 /lib/libnss_mdns4_minimal.so.2
b60b4000-b60b5000 rw-p 00001000 08:01 1082951 /lib/libnss_mdns4_minimal.so.2
b60bf000-b60df000 r-xp 00000000 08:01 194316 /usr/lib/php5/20090626+lfs/suhosin.so
b60df000-b60e3000 rw-p 0001f000 08:01 194316 /usr/lib/php5/20090626+lfs/suhosin.so
b60e3000-b60e5000 rw-p 00000000 00:00 0
b60e5000-b60f8000 r-xp 00000000 08:01 194308 /usr/lib/php5/20090626+lfs/pdo.so
b60f8000-b60fa000 r--p 00013000 08:01 194308 /usr/lib/php5/20090626+lfs/pdo.so
b60fa000-b60fb000 rw-p 00015000 08:01 194308 /usr/lib/php5/20090626+lfs/pdo.so
b60fb000-b6113000 r-xp 00000000 08:01 194314 /usr/lib/php5/20090626+lfs/mysqli.so
b6113000-b6116000 r--p 00017000 08:01 194314 /usr/lib/php5/20090626+lfs/mysqli.so
b6116000-b6117000 rw-p 0001a000 08:01 194314 /usr/lib/php5/20090626+lfs/mysqli.so
b6117000-b62ca000 r-xp 00000000 08:01 113926 /usr/lib/libmysqlclient_r.so.16.0.0
b62ca000-b62ce000 r--p 001b2000 08:01 113926 /usr/lib/libmysqlclient_r.so.16.0.0
b62ce000-b6313000 rw-p 001b6000 08:01 113926 /usr/lib/libmysqlclient_r.so.16.0.0
b6313000-b6314000 rw-p 00000000 00:00 0
b6314000-b631d000 r-xp 00000000 08:01 194315 /usr/lib/php5/20090626+lfs/mysql.so
b631d000-b631f000 r--p 00008000 08:01 194315 /usr/lib/php5/20090626+lfs/mysql.so
b631f000-b6320000 rw-p 0000a000 08:01 194315 /usr/lib/php5/20090626+lfs/mysql.so
b6320000-b6327000 r-xp 00000000 08:01 114993 /usr/lib/libltdl.so.7.2.1
b6327000-b6328000 rw-p 00007000 08:01 114993 /usr/lib/libltdl.so.7.2.1
b6328000-b634d000 r-xp 00000000 08:01 117561 /usr/lib/libmcrypt.so.4.4.8
b634d000-b6350000 rw-p 00025000 08:01 117561 /usr/lib/libmcrypt.so.4.4.8
b6350000-b6355000 rw-p 00000000 00:00 0
b6355000-b635d000 r-xp 00000000 08:01 194311 /usr/lib/php5/20090626+lfs/mcrypt.so
b635d000-b635f000 r--p 00007000 08:01 194311 /usr/lib/php5/20090626+lfs/mcrypt.so
b635f000-b6360000 rw-p 00009000 08:01 194311 /usr/lib/php5/20090626+lfs/mcrypt.so
b6360000-b6364000 r-xp 00000000 08:01 117614 /usr/lib/libXdmcp.so.6.0.0
b6364000-b6365000 rw-p 00003000 08:01 117614 /usr/lib/libXdmcp.so.6.0.0
b6365000-b637d000 r-xp 00000000 08:01 114593 /usr/lib/libxcb.so.1.1.0
b637d000-b637e000 rw-p 00017000 08:01 114593 /usr/lib/libxcb.so.1.1.0
b637e000-b63ab000 r-xp 00000000 08:01 113805 /usr/lib/libfontconfig.so.1.4.4
b63ab000-b63ad000 rw-p 0002c000 08:01 113805 /usr/lib/libfontconfig.so.1.4.4
b63ad000-b63cc000 r-xp 00000000 08:01 117053 /usr/lib/libjpeg.so.62.0.0
b63cc000-b63cd000 rw-p 0001e000 08:01 117053 /usr/lib/libjpeg.so.62.0.0
b63cd000-b63f1000 r-xp 00000000 08:01 630457 /usr/lib/libpng12.so.0.1.2.8
b63f1000-b63f2000 rw-p 00023000 08:01 630457 /usr/lib/libpng12.so.0.1.2.8
b63f2000-b6401000 r-xp 00000000 08:01 117553 /usr/lib/libXpm.so.4.11.0
b6401000-b6402000 rw-p 0000e000 08:01 117553 /usr/lib/libXpm.so.4.11.0
b6402000-b651b000 r-xp 00000000 08:01 114915 /usr/lib/libX11.so.6.3.0
b651b000-b651f000 rw-p 00118000 08:01 114915 /usr/lib/libX11.so.6.3.0
b651f000-b6593000 r-xp 00000000 08:01 113562 /usr/lib/libfreetype.so.6.6.0
b6593000-b6597000 rw-p 00073000 08:01 113562 /usr/lib/libfreetype.so.6.6.0
b6597000-b65d3000 r-xp 00000000 08:01 113159 /usr/lib/libt1.so.5.1.2
b65d3000-b65d6000 rw-p 0003c000 08:01 113159 /usr/lib/libt1.so.5.1.2
b65d6000-b65eb000 rw-p 00000000 00:00 0
b65eb000-b6609000 r-xp 00000000 08:01 115823 /usr/lib/libgd.so.2.0.0
b6609000-b6629000 rw-p 0001d000 08:01 115823 /usr/lib/libgd.so.2.0.0
b6629000-b662d000 rw-p 00000000 00:00 0
b662f000-b6635000 r-xp 00000000 08:01 194313 /usr/lib/php5/20090626+lfs/pdo_mysql.so
b6635000-b6636000 r--p 00005000 08:01 194313 /usr/lib/php5/20090626+lfs/pdo_mysql.so
b6636000-b6637000 rw-p 00006000 08:01 194313 /usr/lib/php5/20090626+lfs/pdo_mysql.so
b6637000-b664a000 r-xp 00000000 08:01 193992 /usr/lib/php5/20090626+lfs/gd.so
b664a000-b664e000 r--p 00013000 08:01 193992 /usr/lib/php5/20090626+lfs/gd.so
b664e000-b664f000 rw-p 00017000 08:01 193992 /usr/lib/php5/20090626+lfs/gd.so
b664f000-b665f000 rw-s 00000000 00:04 113599 /dev/zero (deleted)
b665f000-b6669000 r-xp 00000000 08:01 1082933 /lib/i686/cmov/libnss_files-2.11.3.so
b6669000-b666a000 r--p 00009000 08:01 1082933 /lib/i686/cmov/libnss_files-2.11.3.so
b666a000-b666b000 rw-p 0000a000 08:01 1082933 /lib/i686/cmov/libnss_files-2.11.3.so
b666b000-b6673000 r-xp 00000000 08:01 1082745 /lib/i686/cmov/libnss_nis-2.11.3.so
b6673000-b6674000 r--p 00008000 08:01 1082745 /lib/i686/cmov/libnss_nis-2.11.3.so
b6674000-b6675000 rw-p 00009000 08:01 1082745 /lib/i686/cmov/libnss_nis-2.11.3.so
b6675000-b667b000 r-xp 00000000 08:01 97384 /lib/i686/cmov/libnss_compat-2.11.3.so
b667b000-b667c000 r--p 00006000 08:01 97384 /lib/i686/cmov/libnss_compat-2.11.3.so
b667c000-b667d000 rw-p 00007000 08:01 97384 /lib/i686/cmov/libnss_compat-2.11.3.so
b667f000-b6681000 r-xp 00000000 08:01 113899 /usr/lib/libXau.so.6.0.0
b6681000-b6682000 rw-p 00001000 08:01 113899 /usr/lib/libXau.so.6.0.0
b6682000-b6686000 r-xp 00000000 08:01 162850 /usr/lib/apache2/modules/mod_status.so
b6686000-b6687000 ---p 00004000 08:01 162850 /usr/lib/apache2/modules/mod_status.so
b6687000-b6688000 r--p 00004000 08:01 162850 /usr/lib/apache2/modules/mod_status.so
b6688000-b6689000 rw-p 00005000 08:01 162850 /usr/lib/apache2/modules/mod_status.so
b6689000-b6697000 r-xp 00000000 08:01 162842 /usr/lib/apache2/modules/mod_rewrite.so
b6697000-b6698000 r--p 0000d000 08:01 162842 /usr/lib/apache2/modules/mod_rewrite.so
b6698000-b6699000 rw-p 0000e000 08:01 162842 /usr/lib/apache2/modules/mod_rewrite.so
b6699000-b66a9000 r-xp 00000000 08:01 1082932 /lib/i686/cmov/libresolv-2.11.3.so
b66a9000-b66aa000 r--p 00010000 08:01 1082932 /lib/i686/cmov/libresolv-2.11.3.so
b66aa000-b66ab000 rw-p 00011000 08:01 1082932 /lib/i686/cmov/libresolv-2.11.3.so
b66ab000-b66ad000 rw-p 00000000 00:00 0
b66ad000-b66b3000 r-xp 00000000 08:01 113608 /usr/lib/libkrb5support.so.0.1
b66b3000-b66b4000 rw-p 00005000 08:01 113608 /usr/lib/libkrb5support.so.0.1
b66b4000-b67f1000 r-xp 00000000 08:01 130956 /usr/lib/i686/cmov/libcrypto.so.0.9.8
b67f1000-b6809000 rw-p 0013c000 08:01 130956 /usr/lib/i686/cmov/libcrypto.so.0.9.8
b6809000-b680c000 rw-p 00000000 00:00 0
b680c000-b6930000 r-xp 00000000 08:01 113912 /usr/lib/libxml2.so.2.7.8
b6930000-b6935000 rw-p 00124000 08:01 113912 /usr/lib/libxml2.so.2.7.8
b6935000-b6936000 rw-p 00000000 00:00 0
b6936000-b6958000 r-xp 00000000 08:01 113610 /usr/lib/libk5crypto.so.3.1
b6958000-b6959000 rw-p 00022000 08:01 113610 /usr/lib/libk5crypto.so.3.1
b6959000-b6a05000 r-xp 00000000 08:01 113257 /usr/lib/libkrb5.so.3.3
b6a05000-b6a0b000 rw-p 000ac000 08:01 113257 /usr/lib/libkrb5.so.3.3
b6a0b000-b6a39000 r-xp 00000000 08:01 113983 /usr/lib/libgssapi_krb5.so.2.2
b6a39000-b6a3a000 rw-p 0002d000 08:01 113983 /usr/lib/libgssapi_krb5.so.2.2
b6a3a000-b6a48000 r-xp 00000000 08:01 630339 /usr/lib/libbz2.so.1.0.2
b6a48000-b6a49000 rw-p 0000e000 08:01 630339 /usr/lib/libbz2.so.1.0.2
b6a49000-b6a5c000 r-xp 00000000 08:01 1082929 /lib/i686/cmov/libnsl-2.11.3.so
b6a5c000-b6a5d000 r--p 00012000 08:01 1082929 /lib/i686/cmov/libnsl-2.11.3.so
b6a5d000-b6a5e000 rw-p 00013000 08:01 1082929 /lib/i686/cmov/libnsl-2.11.3.so
b6a5e000-b6a60000 rw-p 00000000 00:00 0
b6a61000-b6a63000 r-xp 00000000 08:01 162834 /usr/lib/apache2/modules/mod_vhost_alias.so
b6a63000-b6a64000 r--p 00001000 08:01 162834 /usr/lib/apache2/modules/mod_vhost_alias.so
b6a64000-b6a65000 rw-p 00002000 08:01 162834 /usr/lib/apache2/modules/mod_vhost_alias.so
b6a65000-b6aae000 r-xp 00000000 08:01 117246 /usr/lib/libqdbm.so.14.13.0
b6aae000-b6aaf000 rw-p 00049000 08:01 117246 /usr/lib/libqdbm.so.14.13.0
b6aaf000-b6c12000 r-xp 00000000 08:01 114693 /usr/lib/libdb-4.8.so
b6c12000-b6c15000 rw-p 00163000 08:01 114693 /usr/lib/libdb-4.8.so
b6c15000-b6c5b000 r-xp 00000000 08:01 130957 /usr/lib/i686/cmov/libssl.so.0.9.8
b6c5b000-b6c5f000 rw-p 00046000 08:01 130957 /usr/lib/i686/cmov/libssl.so.0.9.8
b6c5f000-b6ca3000 r-xp 00000000 08:01 117099 /usr/lib/libonig.so.2.0.0
b6ca3000-b6ca5000 rw-p 00044000 08:01 117099 /usr/lib/libonig.so.2.0.0
b6ca5000-b6cb8000 r-xp 00000000 08:01 114446 /usr/lib/libz.so.1.2.3.4
b6cb8000-b6cb9000 rw-p 00013000 08:01 114446 /usr/lib/libz.so.1.2.3.4
b6cb9000-b73c1000 r-xp 00000000 08:01 162142 /usr/lib/apache2/modules/libphp5.so
b73c1000-b73c2000 ---p 00708000 08:01 162142 /usr/lib/apache2/modules/libphp5.so
b73c2000-b7402000 r--p 00708000 08:01 162142 /usr/lib/apache2/modules/libphp5.so
b7402000-b7408000 rw-p 00748000 08:01 162142 /usr/lib/apache2/modules/libphp5.so
b7408000-b741f000 rw-p 00000000 00:00 0
b741f000-b7443000 r-xp 00000000 08:01 1082841 /lib/i686/cmov/libm-2.11.3.so
b7443000-b7444000 r--p 00023000 08:01 1082841 /lib/i686/cmov/libm-2.11.3.so
b7444000-b7445000 rw-p 00024000 08:01 1082841 /lib/i686/cmov/libm-2.11.3.so
b7445000-b758f000 r-xp 00000000 08:01 115197 /usr/lib/libperl.so.5.10.1
b758f000-b7594000 rw-p 00149000 08:01 115197 /usr/lib/libperl.so.5.10.1
b7595000-b7597000 r-xp 00000000 08:01 162818 /usr/lib/apache2/modules/mod_setenvif.so
b7597000-b7598000 r--p 00001000 08:01 162818 /usr/lib/apache2/modules/mod_setenvif.so
b7598000-b7599000 rw-p 00002000 08:01 162818 /usr/lib/apache2/modules/mod_setenvif.so
b7599000-b759c000 r-xp 00000000 08:01 162001 /usr/lib/apache2/modules/mod_reqtimeout.so
b759c000-b759d000 r--p 00002000 08:01 162001 /usr/lib/apache2/modules/mod_reqtimeout.so
b759d000-b759e000 rw-p 00003000 08:01 162001 /usr/lib/apache2/modules/mod_reqtimeout.so
b759e000-b759f000 r--p 00000000 00:00 0
b75a1000-b75a2000 r--p 00000000 00:00 0
b75a2000-b75a4000 r-xp 00000000 08:01 1082778 /lib/libkeyutils.so.1.3
b75a4000-b75a5000 rw-p 00001000 08:01 1082778 /lib/libkeyutils.so.1.3
b75a5000-b75a7000 r-xp 00000000 08:01 1082822 /lib/libcom_err.so.2.1
b75a7000-b75a8000 rw-p 00001000 08:01 1082822 /lib/libcom_err.so.2.1
b75a8000-b75d8000 r-xp 00000000 08:01 1826092 /usr/lib/apache2/modules/mod_perl.so
b75d8000-b75da000 rw-p 00030000 08:01 1826092 /usr/lib/apache2/modules/mod_perl.so
b75da000-b75e1000 r-xp 00000000 08:01 162854 /usr/lib/apache2/modules/mod_negotiation.so
b75e1000-b75e2000 r--p 00006000 08:01 162854 /usr/lib/apache2/modules/mod_negotiation.so
b75e2000-b75e3000 rw-p 00007000 08:01 162854 /usr/lib/apache2/modules/mod_negotiation.so
b75e3000-b75e6000 r-xp 00000000 08:01 162822 /usr/lib/apache2/modules/mod_mime.so
b75e6000-b75e7000 r--p 00003000 08:01 162822 /usr/lib/apache2/modules/mod_mime.so
b75e7000-b75e8000 rw-p 00004000 08:01 162822 /usr/lib/apache2/modules/mod_mime.so
b75e8000-b75e9000 r-xp 00000000 08:01 162843 /usr/lib/apache2/modules/mod_env.so
b75e9000-b75ea000 r--p 00000000 08:01 162843 /usr/lib/apache2/modules/mod_env.so
b75ea000-b75eb000 rw-p 00001000 08:01 162843 /usr/lib/apache2/modules/mod_env.so
b75eb000-b75ed000 r-xp 00000000 08:01 162860 /usr/lib/apache2/modules/mod_dir.so
b75ed000-b75ee000 r--p 00001000 08:01 162860 /usr/lib/apache2/modules/mod_dir.so
b75ee000-b75ef000 rw-p 00002000 08:01 162860 /usr/lib/apache2/modules/mod_dir.so
b75ef000-b75f4000 r-xp 00000000 08:01 162821 /usr/lib/apache2/modules/mod_cgi.so
b75f4000-b75f5000 r--p 00004000 08:01 162821 /usr/lib/apache2/modules/mod_cgi.so
b75f5000-b75f6000 rw-p 00005000 08:01 162821 /usr/lib/apache2/modules/mod_cgi.so
b75f6000-b75fe000 r-xp 00000000 08:01 162862 /usr/lib/apache2/modules/mod_autoindex.so
b75fe000-b75ff000 r--p 00007000 08:01 162862 /usr/lib/apache2/modules/mod_autoindex.so
b75ff000-b7600000 rw-p 00008000 08:01 162862 /usr/lib/apache2/modules/mod_autoindex.so
b7600000-b7601000 r-xp 00000000 08:01 162851 /usr/lib/apache2/modules/mod_authz_user.so
b7601000-b7602000 r--p 00000000 08:01 162851 /usr/lib/apache2/modules/mod_authz_user.so
b7602000-b7603000 rw-p 00001000 08:01 162851 /usr/lib/apache2/modules/mod_authz_user.so
b7603000-b7605000 r-xp 00000000 08:01 162813 /usr/lib/apache2/modules/mod_authz_host.so
b7605000-b7606000 r--p 00001000 08:01 162813 /usr/lib/apache2/modules/mod_authz_host.so
b7606000-b7607000 rw-p 00002000 08:01 162813 /usr/lib/apache2/modules/mod_authz_host.so
b7607000-b7609000 r-xp 00000000 08:01 162832 /usr/lib/apache2/modules/mod_authz_groupfile.so
b7609000-b760a000 r--p 00001000 08:01 162832 /usr/lib/apache2/modules/mod_authz_groupfile.so
b760a000-b760b000 rw-p 00002000 08:01 162832 /usr/lib/apache2/modules/mod_authz_groupfile.so
b760b000-b760c000 r-xp 00000000 08:01 162828 /usr/lib/apache2/modules/mod_authz_default.so
b760c000-b760d000 r--p 00000000 08:01 162828 /usr/lib/apache2/modules/mod_authz_default.so
b760d000-b760e000 rw-p 00001000 08:01 162828 /usr/lib/apache2/modules/mod_authz_default.so
b760e000-b760f000 r-xp 00000000 08:01 162825 /usr/lib/apache2/modules/mod_authn_file.so
b760f000-b7610000 r--p 00000000 08:01 162825 /usr/lib/apache2/modules/mod_authn_file.so
b7610000-b7611000 rw-p 00001000 08:01 162825 /usr/lib/apache2/modules/mod_authn_file.so
b7611000-b7613000 rw-p 00000000 00:00 0
b7613000-b7637000 r-xp 00000000 08:01 113626 /usr/lib/libexpat.so.1.5.2
b7637000-b7639000 rw-p 00023000 08:01 113626 /usr/lib/libexpat.so.1.5.2
b7639000-b763b000 r-xp 00000000 08:01 1082768 /lib/i686/cmov/libdl-2.11.3.so
b763b000-b763c000 r--p 00001000 08:01 1082768 /lib/i686/cmov/libdl-2.11.3.so
b763c000-b763d000 rw-p 00002000 08:01 1082768 /lib/i686/cmov/libdl-2.11.3.so
b763d000-b7646000 r-xp 00000000 08:01 1082930 /lib/i686/cmov/libcrypt-2.11.3.so
b7646000-b7647000 r--p 00008000 08:01 1082930 /lib/i686/cmov/libcrypt-2.11.3.so
b7647000-b7648000 rw-p 00009000 08:01 1082930 /lib/i686/cmov/libcrypt-2.11.3.so
b7648000-b7670000 rw-p 00000000 00:00 0
b7670000-b7677000 r-xp 00000000 08:01 1082964 /lib/i686/cmov/librt-2.11.3.so
b7677000-b7678000 r--p 00006000 08:01 1082964 /lib/i686/cmov/librt-2.11.3.so
b7678000-b7679000 rw-p 00007000 08:01 1082964 /lib/i686/cmov/librt-2.11.3.so
b7679000-b767c000 r-xp 00000000 08:01 1470959 /lib/libuuid.so.1.3.0
b767c000-b767d000 rw-p 00002000 08:01 1470959 /lib/libuuid.so.1.3.0
b767d000-b77bd000 r-xp 00000000 08:01 1082965 /lib/i686/cmov/libc-2.11.3.so
b77bd000-b77be000 ---p 00140000 08:01 1082965 /lib/i686/cmov/libc-2.11.3.so
b77be000-b77c0000 r--p 00140000 08:01 1082965 /lib/i686/cmov/libc-2.11.3.so
b77c0000-b77c1000 rw-p 00142000 08:01 1082965 /lib/i686/cmov/libc-2.11.3.so
b77c1000-b77c4000 rw-p 00000000 00:00 0
b77c4000-b77d9000 r-xp 00000000 08:01 1082948 /lib/i686/cmov/libpthread-2.11.3.so
b77d9000-b77da000 r--p 00014000 08:01 1082948 /lib/i686/cmov/libpthread-2.11.3.so
b77da000-b77db000 rw-p 00015000 08:01 1082948 /lib/i686/cmov/libpthread-2.11.3.so
b77db000-b77dd000 rw-p 00000000 00:00 0
b77dd000-b7809000 r-xp 00000000 08:01 113979 /usr/lib/libapr-1.so.0.4.2
b7809000-b780a000 r--p 0002c000 08:01 113979 /usr/lib/libapr-1.so.0.4.2
b780a000-b780b000 rw-p 0002d000 08:01 113979 /usr/lib/libapr-1.so.0.4.2
b780b000-b780c000 rw-p 00000000 00:00 0
b780c000-b782a000 r-xp 00000000 08:01 113176 /usr/lib/libaprutil-1.so.0.3.9
b782a000-b782b000 r--p 0001d000 08:01 113176 /usr/lib/libaprutil-1.so.0.3.9
b782b000-b782c000 rw-p 0001e000 08:01 113176 /usr/lib/libaprutil-1.so.0.3.9
b782c000-b783b000 r-xp 00000000 08:01 630447 /usr/lib/libpcre.so.3.10.0
b783b000-b783c000 rw-p 0000f000 08:01 630447 /usr/lib/libpcre.so.3.10.0
b783c000-b783d000 r--p 00000000 00:00 0
b783d000-b783f000 r-xp 00000000 08:01 162836 /usr/lib/apache2/modules/mod_auth_basic.so
b783f000-b7840000 r--p 00001000 08:01 162836 /usr/lib/apache2/modules/mod_auth_basic.so
b7840000-b7841000 rw-p 00002000 08:01 162836 /usr/lib/apache2/modules/mod_auth_basic.so
b7841000-b7843000 r-xp 00000000 08:01 162855 /usr/lib/apache2/modules/mod_alias.so
b7843000-b7844000 ---p 00002000 08:01 162855 /usr/lib/apache2/modules/mod_alias.so
b7844000-b7845000 r--p 00002000 08:01 162855 /usr/lib/apache2/modules/mod_alias.so
b7845000-b7846000 rw-p 00003000 08:01 162855 /usr/lib/apache2/modules/mod_alias.so
b7846000-b7848000 rw-p 00000000 00:00 0
b7848000-b7849000 r-xp 00000000 00:00 0 [vdso]
b7849000-b7864000 r-xp 00000000 08:01 1082883 /lib/ld-2.11.3.so
b7864000-b7865000 r--p 0001b000 08:01 1082883 /lib/ld-2.11.3.so
b7865000-b7866000 rw-p 0001c000 08:01 1082883 /lib/ld-2.11.3.so
b7866000-b78c4000 r-xp 00000000 08:01 197368 /usr/lib/apache2/mpm-prefork/apache2
b78c5000-b78c6000 r--p 0005e000 08:01 197368 /usr/lib/apache2/mpm-prefork/apache2
b78c6000-b78c8000 rw-p 0005f000 08:01 197368 /usr/lib/apache2/mpm-prefork/apache2
b78c8000-b78cb000 rw-p 00000000 00:00 0
b8498000-b95bb000 rw-p 00000000 00:00 0 [heap]
bfced000-bfd02000 rw-p 00000000 00:00 0 [stack]

--
Dipl.-Inform. Günter Ladwig

Karlsruhe Institute of Technology (KIT)
Institute AIFB

Englerstraße 11 (Building 11.40, Room 238)
76131 Karlsruhe, Germany
Phone: +49 721 608-44754
Email: guenter.ladwig@kit.edu
Web: www.aifb.kit.edu

KIT – University of the State of Baden-Württemberg and National Large-scale Research Center of the Helmholtz Association
 
Old 04-21-2012, 01:17 PM
Camalen
 
Default Apache2 "double free or corruption" error on PHP pages

On Wed, 18 Apr 2012 14:45:53 +0200, Gnter Ladwig wrote:

> we have just upgraded a server from lenny to squeeze and we're now
> having problems with Apache and PHP (presumably). We have a MediaWiki
> 1.18 installation (not from a Debian package) on this server. The usual
> pages work fine, however as soon as I navigate to a history view or
> special page, I get a "connection reset" error in the browser.
>
> I had a look at Apache's error.log and discovered this (full backtrace
> is at the end of this mail):
>
> *** glibc detected *** /usr/sbin/apache2: double free or corruption (!prev): 0xb956ec08 ***

(...)

Is there something logged before the above line?

> I have found several instances of similar "double free" bugs on Google,
> but usually a few years old and with no helpful suggestions. Any ideas
> on how I should go about diagnosing this problem?

Is the backtrace fully reproducible when you specifically load Mediawiki
pages or this also happens when you get an arbitrary (self-made) PHP page?

There's a debug package for apache2 (apache2-dbg) but before installing
nothing I would first report it in Debian BTS.

Greetings,

--
Camalen


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: jmuc1l$g9$12@dough.gmane.org">http://lists.debian.org/jmuc1l$g9$12@dough.gmane.org
 

Thread Tools




All times are GMT. The time now is 08:13 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org