# ./bdc --files --nohed /var/tmp/portage/ BDC/Linux-Console v7.0 (build 2490) (i386) (Dec 10 2003 16:11:35) Copyright (C) 1996-2003 SOFTWIN SRL. All rights reserved. Segmentation fault # Here's the backtrace: (gdb) run --files --nohed /var/tmp/portage/ Starting program: /opt/bdc/bdc --files --nohed /var/tmp/portage/ (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) BDC/Linux-Console v7.0 (build 2490) (i386) (Dec 10 2003 16:11:35) Copyright (C) 1996-2003 SOFTWIN SRL. All rights reserved. (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) Program received signal SIGSEGV, Segmentation fault. 0x55577091 in CoreSet () from /opt/bdc/bdcore.so (gdb) bt #0 0x55577091 in CoreSet () from /opt/bdc/bdcore.so #1 0x0804bf76 in ?? () #2 0x0805a2a0 in ?? () #3 0x00000021 in ?? () #4 0x00000000 in ?? () #5 0x0804b9fd in ?? () #6 0x00000000 in ?? () #7 0x080582b0 in ?? () #8 0x08054928 in _IO_stdin_used () #9 0x00000000 in ?? () #10 0x00000000 in ?? () #11 0x00000000 in ?? () . . . #3092 0x00000000 in ?? () #3093 0x00000000 in ?? () #3094 0x00000000 in ?? () #3095 0x00000000 in ?? () #3096 0xffffd595 in ?? () #3097 0x555a22a1 in __guard_setup () from /lib32/tls/libc.so.6 #3098 0x555a1f31 in __libc_start_main () from /lib32/tls/libc.so.6 #3099 0x08049211 in ?? () (gdb) Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo x86_64) ================================================================= System uname: 2.6.13-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -ggdb3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -ggdb3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks multilib-strict nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http:://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib adns alsa avi berkdb bitmap-fonts cdr crypt cups curl debug eds encode esd fam foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 jpeg junit ldap libwww lzw lzw-tiff mad motif mozilla mp3 mpeg ncurses nls nptl ogg opengl pam pdflib perl png postgres python qt quicktime readline sdl slang snmp spell sqlite ssl tcltk tcpd tetex tiff truetype-fonts type1-fonts usb userlocales vorbis xine xml xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Hm, I can confirm this also on x86 arch. I will report this upstream.
Upstream vendor confirmed this as a known bug, which is fixed in a new version, hopefully released sometimes soon. Meanwhile, the proposed workaround is to avoid using --nohed. I will leave this marked as UPSTREAM, so it won't get forgotten. Thanks for reporting, Mike.