RE: [PHP4BETA] Apache/PHP/ODBC/AIX still segfaulting

From: Date: Thu, 06 Jan 2000 16:44:18 +0000
Subject: RE: [PHP4BETA] Apache/PHP/ODBC/AIX still segfaulting
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8963@lists.php.net to get a copy of this message
No - because it was installed into the default location /usr/local/lib, and the 'configure' output seemed to indicate that iODBC was found. I've tried various combinations of this - using with-openlink=/path/to/openlink (I've got the Openlink stuff installed in /usr/local/openlink) as well as just with-iodbc. They all give the same result. > -----Original Message----- > From: Andrew Hill [mailto:ahill@openlinksw.com] > Sent: Thursday, January 06, 2000 6:14 AM > To: bleyton@cpe-usalco.com; Php4beta > Subject: RE: [PHP4BETA] Apache/PHP/ODBC/AIX still segfaulting > > > Hi Brian, > > Not to belabour the obvious, but have you tried including the path to the > iodbc install directory in your PHP configure? > > Regards, > Andrew Hill > Openlink Technical Support > > > -----Original Message----- > > From: Brian Leyton [mailto:bleyton@cpe-usalco.com] > > Sent: Wednesday, January 05, 2000 6:56 PM > > To: Php4beta > > Subject: [PHP4BETA] Apache/PHP/ODBC/AIX still segfaulting > > > > > > 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 > > > > > > -- > > PHP 4.0 Beta Mailing List <http://www.php.net/version4/UÁ>~|¹8ûÉž > > ˜ƒa > > > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > > For additional commands, e-mail: php4beta-help@lists.php.net > > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > > > > >

« previous php.version4 (#8963) next »