php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56973 Apache child process dies at end of script
Submitted: 2006-04-23 18:34 UTC Modified: 2006-05-04 12:12 UTC
From: kurt at scitechsys dot com Assigned: grant (profile)
Status: Closed Package: ingres (PECL)
PHP Version: 1.2.1 OS: Windows NT 5.1 build 2600
Private report: No CVE-ID: None
 [2006-04-23 18:34 UTC] kurt at scitechsys dot com
Description:
------------
At the end of a php script, the Apache child process dies.

[notice] Parent: child process exited with status 3221225477 -- Restarting.

Reproduce code:
---------------
<html>
<head>
</head>
<body>
<?php

	$link = ingres_connect("drupal", "howertonku", "grabstein")
		or die("Connection to db failed");
    
	$query = "SELECT * FROM users";
	
	echo "<p>" . $query . "</p>";
   
	ingres_query($query, $link);
	echo "<table>";

	while ($row = ingres_fetch_row()) {
		echo "<tr><td>" . $row[0] . "</td><td>" . $row[1] . "</td></tr>";
	}
	echo "</table>";

?>
</body>

Expected result:
----------------
SELECT * FROM users
0	
1	admin

No errors in log

Actual result:
--------------
SELECT * FROM users
0	
1	admin

[notice] Parent: child process exited with status 3221225477 -- Restarting.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-28 04:17 UTC] grantc@php.net
Kurt,

I believe this problem is fixed in CVS. I have tested your code (albeit adpated for the iidbdb database and iiusers table) and do not see the SEGV.

Let me know if you have problems getting the CVS source and I can sent you an "unoffical" package.

regards

grant
 [2006-05-04 12:12 UTC] grantc@php.net
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC