PHP 4.0 Bug #2934: Segfault with Openlink
| From: | bleyton at cpe-usalco dot com | Date: | Tue, 07 Dec 1999 23:09:58 +0000 |
| Subject: | PHP 4.0 Bug #2934: Segfault with Openlink | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13502@lists.php.net to get a copy of this message | ||
From: bleyton@cpe-usalco.com
Operating system: AIX 4.2.1
PHP version: 4.0 Latest CVS (07/12/1999)
PHP Bug Type: Reproduceable crash
Bug description: Segfault with Openlink
I'm getting consistent crashes when trying to connect to an odbc data source. This was
occurring with Beta 3, and appears to still exist in current CVS code. I'm somewhat new with
this backtracing stuff, so hopefully the following is useful. If not, please let me know what I
need to do to get a useful backtrace:
# gdb httpd
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (powerpc-ibm-aix4.1.4.0),
Copyright 1996 Free Software Foundation, Inc...
(gdb) run -X -f /usr/local/www/conf/httpd.conf
Starting program: /usr/local/www/bin/httpd -X -f /usr/local/www/conf/httpd.conf
Program received signal SIGSEGV, Segmentation fault.
0xd030d9e4 in ?? () from (unknown load module)
(gdb) bt
#0 0xd030d9e4 in ?? () from (unknown load module)
#1 0xd030d978 in ?? () from (unknown load module)
#2 0xd04a616c in ?? () from (unknown load module)
#3 0xd04a6358 in ?? () from (unknown load module)
#4 0xd04a23b8 in ?? () from (unknown load module)
#5 0xd04be4e4 in ?? () from (unknown load module)
#6 0xd045d2d8 in _iodbcdm_driverload ()
#7 0xd045bf7c in SQLDriverConnect ()
#8 0x101c83d4 in odbc_sqlconnect (conn=0x2ff20b7c,
db=0x2017dc70 "DSN=dsn_pro83b", uid=0x0, pwd=0x10000000 "\001_",
cur_opt=539633184, persistent=1) at php_odbc.c:1583
#9 0x101c8a34 in odbc_do_connect (ht=539633192, return_value=0x2ff20dc8,
list=0x20046b30, plist=0x20046b5c, this_ptr=0x202a2620,
return_value_used=1610612736, persistent=537693568) at php_odbc.c:1743
#10 0x101c82f0 in php3_odbc_pconnect (ht=539633192, return_value=0x10000000,
list=0x0, plist=0x10000000, this_ptr=0x202a2620,
return_value_used=1610612736) at php_odbc.c:1561
#11 0x1015f2b8 in execute (op_array=0x201812a0) at zend_execute.c:1476
#12 0x1015f428 in execute (op_array=0x200c24b0) at zend_execute.c:1508
#13 0x10121738 in php_execute_script (primary_file=0x2ff22898) at main.c:1226
#14 0x101ee708 in apache_php_module_main (r=0x202a2628, fd=22,
display_source_mode=0) at sapi_apache.c:88
#15 0x101edaac in send_php ()