Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.5.640 IRIX build fails #1137

Closed
p5pRT opened this issue Feb 4, 2000 · 2 comments
Closed

5.5.640 IRIX build fails #1137

p5pRT opened this issue Feb 4, 2000 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 4, 2000

Migrated from rt.perl.org#2097 (status was 'resolved')

Searchable as RT2097$

@p5pRT
Copy link
Author

p5pRT commented Feb 4, 2000

From jarausch@numa1.igpm.rwth-aachen.de

Created by jarausch@igpm.rwth-aachen.de

Build stock perl 5.5.640 on IRIX 6.5.6 ( MIPSpro 7.3 plus patchSG0003709 )

CFLAGS='-O3 -g3'

miniperl dies of a segment fault when build Dynaloader (pm_to_blib)
(stack trace below)

The situation is really strange ( it smells like a memory corruption
problem)

- It does build with -DDEBUGGING
- It does build when doing the failing
 
  ../../miniperl "-I../../lib" "-I../../lib" \
  > "-I../../lib" "-I../../lib" -MExtUtils​::Install \
  > -e "pm_to_blib({qw{XSLoader.pm ../../lib/XSLoader.pm DynaLoader.pm ../../lib/DynaLoader.pm}},'../../lib/auto')"
  touch pm_to_blib
 
  by hand and continuing 'make' afterwards

Here is a post mortem backtrace

gmake[1]​: Entering directory `/USR/people/jarausch/Perl/Source/perl5.5.640/ext/DynaLoader'
../../miniperl -I../../lib -I../../lib -I../../lib -I../../lib DynaLoader_pm.PL DynaLoader.pm
gmake[1]​: *** [pm_to_blib] Segmentation fault (core dumped)

% dbx ../../miniperl core
dbx version 7.3 MR 55458_Apr30_MR Apr 30 1999 13​:44​:41
Core from signal SIGSEGV​: Segmentation violation
(dbx) where

0 S_my_kid(o = 0x100320fc, attrs = 0x10153230) ["/USR/people/jarausch/Perl/Source/perl5.5.640/op.c"​:1875, 0x1000928c]
  1 S_my_kid(o = (nil), attrs = 0x10153230) ["/USR/people/jarausch/Perl/Source/perl5.5.640/op.c"​:1876, 0x1000940c]
  2 Perl_my(o = 0x10009fbc) ["/USR/people/jarausch/Perl/Source/perl5.5.640/op.c"​:1932, 0x10009500]
  3 Perl_localize(o = 0x5fffdd30, lex = 1610618504) ["/USR/people/jarausch/Perl/Source/perl5.5.640/op.c"​:2143, 0x10009fb4]
  4 Perl_yyparse() ["/USR/people/jarausch/Perl/Source/perl5.5.640/perly.y"​:658, 0x5ff37524]
  5 S_doeval(gimme = 1610592908, startop = 0x5fffde4c) ["/USR/people/jarausch/Perl/Source/perl5.5.640/pp_ctl.c"​:2718, 0x5ffa5478]
  6 Perl_pp_require() ["/USR/people/jarausch/Perl/Source/perl5.5.640/pp_ctl.c"​:3144, 0x5ffa6680]
  7 Perl_runops_standard() ["/USR/people/jarausch/Perl/Source/perl5.5.640/run.c"​:25, 0x5ff6c7e8]
  8 S_call_xbody(myop = 0x5ff148d4, is_eval = 0) ["/USR/people/jarausch/Perl/Source/perl5.5.640/perl.c"​:1631, 0x5ff14924]
  9 S_call_body(args = 0x5ff9846c = "\337\244") ["/USR/people/jarausch/Perl/Source/perl5.5.640/perl.c"​:1615, 0x5ff148cc]
  10 Perl_vdefault_protect(pcur_env = 0x7fff211c, excpt = 0x7fff1ce0, body = 0x60001688, args = 0x5ff14894) ["/USR/people/jarausch/Perl/Source/perl5.5.640/scope.c"​:45, 0x5ff98464]
  11 Perl_default_protect(pcur_env = 0x1, excpt = (nil), body = 0x5ff14894, ... = <void>) ["/USR/people/jarausch/Perl/Source/perl5.5.640/scope.c"​:26, 0x5ff98380]
  12 Perl_call_sv(sv = (nil), flags = 0) ["/USR/people/jarausch/Perl/Source/perl5.5.640/perl.c"​:1549, 0x5ff144b0]
  13 S_call_list_body(args = 0x60001688) ["/USR/people/jarausch/Perl/Source/perl5.5.640/perl.c"​:3381, 0x5ff187fc]
  14 Perl_vdefault_protect(pcur_env = 0x7fff2698, excpt = 0x7fff2280, body = 0x60001688, args = 0x5ff18778) ["/USR/people/jarausch/Perl/Source/perl5.5.640/scope.c"​:45, 0x5ff98464]
  15 Perl_default_protect(pcur_env = (nil), excpt = (nil), body = 0x5ff18778, ... = <void>) ["/USR/people/jarausch/Perl/Source/perl5.5.640/scope.c"​:26, 0x5ff98380]
  16 Perl_call_list(oldscope = 0, paramList = (nil)) ["/USR/people/jarausch/Perl/Source/perl5.5.640/perl.c"​:3317, 0x5ff1835c]
  17 Perl_newATTRSUB(floor = 268488224, o = 0x1003e080, proto = 0x4e, attrs = 0x100320fc, block = 0x1003e0b0) ["/USR/people/jarausch/Perl/Source/perl5.5.640/op.c"​:4570
More (n if no)?y
, 0x10011554]
  18 Perl_utilize(aver = 1, floor = 1610555536, version = 0x1003f02c, id = 0x100073e8, arg = 0x5fffdd30) ["/USR/people/jarausch/Perl/Source/perl5.5.640/op.c"​:3166, 0x1000ce54]
  19 Perl_yyparse() ["/USR/people/jarausch/Perl/Source/perl5.5.640/perly.y"​:377, 0x5ff385f4]
  20 S_parse_body(args = (nil)) ["/USR/people/jarausch/Perl/Source/perl5.5.640/perl.c"​:1154, 0x5ff12de8]
  21 Perl_vdefault_protect(pcur_env = 0x7fff2ea8, excpt = 0x7fff2a90, body = 0x60001688, args = 0x5ff129e0) ["/USR/people/jarausch/Perl/Source/perl5.5.640/scope.c"​:45, 0x5ff98464]
  22 Perl_default_protect(pcur_env = (nil), excpt = (nil), body = 0x5ff129e0, ... = <void>) ["/USR/people/jarausch/Perl/Source/perl5.5.640/scope.c"​:26, 0x5ff98380]
  23 perl_parse(my_perl = (nil), xsinit = (nil), argc = 0, argv = (nil), env = 0x26360) ["/USR/people/jarausch/Perl/Source/perl5.5.640/perl.c"​:782, 0x5ff128a8]
  24 main(argc = 2147430164, argv = 0x8, env = 0x10005210) ["/USR/people/jarausch/Perl/Source/perl5.5.640/miniperlmain.c"​:51, 0x10005280]
  25 __start() ["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s"​:177, 0x10005208]
(dbx)

NOTE, that the version information below comes from the successful build
with -DDEBUGGING.
The failing build process didn't have this option.

Perl Info


Site configuration information for perl 5.00564:

Configured by jarausch at Thu Feb  3 11:56:42 CST 2000.

Summary of my perl5 (revision 5.0 version 5 subversion 640) configuration:
  Platform:
    osname=irix, osvers=6.5, archname=IP26-irix
    uname='irix64 numa1 6.5 10181059 ip26 '
    config_args='-Dcc=cc -Dprefix=/usr/LOCAL -DDEBUGGING -Dlocincpth=/usr/LOCAL/include -Dloclibpth=/usr/LOCAL/lib'
    hint=previous, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
    usesocks=undef useperlio=undef d_sfio=undef
    use64bits=undef uselargefiles=define usemultiplicity=undef
  Compiler:
    cc='cc', optimize='-g3 -O3 -mips4  -OPT:Olimit=0', gccversion=
    cppflags='-D_BSD_TYPES -D_BSD_TIME -DDEBUGGING -I/usr/LOCAL/include -DLANGUAGE_C'
    ccflags ='-D_BSD_TYPES -D_BSD_TIME -DDEBUGGING -I/usr/LOCAL/include -DLANGUAGE_C'
    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
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -Wl,-woff,84 -L/usr/LOCAL/lib'
    libpth=/usr/LOCAL/lib /usr/lib32 /lib32
    libs=-lgdbm -lm -lpthread -lc
    libc=/usr/lib32/libc.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-rpath,/usr/LOCAL/lib/perl5/5.5.640_D/IP26-irix/CORE'
    cccdlflags='-KPIC', lddlflags='-shared -L/usr/LOCAL/lib'

Locally applied patches:
    


@INC for perl 5.00564:
    /usr/LOCAL/lib/perl5/5.5.640_D/IP26-irix
    /usr/LOCAL/lib/perl5/5.5.640_D
    /usr/LOCAL/lib/perl5/site_perl/5.5.640_D/IP26-irix
    /usr/LOCAL/lib/perl5/site_perl/5.5.640_D
    .


Environment for perl 5.00564:
    HOME=/usr/people/jarausch
    LANG=C
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=.:/usr/people/jarausch/bin:/usr/PRIVATE/bin:/usr/LOCAL/bin:/usr/LOCAL/teTeX/bin:/usr/bin:/usr/java/bin:/usr/bsd:/bin:/usr/bin/X11:/usr/local/bin:/usr/local/bin/X11:/usr/sbin:/usr/demos/bin
    PERL_BADLANG (unset)
    SHELL=/bin/zsh


@p5pRT
Copy link
Author

p5pRT commented Feb 4, 2000

From @gsar

On Fri, 04 Feb 2000 10​:15​:21 +0100, Helmut Jarausch wrote​:

Build stock perl 5.5.640 on IRIX 6.5.6 ( MIPSpro 7.3 plus patchSG0003709 )

CFLAGS='-O3 -g3'

miniperl dies of a segment fault when build Dynaloader (pm_to_blib)
(stack trace below)

The situation is really strange ( it smells like a memory corruption
problem)

- It does build with -DDEBUGGING
- It does build when doing the failing

Are the results are unchanged with change#4970?

Sarathy
gsar@​ActiveState.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant