Bug #51601 [Asn->Fbk]: Segmentation fault when using the 2-argument form of mysql_fetch_array
From: andrey@php.net Date: Fri, 20 Aug 2010 10:23:06 +0000 Subject: Bug #51601 [Asn->Fbk]: Segmentation fault when using the 2-argument form of mysql_fetch_array References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-153642@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51601&edit=1
ID: 51601
Updated by: andrey@php.net
Reported by: pcarter at jhu dot edu
Summary: Segmentation fault when using the 2-argument form of
mysql_fetch_array
-Status: Assigned
+Status: Feedback
Type: Bug
Package: MySQL related
Operating System: FreeBSD 6.2-RELEASE
PHP Version: 5.3.2
Assigned To: kalle
Block user comment: N
New Comment:
Does it still persist with latest snapshot?
Previous Comments:
------------------------------------------------------------------------
[2010-08-19 20:52:53] kalle@php.net
+sorry i meant svn versions/snapshots, not trunk :)
------------------------------------------------------------------------
[2010-08-19 16:25:24] kalle@php.net
Hi
Does it happen if you initialize zval *res to NULL? and does it happen
with the latest 5.3.x release, 5.2.x and trunk versions of those?
------------------------------------------------------------------------
[2010-05-11 18:50:02] pcarter at jhu dot edu
So having not tried any newer snapshots than php5.3-201004220030 I went
ahead and grabbed php5.3-201005111430. Using '--with-mysql=mysqlnd' the
script executes as expected (no segfault), however, the segfault still
occurs with '--with-mysql'. If you'd like I can bisect my way through
the snapshots until I find the point at which this became true, but if
that's not going to be useful I'd just as soon not. Let me know if I
can provide additional information.
------------------------------------------------------------------------
[2010-05-11 18:36:23] pcarter at jhu dot edu
No change using --with-mysql=mysqlnd =/
------------------------------------------------------------------------
[2010-05-11 18:24:38] andrey@php.net
As a side note, can you try building PHP with the following option
--with-mysql=mysqlnd and run the code again? I tried today your script
on FreeBSD6 64bit and had no crash, however it was mysqlnd. mysqlnd
shouldn't affect this but I want to be sure that this unknown is removed
from the equation.
Thanks!
------------------------------------------------------------------------
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
Thread (21 messages)
- Bug #51601 [Opn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Opn->Fbk]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Fbk->Opn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Opn->Asn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Com]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Asn->Fbk]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Fbk->Opn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Opn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Asn->Fbk]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Fbk->Opn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Opn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Opn->Asn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Asn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Asn->Fbk]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Fbk->Asn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Asn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Asn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Asn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Asn]: Segmentation fault when using the 2-argument form of mysql_fetch_array
- Bug #51601 [Asn->Csd]: Segmentation fault when using the 2-argument form of mysql_fetch_array
| « previous | php.bugs (#153642) | next » |
|---|