|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-08-05 19:36 UTC] tony2001@php.net
[2005-08-05 19:52 UTC] bjorn dot malmberg at gmail dot com
[2005-08-06 00:07 UTC] sniper@php.net
[2005-08-06 12:34 UTC] derick@php.net
[2005-08-06 14:45 UTC] bjorn dot malmberg at gmail dot com
[2005-08-06 20:10 UTC] sniper@php.net
[2005-08-06 20:41 UTC] bjorn dot malmberg at gmail dot com
[2005-08-06 20:51 UTC] bjorn dot malmberg at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 13:00:01 2025 UTC |
Description: ------------ PHP segfaults on my Debian 3.1 machine when trying to connect to MySQL. MySQL version: 4.1.13-standard Apache version: 1.3.31 PHP version: 4.4.0 PHP configline: ./configure --with-mysql=/usr/local/mysql --enable-track-vars --enable-xslt --with-xslt-sablot --enable-mbstring --with-apxs=/etc/apache/bin/apxs --with-gettext=/usr/bin --enable-sockets --with-gd --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/include --with-imagick --enable-exif --enable-sockets --enable-posix --with-iconv Backtrace: #0 0x4010139b in mallopt () from /lib/libc.so.6 #1 0x4010015f in free () from /lib/libc.so.6 #2 0x4033179c in _efree (ptr=0x812ec1c) at /usr/src/php/php-4.4.0/Zend/zend_alloc.c:265 #3 0x40290e27 in _close_mysql_link (rsrc=0x812f344) at /usr/src/php/php-4.4.0/ext/mysql/php_mysql.c:297 #4 0x40343434 in list_entry_destructor (ptr=0x812f344) at /usr/src/php/php-4.4.0/Zend/zend_list.c:177 #5 0x403423c9 in zend_hash_apply_deleter (ht=0x40632680, p=0x812a73c) at /usr/src/php/php-4.4.0/Zend/zend_hash.c:611 #6 0x403424ef in zend_hash_graceful_reverse_destroy (ht=0x40632680) at /usr/src/php/php-4.4.0/Zend/zend_hash.c:677 #7 0x40343535 in zend_destroy_rsrc_list (ht=0x40632680) at /usr/src/php/php-4.4.0/Zend/zend_list.c:233 #8 0x40336d93 in shutdown_executor () at /usr/src/php/php-4.4.0/Zend/zend_execute_API.c:211 #9 0x4033e5cd in zend_deactivate () at /usr/src/php/php-4.4.0/Zend/zend.c:693 #10 0x40319085 in php_request_shutdown (dummy=0x0) at /usr/src/php/php-4.4.0/main/main.c:997 #11 0x40356475 in apache_php_module_main (r=0x8125b6c, display_source_mode=0) at /usr/src/php/php-4.4.0/sapi/apache/sapi_apache.c:60 #12 0x40356e02 in send_php (r=0x8125b6c, display_source_mode=0, filename=0x0) at /usr/src/php/php-4.4.0/sapi/apache/mod_php4.c:627 #13 0x40356e51 in send_parsed_php (r=0x8125b6c) at /usr/src/php/php-4.4.0/sapi/apache/mod_php4.c:642 #14 0x0807aad9 in ap_invoke_handler () #15 0x080912bc in process_request_internal () #16 0x08091326 in ap_process_request () #17 0x080879a0 in child_main () #18 0x08087b51 in make_child () #19 0x08087ccc in startup_children () #20 0x080883ed in standalone_main () #21 0x08088c5c in main () I guess this means that PHP doesn't like the version of libc that Sarge is using huh? Reproduce code: --------------- <?php $link = mysql_connect('localhost', 'root', ''); ?>