php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1613 Php.exe crashes (illegal operation) on diskfreespace()
Submitted: 1999-06-28 08:20 UTC Modified: 1999-06-28 15:04 UTC
From: kori at atlas dot cz Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.11 OS: Windows 98
Private report: No CVE-ID: None
 [1999-06-28 08:20 UTC] kori at atlas dot cz
This small script

   <?php $dspace = diskfreespace("/"); ?>

   Free disk space on server: <?php echo $dspace; ?> 

cause:

"PHP: This program has performed an illegal operation and will be shut down."

Details:

"PHP caused an invalid page fault in
module PHP.EXE at 015f:0040b1cf.
Registers:
EAX=00000165 CS=015f EIP=0040b1cf EFLGS=00010202
EBX=006bed90 SS=0167 ESP=006becc0 EBP=006bfda8
ECX=4c232000 DS=0167 ESI=00000000 FS=3577
EDX=00000000 ES=0167 EDI=006bed50 GS=0000
Bytes at CS:EIP:
66 c7 00 02 00 de c1 dd 58 08 83 c4 2c c3 8d 54 
Stack dump:
004242cb 06a75000 00000000 00000000 00000000 4c232000 00000000 0042a0c2 00e117e0 00481ba0 00482aa0 00482a20 ffff8000 00000165 0042ea7b 006bed50"


I'm using Win32 binary (release) distribution of Php 3.0.11 on Ms Windows 98 with Ms Personal Web Server 4.0.


-Kori-

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-28 10:48 UTC] rasmus at cvs dot php dot net
This is fixed in 3.0.11
 [1999-06-28 15:04 UTC] jim at cvs dot php dot net
This was reported against 3.0.11, and is a real bug.

Fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 06:01:30 2024 UTC