Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38700 - rc-scripts: Failed to set user font
Summary: rc-scripts: Failed to set user font
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-19 04:57 UTC by Carsten Lohrke (RETIRED)
Modified: 2004-02-01 10:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2004-01-19 04:57:03 UTC
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)
Comment 1 SpanKY gentoo-dev 2004-01-19 05:17:30 UTC
could you provide `emerge info` and a gdb backtrace ?

and what version of kbd ?
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2004-01-19 05:55:07 UTC
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"
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2004-01-19 10:37:40 UTC
Can you please try kbd-1.08-r4?
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2004-01-19 15:25:43 UTC
same problem with kbd-1.08-r4
Comment 5 SpanKY gentoo-dev 2004-01-19 15:38:21 UTC
i meant run the consolechars prog yourself

and when it segfaults, type 'bt' and give us the output
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2004-01-20 03:56:37 UTC
(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)
Comment 7 SpanKY gentoo-dev 2004-01-20 06:09:06 UTC
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
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2004-01-20 06:47:49 UTC
>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.
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2004-01-20 06:49:38 UTC
I'm not the only one with this problem btw.
http://forums.gentoo.org/viewtopic.php?t=126092
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2004-01-20 08:02:36 UTC
unmerged the old glibc, problem persists
Comment 11 SpanKY gentoo-dev 2004-01-20 08:36:10 UTC
`emerge -C console-tools console-data`

those packages are deprecated

then re-emerge baselayout and see if you still have problems
Comment 12 Carsten Lohrke (RETIRED) gentoo-dev 2004-01-20 10:00:58 UTC
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.
Comment 13 Donovan Long 2004-02-01 10:53:34 UTC
1. emerge -C console-tools console-data`
2. re-emerge baselayout 

That solved the error on a PC here, too.