php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26711 Memory could not be read
Submitted: 2003-12-24 14:18 UTC Modified: 2003-12-26 07:18 UTC
From: nunoplopes at sapo dot pt Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4CVS-2003-12-24 (stable) OS: Win XP
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nunoplopes at sapo dot pt
New email:
PHP Version: OS:

 

 [2003-12-24 14:18 UTC] nunoplopes at sapo dot pt
Description:
------------
When I run PHP cli it always crash with a "memory could not be read" error.

An image with the error given by windows is located at: http://testes.aborla.net/php-error.png


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-25 00:57 UTC] magnus@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


Please read: http://bugs.php.net/how-to-report.php
 [2003-12-26 05:19 UTC] nunoplopes at sapo dot pt
Using the binary from snaps.php.net:

$ gdb ../../../php/cli/php
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found)...
(gdb) run C:/cvs/phpdoc/scripts/entities.php
Starting program: /cygdrive/c/php/cli/php.exe C:/cvs/phpdoc/scripts/entities.php

---Type <return> to continue, or q <return> to quit---

Notice: Undefined offset:  1 in C:\cvs\phpdoc\scripts\entities.php on line 4
Searching in ../en ...
Generating entity_usage.txt ...
Done!

Program received signal SIGSEGV, Segmentation fault.
0x00ba08d0 in ?? ()
(gdb) bt
#0  0x00ba08d0 in ?? ()
#1  0x100c6f2e in tsrm_shutdown ()
   from /cygdrive/c/WINDOWS/System32/php4ts.dll
#2  0x00a75950 in ?? ()
#3  0x00382738 in ?? ()
#4  0x00387e7c in ?? ()
#5  0x0012fecc in ?? ()
#6  0x00382738 in ?? ()
#7  0x0012ff4c in ?? ()
(gdb)
 [2003-12-26 06:15 UTC] nunoplopes at sapo dot pt
I discovered one thing: this only happens when zend optimizer is on. Maybe its better to report the bug to them...
 [2003-12-26 07:18 UTC] derick@php.net
Right, if you can't reproduce this without ZendOptimizer -> not our bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 21:01:27 2024 UTC