Bug 187253
| Summary: | segmentation faults with multiple include virtual php requests | ||
|---|---|---|---|
| Product: | [Retired] Fedora Legacy | Reporter: | Roman Veretelnikov <roman> |
| Component: | php | Assignee: | Fedora Legacy Bugs <bugs> |
| Status: | CLOSED CANTFIX | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | fc3 | CC: | mattdm |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-04-10 19:15:03 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
Roman Veretelnikov
2006-03-29 16:15:47 UTC
*** Bug 187257 has been marked as a duplicate of this bug. *** *** Bug 187256 has been marked as a duplicate of this bug. *** Seems like patch fix this issue:
diff -ur php-4.3.11.orig/sapi/apache2handler/sapi_apache2.c php-4.3.11/sapi/
apache2handler/sapi_apache2.c
--- php-4.3.11.orig/sapi/apache2handler/sapi_apache2.c 2006-04-05 12:09:32.
000000000 +0400
+++ php-4.3.11/sapi/apache2handler/sapi_apache2.c 2006-04-05 12:10:42.
000000000 +0400
@@ -530,7 +530,7 @@
zend_first_try {
ctx = SG(server_context);
- if (ctx == NULL) {
+ if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r-
>protocol, "INCLUDED"))) {
ctx = SG(server_context) = apr_pcalloc(r->pool, sizeof(*ctx));
/* register a cleanup so we clear out the SG(server_context)
* after each request. Note: We pass in the pointer to the
http://cvs.php.net/viewcvs.cgi/php-src/sapi/apache2handler/sapi_apache2.c?r1=1.
1.2.40.2.8&r2=1.1.2.40.2.9&pathrev=PHP_4_4
Relevant links: http://cvs.php.net/viewcvs.cgi/php-src/sapi/apache2handler/sapi_apache2.c?view=log&pathrev=PHP_4_4 http://bugs.php.net/bug.php?id=35571 http://bugs.php.net/bug.php?id=35484 Fedora Core 3 is now completely unmaintained. These bugs can't be fixed in that version. If the issue still persists in current Fedora Core, please reopen. Thank you, and sorry about this. |