Firefox keeps crashing after every launch

Hi guys!

I was browsing internet and decided to download VPN client for my self hosted VPN server, I tried to download it from official GitHub page, but then Firefox crashed and closed. I thought well I just need to restart it and that’s all, but now it won’t boot.

I tried to reinstall it, run from a command line and installing ESR release, but everything I got was this one line:

[GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt

If anyone had the same problem, help me please!

P.S I tried looking up on arch forums but everything I got was a driver problem with AMD GPUs (which I haven’t got even though I have RX 7600 XT)

P.S 2: I use clear arch installation with KDE

There’s a couple of things going on here. Hopefully you might be able to clarify some points.

  • Do you mean your system won’t boot (computer won’t start), or just Firefox won’t start? “Boot” typically refers to the computer’s initial start process.
  • Are you installing these things (VPN client / Firefox) using the Arch package system? (eg: using tools like pacman, makepkg, yay, paru…)

  • Had any other updating been performed (eg: system update) prior to this happening? I suspect downloading a VPN client from GitHub is unrelated.

Hey, I didn’t clarify it sorry, system boots and works normally, but Firefox won’t start.

About packages, I wasn’t using any of this, there’s no AmneziaVPN client on official arch repository or AUR, they have a tarball on their GitHub with windows-like installer in it.

About updates, I didn’t do any updates on a system before this happened.

Update.

Apparently I figured out, that Firefox dies when I launch game via Wine (Wine-GE). And therefore it no longer starts.

And now instead of old error it gives me :

ATTENTION: default value of option mesa_glthread overriden by environment.

So if any of users of this forum knows how to fix it, please help me, I’ll appreciate it

P.S I figured it out by reinstalling Arch

UPD: From safe mode Firefox gives another warning:

WARNING: failed to duplicate file descriptor: Bad file descriptor: file /usr/src/debug/Firefox/Firefox-134.0.1/ipc/glue/SharedMemory_posix.cpp:56

UPD 2:

Old error from topic start is back

Made a dump with strace and uploaded it onto 0x0. Maybe it will help, because I have no clue why is this happening

http://0x0.st/8o6j.txt

It may be Linux user account specific. Re-installing Arch may have momentarily flushed your user account, but something in what you’re then doing afterwards, re-introduced the issue, whether it’s restoring files from backup, or re-installing the cause of the issue.

Test this by creating a new Linux user and logging in with that. Without doing anything else, try starting Firefox and see if the issue remains there too.

Well I should give it a try, I’ll notify you asap after I’ll be able to test it

So, you’re right! It is user specific error, I created another user just to test Firefox and I found out that FF runs pretty good under other user.

So what should I do to fix FF on my main user?

I’d start by closing Firefox and renaming .mozilla

I already tried it, it didn’t work :frowning:

Another, slightly drastic, option is to log out of your desktop and into a tty. Rename the .config directory and log back into your desktop. This should give you a default setup and you can see if firefox works then. If it does, you can either re-setup your desktop or copy configs back from your backup a bit at a time to see what breaks it.

When you reinstalled Arch did you install any other packages than firefox? I can see from the log the VPN is currently active.

I can see on the file the game is running via Heroic Games Launcher.

I’ve never heard of this type of issue happening before so it’s odd firefox would crash on startup.
Did you back up any Firefox profile data, User profile data or configs and when reinstalling Arch copied the data? I’m just wondering if anything was copied from old installation or everything is completely fresh in this reinstall since a second profile works fine.

One thing I was wondering is what VPN protocol is being used, Is it Amnezia’s own wireguard proxy AmneziaWG? I assume the VPN was on too when you used the second account and Firefox worked fine?

line from the LOG

3262 21:31:40.280832 newfstatat(AT_FDCWD, “/home/werameli/.local/share/applications/Games/Heroic/Prefixes/PC Building Simulator 2/dosdevices/z:/home/werameli/.local/share/applications/Games/Heroic/Prefixes/PC Building Simulator 2/dosdevices/z:/home/werameli/.local/share/applications/Games/Heroic/Prefixes/PC Building Simulator 2/dosdevices/z:/home/werameli/.local/share/applications/Games/Heroic/Prefixes/PC Building Simulator 2/dosdevices/z:/home/werameli/.local/share/applications/Games/Heroic/Prefixes/PC Building Simulator 2/dosdevices/z:/home/werameli/.local/share/applications/Games/Heroic/Prefixes/PC Building Simulator 2/dosdevices/z:/home/werameli/.local/share/applications/Games/Heroic/Prefixes/PC Building Simulator 2/dosdevices/z:/home/werameli/.cache/mozilla/firefox/1sbi6sd3.default-release”, {st_mode=S_IFDIR|0700, st_size=74, …}, 0) = 0

I don’t have the same VPN you are using but maybe checking the Firefox network settings just to check if these are conflicting in any way. Although I wouldn’t know how to reach here if Firefox crashes. https://support.mozilla.org/en-US/kb/connection-settings-firefox

One can create a new Firefox profile on their computer from the command line:

firefox -CreateProfile JoelUser

Ref: https://wiki.mozilla.org/Firefox/CommandLineOptions#-CreateProfile_profile_name

Helpful if a profile becomes corrupted.

I tried to create a new profile, but it still does nothing

For VPN protocol I use X-ray, because Amnezia’s is broken for me on Linux, it’s like missing a DNS server and I could connect only to IPs. It still don’t launch even if I don’t use VPN

I didn’t install any other network related packages, just a VPN client and Firefox, firewall is also active but I don’t think it’s causing the issue

When I was reinstalling Arch I didn’t copy any Firefox data to try to avoid the issue, but it didn’t help

Well I guess I could try it if nothing will help

Hey, a little announcement for those who’s trying to help me.

I’m very sorry if I couldn’t answer immediately, I can’t stay on forum too long and email notifications don’t work even tho I haven’t turned it off

1 Like

A little update on a VPN situation, I forgot to mention, that on old arch installation Firefox started crashing even without any VPN client or config installed on a system, so it’s clearly not a VPN’s fault

I see, I thought what happened was the issue started after the VPN was installed on the original post. While it was a long time ago I remember there was once where Firefox wouldn’t support some VPN protocols and would crash but chrome based browser like Vivaldi worked and didn’t know if it his was a odd issue like that again with Firefox whcih was why I was verifying the VPN. But since it was crashing without a VPN installed this can’t be the case.

I am out of ideas at the moment but I will let you know if I think of anything else.

Regarding this part to clarify is Firefox only not working if a game is running at the same time and works when there is no game running?
And does this happen with one specific game or does this happen with other games too through WINE?

I don’t believe it’s a Firefox issue IMHO.