#21435 [Com]: termination when calling mysql_info()

From: Date: Tue, 07 Jan 2003 00:13:38 +0000
Subject: #21435 [Com]: termination when calling mysql_info()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29254@lists.php.net to get a copy of this message
 ID:               21435
 Comment by:       gothfather@zotteltier.de
 Reported By:      drews@laborox.com
 Status:           Closed
 Bug Type:         MySQL related
 Operating System: Windows 2000
 PHP Version:      4.3.0
 Assigned To:      georg
 New Comment:

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!


Previous Comments:
------------------------------------------------------------------------

[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



Thread (9 messages)

« previous php.bugs (#29254) next »