Segfault for every single tty. Experiencing this, since last binutils & glibc update. Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r9, 2.4.22-gentoo-r5)
could you provide `emerge info` and a gdb backtrace ? and what version of kbd ?
A backtrace form a start script? gdb `./consolefont start` results in >Excess command line arguments ignored. (user ...) kbd-1.06-r1 * Setting user font... /sbin/runscript.sh: line 526: 24711 Segmentation fault /usr/bin/consolechars -f ${CONSOLEFONT} ${param} --tty=/dev/vc/${x} >&/dev/null <...> /sbin/runscript.sh: line 526: 23537 Segmentation fault /usr/bin/consolechars -f ${CONSOLEFONT} ${param} --tty=/dev/vc/${x} >&/dev/null * Failed to set user font Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r9, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.3.10p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -fmove-all-movables -mfpmath=sse,387" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -fmove-all-movables -mfpmath=sse,387" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages keeptemp keepwork noclean sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.berlios.de/pub/gentoo-deutsch http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X X509 Xaw3d aalib acl acpi acpi4linux alsa apache1 apm arts artswrappersuid auctex avi berkdb bonobo cdr chroot clisp cmucl crypt cscope cups curl dga directfb dnd doc dvb dvd dvdr emacs encode ext-png ext-zlib faad fbcon firebird flac foomaticdb gcl gd gdbm ggi gif glut gphoto2 gpm gstreamer gtk gtk2 hbci idl imagemagick imap imlib innodb jack jack-caps jack-tmpfs java javascript jdepend jikes jpeg junit jython kde ladcca lcms ldap libg++ libwww lirc log4j ltsp mad maildir matroska mbox md5sum mikmod mmx mng motif mozilla moznocompose moznoirc moznomail mozsvg mpeg mupad-noscilab mysql nas ncurses nls oav oggvorbis openal opengl oss pam pcap pdflib perl pg-hier php physfs plotutils png pnp postgres ppds python qt quicktime readline regexp ruby samba sasl scanner sdl skey slang slp snmp speex spell sse ssl svga tcltk tcpd tetex tiff transcode truetype unicode usb vim-with-x wmf x86 xalan xerces xml xml2 xmms xv xvid zeo zlib"
Can you please try kbd-1.08-r4?
same problem with kbd-1.08-r4
i meant run the consolechars prog yourself and when it segfaults, type 'bt' and give us the output
(gdb) run Starting program: /usr/bin/consolechars -f iso09.f16.psf (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. 0x400c8547 in _int_free () from /lib/libc.so.6 (gdb) bt #0 0x400c8547 in _int_free () from /lib/libc.so.6 #1 0x400c73ca in free () from /lib/libc.so.6 #2 0x400b5d95 in fclose@@GLIBC_2.1 () from /lib/libc.so.6 (gdb)
what does `qpkg -f /usr/bin/consolechars` show ? i dont seem to have this on my machine ... also, whats with your dual glibc ? seems like dualing 2.2.x and 2.3.x is going to screw up your stuff
>what does `qpkg -f /usr/bin/consolechars` show ? >i dont seem to have this on my machine ... consolechars is part of sys-apps/console-tools >also, whats with your dual glibc ? >seems like dualing 2.2.x and 2.3.x is going to screw up your stuff Don't know exactly. It's old cruft more or less. I'll unmerge the old ebuild, but I can't see why this should change anything, because there was no problem with previous 2.3.x versions and I didn't merged glibc-2.2.x again.
I'm not the only one with this problem btw. http://forums.gentoo.org/viewtopic.php?t=126092
unmerged the old glibc, problem persists
`emerge -C console-tools console-data` those packages are deprecated then re-emerge baselayout and see if you still have problems
Oh, I wonder why these deprecated ebuilds were not removed by portage. Big thx for tracking this down! Had to reboot, but everything seems to be fine now.
1. emerge -C console-tools console-data` 2. re-emerge baselayout That solved the error on a PC here, too.