[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#917034: xterm crashes on certain Unicode characters when font was selected with -fa



On Tue, Jan 01, 2019 at 06:59:59PM -0500, Thomas Dickey wrote:
> On Tue, Jan 01, 2019 at 12:28:38PM -0500, Thomas Dickey wrote:
> > On Mon, Dec 31, 2018 at 02:32:58PM -0500, Thomas Dickey wrote:
> > > On Mon, Dec 31, 2018 at 06:11:23PM +0100, Alexander Meyer wrote:
> > > > * Thomas Dickey <dickey@his.com> [2018-12-31 00:51]:
> > > > 
> > > > > On Sun, Dec 30, 2018 at 06:26:44PM +0100, Alexander Meyer wrote:
> > > > > ...
> > > > >> This is the behaviour I get across xterm versions:
> > > > >> (everything with libfontconfig1 2.13.1-2)
> > > > >> 
> > > > >> fonts.conf enabled:
> > > > >> 337: works
> > > > >> 338: segfault
> > > > >> 340: segfault
> > > > >> 341: segfault
> > > > > 
> > > > > Can you make a backtrace for #341, please?
> > > > 
> > > > Here it is:
> > > 
> > > thanks.  I added some notes, but have not been able to reproduce the problem.
> > 
> > Looking at this again, I saw (using XFT_DEBUG=3 and the -report-fonts option)
> > that the fallback was using unifont.  Removing that got it to break (I'll
> > see whether the bug lies in Xft or fontconfig, at least).
... 
> (The bug should be reassigned to the libfontconfig1 package).

fwiw, attaching a screenshot showing xterm working as designed for this
configuration, and the scripts used for running the test.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: screenshot.png
Description: PNG image

#!/bin/sh
make||exit
rm -vf *core*
export LD_LIBRARY_PATH=/usr/build/xterm/fontconfig-2.13.1/src/.libs
# libfontconfig.so.1.12.0
ldd xterm
FC_DEBUG=8191
XFT_DEBUG=3 ./xterm -xrm '*showMissingGlyphs:true' -report-fonts -fa 'Noto Mono'
#!/bin/bash
tput bold
printf '\U1f384!'
tput smul
printf '\U1f384!'
tput sgr0
printf '\U1f384!'
echo done

/usr/bin/printf "\U0001F384\tU+1F384 CHRISTMAS TREE\n"
/usr/bin/printf "\U0001F385\tU+1F385 FATHER CHRISTMAS\n"
/usr/bin/printf "\U0001F3E1\tU+1F3E1 HOUSE WITH GARDEN\n"
/usr/bin/printf "\U0001F644\tU+1F644 FACE WITH ROLLING EYES\n"
/usr/bin/printf "\U0001F601\tU+1F601 GRINNING FACE WITH SMILING EYES\n"
/usr/bin/printf "\U0001F604\tU+1F604 SMILING FACE WITH OPEN MOUTH AND SMILING EYES\n"

Attachment: signature.asc
Description: Digital signature


Reply to: