Bug 1330747 - Segfault in gc_remove_zval_from_buffer
Summary: Segfault in gc_remove_zval_from_buffer
Keywords:
Status: CLOSED EOL
Alias: None
Product: softwarecollections.org
Classification: Community
Component: rh-php56
Version: 1.0
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Remi Collet
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-26 20:56 UTC by drodger
Modified: 2020-12-08 12:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-08 12:28:04 UTC


Attachments (Terms of Use)
Reproduce segfault (192 bytes, application/x-php)
2016-04-26 20:56 UTC, drodger
no flags Details


Links
System ID Private Priority Status Summary Last Updated
PHP Bug Tracker 67314 0 None None None 2016-04-26 20:56:55 UTC

Description drodger 2016-04-26 20:56:56 UTC
Created attachment 1151086 [details]
Reproduce segfault

Description of problem:
PHP segfaults when running the attached script.

Version-Release number of selected component (if applicable):
rh-php56-2.0-6.el7.x86_64

How reproducible:
Run the attached script.

Steps to Reproduce:
1. php gc_segfault.php
2.
3.

Actual results:
PHP Notice:  Undefined variable: i in /root/scripts/test_seg_fault.php on line 4
made it once
PHP Notice:  Undefined variable: i in /root/scripts/test_seg_fault.php on line 4
Segmentation fault (core dumped)

Expected results:
PHP Notice:  Undefined variable: i in /root/scripts/test_seg_fault.php on line 4
made it once
PHP Notice:  Undefined variable: i in /root/scripts/test_seg_fault.php on line 4
ok


Additional info:
centos-release-7-2.1511.el7.centos.2.10.x86_64

The problem has been found and fixed in a later version of PHP than what is currently packaged in scl.

Details can be found here: https://bugs.php.net/bug.php?id=67314


Note You need to log in before you can comment on or make changes to this bug.