#21435 [Csd->Opn]: termination when calling mysql_info()
| From: | nicos@php.net | Date: | Tue, 07 Jan 2003 01:37:44 +0000 |
| Subject: | #21435 [Csd->Opn]: termination when calling mysql_info() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29259@lists.php.net to get a copy of this message | ||
ID: 21435
Updated by: nicos@php.net
Reported By: drews@laborox.com
-Status: Closed
+Status: Open
Bug Type: MySQL related
Operating System: Windows 2000
PHP Version: 4.3.0
Assigned To: georg
Previous Comments:
------------------------------------------------------------------------
[2003-01-06 18:13:37] gothfather@zotteltier.de
I think this is not the solution ... i just downloaded the 22:30
Snapshot of Jan 01st (stabel 4.3.0) and I get a SegVault calling
mysql_info($vk).
calling mysql_info() (without parameter) seems to work!
------------------------------------------------------------------------
[2003-01-05 15:11:57] georg@php.net
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2003-01-05 14:25:37] georg@php.net
verified... assigned to myself
------------------------------------------------------------------------
[2003-01-05 13:11:03] derick@php.net
As you have MSVC, would you be able to provide a stack trace (which you
should have on the screen when you see those assembler code lines)?
Derick
------------------------------------------------------------------------
[2003-01-05 13:09:21] drews@laborox.com
when calling mysql_info() apache 1.3.24 terminates with an error: "The
instruction at "0x100c1588" referenced memory at "0x0000000a". the
memory could not be "read" [ok/debug]. M$ debug gives
"100C1588 cmp byte ptr [eax+8],7"
script when calling:
<?php
$vk = mysql_pconnect($host, $user, $pass)
or die ();
mysql_select_db($database, $vk)
or die ();
$sql = "select * from user";
$result = mysql_query($sql, $vk);
if($result)
{
while ($row = mysql_fetch_array($result))
{
echo $row[0];
}
}
echo mysql_info($vk);
?>
regards,
-Wolfgang
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21435&edit=1