View previous topic :: View next topic |
Author |
Message |
mathway n00b
Joined: 03 Jan 2022 Posts: 5
|
|
Back to top |
|
|
Irets Apprentice
Joined: 17 Dec 2019 Posts: 222
|
Posted: Tue Jan 04, 2022 6:44 pm Post subject: |
|
|
Xorg log could have something.
It's located at ~/.local/share/xorg/ if you're running rootless xorg. |
|
Back to top |
|
|
mathway n00b
Joined: 03 Jan 2022 Posts: 5
|
Posted: Wed Jan 05, 2022 9:29 pm Post subject: found the source of the problem |
|
|
After tedious investigation, I've came to the answer: it was the problem with a font used by dwm. Apparently that webpage contained some unicode characters in it, that's why the whole X crashed. It's also worth mentioning that when the font used isn't capable of representing a character, dwm by default just seems to crash and returns you to virtual console.
Useful links: https://dwm.suckless.narkive.com/Q3Em6G2x/dev-crash-when-setting-window-title-to-a-single-emoji |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21644
|
Posted: Thu Jan 06, 2022 2:00 am Post subject: |
|
|
That seems like a bug well worth fixing in the source. Is it character 1f98a (the stylized fox face) that crashes you?
Is it Xorg that crashes, or dwm? The original post seems to say it is Xorg, but the more recent post says it is dwm. The latter would make more sense, as a hard exit of the window manager will often exit an Xorg session. |
|
Back to top |
|
|
swisstackle n00b
Joined: 07 Mar 2023 Posts: 1
|
Posted: Tue Mar 07, 2023 4:10 pm Post subject: |
|
|
I am having the same issue with char 1f98a. Were you guys able to fix it? I am using dwm as well. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21644
|
Posted: Tue Mar 07, 2023 11:51 pm Post subject: |
|
|
swisstackle wrote: | I am having the same issue with char 1f98a. Were you guys able to fix it? I am using dwm as well. | According to found the source of the problem above, the explanation is that dwm crashes when using a font that does not support the character. Accordingly, the solutions would be:- Use a window manager with error handling, so that missing characters are translated rather than triggering a crash
- Use a font which can represent the character
- Fix dwm to handle this error
- Configure the X clients not to pass unusual characters in window titles
|
|
Back to top |
|
|
|