develooper Front page | perl.perl5.porters | Postings from March 2000

[ID 20000330.040] segmentation fault in 5.6.0 with user supplieddie handler

March 30, 2000 11:57
[ID 20000330.040] segmentation fault in 5.6.0 with user supplieddie handler
Message ID:
This is a bug report for perl from,
generated with the help of perlbug 1.28 running under perl v5.6.0.

[Please enter your report here]

If you use CGI::Carp (2.61), which redefines how error messages
are handled, and then try to use a nonexistant package, perl 5.6.0
gets a segmentation fault while trying to complain.

% perl -e 'use CGI::Carp; use NO::SUCH::THING;'
Segmentation Fault

% dbx ...
signal SEGV (no mapping at the fault address) in Perl_sv_setsv at 0xcc3ac
0x000cc3ac: Perl_sv_setsv+0x186c:       ld      [%o0 + 0x8], %g2
(dbx) where
=>[1] Perl_sv_setsv(0x4840004, 0x17e130, 0x1a82d4, 0x5, 0xff, 0x4), at 0xcc3ac
  [2] Perl_pp_sassign(0x165000, 0x165000, 0x199a3c, 0x199a38, 0x17e130, 0x1a82d4), at 0xb98ec
  [3] Perl_runops_standard(0x1650a8, 0x0, 0x165000, 0x0, 0x0, 0xffbef465), at 0xb92a4
  [4] perl_call_sv(0x165000, 0x164800, 0x165000, 0x165000, 0x165000, 0x0), at 0x2b3c8
  [5] Perl_vcroak(0x165000, 0x164c00, 0x165000, 0x165000, 0x164c00, 0x165000), at 0xa8588
  [6] Perl_croak(0x1408a4, 0x19c218, 0x20980000, 0x1000, 0x7000000, 0x6d), at 0xa8778
  [7] Perl_call_list(0x166130, 0x173c68, 0x173cf8, 0x173c68, 0x0, 0x4), at 0x2eb74
  [8] Perl_newATTRSUB(0x165000, 0x1, 0x16cd90, 0x16cd90, 0x173c38, 0x173cf8), at 0x7dea4
  [9] Perl_utilize(0x195170, 0x0, 0x189720, 0x0, 0x18a4c0, 0x188340), at 0x69d44
  [10] Perl_yyparse(0x165360, 0x4, 0x1653b8, 0x4b0, 0x258, 0x174008), at 0x4fa28
  [11] S_parse_body(0x160000, 0x164c00, 0x165000, 0x0, 0x166070, 0x1), at 0x2a5e8
  [12] perl_parse(0x0, 0x275cc, 0x2, 0xffbef9dc, 0x0, 0x2), at 0x296e8
  [13] main(0x2, 0x164448, 0xffbef9dc, 0x158c00, 0x0, 0x0), at 0x27578

[Please do not change anything below this line]
Site configuration information for perl v5.6.0:

Configured by schwartz at Mon Mar 27 14:51:24 EST 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos galapagos 5.6 generic_105181-17 sun4u sparc sunw,ultra-30 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
    cc='cc', optimize='-fast', gccversion=
    cppflags='-I/usr/local/include -I/opt/local/include'
    ccflags ='-I/usr/local/include -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib -L/opt/local/lib -L/opt/SUNWspro/SC5.0/lib '
    libpth=/usr/local/lib /opt/local/lib /opt/SUNWspro/SC5.0/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt -lsec
    libc=/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-KPIC', lddlflags='-G -L/usr/local/lib -L/opt/local/lib -L/opt/SUNWspro/SC5.0/lib'

Locally applied patches:

@INC for perl v5.6.0:

Environment for perl v5.6.0:
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)
    SHELL=/usr/local/bin/bash Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About