Bug #12736 Updated: ? just found :)
| From: | k.schroeder@php.net | Date: | Sun, 02 Jun 2002 20:27:54 +0000 |
| Subject: | Bug #12736 Updated: ? just found :) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9217@lists.php.net to get a copy of this message | ||
ID: 12736
Updated by: k.schroeder@php.net
Reported By: ice_croft@mail.ru
Status: Open
Bug Type: COM related
Operating System: windows 98
PHP Version: 4.0.6
New Comment:
Do you have the same problems with PHP 4.2.1?
Regards, Kai
Previous Comments:
------------------------------------------------------------------------
[2001-08-28 04:24:32] sander@php.net
It is a bug: it shouldn't crash! Changed to reproducible crash.
------------------------------------------------------------------------
[2001-08-14 03:55:46] derick@php.net
Not a bug... you can't use results (resources) on a next page like
this.
Ask on the php-general@lists.php.net for more information.
Derick
------------------------------------------------------------------------
[2001-08-14 03:51:23] ice_croft@mail.ru
hi there. :)
c:\apache\htdocs\bars.php
<?php
$ob = new COM ("pfAX.obj5");
$rs = $ob->getData(); // this method returns adodb recordset
session_register("rs"); // track_vars and
// register_globals are on
?>
c:\apache\htdocs\rs.php
<?php
$num_columns = $rs->Fields->Count(); //trying to call to
//the recordset
?>
So, when I open rs.php, php.exe crashes with (in russian:):
Ïðîãðàììà PHP âûçâàëà ñáîé ïðè îáðàùåíèè ê ñòðàíèöå
ïàìÿòè
â ìîäóëå PHP4TS.DLL ïî àäðåñó 0167:1008519b.
Ðåãèñòðû:
EAX=00000000 CS=0167 EIP=1008519b EFLGS=00010246
EBX=007a5750 SS=016f ESP=0063f810 EBP=0065984c
ECX=ffffffff DS=016f ESI=00000000 FS=196f
EDX=00000000 ES=016f EDI=007a6e80 GS=0000
Áàéòû ïî àäðåñó CS:EIP:
8b 4e 08 51 57 e8 9b ef ff ff 8b 5c 24 2c 66 c7
Ñîäåðæèìîå ñòåêà:
00000001 007a541c 0000000c 00000001 0065983c 00761040 006597fc 007a57c8
100b2879 00000000
007a5ae0 007a5750 00000001 00761040 0065984c 00000000
------------------------------------------------------------------------
[2001-08-14 03:46:42] ice_croft@mail.ru
hi there. :)
c:\apache\htdocs\bars.php
<?php
$ob = new COM ("pfAX.obj5");
$rs = $ob->getData(); // this method returns adodb recordset
session_register("rs"); // track_vars and
// register_globals are on
?>
c:\apache\htdocs\rs.php
<?php
$num_columns = $rs->Fields->Count(); //trying to call to
//the recordset
?>
So, when I open rs.php, php.exe crashes with (in russian:):
Ïðîãðàììà PHP âûçâàëà ñáîé ïðè îáðàùåíèè ê ñòðàíèöå
ïàìÿòè
â ìîäóëå PHP4TS.DLL ïî àäðåñó 0167:1008519b.
Ðåãèñòðû:
EAX=00000000 CS=0167 EIP=1008519b EFLGS=00010246
EBX=007a5750 SS=016f ESP=0063f810 EBP=0065984c
ECX=ffffffff DS=016f ESI=00000000 FS=196f
EDX=00000000 ES=016f EDI=007a6e80 GS=0000
Áàéòû ïî àäðåñó CS:EIP:
8b 4e 08 51 57 e8 9b ef ff ff 8b 5c 24 2c 66 c7
Ñîäåðæèìîå ñòåêà:
00000001 007a541c 0000000c 00000001 0065983c 00761040 006597fc 007a57c8
100b2879 00000000 007a5ae0 007a5750 00000001 00761040 0065984c 00000000
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12736&edit=1