Open Bug 1714441 Opened 4 years ago Updated 3 years ago

google voice fairly often gets stuck

Categories

(Core :: Audio/Video: Playback, defect, P3)

Firefox 90
defect

Tracking

()

UNCONFIRMED

People

(Reporter: pzz, Unassigned)

Details

(Whiteboard: QA-not-reproducible)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0

Steps to reproduce:

google voice or gmail fairly often get stuck. for example when starting up firefox and google voice is one of several tabs loading at the same time. or if my machine is fairly busy with other tasks, especially if thrashing to swap a fair bit.

Actual results:

when it happens, i open google voice (or gmail) in another tab, and it comes right up. meanwhile the old one stays stuck.

Expected results:

of course google voice and gmail are quite heavily scripted. sadly i expect both google and mozilla will just point the finger at each other. it's never happened to me in chromium, but then, i usually use firefox.

Hey greg,
I tried reproducing this issue on the latest versions of Firefox Nightly 91.0a1 (2021-06-08), beta 90.0b4 and release 89.0 but I get no issues with gmail. I cannot use google voice since it isn't available in my country. (Tried bypassing it with vpn but it requires a phone number)

Can you test the issue while in Safe Mode? You can find helpful info here : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode .
Also a fresh new profile could help. You can find more about creating a new profile here : https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems#w_6-create-a-new-firefox-profile .
If possible, you can test this issue on the nightly build as well. Download the build from : https://www.mozilla.org/en-US/firefox/nightly/all/ .

Flags: needinfo?(bugzillamozilla)
Whiteboard: QA-not-reproducible

it's tricky because it only happens sometimes. i already use nightly, and i've tried relaunching with -safe-mode and voice.google.com among the tabs restoring all at once, and it all comes up fine, but that doesn't prove anything because it only happens sometimes anyway. i'll keep running in -safe-mode awhile but when i want some extensions eg video speed controller -safe-mode won't work for that, not to mention watching videos is often what gets it thrashing, which makes it far more likely for the problem to show up. i'm also already running two profiles, one being quite fresh, running gmail in the fresher one and voice.google.com in the older one, but again i'm not so likely to trip across the problem in such tests and i want to use my real profiles for carrying on with my real work. and it needs to be said, checking with a new profile can sometimes help, but just because a problem doesn't show up right away in a new profile doesn't mean there isn't really a problem, it only means the problem hasn't yet manifested in the new profile.

Flags: needinfo?(bugzillamozilla)

when it does happen, are there bits of information it would be useful to collect? eg a way to force a stacktrace, a screenshot of about:processes, or whatever would be helpful.

Setting a component for this issue in order to get the dev team involved.
If you feel it's an incorrect one please feel free to change it to a more appropriate one.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

(In reply to gregrwm from comment #3)

when it does happen, are there bits of information it would be useful to collect? eg a way to force a stacktrace, a screenshot of about:processes, or whatever would be helpful.

A performance profile with the "Media" preset would be useful I suspect.

Component: Widget: Gtk → Audio/Video: Playback

A performance profile using the profiler "Media" preset would indeed be helpful to track where the problem is taking place. Let me know if further information on gathering the profile would be helpful.

Severity: -- → S3
Flags: needinfo?(bugzillamozilla)
Priority: -- → P3

i've learned to workaround it by getting rid of voice.google.com tabs at startup, and opening a voice tab later when things are quiescent. likely if i startup with a voice tab i'll see this some more again. how would i get the profiler to watch during startup?

Flags: needinfo?(lamo)

(In reply to gregrwm from comment #7)

i've learned to workaround it by getting rid of voice.google.com tabs at startup, and opening a voice tab later when things are quiescent. likely if i startup with a voice tab i'll see this some more again. how would i get the profiler to watch during startup?

You can indeed start the profiler in startup, it involves setting some environment variables. Here's the documentation on it. Let me know if can help expand on that.

Flags: needinfo?(lamo)

MOZ_PROFILER_STARTUP=1 is clear enough, but the rest is opaque to me. how would i set the media profile? and is that even what you really want, because no sound happens during startup, tho i suppose it might be opening connections to pulseaudio.

Flags: needinfo?(lamo)

Good point, I don't see an easy way to select the media profile in that case. Investigating if that can be done. For now, gathering using the default and uploading a profile could give us something to start on.

Regarding if we need a media profile, you're right that it will depend on what's going wrong, but it would give us a place to start (and to rule out depending on the results).

For clarity, have you noticed the issue if you open a gmail or google voice tab during startup (but not one that is being restored), or is it only with tabs that are being restored during startup?

being restored. but then, for both voice and gmail, their scripts still go populate the screen with up to date conversation lists. and i've seen it happen when they are background tabs and my system is pretty busy, especially if so busy as to be thrashing swap.

started up this morning with MOZ_PROFILER_STARTUP=1 and with voice and gmail among 6 windows starting up together. no problem, so nothing interesting captured so far. i'll keep doing that when i startup, or if my system gets bogged..

today when i came back to my voice.google.com tab and tried to make a call it didn't work. i loaded voice.google.com into another tab and made the call just fine. i went back to the first one, turned on the profiler, tried again to make the call, it looked like it was making the call but was just stuck, i let it go like that wondering if it would timeout or what, but it just sat there. meanwhile i went to the first voice tab and clicked on the icon to see the history of calls. then back to the stuck one, waited a bit longer, then selected "capture".

so now what? i'll see if i can figure out how to upload it.

i selected "upload local profile" it said "uploading" for a while, then says "Error uploading". no idea why. too big maybe? i think i saw somewhere it said 83mb, which i thought was surprisingly small. 130 seconds. 8 firefox windows.

i'll leave it turned on tonight in case you want to ask for anything.

If you have the profile available still, you can send it to the email on my bugzilla profile and I can take a look that way. Otherwise, gathering a shorter profile may be worth a try.

If you're able to start he profiler, start the failing call, and then gather 10 - 20 seconds of activity, that's probably enough to get started.

No longer blocks: media-triage

well, when i've recorded a profile, and tried to upload it, which failed, would it still be on disc? if so, where?

Useless you explicitly saved it somewhere, you'll need to gather another and save that (or if it's small enough, upload it).

You need to log in before you can comment on or make changes to this bug.