pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/55012: x11/tk: wish/tk apps segfault on startup when no fonts are installed
>Number: 55012
>Category: pkg
>Synopsis: x11/tk: wish/tk apps segfault on startup when no fonts are installed
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 24 18:25:00 +0000 2020
>Originator: Dean Matzkov
>Release: 2019-Q4
>Organization:
>Environment:
Windows Subsystem for Linux, Ubuntu 18.04, using Xming as X11 Server
>Description:
Tk apps such as devel/git-gitk crash when no fonts are installed on the system, as such:
----SNIP----
Program received signal SIGSEGV, Segmentation fault.
0x00007ffffef79cfe in GetTkFontAttributes.isra.0 () from /opt/pkg/lib/libtk86.so
(gdb) bt
#0 0x00007ffffef79cfe in GetTkFontAttributes.isra.0 () from /opt/pkg/lib/libtk86.so
#1 0x00007ffffef7a618 in InitFont () from /opt/pkg/lib/libtk86.so
#2 0x00007ffffef7a8a9 in TkpGetFontFromAttributes () from /opt/pkg/lib/libtk86.so
#3 0x00007ffffeebd2f7 in Tk_AllocFontFromObj () from /opt/pkg/lib/libtk86.so
#4 0x00007ffffef52f17 in Ttk_UseFont () from /opt/pkg/lib/libtk86.so
#5 0x00007ffffef6a20f in InitializeElementRecord () from /opt/pkg/lib/libtk86.so
#6 0x00007ffffef6c168 in Ttk_ElementSize () from /opt/pkg/lib/libtk86.so
#7 0x00007ffffef5f5b1 in Ttk_NodeListSize.part.0 () from /opt/pkg/lib/libtk86.so
#8 0x00007ffffef5f5d7 in Ttk_NodeListSize.part.0 () from /opt/pkg/lib/libtk86.so
#9 0x00007ffffef5f5d7 in Ttk_NodeListSize.part.0 () from /opt/pkg/lib/libtk86.so
#10 0x00007ffffef5f5d7 in Ttk_NodeListSize.part.0 () from /opt/pkg/lib/libtk86.so
#11 0x00007ffffef616a9 in Ttk_LayoutSize () from /opt/pkg/lib/libtk86.so
#12 0x00007ffffef73de9 in TtkWidgetSize () from /opt/pkg/lib/libtk86.so
#13 0x00007ffffef73ae0 in TtkWidgetConstructorObjCmd () from /opt/pkg/lib/libtk86.so
#14 0x00007ffffeacaf98 in TclNRRunCallbacks () from /opt/pkg/lib/libtcl86.so
#15 0x00007ffffeacd0eb in TclEvalEx () from /opt/pkg/lib/libtcl86.so
#16 0x00007ffffebae5e1 in TclSubstTokens () from /opt/pkg/lib/libtcl86.so
#17 0x00007ffffeacced6 in TclEvalEx () from /opt/pkg/lib/libtcl86.so
#18 0x00007ffffeb98f68 in Tcl_FSEvalFileEx () from /opt/pkg/lib/libtcl86.so
#19 0x00007ffffeec7e6a in Tk_MainEx () from /opt/pkg/lib/libtk86.so
#20 0x000000000800098f in main ()
----/SNIP----
>How-To-Repeat:
echo 'grid [ttk::button .mybutton -text "Hello"]' > test.tcl
wish test.tcl # segfaults
pkgin install dejavu-ttf
wish test.tcl # works correctly now
>Fix:
Sounds like an upstream problem more than a pkgsrc issue, but as usual, I thought I'd report regardless.
Home |
Main Index |
Thread Index |
Old Index