• Delusion6903@discuss.online
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    12 hours ago

    I really don’t remember the last time Firefox crashed on me and I’ve been using it for many years

    • amateurcrastinator@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 hours ago

      Yeah same here. Sometimes I think some people either have no clue how to use a computer or they do it on purpose and then complain.

    • Retail4068@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      25
      ·
      22 hours ago

      Let’s spend a ton of extra money minimizing edge case crashing in a browser!!!

      🙄

      • douglasg14b@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        2
        ·
        8 hours ago

        I always love it when folks who don’t actually know what they’re talking about, comment like they do…

        It’s not just the browser. This example is the browser, but it’s your entire system stability that is affected by random bit flips.

          • vacuumflower@lemmy.sdf.org
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 hours ago

            There’s a jump instruction by an address read from RAM, a bit flip occurred so a condition “if friend greet else kill” worked as “if friend rape else kill”. Absolutely anything can happen, that wasn’t determined by program design flaws and errors. A digital computer is a deterministic system (sometimes there are intentional non-deterministic elements like analog-based RNGs), this is non-deterministic random changes of the state.

            In concrete terms - things break without reason. A perfect program with no bugs, if such exists, will do random wrong things if bit flips occur. Clear enough?

          • deadcade@lemmy.deadca.de
            link
            fedilink
            English
            arrow-up
            4
            ·
            edit-2
            9 hours ago

            Simple stuff like a calculator can be just as broken by a bitflip as more complex things. You wouldn’t want your calculator to say 1 + 1 = 2049.

            If you want to rely on your computer, ECC RAM is required.

            • FauxLiving@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              6 hours ago

              Exactly, one of the ‘nerd edge cases’ (as the now removed comment mentioned) is that I use ZFS on my NAS.

              There’s lots of checksumming and encryption. Errors in that process are not acceptable and could potentially cause data loss. Since the one of the points of using ZFS is the enhanced data integrity, not using ECC means losing out on that guarantee.

              • Retail4068@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                arrow-down
                1
                ·
                5 hours ago

                Nobody fucking cares my man. Not important. Nobody in the regular world has ever been effected by not having ECC. You’re inventing edge cases that most cares about. Linus suffers from not understanding normal people.

                • vacuumflower@lemmy.sdf.org
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  3 hours ago

                  You can’s speak about not having frequent corruption of files when you are not using tools detecting it. I can guarantee you have plenty of already corrupt stuff on your hard drives. RAM bit flips do contribute to that.

                  You have bugs (leading to broken documents, something failing, freezes, crashes) in applications you use and part of them is not due to developer’s error, but due to uncorrected memory errors.

                  If you’d try using a filesystem like ZFS with checksumming and regular rescans, you’d see detected errors very often. Probably not corrected, because you’d not use mirroring to save space, dummy.

                  And if you were using ECC, you’d see messages about corrected memory errors in dmesg often enough.

                • FauxLiving@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  3 hours ago

                  Nobody in the regular world has ever been effected by not having ECC.

                  Based on the article, it looks like at least 10% of crashes are caused by not having ECC.

                  Linus suffers from not understanding normal people.

                  Well, you are demonstrating that you’re an expert people person so I’ll just have to take your word.

            • Retail4068@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              1
              ·
              5 hours ago

              At what% does this effect the average consumer. And additionally in a critical easy. Can you cite, literally one case, where the presence of ECC would have been critical beyond an occasional annoyance. 1.

              • deadcade@lemmy.deadca.de
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 hour ago

                The exact numbers for when it messes something up, but keeps running, are unknown and highly ubpredictable.

                According to above post, about 10% of firefox crashes (more numbers found in the post) are caused by this stuff. It’s not unreasonable to say those crashes could’ve had the bitflip happen on content instead, changing maybe a character on the page or something.

                Note that it’s not 10% of users, as that’s reslly hard to figure out. Someone with bad RAM will likely crash more often.

          • toddestan@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            11 hours ago

            Bit rot is real, I’ve seen it first hand in plenty of cases. While I tend to blame the storage device, for infrequently accessed files that have been copied multiple times from different drives, I can’t rule out RAM or some other source of the corruption.

          • Buddahriffic@lemmy.world
            link
            fedilink
            English
            arrow-up
            6
            ·
            13 hours ago

            Improved overall system stability and data accuracy? With error correction, you can also push performance farther, since you can tolerate a certain amount of errors, instead of needing to aim for 0% error rate.

      • bruhduh@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        2
        ·
        21 hours ago

        I have lga 1356 xeon 2470v2 with 64gb ddr3 ecc ram, cheap and good setup

      • roofuskit@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        18 hours ago

        Yeah I can’t remember the last time my browser crashed. No way I’m upgrading all that hardware to avoid something that happens that seldom.

        • partofthevoice@lemmy.zip
          link
          fedilink
          English
          arrow-up
          5
          ·
          17 hours ago

          Probably not the use case you’d want to buy ECC for. I considered it for my homebuild because I figured I might process a lot of data at once, and I would appreciate the piece of mind… but I still decided no because I could get more ram for the same price if it were not ECC.

  • w3dd1e@lemmy.zip
    link
    fedilink
    English
    arrow-up
    95
    ·
    24 hours ago

    Firefox kept crashing on me a few days ago. Decided to run MemTest86 and sure enough. Bad RAM.

  • GreenBeanMachine@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    2
    ·
    20 hours ago

    What makes Firefox more susceptible to bitflips than any other software. Wouldn’t that mean 10% of all software crashes are caused by bitflips and it just depends what software you are running when that happens.

    • toddestan@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      11 hours ago

      Programs that use more memory could be slightly more susceptible to this sort of thing because if a bit gets randomly flipped somewhere in a computer’s memory, the bit flip more likely to happen in an application that has a larger ram footprint as opposed to an application with a small ram footprint.

      I’m still surprised the percentage is this high.

    • xthexder@l.sw0.com
      link
      fedilink
      English
      arrow-up
      12
      ·
      15 hours ago

      This checks out with Linus Torvalds saying most OS crashes across linux AND windows are caused by hardware issues, and also why he uses ECC RAM.

      • douglasg14b@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 hours ago

        Honestly yeah it’s 100% checks out.

        I have device that has ECC ram and I can keep it online and applications running for well over 18 months with no stability issues.

        However, both my work computers and my personal computer start to become unstable after about 15 to 20 days. And degrade over the course of 1 to 2 years (with a considerable increase in the number of corrupt system files)

        Firefox and chrome start to become unstable after usually a week if they have really high memory usage.

        • xthexder@l.sw0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          7 hours ago

          Can confirm, my linux server with ECC RAM has 1040 days of uptime now without a single issue.

    • spizzat2@lemmy.zip
      link
      fedilink
      English
      arrow-up
      31
      ·
      18 hours ago

      I don’t think they’re arguing that Firefox is more susceptible to bit flips. They’re trying to say that their software is “solid” enough that a significant number of the reported crashes are due to faulty hardware, which is essentially out of their control.

      If other software used the same methodology, you could probably use the numbers to statistically compare how “solid” the code base is between the two programs. For example, if the other software found that 20% of their crashes were caused by bit flips, you could reasonably assume that the other software is built better because a smaller portion of their crashes is within their control.

      • GreenBeanMachine@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        3
        ·
        18 hours ago

        Interesting metrics to measure, but since I have no reference to how many crashes are caused by bitflips in any other software, it’s really hard to say Firefox is super stable or super flaky.

    • Buddahriffic@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      13 hours ago

      No, the exact % depends on how stable everything else is.

      Like a trivial example, if you have 3 programs, one that sets a pointer to a random address and tries to dereference it, one that does this but only if the last two digits of a timer it checks are “69”, and one that never sets a pointer to an invalid address, based on the programs themselves, the first one will crash almost all the time, the second one will crash about 1% of the time, and the third one won’t crash at all.

      If you had a mechanism to perfectly detect bit flips (honestly, that part has me the most curious about the OP), and you ran each program until you had detected 5 bit flip crashes (let’s say they happen 1 out of each 10k runs), then the first program will have something like a 0.01% chance of any given crash being due to bit flip, about 1% for the 2nd one, and 100% for the 3rd one (assuming no other issues like OS stability causing other crashes).

      Going with those numbers I made up, every 10k “runs”, you’d see 1 crash from bit flips and 9 crashes from other reasons. Or for every crash report they receive, 1 of 10 are bit flips, and 9 of 10 are “other”. Well, more accurately, 1 of 20 for bit flip and 19 of 20 for other, due to the assumption that the detector only detects half of them, because they actually only measured 5%.

    • bamboo@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      18 hours ago

      That seems like a broad generalization, and for specialized software that requires newer hardware, you’d expect to find the rate of bitflips crashes much lower than 10%. You could argue that since Firefox is supported on older operating systems, longer than the support lifetime of the OS [1], it’s likely Firefox is being used specifically to get the last bit of life out of the hardware before it gets trashed.


      1. https://www.theverge.com/tech/880781/mozilla-is-dropping-firefox-support-for-windows-7-and-8 ↩︎

  • flamingo_pinyata@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    67
    arrow-down
    5
    ·
    24 hours ago

    This is how dev humblebrag sounds like.
    Our app is so stable only random hardware events like bitflips can crash it.

    • grue@lemmy.world
      link
      fedilink
      English
      arrow-up
      22
      arrow-down
      4
      ·
      21 hours ago

      LOL, nah, Firefox isn’t that stable. If 10% of crashes were caused by bad RAM, it means 90% were still caused by something else.

      (My install regularly gets a memory leak that eventually makes my system unusable, BTW. I don’t think it’s necessarily the fault of Firefox itself – more likely Javascript running in tabs, maybe interacting with an extension or something, and some of the blame goes to the kernel’s poor handling of low memory conditions – but it’s definitely not “dev humblebrag stable” for me.)

      • Liketearsinrain@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 hours ago

        A lot of these crashes were caused by third party security software injecting code into firefox. There was also some malware, and utilities like driver helpers.

        I don’t have precise numbers, but you may be able to search for it.

      • SkyeStarfall@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        24
        ·
        18 hours ago

        10% of all crashes is definitively a brag. Crashes due to faulty hardware/bitflips is rare rare, generally I would expect that percentage to be less than 1% in any complex app

    • Jarix@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      17 hours ago

      How so?

      Didn’t it just highlight how stable the software is?

      I assume bitflipping crashes most softwares. If your software is so stable that hardware errors that effect everyone equally(which may be my erroneous assumption I’ll admit) then it is staying that if Firefox is crashing on you, it might be time to run some diagnosis on your hardware.

      A litmus test as a browser

      • xxce2AAb@feddit.dk
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        17 hours ago

        Fair question. I find it unnerving, because there’s very little a software developer can meaningfully do if they cannot rely on the integrity of the hardware upon which their software is running, at least not without significant costs, and ultimately if the problem is bad enough even those would fail. This finding seems to indicate that a lot of hardware is much, much less reliable than I would have thought. I’ve written software for almost thirty years and numerously platforms at this point, and the thought that I cannot assume a value stored in RAM to reliably retain it’s value fills me with the kind of dread I wouldn’t be able to explain to someone uninitiated without a major digression. Almost everything you do on any computing device - whether a server or a smart phone relies on the assumption of that kind of trust. And this seems to show that assumption is now merely flawed, but badly flawed.

        Suppose you were a car mechanic confronted with a survey that 10 percent of cars were leaking breaking fluid - or fuel. That might illustrate how this makes me feel.

        • Jarix@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          16 hours ago

          Hmm thanks, also please massively digress if you would like to.

          I interpreted it like 10% is a lot if it’s 10% of a million. That 100,000. So if there’s a million things that crash Firefox that’s a high number.

          If Firefox only crashes 10 times a year because it runs that well, 10% or that 1 time it crashes from a bitflip is impressive that the rare bitflip takes up such a high percentage of total crashes because Firefox just doesn’t crash very often.

          If your dead is justified that won’t be too surprising as a hardware is getting made less reliable these days thing. Enshitification being the norm, and tech being in everything nowadays

    • llii@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      20
      ·
      1 day ago

      When I upgrade my home server I would like a low-power system with ECC RAM. I hope it will be financially viable in the future.

      • tal@lemmy.today
        link
        fedilink
        English
        arrow-up
        22
        ·
        1 day ago

        The problem is that ECC is used to permit price discrimination between server (less price sensitive) and PC (more price sensitive) users. Like, there’s a significant price difference, more than cost-of-manufacture would warrant. There are only a few companies that make motherboard chipsets, like Intel, and they have enough price control over the industry that they can do that.

        Also…I’m not sure that ECC is the right fix. I kind of wonder whether the fact is actually that the memory is broken, or that people are manually overclocking and running memory that would be stable at a lower rate at too high of a rate, which will cause that. Or whether BIOSes, which can automatically detect a viable rate by testing memory, are simply being too aggressive in choosing high memory bandwidth rates.

        • grue@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          21 hours ago

          Also…I’m not sure that ECC is the right fix. I kind of wonder whether the fact is actually that the memory is broken, or that people are manually overclocking and running memory that would be stable at a lower rate at too high of a rate, which will cause that.

          Some of it is cosmic rays, right? I think ECC is still worth it even at JEDEC speeds.

          • tal@lemmy.today
            link
            fedilink
            English
            arrow-up
            2
            ·
            20 hours ago

            even at JEDEC speeds.

            My last Intel motherboard couldn’t handle all four slots filled with 32GB of memory at rated speeds. Any two sticks yes, four no. From reading online, apparently that was a common problem. Motherboard manufacturers (who must have known that there were issues, from their own testing) did not go out of their way to make this clear.

            Maybe it’s not an issue with registered/buffered memory, but with plain old unregistered DDR5, I think that manufacturers have really selling product above what they can realistically do.

        • toddestan@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 hours ago

          ECC memory and server hardware in general is surprisingly cheap if you’re fine buying used gear that’s a few years old. Once that stuff gets old enough that it’s being cycled out of data centers en masse, it hits the used market and the supply often exceeds the limited demand for that kind of stuff.

          With that said, I don’t know if that’s true at the moment.

        • grue@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          ·
          21 hours ago

          There’s no real good reason that all RAM shouldn’t have been ECC since decades ago. It doesn’t actually cost much more to implement. The only reason it isn’t, as tal’s reply mentioned, is artificial price discrimination.

  • reddig33@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    1
    ·
    1 day ago

    Wouldn’t that mean ten percent of all crashes in all apps would be caused by bit flips? What makes Firefox special?

    • thebestaquaman@lemmy.world
      link
      fedilink
      English
      arrow-up
      45
      arrow-down
      1
      ·
      1 day ago

      You can’t effect the number of bit flips your users hardware has, but you can affect how often buggy code corrupts their memory or otherwise crashes your program.

      Let’s say any app will crash about once a year on my machine due to a bit flip. If the app is crap and crashes hundreds of times for other reasons, the bit flip is irrelevant. If the app is robust enough that the bit flip accounts for 10 % of the crashes, that basically means the app is pretty much never crashing due to poor code.

      • MoogleMaestro@lemmy.zip
        link
        fedilink
        English
        arrow-up
        19
        ·
        24 hours ago

        That’s the way people should be looking at it. It basically means hard crashes are extremely rare in the firefox ecosystem.

        To be fair, I can’t remember the last time a browser crashed on me in general.

        • caschb@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          21 hours ago

          I’ve had Safari of all things crash on me a couple of times. Still, not enough to actually be disruptive.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      16
      ·
      1 day ago

      Anecdotal evidence, but I had both a 13th gen and 14th gen Intel CPU with the bug that caused them to over time, destroy themselves internally.

      The most-user-visible way this initially came up, before the CPUs had degraded too far, was Firefox starting to crash, to the point that I initially used Firefox hitting some websites as my test case when I started the (painful) task of trying to diagnose the problem. I suspect that it’s because Firefox touches a lot of memory, and is (normally) fairly stable — a lot of people might not be too surprised if some random game crashes.

    • Deestan@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      23 hours ago

      As a long time Firefox user, I believe Firefox sees orders of magnitude more RAM issues than other apps because it is using orders of magnitude more RAM than other apps.

      • zurohki@aussie.zone
        link
        fedilink
        English
        arrow-up
        5
        ·
        19 hours ago

        I suspect the stuff Firefox stores in ram is more sensitive, too. A lot of games load tens of gigabytes of textures, but a bitflip in that stuff will lead to a pixel somewhere being the wrong colour instead of a crash.

    • Kairus@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 day ago

      You’re assuming that app quality is constant. But if I made an app that crashes on launch, I can confidently say 0% of those crashes would be from bitflips.

      Firefox isn’t special in some way that could cause bitflips, but it’s 1) where this data was collected (and why this post isnt talking about some other product) and 2) speaks to the quality of FF, because crashes are rare enough for bit flips to be a significant crash factor.

      The takeaway is that for the FF team, and anyone using ram (everyone), bitflips are more common than expected

    • r00ty@kbin.life
      link
      fedilink
      arrow-up
      7
      arrow-down
      2
      ·
      24 hours ago

      No, they’re saying Firefox uses so much ram they’re far far more likely to be a victim!

      • grue@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        21 hours ago

        Laughs in Memory: 46.84 GiB / 62.72 GiB (75%) with (probably) several hundred tabs open

    • JensSpahnpasta@feddit.orgOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      24 hours ago

      It would be interesting to see how this works in Chrome. I would guess that it could be the same - people tend to leave their browsers open with hundreds of tabs and will never reboot their laptops. If you play a random game for 2 hours, bit flips shouldn’t be a problem. But if you keep your browser open for weeks or months with hundreds of tabs, that may cause problems.

      • Jarix@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        17 hours ago

        … I can’t imagine having a browser with hundreds of open tabs. That would tend me of the old days of Netscape Navigator and all the popups and browser add on cancer.

        Ahh the nostalgic days of the early Dotcom era. I sometimes miss you geocities