Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1140247

Summary: Segfault in garbage collection
Product: Red Hat Enterprise Linux 7 Reporter: Leonard den Ottolander <leonard-rh-bugzilla>
Component: phpAssignee: Remi Collet <rcollet>
Status: CLOSED WONTFIX QA Contact: RHEL Stacks Subsystem QE <rhel-stacks-subsystem-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: dkutalek, jorton, qe-baseos-apps, rcollet
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1140209 Environment:
Last Closed: 2020-06-17 11:01:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1140209    
Bug Blocks:    
Attachments:
Description Flags
Test case causing crash (requires ganon) none

Description Leonard den Ottolander 2014-09-10 14:55:32 UTC
Created attachment 936203 [details]
Test case causing crash (requires ganon)

+++ This bug was initially created as a clone of Bug #1140209 +++

Description of problem:

Segfault in garbage collection when running attached script. (Originally reported for php 5.3.3 on CentOS 6.)


Version-Release number of selected component (if applicable):

php-5.4.16-23.el7_0.x86_64


How reproducible:

Run attached script from the command line.


Steps to Reproduce:

ganon_rev78.zip unpacked in directory ganon (http://code.google.com/p/ganon)
directory "files" available
index.php and ganon-mod.php (attached, updated compared to bug #1140209)

$ php index.php


Actual results:

<snip>
XMLWriter::writePI
XMLWriter::writeRaw
XSL: ref.xsl.php
Segmentation fault


Expected results:

No segfault.


Additional info:

CentOS 7.0.1406 current.

(gdb) bt
#0  0x00007fc3b1546fe9 in gc_zval_possible_root (zv=0x7fc3b30ff798) at /usr/src/debug/php-5.4.16/Zend/zend_gc.c:143
#1  0x00007fc3b1548dd7 in zend_object_std_dtor (object=0x7fc3b31d5860) at /usr/src/debug/php-5.4.16/Zend/zend_objects.c:54
#2  0x00007fc3b1548e09 in zend_objects_free_object_storage (object=0x7fc3b31d5860) at /usr/src/debug/php-5.4.16/Zend/zend_objects.c:137
#3  0x00007fc3b154eab7 in zend_objects_store_free_object_storage (objects=objects@entry=0x7fc3b1930000 <executor_globals+960>)
    at /usr/src/debug/php-5.4.16/Zend/zend_objects_API.c:92
#4  0x00007fc3b15176e3 in shutdown_executor () at /usr/src/debug/php-5.4.16/Zend/zend_execute_API.c:295
#5  0x00007fc3b1526915 in zend_deactivate () at /usr/src/debug/php-5.4.16/Zend/zend.c:938
#6  0x00007fc3b14c6335 in php_request_shutdown (dummy=dummy@entry=0x0) at /usr/src/debug/php-5.4.16/main/main.c:1800
#7  0x00007fc3b15d36ca in do_cli (argc=2, argv=0x7fff75d050f8) at /usr/src/debug/php-5.4.16/sapi/cli/php_cli.c:1171
#8  0x00007fc3b138115e in main (argc=2, argv=0x7fff75d050f8) at /usr/src/debug/php-5.4.16/sapi/cli/php_cli.c:1364


Seems to be a known issue:

https://bugs.php.net/bug.php?id=64960

http://git.php.net/?p=php-src.git;a=commitdiff;h=3c87945c95c9c31986e690bb046c70e58c8d8896;hp=93e0d78ec655f59ebfa82b2c6f8486c43651c1d0

Comment 2 Remi Collet 2014-12-19 08:13:07 UTC
Could also be related to https://bugs.php.net/65372

Comment 10 RHEL Program Management 2020-06-17 11:01:59 UTC
Development Management has reviewed and declined this request. You may appeal this decision by using your Red Hat support channels, who will make certain  the issue receives the proper prioritization with product and development management.

https://www.redhat.com/support/process/production/#howto