Edit report at http://bugs.php.net/bug.php?id=51601&edit=1

 ID:               51601
 User updated by:  pcarter at jhu dot edu
 Reported by:      pcarter at jhu dot edu
 Summary:          Segmentation fault when using the 2-argument form of
                   mysql_fetch_array
-Status:           Feedback
+Status:           Open
 Type:             Bug
 Package:          MySQL related
 Operating System: FreeBSD 6.2-RELEASE
 PHP Version:      5.3.2
 Assigned To:      mysql

 New Comment:

My test was run initially with PHP compiled from source pulled from
php.net, and as noted the problem persisted with php5.3-201004220030,
and ldd claims I'm linking against the correct libmysqlclient.so



Configure line is:



'./configure' '--with-layout=GNU'
'--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
'--enable-libxml' '--program-prefix=' '--enable-session'
'--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php'
'--with-zend-vm=CALL' '--prefix=/usr/local' '--enable-dom'
'--enable-json' '--enable-simplexml' '--enable-soap' '--with-openssl'
'--with-pgsql' '--with-mysql' '--enable-tokenizer' '--enable-xml'
'--with-gd' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local'
'--enable-cli' '--enable-zip'


Previous Comments:
------------------------------------------------------------------------
[2010-05-11 15:25:37] [email protected]

Could you please provide the configure line. Please also try using plain
PHP, not ports which applies random patches we don't control.



Please also make sure that you're loading the correct mysql.so in case
you're building the mysql extension shared.

------------------------------------------------------------------------
[2010-04-29 14:47:07] elmex at voll dot in

i have problems with mysql_fetch_array($resurce, MYSQL_ASSOC) returning
no result set, if i replace it with mysql_fetch_assoc($resurce) it works
fine



this happens since update to last 5.3 php with freebsd ports....

------------------------------------------------------------------------
[2010-04-22 03:14:55] pcarter at jhu dot edu

The problem persists with php5.3-201004220030.  The backtrace is
identical save instruction addresses.

------------------------------------------------------------------------
[2010-04-22 02:19:19] [email protected]

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------
[2010-04-19 17:04:44] pcarter at jhu dot edu

I missed on the package dropdown when submitting the bug.  This belongs
with the MySQL package, not the MSSQL package.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=51601


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51601&edit=1

Reply via email to