Re: [dev] [st] bug?

From: Danh Doan <congdanhqx_AT_gmail.com>
Date: Sun, 21 Apr 2019 06:32:45 +0000

On April 21, 2019 5:29:54 AM UTC, Dennis Yurichev <dennis_AT_yurichev.com> wrote:
>Dear suckless users,
>
>I probably hit a bug in st, or maybe not.
>I run st, then do ssh to a remote host, there is a mutt inside of tmux.
>And sometimes st silently exits.
>Under gdb, I can see this:
>
>==
>Starting program: /usr/local/bin/st
>[Thread debugging using libthread_db enabled]
>Using host libthread_db library
>"/lib/x86_64-linux-gnu/libthread_db.so.1".
>[Detaching after fork from child process 14592]
>erresc: unknown csi ESC[22;0;0t
>erresc: unknown private set/reset mode 1005
>erresc: unknown str ESC]112ESC\
>X Error of failed request: BadLength (poly request too large or
>internal Xlib length error)
> Major opcode of failed request: 139 (RENDER)
> Minor opcode of failed request: 20 (RenderAddGlyphs)

Lemme guess, the email opened by Mutt has a color emoji.

And you have a colored emoji font installed.

st uses xft font and xft is known to crash with color emoji.

> Serial number of failed request: 2241
> Current serial number in output stream: 2509
>[Inferior 1 (process 14588) exited with code 01]
>==
>
>What do you think?
>st 0.8.2. 0.8.1 and even 0.6 behaves like that.


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Received on Sun Apr 21 2019 - 08:32:45 CEST

This archive was generated by hypermail 2.3.0 : Sun Apr 21 2019 - 11:24:07 CEST