#32282 [NEW]: segfault using mysqli_fetch_array
| From: | gabriel at telana dot com | Date: | Fri, 11 Mar 2005 22:34:25 +0000 |
| Subject: | #32282 [NEW]: segfault using mysqli_fetch_array | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-75238@lists.php.net to get a copy of this message | ||
From: gabriel at telana dot com
Operating system: Linux 2.6 (custom, based on FC1)
PHP version: 5.0.3
PHP Bug Type: Reproducible crash
Bug description: segfault using mysqli_fetch_array
Description:
------------
This is exactly the same as bug #28933, except it's still happening for me
on PHP 5.0.3 on x86_64. I would have added a comment to that bug but it's
been closed.
The only other info I've seen on the net related to this is something
about mixing 32-bit and 64-bit libraries. I'm running a pure 64-bit
system so that's not the problem.
I tested this with the simplest possible configuration: "./configure
--with-mysqli=/usr/bin/mysql_config" and ran the test script (functionally
identical with the one in #28933) with the CLI version, using
php.ini-dist.
Tested with mysql versions 4.1.7 and 4.1.10.
Reproduce code:
---------------
See bug #28933
Expected result:
----------------
PHP to not segfault :)
Actual result:
--------------
PHP segfaults :(
--
Edit bug report at http://bugs.php.net/?id=32282&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32282&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32282&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32282&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32282&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32282&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32282&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32282&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32282&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32282&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32282&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32282&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32282&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32282&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32282&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32282&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32282&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32282&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32282&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32282&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32282&r=mysqlcfg