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:
Created attachment 275851 [details] Create a CtCmd object and exec a function under Test::Simple
The last planned update of RHEL-4 will be focused on performance and security bugs only. This should be fixed in next releases.