php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28706 Calling PHP POPEN Repeatedly from Ansi C Crashes App
Submitted: 2004-06-09 06:23 UTC Modified: 2005-02-01 09:26 UTC
From: LarryJAdams at comcast dot net Assigned:
Status: Not a bug Package: Program Execution
PHP Version: 4.3.7 OS: Windows2000/XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: LarryJAdams at comcast dot net
New email:
PHP Version: OS:

 

 [2004-06-09 06:23 UTC] LarryJAdams at comcast dot net
Description:
------------
I am modifying an application in Ansi C that calls PHP.EXE utilizing the POPEN command.  The C program is utilizing threads and issuing a thread lock prior to calling, but it appears that the PHP program is stepping on some of the memory used by the C program causing an eventual lockup of the application.  This has been noted by some of the memory and variables displayed in debug mode that have PHP artifacts in them.

This same program calls PHP within unix without issue.

Reproduce code:
---------------
This is quite involved.  You need the entire application.

Expected result:
----------------
Normal termination of PHP without interfering with the other application.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-09 09:42 UTC] derick@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.


There is no way we can fix this with this little information.
 [2004-06-18 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2005-02-01 03:14 UTC] larryjadams at comcast dot net
This issue was related to Cygwin issues and can be closed.  Thanks for a great GNU project/product!!
 [2005-02-01 03:39 UTC] gschlossnagle@php.net
PHP is neither a GNU project, nor GPL'd.  

Glad your problem worked out.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 21:01:29 2024 UTC