ChrisDennis has asked for the wisdom of the Perl Monks concerning the following question:
In fact the same thing is happening when I try to install other things such as Moose.Building and testing PPI-1.220 ... *** Error in `/usr/bin/perl': reall +oc(): invalid pointer: 0x0000000001dce00c *** ======= Backtrace: ========= /usr/lib/libc.so.6(+0x7198e)[0x7ff6605ca98e] /usr/lib/libc.so.6(+0x76dee)[0x7ff6605cfdee] /usr/lib/libc.so.6(realloc+0x1e8)[0x7ff6605d4108] /usr/lib/perl5/core_perl/CORE/libperl.so(Perl_safesysrealloc+0x10)[0x7 +ff6609a2820] /usr/lib/perl5/core_perl/CORE/libperl.so(Perl_markstack_grow+0x5d)[0x7 +ff6609f511d] /usr/lib/perl5/core_perl/CORE/libperl.so(Perl_pp_pushmark+0x35)[0x7ff6 +609c0c85] /usr/lib/perl5/core_perl/CORE/libperl.so(Perl_runops_standard+0x16)[0x +7ff6609c03c6] /usr/lib/perl5/core_perl/CORE/libperl.so(perl_run+0x21d)[0x7ff66095108 +d] /usr/bin/perl(main+0x149)[0x400e39] /usr/lib/libc.so.6(__libc_start_main+0xf0)[0x7ff660579800] /usr/bin/perl(_start+0x29)[0x400e79] ======= Memory map: ========
It seems like a conflict between library versions or something like that, but I don't know where to start looking.
One thing I should confess is that I've got a mixture of Perl modules, some installed via Arch's 'pacman' and some via 'cpanm'. perl -V says:
Summary of my perl5 (revision 5 version 20 subversion 2) configuration +: Platform: osname=linux, osvers=3.19.0-1-arch, archname=x86_64-linux-thread-m +ulti uname='linux flo-64 3.19.0-1-arch #1 smp preempt mon feb 9 07:08:2 +0 cet 2015 x86_64 gnulinux ' config_args='-des -Dusethreads -Duseshrplib -Doptimize=-march=x86- +64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buff +er-size=4 -Dprefix=/usr -Dvendorprefix=/usr -Dprivlib=/usr/share/perl +5/core_perl -Darchlib=/usr/lib/perl5/core_perl -Dsitelib=/usr/share/p +erl5/site_perl -Dsitearch=/usr/lib/perl5/site_perl -Dvendorlib=/usr/s +hare/perl5/vendor_perl -Dvendorarch=/usr/lib/perl5/vendor_perl -Dscri +ptdir=/usr/bin/core_perl -Dsitescript=/usr/bin/site_perl -Dvendorscri +pt=/usr/bin/vendor_perl -Dinc_version_list=none -Dman1ext=1perl -Dman +3ext=3perl -Dcccdlflags='-fPIC' -Dlddlflags=-shared -Wl,-O1,--sort-co +mmon,--as-needed,-z,relro -Dldflags=-Wl,-O1,--sort-common,--as-needed +,-z,relro' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict- +aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SO +URCE -D_FILE_OFFSET_BITS=64', optimize='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector +-strong --param=ssp-buffer-size=4', cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing +-pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.9.2 20150204 (prerelease)', gccosandve +rs='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +6 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags ='-Wl,-O1,--sort-common,--as-needed,-z,relro -fst +ack-protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/ +include-fixed /usr/lib /lib/../lib /usr/lib/../lib /lib /lib64 /usr/l +ib64 libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdb +m_compat perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=libc-2.21.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.21' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E - +Wl,-rpath,/usr/lib/perl5/core_perl/CORE' cccdlflags='-fPIC', lddlflags='-shared -Wl,-O1,--sort-common,--as- +needed,-z,relro -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under linux Compiled at Feb 16 2015 15:25:32 @INC: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .
Any ideas as to what I should check or update next?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: realloc(): invalid pointer
by Anonymous Monk on Mar 11, 2015 at 17:31 UTC | |
by ChrisDennis (Sexton) on Mar 11, 2015 at 18:48 UTC | |
by ChrisDennis (Sexton) on Mar 11, 2015 at 19:23 UTC |