7
submitted 1 year ago by KoolKai@fedia.io to c/linux@lemmy.ml

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 8 comments
sorted by: hot top controversial new old
[-] erik1984@lemmy.world 3 points 1 year ago

Nice to see a good example of telemetry use

[-] ono@lemmy.ca 1 points 1 year ago

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.

[-] techviator@lemmy.ml 0 points 1 year ago

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.

[-] monobot@lemmy.ml 0 points 1 year ago

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.

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.

load more comments
view more: next ›
this post was submitted on 24 Jun 2023
7 points (100.0% liked)

Linux

47485 readers
982 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 5 years ago
MODERATORS