this post was submitted on 24 Jun 2023
244 points (100.0% liked)

Linux

56366 readers
553 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by AlpΓ‘r-Etele MΓ©der, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

On Monday morning we (Mozilla) detected a very large crash spike affecting #Firefox users on Linux, specifically on an older version of a Debian-based distribution. It turned out to be an interesting bug involving the #Linux kernel and #Google JavaScript code so let me tell you about it. A thread 🧡

top 18 comments
sorted by: hot top controversial new old
[–] ono@lemmy.ca 56 points 2 years ago (1 children)

Highlights:

The crash started apparently out-of-the-blue, hitting thousands of Argentinian users on a Debian-based distro called Huayra, and specifically on version 5 which was based on Debian 10.

Everybody seemed to crash while searching for images on Google.

Google's code was allocating 20000 variables in a single frame.

[–] spider@vlemmy.net 7 points 2 years ago* (last edited 2 years ago)

Everybody seemed to crash while searching for images on Google.

I'm experiencing this with Q4OS 3 (Centaurus), which under the hood is Debian 10 (Buster) -- and with the supposedly more stable Firefox ESR.

(Now using DuckDuckGo as an image search workaround.)

[–] erik1984@lemmy.world 32 points 2 years ago

Nice to see a good example of telemetry use

[–] Spectacle8011@lemmy.comfysnug.space 31 points 2 years ago (2 children)

It is interesting though that we find ourselves working around a bug we did not introduce triggered by code we do not control.

I imagine a lot of a browser's codebase looks like this. From what I understand, browsers expect webmasters to screw up their markup and make allowances for it.

[–] hare_ware@pawb.social 10 points 2 years ago (1 children)

Wdym? Almost all programs are like this, anything that uses an external library has issues like this.

I imagine so, but I don't know the specifics of other software. It's a quote from the Mastodon thread.

[–] monobot@lemmy.ml 5 points 2 years ago (2 children)

I love Firefox and understand that making modern web browser is monumentally complex, but browser should not crash what ever some website does.

That said, my Fennec is having problem with googlw images.

[–] Spectacle8011@lemmy.comfysnug.space 13 points 2 years ago (1 children)

but browser should not crash what ever some website does.

Sometimes crashing would be better than trying to beat wonky code into shape: https://samy.pl/myspace/tech.html

  1. Sweet! Now we can do javascript with single quotes. However, myspace strips out the word "javascript" from ANYWHERE. To get around this, some browsers will actually interpret "java\nscript" as "javascript" (that's javascript). Example:

But on principle I agree. I can't say whether Google Images works or not on my Firefox browser, because I'm using Mojeek.

[–] monobot@lemmy.ml 3 points 2 years ago

True, sometimes it is unavoidable.

But this looks like kernel issue, it is fixed in kernel 4.20.

[–] Atemu@lemmy.ml 2 points 2 years ago* (last edited 2 years ago) (1 children)

my Fennec is having problem with googlw images

Interesting, mine isn't. My FP4 is running 4.19, so it shouldn't have the fix.

I use nightly though, so perhaps the fix is already in FF?

[–] monobot@lemmy.ml 2 points 2 years ago

I just updated it and is working nicely againg, thanks for recommendation.

[–] techviator@lemmy.ml 26 points 2 years ago
[–] 65gmexl3@lemmy.world 22 points 2 years ago (1 children)

maybe update your link to point to the correct post. The link you have is a post on a kbin instance which doesn't have the full details, so i need to click again

[–] NotAPenguin@kbin.social 19 points 2 years ago (1 children)

You don't enjoy having to click three times to get to the content?

[–] 65gmexl3@lemmy.world 4 points 2 years ago

hmmm new perspective in clicking, thanks for enlightening me sempai

[–] Atemu@lemmy.ml 11 points 2 years ago (1 children)

Why did you link a kbin instance rather than just cross-posting?

[–] jdaxe@lemmy.ml 5 points 2 years ago

Not only that but a kbin post linking to a mastodon post!

[–] Felix@feddit.de 3 points 2 years ago

Good, I already thought that it would crash so often, because I'm using Firefox from a custom ArchLinux repository.

load more comments
view more: next β€Ί