Bug 63152
| Summary: | segmentation fault when executing certain scripts | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Nico Stuurman <nicos> |
| Component: | php | Assignee: | Joe Orton <jorton> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| URL: | http://impi.leidenuniv.nl (guest guest) | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-04-05 12:29:34 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Nico Stuurman
2002-04-10 17:34:37 UTC
A recent rpm update broke one of my scripts. I love PHP so much, I use it from
the command line too.
I whittled it down to:
<?
define('STDIN',fopen("php://stdin","r"));
?>
This causes a core dump (segmentation fault) on my RH 7.0 and 7.3 boxes with
PHP 4.1.2. I compiled the 4.2.2 source, and tested that executable, and it
does not fault.
I hope this can help somebody find the bug, by giving a simple example.
For now, I just call the PHP 4.2.2 executable explicitly, and my scripts are
working again.
BTW. I did not test this against mod PHP. I assume it core dumps there too.
Thanks for the report. This is fixed in current releases, please reopen if the bug recurs. |