php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2934 Segfault with Openlink
Submitted: 1999-12-07 18:09 UTC Modified: 2001-04-03 12:10 UTC
From: bleyton at cpe-usalco dot com Assigned:
Status: Not a bug Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (07/12/1999) OS: AIX 4.2.1
Private report: No CVE-ID: None
 [1999-12-07 18:09 UTC] bleyton at cpe-usalco dot com
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 ()

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-23 02:26 UTC] zak at cvs dot php dot net
Have contacted user to see if problem still occurs with latest release of PHP.

 [2000-07-24 17:38 UTC] zak@php.net
This bug was not confirmed or resolved.
User attempted install of later releases, but could not get them to compile.

I will try to find if the bug exists in more current releases of PHP on AIX.
 [2001-02-13 15:54 UTC] cynic@php.net
user feedback:
*****
I gave up on it a long time ago.  Never was able to get any version to work.
*****

anyone with access to AIX willing to test this?
 [2001-04-03 12:10 UTC] sniper@php.net
No need to keep this in bug db.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 10:01:28 2024 UTC