Front page | perl.perl5.porters |
Postings from October 2008
Re: [perl #51238] perl-5.10.0 glibc detected *** free(): invalid pointer: 0x553c6700
From:
Warren L Dodge
Date:
October 30, 2008 04:50
Subject:
Re: [perl #51238] perl-5.10.0 glibc detected *** free(): invalid pointer: 0x553c6700
Message ID:
200810291711.m9THBX6G022012@lwe127084.central.tektronix.net
I am glad to hear it happens somewhere besides my desk.
I have filed a PMR (bug report) with Rational on this. They have been
working with it for quite some time now. I am not sure what level of
support it is receiving.
Could you please let me know if it is ok to sent your report to them. I
don't want to cause some problem by not asking.
Perhaps it will help them get to the problem quicker.
Is there some "guru" that could look at the CtCmd.xs and CtCmd.pm files
and see if there is something obvious in the interface that is wrong?
> From: "Michael J. Krueger via RT" <perlbug-followup@perl.org>
> Reply-To: perlbug-followup@perl.org
> RT-Ticket: perl #51238
> Managed-by: RT 3.6.HEAD (http://www.bestpractical.com/rt/)
> RT-Originator: kruegerm-bitcard@avax.net
> MIME-Version: 1.0
> Content-type: multipart/mixed; boundary="----------=_1225256392-11699-88"
> Date: Tue, 28 Oct 2008 21:59:52 -0700
>
> This is a multi-part message in MIME format...
>
> ------------=_1225256392-11699-88
> Content-Type: text/plain; charset="utf-8"
> Content-Transfer-Encoding: quoted-printable
>
> I am experiencing exactly the same problem with CtCmd-1.06 and perl-
> 5.10.0 on Red Hat Linux 2.6.9-42.
>
> I am able to build and use CtCmd-1.06 with perl-5.6.1 and perl-5.8.5=20
> without any trouble, but with perl-5.10.0, I always get errors like=20
> this:
>
> *** glibc detected *** free(): invalid pointer: 0x00e2abc0 ***
>
> I have attached a gdb session that includes a stack trace. Please let=20
> me know if you need more information. Thanks!
>
> ------------=_1225256392-11699-88
> Content-Type: text/plain; charset="utf-8"; name="gdb-session.txt"
> Content-Disposition: inline; filename="gdb-session.txt"
> Content-Transfer-Encoding: 7bit
> RT-Attachment: 51238/489390/228484
>
> $ uname -a
> Linux ala-engtools-dev 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
> $ perl5.10.0 -V
> Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
> Platform:
> osname=linux, osvers=2.6.9-42.elsmp, archname=i686-linux
> uname='linux ala-engtools-dev 2.6.9-42.elsmp #1 smp wed jul 12 23:27:17 edt 2006 i686 i686 i386 gnulinux '
> config_args='-de -Dmksymlinks -Dprefix=/folk/tools/public/i686-pc-linux-gnu/perl-5.10.0 -Dcc=gcc -Dcf_email=eptadmin@windriver.com -Dperladmin=eptadmin@windriver.com -Dloclibpth=/folk/tools/public/i686-pc-linux-gnu/lib -Dlocincpth=/folk/tools/public/i686-pc-linux-gnu/include'
> hint=recommended, useposix=true, d_sigaction=define
> useithreads=undef, usemultiplicity=undef
> useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
> use64bitint=undef, use64bitall=undef, uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='gcc', ccflags ='-fno-strict-aliasing -pipe -I/folk/tools/public/i686-pc-linux-gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
> optimize='-O2',
> cppflags='-fno-strict-aliasing -pipe -I/folk/tools/public/i686-pc-linux-gnu/include -I/usr/include/gdbm'
> ccversion='', gccversion='3.4.4', gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
> alignbytes=4, prototype=define
> Linker and Libraries:
> ld='gcc', ldflags =' -L/folk/tools/public/i686-pc-linux-gnu/lib'
> libpth=/folk/tools/public/i686-pc-linux-gnu/lib /lib /usr/lib /usr/local/lib
> libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
> perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
> libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a
> gnulibc_version='2.3.4'
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
> cccdlflags='-fPIC', lddlflags='-shared -O2 -L/folk/tools/public/i686-pc-linux-gnu/lib'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
> USE_LARGE_FILES USE_PERLIO
> Built under linux
> Compiled at Oct 28 2008 21:21:07
> @INC:
> /folk/tools/public/i686-pc-linux-gnu/perl-5.10.0/lib/5.10.0/i686-linux
> /folk/tools/public/i686-pc-linux-gnu/perl-5.10.0/lib/5.10.0
> /folk/tools/public/i686-pc-linux-gnu/perl-5.10.0/lib/site_perl/5.10.0/i686-linux
> /folk/tools/public/i686-pc-linux-gnu/perl-5.10.0/lib/site_perl/5.10.0
> .
> $ cat /folk/michaelk/tmp/cctest.pl
> use ClearCase::CtCmd;
> my $cleartool = ClearCase::CtCmd->new();
> ($status, $output, $error) = $cleartool->exec('pwv');
> chomp $output;
> chomp $error;
> print "status=$status\noutput=\"$output\"\nerror=\"$error\"\n\n";
> $ gdb
> GNU gdb Red Hat Linux (6.3.0.0-1.143.el4rh)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i386-redhat-linux-gnu".
> (gdb) file perl5.10.0
> Reading symbols from /folk/tools/public/i686-pc-linux-gnu/bin/perl5.10.0...done.
> Using host libthread_db library "/lib/tls/libthread_db.so.1".
> (gdb) set args -w /folk/michaelk/tmp/cctest.pl
> (gdb) run
> Starting program: /folk/tools/public/i686-pc-linux-gnu/bin/perl5.10.0 -w /folk/michaelk/tmp/cctest.pl
> status=0
> output="Working directory view: ** NONE **
> Set view: ** NONE **"
> error=""
>
> *** glibc detected *** free(): invalid pointer: 0x00e2abc0 ***
>
> Program received signal SIGABRT, Aborted.
> 0x005d37a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> (gdb) backtrace
> #0 0x005d37a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> #1 0x006187a5 in raise () from /lib/tls/libc.so.6
> #2 0x0061a209 in abort () from /lib/tls/libc.so.6
> #3 0x0064ca1a in __libc_message () from /lib/tls/libc.so.6
> #4 0x006532bf in _int_free () from /lib/tls/libc.so.6
> #5 0x0065363a in free () from /lib/tls/libc.so.6
> #6 0x0809fb82 in perl_destruct ()
> #7 0x0805ed56 in main ()
> (gdb) continue
> Continuing.
>
> Program terminated with signal SIGABRT, Aborted.
> The program no longer exists.
> (gdb) quit
>
> ------------=_1225256392-11699-88--
>
>
-
Re: [perl #51238] perl-5.10.0 glibc detected *** free(): invalid pointer: 0x553c6700
by Warren L Dodge