Bug 707796

Summary: perl segmentation bug *** glibc detected *** /usr/bin/perl: malloc(): smallbin double linked list corrupted
Product: Red Hat Enterprise Linux 6 Reporter: James Shirley <james.shirley>
Component: perlAssignee: perl-maint-list
Status: CLOSED INSUFFICIENT_DATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: ppisar, psabata
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-11 09:28:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description James Shirley 2011-05-26 01:04:57 UTC
Description of problem:

I have a perl daemon which reads xml files and pipes the data as CSV stream to a another program, however intermittenly I get glibc/malloc errors comming from /usr/bin/perl. which causes the program to lock up or exit. I'm not sure what part of my perl program produces this result, as it appears random.

In any case I get the following in my logs:

*** glibc detected *** /usr/bin/perl: malloc(): smallbin double linked list corrupted: 0x0000000000d87ac0 ***

I was hoping it may produce a core file, but i don't think its actually producing a segmentation fault.

It also occured on Redhat 6.0

I will try and fine the perl code which is producing this, but it may take a few weeks to produce the fault and capture the debug.

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


How reproducible:

I will provide later


Steps to Reproduce:
1.
2.
3.
  
Actual results:

*** glibc detected *** /usr/bin/perl: malloc(): smallbin double linked list corrupted: 0x0000000000d87ac0 ***


Expected results:

no glibc errors

Additional info:

Comment 2 RHEL Program Management 2011-07-06 01:35:07 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 3 Petr Pisar 2012-01-03 10:31:29 UTC
We appreciate you report however we need more details to start finding this bug. Especially code that can reproduce this issue.

Also you can set MALLOC_CHECK_ environment variable to get better debugging data by standard library. See malloc(3) for more details.

Comment 4 Marcela Mašláňová 2012-06-11 09:28:36 UTC
We didn't have enough information to reproduce this bug. If you can provide a reproducer, please feel free reopen the bugreport.