PHP 4.0 Bug #7954 Updated: Apache seg fault on any call of mysql_connect()
| From: | wiseass at vianet dot ca | Date: | Fri, 24 Nov 2000 03:46:44 +0000 |
| Subject: | PHP 4.0 Bug #7954 Updated: Apache seg fault on any call of mysql_connect() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39070@lists.php.net to get a copy of this message | ||
ID: 7954
User Update by: wiseass@vianet.ca
Status: Open
Bug Type: MySQL related
Description: Apache seg fault on any call of mysql_connect()
I note that if I use mysql_pconnect() the seg fault does not happen. I haven't bothered waiting
for the connection to time out, but if I kill the most recent mysql process manually there is no seg
fault.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-23 21:25:11] wiseass@vianet.ca
'./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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7954