Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624506 - x11-misc/xvkbd-4.1 SIGSEGV on start after Warning: Unable to load any usable ISO8859 font (missing dependency on media-fonts/font-misc-misc?)
Summary: x11-misc/xvkbd-4.1 SIGSEGV on start after Warning: Unable to load any usable ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-10 21:52 UTC by Jaak Ristioja
Modified: 2021-12-19 19:46 UTC (History)
2 users (show)

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


Attachments
(gdb) thread apply all bt full (file_624506.txt,20.63 KB, text/plain)
2017-07-10 21:54 UTC, Jaak Ristioja
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2017-07-10 21:52:59 UTC
$ valgrind --leak-check=full --track-origins=yes --trace-children=yes xvkbd 
==5005== Memcheck, a memory error detector
==5005== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==5005== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==5005== Command: xvkbd
==5005== 
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Unable to load any usable ISO8859 font
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Missing charsets in String to FontSet conversion
==5005== Invalid read of size 8
==5005==    at 0x4E55310: GetnormalGC (Label.c:367)
==5005==    by 0x4E55A40: Initialize (Label.c:458)
==5005==    by 0x52D93BF: CallInitialize (Create.c:226)
==5005==    by 0x52D9383: CallInitialize (Create.c:221)
==5005==    by 0x52D9383: CallInitialize (Create.c:221)
==5005==    by 0x52D9E9F: xtCreate (Create.c:416)
==5005==    by 0x52DA349: _XtCreateWidget (Create.c:570)
==5005==    by 0x5311C1D: _XtVaCreateWidget (VarCreate.c:79)
==5005==    by 0x53120CE: XtVaCreateManagedWidget (VarCreate.c:134)
==5005==    by 0x119C36: MakeKey (xvkbd.c:2749)
==5005==    by 0x11A69A: MakeKeyboard (xvkbd.c:3010)
==5005==    by 0x11339D: main (xvkbd.c:3758)
==5005==  Address 0x8 is not stack'd, malloc'd or (recently) free'd

(gdb) bt
#0  0x00000364fcb5a310 in GetnormalGC (lw=lw@entry=0x393b140240) at /var/tmp/portage/x11-libs/libXaw3d-1.6.2/work/libXaw3d-1.6.2/src/Label.c:367
#1  0x00000364fcb5aa41 in Initialize (request=<optimized out>, new=0x393b140240, args=<optimized out>, num_args=<optimized out>) at /var/tmp/portage/x11-libs/libXaw3d-1.6.2/work/libXaw3d-1.6.2/src/Label.c:458
#2  0x00000364fc6d03c0 in CallInitialize (class=0x364fcd9d7e0 <labelClassRec>, req_widget=req_widget@entry=0x3d26135a3a0, new_widget=new_widget@entry=0x393b140240, args=args@entry=0x3d26135a280, num_args=1) at /var/tmp/portage/x11-libs/libXt-1.1.5/work/libXt-1.1.5/src/Create.c:226
#3  0x00000364fc6d0384 in CallInitialize (class=0x364fcd9cd80 <commandClassRec>, req_widget=req_widget@entry=0x3d26135a3a0, new_widget=new_widget@entry=0x393b140240, args=args@entry=0x3d26135a280, num_args=1) at /var/tmp/portage/x11-libs/libXt-1.1.5/work/libXt-1.1.5/src/Create.c:221
#4  0x00000364fc6d0384 in CallInitialize (class=0x364fcd9f4a0 <repeaterClassRec>, req_widget=req_widget@entry=0x3d26135a3a0, new_widget=new_widget@entry=0x393b140240, args=args@entry=0x3d26135a280, num_args=num_args@entry=1) at /var/tmp/portage/x11-libs/libXt-1.1.5/work/libXt-1.1.5/src/Create.c:221
#5  0x00000364fc6d0ea0 in xtCreate (name=name@entry=0x393b12d1d0 "F1", class=class@entry=0x0, widget_class=widget_class@entry=0x364fcd9f4a0 <repeaterClassRec>, parent=parent@entry=0x393b12f0e0, default_screen=0x393b10c1f0, args=0x3d26135a280, args@entry=0x0, num_args=1, typed_args=0x393b12f270, num_typed_args=1, parent_constraint_class=0x364fcd9d260 <formClassRec>, post_proc=0x364fc6d0420 <widgetPostProc>) at /var/tmp/portage/x11-libs/libXt-1.1.5/work/libXt-1.1.5/src/Create.c:416
#6  0x00000364fc6d134a in _XtCreateWidget (name=name@entry=0x393b12d1d0 "F1", widget_class=widget_class@entry=0x364fcd9f4a0 <repeaterClassRec>, parent=parent@entry=0x393b12f0e0, args=args@entry=0x0, num_args=num_args@entry=0, typed_args=0x393b12f270, num_typed_args=1) at /var/tmp/portage/x11-libs/libXt-1.1.5/work/libXt-1.1.5/src/Create.c:570
#7  0x00000364fc708c1e in _XtVaCreateWidget (name=name@entry=0x393b12d1d0 "F1", widget_class=widget_class@entry=0x364fcd9f4a0 <repeaterClassRec>, parent=parent@entry=0x393b12f0e0, var=var@entry=0x3d26135a840, count=<optimized out>) at /var/tmp/portage/x11-libs/libXt-1.1.5/work/libXt-1.1.5/src/VarCreate.c:79
#8  0x00000364fc7090cf in XtVaCreateManagedWidget (name=0x393b12d1d0 "F1", widget_class=0x364fcd9f4a0 <repeaterClassRec>, parent=0x393b12f0e0) at /var/tmp/portage/x11-libs/libXt-1.1.5/work/libXt-1.1.5/src/VarCreate.c:134
#9  0x0000003938effc37 in MakeKey (parent=<optimized out>, name=<optimized out>, label=0x393b133cc0 "F1", color=<optimized out>) at xvkbd.c:2749
#10 0x0000003938f0069b in MakeKeyboard (remake=<optimized out>) at xvkbd.c:3010
#11 0x0000003938ef939e in main (argc=1, argv=<optimized out>) at xvkbd.c:3758
Comment 1 Jaak Ristioja 2017-07-10 21:54:33 UTC
Created attachment 482950 [details]
(gdb) thread apply all bt full
Comment 2 EoD 2018-01-06 16:48:26 UTC
Still happening on Gentoo 17.0
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-07 11:44:37 UTC
(In reply to EoD from comment #2)
> Still happening on Gentoo 17.0

How would a profile change fix anything?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-07 12:10:28 UTC
Perhaps you should list the fonts you have installed.
Comment 5 Jaak Ristioja 2018-01-07 16:53:44 UTC
(In reply to Jeroen Roovers from comment #4)
> Perhaps you should list the fonts you have installed.

$ eix -cI media-fonts/*
[I] media-fonts/corefonts (1-r7@29.04.2015): Microsoft's TrueType core fonts
[I] media-fonts/culmus (0.120-r4@22.02.2014): Hebrew Type1 fonts
[I] media-fonts/dejavu (2.35@20.08.2016): DejaVu fonts, bitstream vera with ISO-8859-2 characters
[I] media-fonts/droid (113-r4@08.03.2015): Font family from Google's Android project
[I] media-fonts/encodings (1.0.4-r1@16.12.2017): X.Org font encodings
[I] media-fonts/font-adobe-100dpi (1.0.3-r1@16.12.2017): X.Org Adobe bitmap fonts
[I] media-fonts/font-adobe-75dpi (1.0.3-r1@16.12.2017): X.Org Adobe bitmap fonts
[I] media-fonts/font-adobe-utopia-100dpi (1.0.4-r1@16.12.2017): X.Org Adobe Utopia bitmap fonts
[I] media-fonts/font-adobe-utopia-75dpi (1.0.4-r1@16.12.2017): X.Org Adobe Utopia bitmap fonts
[I] media-fonts/font-adobe-utopia-type1 (1.0.4-r1@16.12.2017): X.Org Adobe Utopia Type 1 fonts
[I] media-fonts/font-alias (1.0.3-r1@04.12.2015): X.Org font aliases
[I] media-fonts/font-arabic-misc (1.0.3-r1@16.12.2017): X.Org arabic bitmap fonts
[I] media-fonts/font-bh-100dpi (1.0.3-r1@16.12.2017): X.Org Bigelow & Holmes bitmap fonts
[I] media-fonts/font-bh-75dpi (1.0.3-r1@16.12.2017): X.Org Bigelow & Holmes bitmap fonts
[I] media-fonts/font-bh-lucidatypewriter-100dpi (1.0.3-r1@16.12.2017): X.Org Bigelow & Holmes Lucida bitmap fonts
[I] media-fonts/font-bh-lucidatypewriter-75dpi (1.0.3-r1@16.12.2017): X.Org Bigelow & Holmes Lucida bitmap fonts
[U] media-fonts/font-bh-ttf (1.0.3@22.02.2014 -> 1.0.3-r1): X.Org Bigelow & Holmes TrueType fonts
[U] media-fonts/font-bh-type1 (1.0.3@22.02.2014 -> 1.0.3-r1): X.Org Bigelow & Holmes Type 1 fonts
[I] media-fonts/font-bitstream-100dpi (1.0.3-r1@16.12.2017): X.Org Bitstream bitmap fonts
[I] media-fonts/font-bitstream-75dpi (1.0.3-r1@16.12.2017): X.Org Bitstream bitmap fonts
[I] media-fonts/font-bitstream-speedo (1.0.2-r1@16.12.2017): Bitstream Speedo fonts
[I] media-fonts/font-bitstream-type1 (1.0.3-r1@16.12.2017): X.Org Bitstream Type 1 fonts
[I] media-fonts/font-cronyx-cyrillic (1.0.3-r1@16.12.2017): X.Org Cronyx cyrillic fonts
[I] media-fonts/font-cursor-misc (1.0.3-r1@16.12.2017): X.Org cursor font
[I] media-fonts/font-daewoo-misc (1.0.3-r1@16.12.2017): X.Org Daewoo fonts
[I] media-fonts/font-dec-misc (1.0.3-r1@16.12.2017): X.Org DEC fonts
[I] media-fonts/font-ibm-type1 (1.0.3-r1@16.12.2017): X.Org IBM Courier font
[I] media-fonts/font-isas-misc (1.0.3-r1@16.12.2017): X.Org the Institute of Software, Academia Sinica (chinese) fonts
[I] media-fonts/font-jis-misc (1.0.3-r1@16.12.2017): X.Org JIS (japanese) fonts
[I] media-fonts/font-micro-misc (1.0.3-r1@16.12.2017): X.Org micro-misc font
[I] media-fonts/font-misc-cyrillic (1.0.3-r1@16.12.2017): X.Org misc-cyrillic fonts
[I] media-fonts/font-misc-ethiopic (1.0.3-r1@16.12.2017): Miscellaneous Ethiopic fonts
[I] media-fonts/font-misc-meltho (1.0.3-r1@16.12.2017): X.Org Syriac fonts
[I] media-fonts/font-misc-misc (1.1.2-r1@16.12.2017): X.Org miscellaneous fonts
[I] media-fonts/font-mutt-misc (1.0.3-r1@16.12.2017): X.Org ClearlyU fonts
[I] media-fonts/font-schumacher-misc (1.1.2-r1@16.12.2017): X.Org Schumacher fonts
[I] media-fonts/font-screen-cyrillic (1.0.4-r1@16.12.2017): X.Org Screen cyrillic fonts
[I] media-fonts/font-sony-misc (1.0.3-r1@16.12.2017): X.Org Sony fonts
[I] media-fonts/font-sun-misc (1.0.3-r1@16.12.2017): X.Org Sun fonts
[I] media-fonts/font-util (1.3.1@08.06.2016): X.Org font utilities
[I] media-fonts/font-winitzki-cyrillic (1.0.3-r1@16.12.2017): X.Org Winitzki cyrillic font
[I] media-fonts/font-xfree86-type1 (1.0.4-r1@16.12.2017): X.Org XFree86 Type 1 font
[I] media-fonts/freefont (20120503@22.02.2014): OpenType and TrueType Unicode fonts from the Free UCS Outline Fonts Project
[I] media-fonts/freefonts (0.10-r3@22.02.2014): A Collection of Free Type1 Fonts
[I] media-fonts/hack (2.020@23.11.2016): A typeface designed for source code
[I] media-fonts/liberation-fonts (2.00.1-r1@08.03.2015): A Helvetica/Times/Courier replacement TrueType font set, courtesy of Red Hat
[I] media-fonts/libertine (5.3.0.20120702-r2@20.08.2016): Fonts from the Linux Libertine Open Fonts Project
[I] media-fonts/noto (20170403@21.09.2017): Google's font family that aims to support all the world's languages
[I] media-fonts/stix-fonts (1.1.1@10.12.2016): Comprehensive OpenType font set of mathematical symbols and alphabets
[I] media-fonts/terminus-font (4.40@21.07.2017): A clean fixed font for the console and X11
[I] media-fonts/tex-gyre (2.005@21.08.2016): Extensive remake of freely available URW fonts
[I] media-fonts/urw-fonts (2.4.9@22.02.2014): free good quality fonts gpl'd by URW++
Found 52 matches
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-07 19:59:53 UTC
(In reply to Jaak Ristioja from comment #5)
> (In reply to Jeroen Roovers from comment #4)
> > Perhaps you should list the fonts you have installed.
> 
> $ eix -cI media-fonts/*

ugh, eix output?

Do media-fonts/font-* have USE=X?
Comment 7 Jaak Ristioja 2018-01-07 21:48:19 UTC
(In reply to Jeroen Roovers from comment #6)
> ugh, eix output?

Sorry, I didn't exactly understand what you expected. If you know ways to list from the command line all fonts installed (in the system or under the user profile), I'd be happy if you pointed me to the right direction. 

> Do media-fonts/font-* have USE=X?

Yes - all installed media-fonts/font-* packages which have an "X" USE-flag, are installed with that USE-flag enabled.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-07 23:02:36 UTC
(In reply to Jaak Ristioja from comment #7)
> > Do media-fonts/font-* have USE=X?
> 
> Yes - all installed media-fonts/font-* packages which have an "X" USE-flag,
> are installed with that USE-flag enabled.

OK, I still cannot reproduce it so far.
Comment 9 Eduardo Bray 2021-08-21 16:52:12 UTC
Same problem here with x11-misc/xvkbd-4.1::gentoo
--------------------------------
$ xvkbd
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-lucida-bold-i-*-*-14-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-lucida-medium-r-*-*-14-*-*-*-*-*-iso8859-1" to type FontStruct
--------------------------------

Emerge font-misc-misc fix the issue for me.