develooper Front page | perl.perl5.porters | Postings from June 2003

[perl #22819] Segmentation fault on "make install" on AIX 4.2.1.0

From:
Mike Cooper
Date:
June 26, 2003 12:33
Subject:
[perl #22819] Segmentation fault on "make install" on AIX 4.2.1.0
Message ID:
rt-22819-59929.3.15232418924055@rt.perl.org
# New Ticket Created by  Mike Cooper 
# Please include the string:  [perl #22819]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=22819 >



This is a bug report for perl from mcooper@magnicomp.com,
generated with the help of perlbug 1.34 running under perl v5.8.0.


-----------------------------------------------------------------
I'm attempting to install perl 5.8.0 from source on AIX 4.2.  When I run "make 
install" (after a successful "make") I get a Segmentation fault:

aix2% make install
.... lots of text deleted ....
./perl installperl
gnumake[1]: *** [install.perl] Segmentation fault (core dumped)
gnumake[1]: Leaving directory `/tmp/p.obj'
gnumake: *** [install] Error 2
aix2% /usr/local/bin/gdb perl
GNU gdb 5.3
Copyright 2002 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 "powerpc-ibm-aix4.2.0.0"...
(gdb) run installperl
Starting program: /tmp/p.obj/perl installperl

Program received signal SIGSEGV, Segmentation fault.
0x10008b68 in Perl_pp_entersub ()
(gdb) where
#0  0x10008b68 in Perl_pp_entersub ()
#1  0x100a840c in Perl_runops_standard ()
#2  0x1005bf48 in S_call_body ()
#3  0x1005bc04 in Perl_call_sv ()
#4  0x1005fbb0 in S_call_list_body ()
#5  0x1005f778 in Perl_call_list ()
#6  0x10043c74 in Perl_newATTRSUB ()
#7  0x1003f470 in Perl_utilize ()
#8  0x100996f0 in Perl_yyparse ()
#9  0x1005ab28 in S_parse_body ()
#10 0x10059b7c in perl_parse ()
#11 0x100002b4 in main ()
#12 0x100001a0 in __start ()
(gdb) quit
aix2% file perl
perl:           executable (RISC System/6000) or object module not stripped

A good number of "make test" tests also fail.

When running Configure I accept all default values.  I compiled with GCC 3.3, 
but also have tried GCC 2.95.1.  I've tried this numerous times all with the 
same result.

The system is freshly installed with default options.  It has the AIX updates applied.

If I boot the system off of its AIX 4.3 OS disk and configure/build/install perl, I have
no problems.

Anybody have any clues on this?

Thanks in advance.

     mike



[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=high
---
This perlbug was built using Perl v5.8.0 - Tue Jun 24 15:06:17 PDT 2003
It is being executed now by  Perl v5.8.0 - Mon Jul 22 10:24:32 PDT 2002.

Site configuration information for perl v5.8.0:

Configured by library at Mon Jul 22 10:24:32 PDT 2002.

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=aix, osvers=4.2.0.0, archname=aix
    uname='aix pdslib42 2 4 000042024900 '
    config_args='-de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef 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='cc', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -I/usr/local/include',
    optimize='-O',
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -I/usr/local/include'
    ccversion='3.1.4.0', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lnsl -lgdbm -ldbm -ldb -ldl -lld -lm -lc -lbsd -lPW
    perllibs=-lnsl -ldl -lld -lm -lc -lbsd -lPW
    libc=, so=a, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -bE:/usr/local/lib/perl5/5.8.0/aix/CORE/perl.exp'
    cccdlflags=' ', lddlflags=' -bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lc -L/usr/local/lib'

Locally applied patches:
    

---
@INC for perl v5.8.0:
    /usr/local/lib/perl5/5.8.0/aix
    /usr/local/lib/perl5/5.8.0
    /usr/local/lib/perl5/site_perl/5.8.0/aix
    /usr/local/lib/perl5/site_perl/5.8.0
    /usr/local/lib/perl5/site_perl
    .

---
Environment for perl v5.8.0:
    HOME=/home/mcooper
    LANG=en_US
    LANGUAGE (unset)
    LC__FASTMSG=true
    LD_LIBRARY_PATH=/usr/lib:/usr/lib::/usr/local/lib:/usr/dt/lib::/usr/local/lib:/usr/dt/lib
    LIBPATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/gcc/default/bin:/tools/bin:/usr/local/bin:/usr/dt/bin:/usr/ucb:/bin:/usr/bin:/usr/ccs/bin:/home/mcooper/bin:/usr/sbin:/sbin
    PERL_BADLANG (unset)
    SHELL=/tools/bin/tcsh




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About