Subject: pkgsrc-2005Q3 bootstrap tar segfaults on Solaris
To: None <tech-pkg@netbsd.org>
From: None <segv@netctl.net>
List: tech-pkg
Date: 11/05/2005 03:16:51
I used Sun Studio 10 compiler on sparc to compile pkgsrc bootstrap utilities. For some reason 'tar' dumps a core. Has anyone seen this before?

bash-3.00# dbx `which tar` ./core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.4' in your .dbxrc
Reading tar
core file header read successfully
Reading ld.so.1
Reading libc.so.1
Reading libc_psr.so.1
program terminated by signal SEGV (no mapping at the fault address)
Current function is vis
  335           MAKEEXTRALIST(flag, extra, "");
dbx: core file read error: address 0xffc10920 not in data space
(dbx) where
=>[1] vis(dst = 0xffbff32b "", c = 111, flag = 2, nextc = 112), line 335 in "vis.c"
  [2] safe_print(str = 0x6b344 "opt/pkg-2005Q3-sunpro", fp = 0x6b210), line 228 in "gen_subs.c"
  [3] wr_archive(arcn = 0x6b340, is_app = 0), line 542 in "ar_subs.c"
  [4] archive(), line 783 in "ar_subs.c"
  [5] main(argc = 4, argv = 0xffbff4f4), line 328 in "pax.c"
(dbx)