perl -d memory fault and core dump.

Discussion in 'Perl Misc' started by LHradowy, Nov 20, 2006.

  1. LHradowy

    LHradowy Guest

    I just installed:
    perl 5.8.7 + defined-or + DBI 1.48 + Tk 804.027 built with gcc-4.0.0
    From:
    http://mirrors.develooper.com/hpux/downloads.html

    I have an HP 11.00 PA_RISC System.

    Looks like everything is running good, but when I try to get into the
    debug mode, I get a memory fault and core dump.
    user@medusa$ perl -de0
    Memory fault(coredump)

    My path is correct and point to the correct perl.
    user@medusa$ which perl
    /usr/bin/perl

    /opt/perl64/bin>
    acadmin@medusa$ ll /usr/bin/perl
    lrwxr-xr-x 1 root sys 20 Nov 20 11:56 /usr/bin/perl
    -> /opt/perl64/bin/perl


    user@medusa$ perl -V
    Summary of my perl5 (revision 5 version 8 subversion 8 patch 27029)
    configuration:
    Platform:
    osname=hpux, osvers=11.00, archname=PA-RISC2.0-LP64
    uname='hp-ux a5 b.11.00 u 9000800 871940681 unlimited-user license
    '
    config_args='-Dusedevel -Dcc=gcc64 -Duse64bitall -des'
    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=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    Compiler:
    cc='gcc64', ccflags ='-mpa-risc-2-0 -DPERL_DONT_CREATE_GVSV
    -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
    -Wdeclaration-after-statement -I/usr/local/pa20_64/include
    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-g -O',
    cppflags='-mpa-risc-2-0 -DPERL_DONT_CREATE_GVSV -D_HPUX_SOURCE
    -mpa-risc-2-0 -DPERL_DONT_CREATE_GVSV -D_HPUX_SOURCE -DDEBUGGING
    -fno-strict-aliasing -pipe -Wdeclaration-after-statement
    -I/usr/local/pa20_64/include'
    ccversion='', gccversion='4.0.2', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
    lseeksize=8
    alignbytes=8, prototype=define
    Linker and Libraries:
    ld='/usr/bin/ld', ldflags =' -L/usr/local/pa20_64/lib
    -L/lib/pa20_64'
    libpth=/usr/local/pa20_64/lib /lib/pa20_64 /lib /usr/lib
    /usr/ccs/lib /usr/local/lib
    libs=-lcl -lpthread -lnsl -lnm -lgdbm -ldb -ldl -ldld -lm -lsec -lc
    perllibs=-lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc
    libc=/lib/pa20_64/libc.sl, so=sl, useshrplib=false,
    libperl=libperl.a
    gnulibc_version=''
    Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E '
    cccdlflags='-fPIC', lddlflags='-b -L/usr/local/pa20_64/lib
    -L/lib/pa20_64'


    Characteristics of this binary (from libperl):
    Compile-time options: DEBUGGING PERL_DONT_CREATE_GVSV
    PERL_MALLOC_WRAP
    USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES
    USE_PERLIO
    Locally applied patches:
    defined-or
    Built under hpux
    Compiled at Feb 1 2006 12:58:01
    @INC:
    /opt/perl64/lib/5.8.8/PA-RISC2.0-LP64
    /opt/perl64/lib/5.8.8
    /opt/perl64/lib/site_perl/5.8.8/PA-RISC2.0-LP64
    /opt/perl64/lib/site_perl/5.8.8
    /opt/perl64/lib/site_perl
     
    LHradowy, Nov 20, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. halfdog
    Replies:
    12
    Views:
    12,456
  2. Replies:
    8
    Views:
    407
    Keith Thompson
    Jan 10, 2006
  3. Willy Wijaya

    Help me about segmentation fault (core dump)

    Willy Wijaya, Jan 19, 2008, in forum: C Programming
    Replies:
    4
    Views:
    661
    EventHelix.com
    Jan 24, 2008
  4. Replies:
    5
    Views:
    1,263
    Terry Reedy
    Jul 18, 2008
  5. jaswinder
    Replies:
    15
    Views:
    4,057
    Barry Schwarz
    Aug 14, 2010
Loading...

Share This Page