Bug 408821 - Cleanup error (free(): invalid pointer) at the end of perl script under Test::Simple
Cleanup error (free(): invalid pointer) at the end of perl script under Test:...
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: perl (Show other bugs)
4.6
i686 Linux
low Severity low
: ---
: ---
Assigned To: Marcela Mašláňová
desktop-bugs@redhat.com
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-03 11:41 EST by Marc Girod
Modified: 2010-02-22 08:02 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-02-22 08:02:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Marc Girod 2007-12-03 11:41:37 EST
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 11:41:37 EST
Created attachment 275851 [details]
Create a CtCmd object and exec a function under Test::Simple
Comment 2 Marcela Mašláňová 2010-02-22 08:02:29 EST
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.