beta-tester
Posts: 1503
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

firefox-esr: is assert(...) always active or only in debug compilation?

Sat Aug 22, 2020 8:38 pm

hello,

i have problems with firefox-esr when watching videos - firefox-esr crashes often while watching videos..
when firefox-esr crashes it always shows the following message on console:

Code: Select all

alsa_stream_get_position: Assertion `delay >= 0' failed
when i watch the source code of that specific error at the specific line 1255, i only see an assert(delay >= 0);.

to me it looks, that the code could properly continue, when the assertion command/method//macro wouldn't be in the way.
and i trought an assert() will only abort a running program, when it was compiled for debugging.
assert.h - Wikipedia

if that is the case, why is firefox-esr compiled for debugging in the raspberry pi os distro?
would firefox-esr not crash when it would be compiled without the debug option?
{ I only give negative feedback }
RPi B (256MB), B (512MB), B+, ZeroW; 2B; 3B, 3B+; 4B (4GB)

ranx72
Posts: 1
Joined: Thu Nov 26, 2020 8:19 am

Re: firefox-esr: is assert(...) always active or only in debug compilation?

Thu Nov 26, 2020 8:24 am

I have the same problem with Raspberry Pi4 and Firefox 78.5.0.

beta-tester
Posts: 1503
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: firefox-esr: is assert(...) always active or only in debug compilation?

Sat Nov 28, 2020 8:38 pm

the raspberry pi OS developer team always tell they have no time and no manpower to maintain two browsers so they only investigate their time and manpower to chromium.

unfortunately even Debian and Mozillar Firefox isn't reacting...
https://bugs.debian.org/cgi-bin/bugrepo ... bug=968293
https://support.mozilla.org/en-US/questions/1298999
{ I only give negative feedback }
RPi B (256MB), B (512MB), B+, ZeroW; 2B; 3B, 3B+; 4B (4GB)

User avatar
kerry_s
Posts: 2981
Joined: Thu Jan 30, 2020 7:14 pm

Re: firefox-esr: is assert(...) always active or only in debug compilation?

Sat Nov 28, 2020 10:02 pm

did you try enabling webrender all true
sorry, I'm on my tablet so I don't have exact wording.

beta-tester
Posts: 1503
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: firefox-esr: is assert(...) always active or only in debug compilation?

Sun Nov 29, 2020 9:22 pm

kerry_s wrote:
Sat Nov 28, 2020 10:02 pm
did you try enabling webrender all true
hi kerry_s,
what do you mean with "enabling webrender"?
do you mean hardware acceleration under the Preferences>General>Performance setting?
{ I only give negative feedback }
RPi B (256MB), B (512MB), B+, ZeroW; 2B; 3B, 3B+; 4B (4GB)

beta-tester
Posts: 1503
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: firefox-esr: is assert(...) always active or only in debug compilation?

Sun Dec 06, 2020 9:10 pm

with the Raspberry Pi OS upgrade from 2020-12-02 and its switch to PulseAudio as top layer for audio, i could not get firefox-esr to crash.
maybe that upgrade fixed that issue with the crash while play back videos.
(at least the last few days i tried to play many videos - no crashes up to now, yet)

but now there is a new issue. there are some youtube videos, that play back without audio in firefox-esr, those were played with audio before the upgrade came out.
e.g.: https://www.youtube.com/watch?v=4Wrc4fHSCpw
{ I only give negative feedback }
RPi B (256MB), B (512MB), B+, ZeroW; 2B; 3B, 3B+; 4B (4GB)

Return to “Troubleshooting”