ID: 32216 Updated by: [EMAIL PROTECTED] Reported By: paolo at ahead dot it -Status: Open +Status: Feedback Bug Type: ODBC related Operating System: linux i386 PHP Version: 5.0.3 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-03-07 11:49:40] paolo at ahead dot it Description: ------------ on my linux box fedora core2 with kernel 2.6.5-1.358 i have a segmentation fault on code reported if i compile php with mysql support. if i remove mysql support with --without-mysql all work correctly. on windows 2003 work with both mysql & iodbc support. this is my configuration: ./configure --with-mysql=/dati/inetpub/mysql --prefix=/dati/inetpub/php --with-gd --enable-gd-native-ttf --enable-sockets --enable-pcntl --without-pear --with-zlib --with-jpeg-dir=/dati/inetpub/src/jpeg-6b --with-curl --with-ttf --with-freetype-dir --with-imap=/dati/inetpub/src/imap-2004a --with-iodbc=/dati/inetpub/iodbc --with-kerberos Reproduce code: --------------- <? putenv("ODBCINI=/etc/odbc.ini"); $db = odbc_connect("myodbc3","root",""); $rec = odbc_exec($db,"select 1"); while(odbc_fetch_row($rec)) echo odbc_result($rec, "1") ."\n"; ?> Expected result: ---------------- 1 Actual result: -------------- Segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32216&edit=1
