Apache/PHP/ODBC/AIX still segfaulting

From: Date: Wed, 05 Jan 2000 23:55:33 +0000
Subject: Apache/PHP/ODBC/AIX still segfaulting
Groups: php.version4 
Request: Send a blank email to php-version4+get-8940@lists.php.net to get a copy of this message
I'm finally able to compile the CVS version of PHP4 on my AIX system (thanks, Sascha!), but I continue to have problems with segfaults when using ODBC functions. PHP (current CVS version) is configured with the following options: ./configure --with-mysql=/usr/local/lib/mysql \ --with-ldap \ --with-iodbc \ --enable-track-vars \ --with-apache=/usr/local/lib/apache_1.3.9 Apache's configure is: ./configure --prefix=/usr/local/www \ --activate-module=src/modules/php4/libphp4.a \ --enable-module=ssl --enable-module=rewrite --without-execstrip I'm linking to libiodbc 2.50.3. Here's the backtrace. I'm not sure what the "unknown load module" is - I assume it's libiodbc. Does this mean that it's compiled without debugging symbols? I looked at configure --help for libiodbc & didn't see any options there that looked like they would affect this. 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 0xd045616c in ?? () from (unknown load module) #3 0xd0456358 in ?? () from (unknown load module) #4 0xd04523b8 in ?? () from (unknown load module) #5 0xd046e4e4 in ?? () from (unknown load module) #6 0xd0411c18 in _iodbcdm_driverload (path=0x202a3628 "p\027G`", hdbc=0x10000000) at connect.c:181 #7 0xd0413268 in SQLConnect (hdbc=0x202402b8, szDSN=0x20187550 "DSN=dsn_pro83b", cbDSN=-3, szUID=0x201876a0 "", cbUID=-3, szAuthStr=0x201877d0 "", cbAuthStr=-3) at connect.c:676 #8 0x101c6774 in odbc_sqlconnect (conn=0x2ff20f30, db=0x20187550 "DSN=dsn_pro83b", uid=0x201876a0 "", pwd=0x201877d0 "", cur_opt=0, persistent=1) at php_odbc.c:1641 #9 0x101c6ef8 in odbc_do_connect (ht=539637288, return_value=0x2023ef20, list=0x20047638, plist=0x20047664, this_ptr=0x202a3620, return_value_used=1610612736, persistent=539010048) at php_odbc.c:1759 #10 0x101c660c in php_if_odbc_pconnect (ht=539637288, return_value=0x10000000, list=0x0, plist=0x10000000, this_ptr=0x202a3620, return_value_used=1610612736) at php_odbc.c:1577 #11 0x1014b14c in execute () #12 0x1014b420 in execute () #13 0x10160b94 in php_execute_script (primary_file=0x2ff22878) at main.c:1274 ---Type <return> to continue, or q <return> to quit--- #14 0x101eb7b8 in apache_php_module_main (r=0x202a3628, fd=22, display_source_mode=0) at sapi_apache.c:86 #15 0x10120068 in send_php () #16 0x101200f8 in send_parsed_php () #17 0x10014814 in ap_invoke_handler () #18 0x10041a6c in process_request_internal () #19 0x10041b30 in ap_process_request () #20 0x100051f4 in child_main () #21 0x10005454 in make_child () #22 0x100056b0 in startup_children () #23 0x10005f78 in standalone_main () #24 0x100069dc in main () #25 0x100001c8 in __start () I've been fighting ODBC problems for so long, I can't even see straight anymore. Any assistance on this would be greatly appreciated. Thanks, Brian

« previous php.version4 (#8940) next »