php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5700 PHP Crashes
Submitted: 2000-07-20 15:07 UTC Modified: 2000-08-20 02:25 UTC
From: fmoreira at imediata dot pt Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.1pl2 OS: WinNT4
Private report: No CVE-ID: None
 [2000-07-20 15:07 UTC] fmoreira at imediata dot pt
in the folowing script (copied from your manual): 
<?php
function list_array ($array) {
 while (list ($key, $value) = each ($array)) {
 $str .= "<b>$key:</b> $value<br>\n";
 }
 return $str;
 }
echo "$HTTP_USER_AGENT<hr>\n";
$browser = get_browser();
echo list_array ((array) $browser);
?>
apears the following window (ok/cancel) error: 

Title: "OleMainThreadWndName: php.exe - Application Error"
Msg: " The instruction at "0x10016b85" referenced memory at "0x780012d9". The memory could not be "written" / Click on OK to terminate the application / Click on CANCEL to debug the application"

Fernando Moreira

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-20 18:47 UTC] hholzgra at cvs dot php dot net
see #4787
 [2000-07-20 19:56 UTC] fmoreira at imediata dot pt
If you see the original message, you'll see that's not the same bug.

I've tried with Apache and IIS (on NT)-> the same "CRASH"

The output HTML of the #4787 happens when the php.ini isn't in  the right path, it happened to me also, but when I put the php.ini in the right place (c:\winnt )it CRASHES!

"OleMainThreadWndName: php.exe - Application Error"


 [2000-07-25 00:20 UTC] waldschrott@php.net
it has been reported that get_browser() seems to return "nothing" or crashes at the moment,
bug 5617 regards returning false

 [2000-07-25 12:47 UTC] stas@php.net
Please try latest CVS version - does it still happen? If so, please tell what is your $HTTP_USER_AGENT and what browscap.ini you are using.
 [2000-08-20 02:25 UTC] sniper@php.net
No feedback. And this is fixed in CVS.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 12:01:31 2024 UTC