You are not logged in.

#1 2023-05-14 04:49:40

the_circle
Member
Registered: 2023-05-14
Posts: 21

[SOLVED] Firefox 113.0.1 takes minutes to launch.

The issue is described here (in the bug report and the following 2 comments) .

https://bugs.archlinux.org/task/78503

I am not sure why this was not suitable for a bug report. Was it because there were no logs? The post the commentor redirected me ( https://bbs.archlinux.org/viewtopic.php?id=285713 )   includes journalctl logs but I have only a single log line in journalctl -b about firefox. and that is

```
May 14 07:02:06 ecsh61-h2 dbus-daemon[338]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.19' (uid=1000 pid=475 comm="/usr/lib/firefox/firefox -P p0")
```

Could someone help me with debugging this issue?

Last edited by the_circle (2023-05-21 15:07:51)

Offline

#2 2023-05-14 06:14:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,248

Re: [SOLVED] Firefox 113.0.1 takes minutes to launch.

I am not sure why this was not suitable for a bug report.

put together a proper bug report

The bugtracker is for packaging related bugs - you essentially reported "does nots works lolz"

I have only a single log line in journalctl -b about firefox

The relevant part may not even say "firefox" - you cannot grep the logs unless you precisely know what you're looking for.

1. "The specific seamonkey download link is"
=> Is FF from the repos, a flatschpak or something you downloaded from the mozilla webpage as well?
2. Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

3. You can "strace -ft" firefox to see what it's doing while it hangs.
4. The linked other thread is likewise unspecific but has "I'm using GNOME, and this issue started after the update to 44."
=> Are you using gnome as well?

Last edited by seth (2023-05-14 06:15:06)

Offline

#3 2023-05-14 07:26:23

the_circle
Member
Registered: 2023-05-14
Posts: 21

Re: [SOLVED] Firefox 113.0.1 takes minutes to launch.

I am not using gnome, I am using sway. firefox has been downloaded from pacman, I am sorry, how do I attach files to here?


journalctl -b output
http://0x0.st/HN_C.txt


strace output
http://0x0.st/HNLs.txt

Last edited by the_circle (2023-05-14 19:38:34)

Offline

#4 2023-05-14 07:27:30

the_circle
Member
Registered: 2023-05-14
Posts: 21

Re: [SOLVED] Firefox 113.0.1 takes minutes to launch.

as you can see, at some point there is a 2 minute delay between strace output lines

10:17:22
10:19:22

Last edited by the_circle (2023-05-14 07:28:02)

Offline

#5 2023-05-14 12:01:32

bullet
Member
Registered: 2016-08-04
Posts: 18

Re: [SOLVED] Firefox 113.0.1 takes minutes to launch.

I have the same issue, but it's not only Firefox, Thunderbird has the exact same issue. Startup takes ages.

Offline

#6 2023-05-14 12:20:45

bullet
Member
Registered: 2016-08-04
Posts: 18

Re: [SOLVED] Firefox 113.0.1 takes minutes to launch.

Don't know what the ruling on double-posts is but I'll do it so OP gets another notification:

As per https://bbs.archlinux.org/viewtopic.php?id=285590 I just removed xdg-desktop-portal-gnome (no dependencies on it anywhere) and the problem was gone for Firefox and Thunderbird.

Offline

#7 2023-05-14 12:46:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,248

Re: [SOLVED] Firefox 113.0.1 takes minutes to launch.

You can post files to 0x0.st or ix.io and link them here.
In any event the BBS predates markdown, so please use [code][/code] tags. Edit your post in this regard.
Handling strace output as is is a complete PITA, even to just copy-paste it.

Offline

#8 2023-05-15 20:19:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,248

Re: [SOLVED] Firefox 113.0.1 takes minutes to launch.

Sorry for the delay, just noticed your edit.

This seems from resolved via nss-resolve.
Do you use https://wiki.archlinux.org/title/Iwd#En … figuration (next to systemd-networkd)?
What's the output of "resolvectl status" and the contents of /etc/nsswitch.conf

Does "getent ahostsv4 google.com" respond immediately (before you try to launch FF)?
Do you somehow jail FF?

Offline

#9 2023-05-21 10:17:20

the_circle
Member
Registered: 2023-05-14
Posts: 21

Re: [SOLVED] Firefox 113.0.1 takes minutes to launch.

I am sorry for the delay. I was mainly connecting to the internet via a cable. Today I again attempted to connect via wifi and this issue happened. Setting EnableNetworkConfiguration to false in /etc/iwd/main.conf and managing the wireless connection via systemd-networkd solved the freezing firefox issue( I am using iw and iwd). I was also setting the wired interface down via `ip link set ?? down` if that makes a difference

Last edited by the_circle (2023-05-21 10:18:18)

Offline

#10 2023-05-21 15:03:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,248

Re: [SOLVED] Firefox 113.0.1 takes minutes to launch.

Setting EnableNetworkConfiguration to false in /etc/iwd/main.conf and managing the wireless connection via systemd-networkd solved the freezing firefox issue

So a simply service collision was knocking out the network.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB