ID: 44554 User updated by: vlada at mysh dot cz Reported By: vlada at mysh dot cz -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: Debian etch PHP Version: 5.2.5 Assigned To: fb-req-jani New Comment:
This configuration. I've added --enable-debug because of dbg. ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-mysql-sock=/tmp/mysql.sock --with-sqlite --with-zlib --with-zlib-dir --with-bz2 --with-gd --enable-gd-native-ttf --with-jpeg-dir --with-png-dir --with-ttf --with-freetype-dir=/usr/local --with-iconv=/usr/local --with-curl=/usr/local --with-gettext --with-config-file-path=/etc/apache --enable-ftp --enable-mbstring --with-openssl --with-openssl-dir=/usr/include/openssl --enable-calendar --enable-exif --enable-sockets --with-mcrypt --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-debug Previous Comments: ------------------------------------------------------------------------ [2008-03-29 17:49:17] [EMAIL PROTECTED] What was the configure line you used? ------------------------------------------------------------------------ [2008-03-28 12:55:11] vlada at mysh dot cz Same problem with latest version. Should be problem in incompatibility with libc library in newer Debian? On other Debian servers (with older libc package) I am needed to upgrade libc to same version on, but i am worried about compatibility. ------------------------------------------------------------------------ [2008-03-28 10:03:48] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi ------------------------------------------------------------------------ [2008-03-27 21:16:46] vlada at mysh dot cz Description: ------------ I've compiled latest PHP 5.2.5 on newly installed Debian Etch with libc6 version 2.3.6.ds1-13etch5 Problem is, that almost randomly serves blank page. Mostly this problem occurs while using phpmyadmin (tested different versions with same result) In error_log of apache is: *** glibc detected *** double free or corruption (out): 0x084471f0 *** [Thu Mar 27 21:45:34 2008] [notice] child pid 29274 exit signal Aborted (6) I also tried to run backtrace, i put it here. Strace gives loads of data. I could also put it here. When i tried downgrade to php 5.1.6, same error is in error_log, but on the other hand, blank page never occured. Reproduce code: --------------- problem occures on random phpmyadmin page, mostly with mysql connection. Actual result: -------------- Starting program: /usr/local/apache/bin/httpd -X [Thread debugging using libthread_db enabled] [New Thread -1211000608 (LWP 29696)] *** glibc detected *** double free or corruption (out): 0x08439bf0 *** Program received signal SIGABRT, Aborted. [Switching to Thread -1211000608 (LWP 29696)] 0xb7d42947 in raise () from /lib/tls/libc.so.6 (gdb) bt #0 0xb7d42947 in raise () from /lib/tls/libc.so.6 #1 0xb7d440c9 in abort () from /lib/tls/libc.so.6 #2 0xb7d786ba in __fsetlocking () from /lib/tls/libc.so.6 #3 0xb7d7ff7f in mallopt () from /lib/tls/libc.so.6 #4 0xb7d80022 in free () from /lib/tls/libc.so.6 #5 0xb7787e3b in zend_hash_apply_deleter (ht=0x8302420, p=0x841b0f0) at /install/php-5.2.5/Zend/zend_hash.c:614 #6 0xb7788341 in zend_hash_reverse_apply (ht=0x8302420, apply_func=0xb776bb28 <clean_non_persistent_function>) at /install/php-5.2.5/Zend/zend_hash.c:760 #7 0xb776c257 in shutdown_executor () at /install/php-5.2.5/Zend/zend_execute_API.c:290 #8 0xb777b43a in zend_deactivate () at /install/php-5.2.5/Zend/zend.c:860 #9 0xb77299d4 in php_request_shutdown (dummy=0x0) at /install/php-5.2.5/main/main.c:1485 #10 0xb77f4821 in php_apache_request_dtor (r=0x83fd1f8) at /install/php-5.2.5/sapi/apache2handler/sapi_apache2.c:471 #11 0xb77f510f in php_handler (r=0x83fd1f8) at /install/php-5.2.5/sapi/apache2handler/sapi_apache2.c:643 #12 0x08074547 in ap_run_handler (r=0x83fd1f8) at config.c:157 #13 0x08077637 in ap_invoke_handler (r=0x83fd1f8) at config.c:372 #14 0x080824e8 in ap_process_request (r=0x83fd1f8) at http_request.c:258 #15 0x0807f74e in ap_process_http_connection (c=0x83f31b0) at http_core.c:190 #16 0x0807b4d7 in ap_run_process_connection (c=0x83f31b0) at connection.c:43 #17 0x080868d4 in child_main (child_num_arg=<value optimized out>) at prefork.c:640 #18 0x08086b34 in make_child (s=0x80a9f98, slot=0) at prefork.c:680 #19 0x080878dc in ap_mpm_run (_pconf=0x80a80a8, plog=0x80d6160, s=0x80a9f98) at prefork.c:956 #20 0x08061f8f in main (argc=134897824, argv=0x83f0fd8) at main.c:730 (gdb) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44554&edit=1