[Desktop-packages] [Bug 1989821] Re: Firefox hangs, unable to reload tabs for up to 2min after switching to session that was idle for several hours

2022-12-17 Thread Steve Chadsey
I've discovered the source of the problem. Both user accounts on the
system had hardware acceleration enabled in Firefox. Apparently, only
one session can utilize the GPU/hw acceleration at a time, and so when
switching between accounts, the firefox process gets suspended in some
manner. That explains the significant delay in Firefox responsiveness
when "resuming" the previous session.

By unchecking "Use hardware acceleration when available" in Firefox
settings, followed by a Firefox restart, the problem has gone away. I
find it a bit puzzling that more people are not experiencing this. I
would think that the number of Ubuntu installations using xorg with
multiple desktop user sessions that also use Firefox with hardware
acceleration would not be insignificant.

I suppose there could be a bug here if my conclusions are completely
wrong, and firefox should better handle this. I don't know enough about
xorg/hw acceleration/gpus to say for sure, so I will leave it to someone
who does. For me, though, the problem is resolved and I hope this helps
someone in the future.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1989821

Title:
  Firefox hangs, unable to reload tabs for up to 2min after switching to
  session that was idle for several hours

Status in firefox package in Ubuntu:
  Expired

Bug description:
  I am not sure when exactly this started. I feel like it was around FF
  v99.

  System is always on. 2 user accounts (mine, wife's). We keep the
  desktop sessions logged-in, just switch between accounts whenever
  needed. Firefox stays open since it's heavily used. When an active
  session is unlocked or switched to after being unused for several
  hours (not rigorously measured but I'd say more than 6-8 hours), we
  observe the following behavior in Firefox:

  * Gmail tab will show a message at the top of the page along the lines of 
"Not connected, retrying in 3:00" with the timer counting down
  * For the first 10-20s, clicking on another tab will have no effect - FF 
doesn't switch to the tab
  * From 20s to between 1-2 minutes:
    - Switching tabs will work albeit slowly.
    - Reloading an existing tab does nothing except cause the side-to-side 
loading indicator on the tab to cycle
    - I am able to open a new tab via ctrl-T
    - I can enter a URL into a new tab, but the site doesn't load. The loading 
indicator cycles in the tab title.
    - I cannot open about:performance to troubleshoot

  After some period of time, as short as 30-40s and as long as 2
  minutes, FF becomes usable again. Sites can be loaded/reloaded, etc.

  What I have tried, but has not resolved the issue:
  * Restart FF in troubleshooting mode
  * Upgrade to new releases as they are available in the package manager
  * Run in non-troubleshooting mode but with all extensions removed
  * Refresh the browser
  * Set browser.tabs.unloadOnLowMemory = false
  * rm -rf ~/.mozilla and start with a fresh profile

  Workaround: killall -9 firefox, then relaunch firefox

  Again, this seems to have started suddenly at some point possibly
  around the v99 timeframe. Prior to that, I did not observe this
  problem. Hardware, and to the best of my knowledge the usage habits of
  the 2 users, have not changed in quite some time.

  I've attached the output of a "vmstat 1" command that I launched when
  I unlocked a session that was idle for approximately 40h, before
  interacting with the existing firefox session. The firefox issue
  manifested for about 1min 20s. Once firefox became usable, I stopped
  the vmstat command.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: firefox 104.0+build3-0ubuntu0.20.04.1
  ProcVersionSignature: Ubuntu 5.4.0-124.140-generic 5.4.195
  Uname: Linux 5.4.0-124-generic x86_64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.11-0ubuntu27.24
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  tyr   743015 F pulseaudio
   /dev/snd/controlC1:  tyr   743015 F pulseaudio
  BuildID: 20220818191623
  CasperMD5CheckResult: skip
  Channel: Unavailable
  CurrentDesktop: XFCE
  Date: Thu Sep 15 18:38:25 2022
  Extensions: extensions.sqlite corrupt or missing
  ForcedLayersAccel: False
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  IncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  InstallationDate: Installed on 2016-01-05 (2444 days ago)
  InstallationMedia: Xubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  IpRoute:
   default via 192.168.1.1 dev eth0 proto static metric 100
   192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.100 metric 100
  Locales: extensions.sqlite corrupt or missing
  PrefErrors: Unexpected character ',' before close parenthesis @ 

[Desktop-packages] [Bug 1989821] Re: Firefox hangs, unable to reload tabs for up to 2min after switching to session that was idle for several hours

2022-12-16 Thread Launchpad Bug Tracker
[Expired for firefox (Ubuntu) because there has been no activity for 60
days.]

** Changed in: firefox (Ubuntu)
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1989821

Title:
  Firefox hangs, unable to reload tabs for up to 2min after switching to
  session that was idle for several hours

Status in firefox package in Ubuntu:
  Expired

Bug description:
  I am not sure when exactly this started. I feel like it was around FF
  v99.

  System is always on. 2 user accounts (mine, wife's). We keep the
  desktop sessions logged-in, just switch between accounts whenever
  needed. Firefox stays open since it's heavily used. When an active
  session is unlocked or switched to after being unused for several
  hours (not rigorously measured but I'd say more than 6-8 hours), we
  observe the following behavior in Firefox:

  * Gmail tab will show a message at the top of the page along the lines of 
"Not connected, retrying in 3:00" with the timer counting down
  * For the first 10-20s, clicking on another tab will have no effect - FF 
doesn't switch to the tab
  * From 20s to between 1-2 minutes:
    - Switching tabs will work albeit slowly.
    - Reloading an existing tab does nothing except cause the side-to-side 
loading indicator on the tab to cycle
    - I am able to open a new tab via ctrl-T
    - I can enter a URL into a new tab, but the site doesn't load. The loading 
indicator cycles in the tab title.
    - I cannot open about:performance to troubleshoot

  After some period of time, as short as 30-40s and as long as 2
  minutes, FF becomes usable again. Sites can be loaded/reloaded, etc.

  What I have tried, but has not resolved the issue:
  * Restart FF in troubleshooting mode
  * Upgrade to new releases as they are available in the package manager
  * Run in non-troubleshooting mode but with all extensions removed
  * Refresh the browser
  * Set browser.tabs.unloadOnLowMemory = false
  * rm -rf ~/.mozilla and start with a fresh profile

  Workaround: killall -9 firefox, then relaunch firefox

  Again, this seems to have started suddenly at some point possibly
  around the v99 timeframe. Prior to that, I did not observe this
  problem. Hardware, and to the best of my knowledge the usage habits of
  the 2 users, have not changed in quite some time.

  I've attached the output of a "vmstat 1" command that I launched when
  I unlocked a session that was idle for approximately 40h, before
  interacting with the existing firefox session. The firefox issue
  manifested for about 1min 20s. Once firefox became usable, I stopped
  the vmstat command.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: firefox 104.0+build3-0ubuntu0.20.04.1
  ProcVersionSignature: Ubuntu 5.4.0-124.140-generic 5.4.195
  Uname: Linux 5.4.0-124-generic x86_64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.11-0ubuntu27.24
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  tyr   743015 F pulseaudio
   /dev/snd/controlC1:  tyr   743015 F pulseaudio
  BuildID: 20220818191623
  CasperMD5CheckResult: skip
  Channel: Unavailable
  CurrentDesktop: XFCE
  Date: Thu Sep 15 18:38:25 2022
  Extensions: extensions.sqlite corrupt or missing
  ForcedLayersAccel: False
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  IncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  InstallationDate: Installed on 2016-01-05 (2444 days ago)
  InstallationMedia: Xubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  IpRoute:
   default via 192.168.1.1 dev eth0 proto static metric 100
   192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.100 metric 100
  Locales: extensions.sqlite corrupt or missing
  PrefErrors: Unexpected character ',' before close parenthesis @ 
/usr/lib/firefox/omni.ja:greprefs.js:302
  PrefSources: prefs.js
  Profiles: Profile0 (Default) - LastVersion=104.0/20220818191623 (In use)
  RunningIncompatibleAddons: False
  SourcePackage: firefox
  Themes: extensions.sqlite corrupt or missing
  UpgradeStatus: Upgraded to focal on 2021-02-04 (588 days ago)
  dmi.bios.date: 11/11/2015
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2801
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: Z97-A
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr2801:bd11/11/2015:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnZ97-A:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.family: ASUS MB
  dmi.product.name: All 

[Desktop-packages] [Bug 1989821] Re: Firefox hangs, unable to reload tabs for up to 2min after switching to session that was idle for several hours

2022-10-17 Thread Olivier Tilloy
Thanks for following up!
So it sounds like the problem is not specific to the Ubuntu package, but rather 
an upstream issue. Would you mind filing a bug at 
https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox and sharing the link 
here?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1989821

Title:
  Firefox hangs, unable to reload tabs for up to 2min after switching to
  session that was idle for several hours

Status in firefox package in Ubuntu:
  Incomplete

Bug description:
  I am not sure when exactly this started. I feel like it was around FF
  v99.

  System is always on. 2 user accounts (mine, wife's). We keep the
  desktop sessions logged-in, just switch between accounts whenever
  needed. Firefox stays open since it's heavily used. When an active
  session is unlocked or switched to after being unused for several
  hours (not rigorously measured but I'd say more than 6-8 hours), we
  observe the following behavior in Firefox:

  * Gmail tab will show a message at the top of the page along the lines of 
"Not connected, retrying in 3:00" with the timer counting down
  * For the first 10-20s, clicking on another tab will have no effect - FF 
doesn't switch to the tab
  * From 20s to between 1-2 minutes:
    - Switching tabs will work albeit slowly.
    - Reloading an existing tab does nothing except cause the side-to-side 
loading indicator on the tab to cycle
    - I am able to open a new tab via ctrl-T
    - I can enter a URL into a new tab, but the site doesn't load. The loading 
indicator cycles in the tab title.
    - I cannot open about:performance to troubleshoot

  After some period of time, as short as 30-40s and as long as 2
  minutes, FF becomes usable again. Sites can be loaded/reloaded, etc.

  What I have tried, but has not resolved the issue:
  * Restart FF in troubleshooting mode
  * Upgrade to new releases as they are available in the package manager
  * Run in non-troubleshooting mode but with all extensions removed
  * Refresh the browser
  * Set browser.tabs.unloadOnLowMemory = false
  * rm -rf ~/.mozilla and start with a fresh profile

  Workaround: killall -9 firefox, then relaunch firefox

  Again, this seems to have started suddenly at some point possibly
  around the v99 timeframe. Prior to that, I did not observe this
  problem. Hardware, and to the best of my knowledge the usage habits of
  the 2 users, have not changed in quite some time.

  I've attached the output of a "vmstat 1" command that I launched when
  I unlocked a session that was idle for approximately 40h, before
  interacting with the existing firefox session. The firefox issue
  manifested for about 1min 20s. Once firefox became usable, I stopped
  the vmstat command.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: firefox 104.0+build3-0ubuntu0.20.04.1
  ProcVersionSignature: Ubuntu 5.4.0-124.140-generic 5.4.195
  Uname: Linux 5.4.0-124-generic x86_64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.11-0ubuntu27.24
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  tyr   743015 F pulseaudio
   /dev/snd/controlC1:  tyr   743015 F pulseaudio
  BuildID: 20220818191623
  CasperMD5CheckResult: skip
  Channel: Unavailable
  CurrentDesktop: XFCE
  Date: Thu Sep 15 18:38:25 2022
  Extensions: extensions.sqlite corrupt or missing
  ForcedLayersAccel: False
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  IncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  InstallationDate: Installed on 2016-01-05 (2444 days ago)
  InstallationMedia: Xubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  IpRoute:
   default via 192.168.1.1 dev eth0 proto static metric 100
   192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.100 metric 100
  Locales: extensions.sqlite corrupt or missing
  PrefErrors: Unexpected character ',' before close parenthesis @ 
/usr/lib/firefox/omni.ja:greprefs.js:302
  PrefSources: prefs.js
  Profiles: Profile0 (Default) - LastVersion=104.0/20220818191623 (In use)
  RunningIncompatibleAddons: False
  SourcePackage: firefox
  Themes: extensions.sqlite corrupt or missing
  UpgradeStatus: Upgraded to focal on 2021-02-04 (588 days ago)
  dmi.bios.date: 11/11/2015
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2801
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: Z97-A
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 

[Desktop-packages] [Bug 1989821] Re: Firefox hangs, unable to reload tabs for up to 2min after switching to session that was idle for several hours

2022-10-06 Thread Steve Chadsey
I installed firefox-104.0.2 from upstream, and set both users' desktop
environments to use that one instead of the Ubuntu bundled version. I
didn't know how firefox handles profiles with different versions of the
browser installed, so I (perhaps unnecessarily) cleaned out ~/.mozilla
for both accounts. After a few weeks of testing it out, with the same
desktop usage habits (switching between accounts and such), I did not
find any discernible improvement in the problematic behavior (nor did I
see a worsening of the behavior). I've since reverted my configuration
back to using the bundled browser.

I'm open to try other experiments. I'm thinking of trying an upstream
version that is old enough to predate this issue, which as I initially
reported might be around the 99 timeframe. Another idea is an OS
upgrade.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1989821

Title:
  Firefox hangs, unable to reload tabs for up to 2min after switching to
  session that was idle for several hours

Status in firefox package in Ubuntu:
  Incomplete

Bug description:
  I am not sure when exactly this started. I feel like it was around FF
  v99.

  System is always on. 2 user accounts (mine, wife's). We keep the
  desktop sessions logged-in, just switch between accounts whenever
  needed. Firefox stays open since it's heavily used. When an active
  session is unlocked or switched to after being unused for several
  hours (not rigorously measured but I'd say more than 6-8 hours), we
  observe the following behavior in Firefox:

  * Gmail tab will show a message at the top of the page along the lines of 
"Not connected, retrying in 3:00" with the timer counting down
  * For the first 10-20s, clicking on another tab will have no effect - FF 
doesn't switch to the tab
  * From 20s to between 1-2 minutes:
    - Switching tabs will work albeit slowly.
    - Reloading an existing tab does nothing except cause the side-to-side 
loading indicator on the tab to cycle
    - I am able to open a new tab via ctrl-T
    - I can enter a URL into a new tab, but the site doesn't load. The loading 
indicator cycles in the tab title.
    - I cannot open about:performance to troubleshoot

  After some period of time, as short as 30-40s and as long as 2
  minutes, FF becomes usable again. Sites can be loaded/reloaded, etc.

  What I have tried, but has not resolved the issue:
  * Restart FF in troubleshooting mode
  * Upgrade to new releases as they are available in the package manager
  * Run in non-troubleshooting mode but with all extensions removed
  * Refresh the browser
  * Set browser.tabs.unloadOnLowMemory = false
  * rm -rf ~/.mozilla and start with a fresh profile

  Workaround: killall -9 firefox, then relaunch firefox

  Again, this seems to have started suddenly at some point possibly
  around the v99 timeframe. Prior to that, I did not observe this
  problem. Hardware, and to the best of my knowledge the usage habits of
  the 2 users, have not changed in quite some time.

  I've attached the output of a "vmstat 1" command that I launched when
  I unlocked a session that was idle for approximately 40h, before
  interacting with the existing firefox session. The firefox issue
  manifested for about 1min 20s. Once firefox became usable, I stopped
  the vmstat command.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: firefox 104.0+build3-0ubuntu0.20.04.1
  ProcVersionSignature: Ubuntu 5.4.0-124.140-generic 5.4.195
  Uname: Linux 5.4.0-124-generic x86_64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.11-0ubuntu27.24
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  tyr   743015 F pulseaudio
   /dev/snd/controlC1:  tyr   743015 F pulseaudio
  BuildID: 20220818191623
  CasperMD5CheckResult: skip
  Channel: Unavailable
  CurrentDesktop: XFCE
  Date: Thu Sep 15 18:38:25 2022
  Extensions: extensions.sqlite corrupt or missing
  ForcedLayersAccel: False
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  IncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  InstallationDate: Installed on 2016-01-05 (2444 days ago)
  InstallationMedia: Xubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  IpRoute:
   default via 192.168.1.1 dev eth0 proto static metric 100
   192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.100 metric 100
  Locales: extensions.sqlite corrupt or missing
  PrefErrors: Unexpected character ',' before close parenthesis @ 
/usr/lib/firefox/omni.ja:greprefs.js:302
  PrefSources: prefs.js
  Profiles: Profile0 (Default) - LastVersion=104.0/20220818191623 (In use)
  RunningIncompatibleAddons: False
  SourcePackage: firefox
  Themes: extensions.sqlite corrupt or missing
  UpgradeStatus: Upgraded to focal on 

[Desktop-packages] [Bug 1989821] Re: Firefox hangs, unable to reload tabs for up to 2min after switching to session that was idle for several hours

2022-09-19 Thread Olivier Tilloy
Thanks for the detailed report Steve. What would be interesting to test
is whether this is an Ubuntu-specific problem caused by the packaging,
or if it also happens with binaries distributed by upstream. Could you
test that and report here? The upstream binaries can be downloaded from
https://download.mozilla.org/?product=firefox-latest-ssl=linux64.

** Changed in: firefox (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1989821

Title:
  Firefox hangs, unable to reload tabs for up to 2min after switching to
  session that was idle for several hours

Status in firefox package in Ubuntu:
  Incomplete

Bug description:
  I am not sure when exactly this started. I feel like it was around FF
  v99.

  System is always on. 2 user accounts (mine, wife's). We keep the
  desktop sessions logged-in, just switch between accounts whenever
  needed. Firefox stays open since it's heavily used. When an active
  session is unlocked or switched to after being unused for several
  hours (not rigorously measured but I'd say more than 6-8 hours), we
  observe the following behavior in Firefox:

  * Gmail tab will show a message at the top of the page along the lines of 
"Not connected, retrying in 3:00" with the timer counting down
  * For the first 10-20s, clicking on another tab will have no effect - FF 
doesn't switch to the tab
  * From 20s to between 1-2 minutes:
    - Switching tabs will work albeit slowly.
    - Reloading an existing tab does nothing except cause the side-to-side 
loading indicator on the tab to cycle
    - I am able to open a new tab via ctrl-T
    - I can enter a URL into a new tab, but the site doesn't load. The loading 
indicator cycles in the tab title.
    - I cannot open about:performance to troubleshoot

  After some period of time, as short as 30-40s and as long as 2
  minutes, FF becomes usable again. Sites can be loaded/reloaded, etc.

  What I have tried, but has not resolved the issue:
  * Restart FF in troubleshooting mode
  * Upgrade to new releases as they are available in the package manager
  * Run in non-troubleshooting mode but with all extensions removed
  * Refresh the browser
  * Set browser.tabs.unloadOnLowMemory = false
  * rm -rf ~/.mozilla and start with a fresh profile

  Workaround: killall -9 firefox, then relaunch firefox

  Again, this seems to have started suddenly at some point possibly
  around the v99 timeframe. Prior to that, I did not observe this
  problem. Hardware, and to the best of my knowledge the usage habits of
  the 2 users, have not changed in quite some time.

  I've attached the output of a "vmstat 1" command that I launched when
  I unlocked a session that was idle for approximately 40h, before
  interacting with the existing firefox session. The firefox issue
  manifested for about 1min 20s. Once firefox became usable, I stopped
  the vmstat command.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: firefox 104.0+build3-0ubuntu0.20.04.1
  ProcVersionSignature: Ubuntu 5.4.0-124.140-generic 5.4.195
  Uname: Linux 5.4.0-124-generic x86_64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.11-0ubuntu27.24
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  tyr   743015 F pulseaudio
   /dev/snd/controlC1:  tyr   743015 F pulseaudio
  BuildID: 20220818191623
  CasperMD5CheckResult: skip
  Channel: Unavailable
  CurrentDesktop: XFCE
  Date: Thu Sep 15 18:38:25 2022
  Extensions: extensions.sqlite corrupt or missing
  ForcedLayersAccel: False
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  IncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  InstallationDate: Installed on 2016-01-05 (2444 days ago)
  InstallationMedia: Xubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  IpRoute:
   default via 192.168.1.1 dev eth0 proto static metric 100
   192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.100 metric 100
  Locales: extensions.sqlite corrupt or missing
  PrefErrors: Unexpected character ',' before close parenthesis @ 
/usr/lib/firefox/omni.ja:greprefs.js:302
  PrefSources: prefs.js
  Profiles: Profile0 (Default) - LastVersion=104.0/20220818191623 (In use)
  RunningIncompatibleAddons: False
  SourcePackage: firefox
  Themes: extensions.sqlite corrupt or missing
  UpgradeStatus: Upgraded to focal on 2021-02-04 (588 days ago)
  dmi.bios.date: 11/11/2015
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2801
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: Z97-A
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To 

[Desktop-packages] [Bug 1989821] Re: Firefox hangs, unable to reload tabs for up to 2min after switching to session that was idle for several hours

2022-09-16 Thread Steve Chadsey
** Description changed:

  I am not sure when exactly this started. I feel like it was around FF
  v99.
  
  System is always on. 2 user accounts (mine, wife's). We keep the desktop
  sessions logged-in, just switch between accounts whenever needed.
  Firefox stays open since it's heavily used. When an active session is
  unlocked or switched to after being unused for several hours (not
  rigorously measured but I'd say more than 6-8 hours), we observe the
  following behavior in Firefox:
  
- * Gmail tab will show a message at the top of the page along the lines of 
"encountered a problem, retrying in 3:00" with the timer counting down
+ * Gmail tab will show a message at the top of the page along the lines of 
"Not connected, retrying in 3:00" with the timer counting down
  * For the first 10-20s, clicking on another tab will have no effect - FF 
doesn't switch to the tab
  * From 20s to between 1-2 minutes:
    - Switching tabs will work albeit slowly.
    - Reloading an existing tab does nothing except cause the side-to-side 
loading indicator on the tab to cycle
    - I am able to open a new tab via ctrl-T
    - I can enter a URL into a new tab, but the site doesn't load. The loading 
indicator cycles in the tab title.
    - I cannot open about:performance to troubleshoot
  
  After some period of time, as short as 30-40s and as long as 2 minutes,
  FF becomes usable again. Sites can be loaded/reloaded, etc.
  
  What I have tried, but has not resolved the issue:
  * Restart FF in troubleshooting mode
  * Upgrade to new releases as they are available in the package manager
  * Run in non-troubleshooting mode but with all extensions removed
  * Refresh the browser
  * Set browser.tabs.unloadOnLowMemory = false
  * rm -rf ~/.mozilla and start with a fresh profile
  
  Workaround: killall -9 firefox, then relaunch firefox
  
  Again, this seems to have started suddenly at some point possibly around
  the v99 timeframe. Prior to that, I did not observe this problem.
  Hardware, and to the best of my knowledge the usage habits of the 2
  users, have not changed in quite some time.
  
  I've attached the output of a "vmstat 1" command that I launched when I
  unlocked a session that was idle for approximately 40h, before
  interacting with the existing firefox session. The firefox issue
  manifested for about 1min 20s. Once firefox became usable, I stopped the
  vmstat command.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: firefox 104.0+build3-0ubuntu0.20.04.1
  ProcVersionSignature: Ubuntu 5.4.0-124.140-generic 5.4.195
  Uname: Linux 5.4.0-124-generic x86_64
  AddonCompatCheckDisabled: False
  ApportVersion: 2.20.11-0ubuntu27.24
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  tyr   743015 F pulseaudio
   /dev/snd/controlC1:  tyr   743015 F pulseaudio
  BuildID: 20220818191623
  CasperMD5CheckResult: skip
  Channel: Unavailable
  CurrentDesktop: XFCE
  Date: Thu Sep 15 18:38:25 2022
  Extensions: extensions.sqlite corrupt or missing
  ForcedLayersAccel: False
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  IncompatibleExtensions: Unavailable (corrupt or non-existant 
compatibility.ini or extensions.sqlite)
  InstallationDate: Installed on 2016-01-05 (2444 days ago)
  InstallationMedia: Xubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  IpRoute:
   default via 192.168.1.1 dev eth0 proto static metric 100
   192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.100 metric 100
  Locales: extensions.sqlite corrupt or missing
  PrefErrors: Unexpected character ',' before close parenthesis @ 
/usr/lib/firefox/omni.ja:greprefs.js:302
  PrefSources: prefs.js
  Profiles: Profile0 (Default) - LastVersion=104.0/20220818191623 (In use)
  RunningIncompatibleAddons: False
  SourcePackage: firefox
  Themes: extensions.sqlite corrupt or missing
  UpgradeStatus: Upgraded to focal on 2021-02-04 (588 days ago)
  dmi.bios.date: 11/11/2015
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2801
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: Z97-A
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr2801:bd11/11/2015:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnZ97-A:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.family: ASUS MB
  dmi.product.name: All Series
  dmi.product.sku: All
  dmi.product.version: System Version
  dmi.sys.vendor: ASUS

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1989821

Title:
  Firefox hangs, unable to reload tabs for up to 2min