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 696649

Summary: [abrt] php-cli-5.3.3-3.el6: _zend_mm_alloc_int: Process /usr/bin/php was killed by signal 11 (SIGSEGV)
Product: Red Hat Enterprise Linux 6 Reporter: David Kutálek <dkutalek>
Component: php-pecl-memcacheAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact: David Kutálek <dkutalek>
Severity: high Docs Contact:
Priority: high    
Version: 6.1   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:f33fb899477e328ec5627fe3f460fb17c6d2e0c1
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 14:29:45 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:
Attachments:
Description Flags
File: backtrace
none
Test which caused crash
none
Include for attached test none

Description David Kutálek 2011-04-14 14:19:59 UTC
abrt version: 1.1.16
architecture: x86_64
Attached file: backtrace, 32461 bytes
cmdline: /usr/bin/php -d output_handler= -d open_basedir= -d safe_mode=0 -d disable_functions= -d output_buffering=Off -d error_reporting=32767 -d display_errors=1 -d display_startup_errors=1 -d log_errors=0 -d html_errors=0 -d track_errors=1 -d report_memleaks=1 -d report_zend_debug=0 -d docref_root= -d docref_ext=.html -d error_prepend_string= -d error_append_string= -d auto_prepend_file= -d auto_append_file= -d magic_quotes_runtime=0 -d ignore_repeated_errors=0 -d precision=14 -d unicode.runtime_encoding=ISO-8859-1 -d unicode.script_encoding=UTF-8 -d unicode.output_encoding=UTF-8 -d unicode.from_error_mode=U_INVALID_SUBSTITUTE -d session.auto_start=0 -d zlib.output_compression=Off -d mbstring.func_overload=0 -f /home/dkutalek/packages/php-pecl-memcache/svn/RELEASE_3_0_5/tests/044.php
component: php
Attached file: coredump, 5300224 bytes
crash_function: _zend_mm_alloc_int
executable: /usr/bin/php
kernel: 2.6.32-130.el6.x86_64
package: php-cli-5.3.3-3.el6
rating: 4
reason: Process /usr/bin/php was killed by signal 11 (SIGSEGV)
release: Red Hat Enterprise Linux Workstation release 6.1 Beta (Santiago)
Attached file: sosreport.tar.xz, 1834208 bytes
time: 1302790610
uid: 501

How to reproduce
-----
1. 
2. 
3.

Comment 1 David Kutálek 2011-04-14 14:20:01 UTC
Created attachment 492122 [details]
File: backtrace

Comment 3 David Kutálek 2011-04-14 14:28:30 UTC
This crash is a result of running tests from php-pecl-memcache 3.0.5 sources from svn. In distribution package, these tests are not present.

This test is expecting two instances of memcached running on localhost, and it is using it for php session storage. However, only one instance was running. Such situation however can occur eg. in case of network problems etc.

Crash occurs also when running simply as php ./044.php - in this case it coredumps in other function, you will see.

Comment 4 David Kutálek 2011-04-14 14:39:35 UTC
Created attachment 492131 [details]
Test which caused crash

Comment 5 David Kutálek 2011-04-14 14:40:12 UTC
Created attachment 492133 [details]
Include for attached test

Comment 6 Joe Orton 2011-04-14 15:27:34 UTC
This is http://pecl.php.net/bugs/bug.php?id=13623

I have a confirmed (simple) patch.  This is not a regression since 3.0.4.

Comment 10 errata-xmlrpc 2011-05-19 14:29:45 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0794.html