PHP 4.0 Bug #7954: Apache seg fault on any call of mysql_connect()
| From: | wiseass at vianet dot ca | Date: | Fri, 24 Nov 2000 02:25:11 +0000 |
| Subject: | PHP 4.0 Bug #7954: Apache seg fault on any call of mysql_connect() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39060@lists.php.net to get a copy of this message | ||
From: wiseass@vianet.ca
Operating system: Linux 6.0
PHP version: 4.0.3pl1
PHP Bug Type: MySQL related
Bug description: Apache seg fault on any call of mysql_connect()
'./configure' '--with-apxs=/usr/apache/bin/apxs'
'--with-config-file-path=/usr/local/etc' '--with-gd'
'--with-imap=/usr/src/apache/modules/php/depend/imap-2000' '--with-mysql'
'--with-ldap' '--with-zlib' '--enable-track-vars'
Script:
<?php
$link = mysql_connect("localhost", "dan", "password");
?>
or any variant thereof.
Any script that calls mysql_connect executes properly and when exiting, gives this message in
/var/log/httpd/error_log:
[Thu Nov 23 20:32:48 2000] [notice] child pid 2876 exit signal Segmentation fault (11)
gdb) run -X -f /usr/apache/conf/httpd.conf
Starting program: /usr/apache/bin/httpd -X -f /usr/apache/conf/httpd.conf
Program received signal SIGTRAP, Trace/breakpoint trap.
0x40001690 in _start () at rtld.c:138
138 rtld.c: No such file or directory.
(gdb) bt
#0 0x40001690 in _start () at rtld.c:138
That's all the info I can dig up.
--
Edit Bug report at: http://bugs.php.net/?id=7954&edit=1