Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X crashes when visiting any firefox addon's page
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mathway
n00b
n00b


Joined: 03 Jan 2022
Posts: 5

PostPosted: Mon Jan 03, 2022 8:44 pm    Post subject: X crashes when visiting any firefox addon's page Reply with quote

I'm using dwm-6.2 and tried that in chromium, firefox and firefox-bin.

So, when I try to visit any firefox add-on webpage, like https://addons.mozilla.org/en-US/firefox/addon/cookie-quick-manager/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=featured, the whole X session crashes and it returns me back to the tty.

Also,
Code:
sudo dmesg
output doesn't change after the crash.

If any additional logs or something is needed to solve the problem, please, tell.

Any help will be greatly appreciated! :D
Back to top
View user's profile Send private message
Irets
Apprentice
Apprentice


Joined: 17 Dec 2019
Posts: 222

PostPosted: Tue Jan 04, 2022 6:44 pm    Post subject: Reply with quote

Xorg log could have something.
It's located at ~/.local/share/xorg/ if you're running rootless xorg.
Back to top
View user's profile Send private message
mathway
n00b
n00b


Joined: 03 Jan 2022
Posts: 5

PostPosted: Wed Jan 05, 2022 9:29 pm    Post subject: found the source of the problem Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21498

PostPosted: Thu Jan 06, 2022 2:00 am    Post subject: Reply with quote

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
View user's profile Send private message
swisstackle
n00b
n00b


Joined: 07 Mar 2023
Posts: 1

PostPosted: Tue Mar 07, 2023 4:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21498

PostPosted: Tue Mar 07, 2023 11:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum