Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

profanity crashes st when I press alt+right too many times. #36637

Closed
jgarte opened this issue Apr 11, 2022 · 6 comments
Closed

profanity crashes st when I press alt+right too many times. #36637

jgarte opened this issue Apr 11, 2022 · 6 comments

Comments

@jgarte
Copy link
Contributor

jgarte commented Apr 11, 2022

profanity xmpp client crashes st terminal when I press alt+right too many times.

How should I debug this?

@apprehensions
Copy link
Contributor

you look at st's stderr.

alt+right

i assume this resizes the st window.
in that case i am unable to reproduce. works for me.

@jgarte
Copy link
Contributor Author

jgarte commented Apr 11, 2022

@wael444 wae how did you install st and profanity?

you look at st's stderr.

how do I do that?

st -o iofile.txt

@apprehensions
Copy link
Contributor

apprehensions commented Apr 11, 2022

from another terminal you can launch
st 2>&1 > log
after st crashes there would be a file called log.
Paste its contents here.
You can also do
st -o log
I did not know that.

wae how did you install st and profanity

compiling st from source

xbps-install -S profanity

@jgarte
Copy link
Contributor Author

jgarte commented Apr 11, 2022

@wael444

 λ st -o st-log
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)
  Serial number of failed request:  5951
  Current serial number in output stream:  6050

or

 λ st 2>&1 > log
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)
  Serial number of failed request:  5771
  Current serial number in output stream:  5848

@apprehensions
Copy link
Contributor

LibXft cannot render emojis. so it crashes
Your only choice is to patch in font2 and use non color emojis (such as Symbola or bdf Unicode font)

Or install libxft with BGRA patch.

LukeSmithxyz/st#130
Is related.

Please close your issue. This is a libXft bug. Nor is it related to void-packages in any way.

@jgarte
Copy link
Contributor Author

jgarte commented Apr 11, 2022

Thanks for clarifying that.

I ended up installing xst which fixed the issue for me.

doas vpm i xst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants