php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6181 GPF in PHP4 after page is refreshed/reloaded
Submitted: 2000-08-15 15:29 UTC Modified: 2000-10-20 16:49 UTC
From: jcameron at geocities dot com Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.1pl2 OS: Windows2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
18 + 39 = ?
Subscribe to this entry?

 
 [2000-08-15 15:29 UTC] jcameron at geocities dot com
I'm running a webserver on Windows2000Server/IIs5/Php4.0.1pl2.
PHP is installed in ISAPI Mode. 

The problem I am encountering is caused by refreshing a page with a MSSQL query on it, that simply displayes the results in a table. The two functions that seem to be causing this problem are mssql_get_array (which failes, horrably!) and mssql_get_row. mssql_get_array generally spits out garbage, filling the array I'm placing the data into with junk, causing PHP to GPF, the mssql_get_row seems to work alright, but apon refreshing the page a couple of times (sometimes once, sometimes 2, or 3 times), it causes PHP to GPF. (ex of GPF: PHP has encountered an Access Violation at 77FC9E82)

I'd be happy to send you guys the source code that causes this, but seeing as even the most simple code does it, there should be no need. Drop me an Email if you'd like more information.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-20 16:49 UTC] fmk@php.net
Update to php 4.0.3 or later.

Some general memory issues was fixed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 14:01:28 2024 UTC