Bug #12736 Updated: ? just found :)
| From: | sander@php.net | Date: | Tue, 28 Aug 2001 08:24:32 +0000 |
| Subject: | Bug #12736 Updated: ? just found :) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64470@lists.php.net to get a copy of this message | ||
ID: 12736
Updated by: sander
Reported By: ice_croft@mail.ru
Old Status: Bogus
Status: Open
Old Bug Type: COM related
Bug Type: Reproducible crash
Operating System: windows 98
PHP Version: 4.0.6
New Comment:
It is a bug: it shouldn't crash! Changed to reproducible crash.
Previous Comments:
------------------------------------------------------------------------
[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