Bug 408821 - Cleanup error (free(): invalid pointer) at the end of perl script under Test::Simple
Summary: Cleanup error (free(): invalid pointer) at the end of perl script under Test:...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: perl
Version: 4.6
Hardware: i686
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Marcela Mašláňová
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-03 16:41 UTC by Marc Girod
Modified: 2010-02-22 13:02 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-22 13:02:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Create a CtCmd object and exec a function under Test::Simple (167 bytes, text/plain)
2007-12-03 16:41 UTC, Marc Girod
no flags Details

Description Marc Girod 2007-12-03 16:41:37 UTC
Description of problem:

Writing tests with Test::Simple, for a module using ClearCase::CtCmd, I
get an error at exit in perl 5.8.5 on RedHat Linux.
The error doesn't show up in a 5.8.5 version of perl built from the 
sources.
Here is a small transcript reproducing the problem (script attached):

tmp> ./testpl2
1..1
ok 1 - Testing is fun
*** glibc detected *** free(): invalid pointer: 0x00e01900 ***
Aborted
tmp> ./testpl1
1..1
ok 1 - Testing is fun
tmp> diff testpl1 testpl2
1c1
< #!/tmp/local/bin/perl -w
---
> #!/usr/bin/perl -w
tmp> rpm -qf /usr/bin/perl
perl-5.8.5-36.el4_5.2
tmp> /tmp/local/bin/perl -v | head -2

This is perl, v5.8.5 built for i686-linux
tmp> uname -a
Linux engbuildpc 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686
i386 GNU/Linux
tmp> cat /etc/redhat-release 
Red Hat Enterprise Linux WS release 4 (Nahant Update 6)


Version-Release number of selected component (if applicable):
perl-5.8.5-36.el4_5.2

How reproducible:
Fully, only requires ClearCase and ClearCase::CtCmd (probably not specific)

Steps to Reproduce:
1. Install ClearCase
2. Install ClearCase::CtCmd
3. Run script 
  
Actual results:
Error in the end of execution:

*** glibc detected *** free(): invalid pointer: 0x00e01900 ***
Aborted


Expected results:


Additional info:

Comment 1 Marc Girod 2007-12-03 16:41:37 UTC
Created attachment 275851 [details]
Create a CtCmd object and exec a function under Test::Simple

Comment 2 Marcela Mašláňová 2010-02-22 13:02:29 UTC
The last planned update of RHEL-4 will be focused on performance and security
bugs only. This should be fixed in next releases.


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