▲ 374 ▼ 10% of Firefox crashes are caused by bitflips (mas.to) submitted 7 months ago by JensSpahnpasta@feddit.org to c/technology@lemmy.world 102 comments fedilink hide all child comments
[+] reddig33@lemmy.world 24 points 7 months ago* (last edited 1 month ago) (13 children) [deleted] permalink fedilink source hideshow 13 child comments replies: [–] thebestaquaman@lemmy.world 55 points 7 months ago (2 children) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] MoogleMaestro@lemmy.zip 26 points 7 months ago (1 child) 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. permalink fedilink source parent hideshow 1 child comment replies: [–] caschb@lemmy.world 2 points 7 months ago I’ve had Safari of all things crash on me a couple of times. Still, not enough to actually be disruptive. permalink fedilink source parent [–] tal@lemmy.today 17 points 7 months ago (1 child) 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. permalink fedilink source parent hideshow 1 child comment replies: [–] SleeplessCityLights@programming.dev 1 point 7 months ago I had to turn down my block multiplier so that I could play Unreal Engine games. I would suspect that would extend the lifetime. After the underclock I have perfect stability. permalink fedilink source parent [–] Kairus@lemmy.world 14 points 7 months 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 permalink fedilink source parent [–] Deestan@lemmy.world 11 points 7 months ago (2 children) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] zurohki@aussie.zone 5 points 7 months 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. permalink fedilink source parent [–] ExLisper@lemmy.curiana.net 1 point 7 months ago You Firefox also hoards RAM? I thought it's just mine. permalink fedilink source parent [–] r00ty@kbin.life 7 points 7 months ago (1 child) No, they're saying Firefox uses so much ram they're far far more likely to be a victim! permalink fedilink source parent hideshow 1 child comment replies: [–] grue@lemmy.world 5 points 7 months ago Laughs in Memory: 46.84 GiB / 62.72 GiB (75%) with (probably) several hundred tabs open permalink fedilink source parent [–] JensSpahnpasta@feddit.org [S] 5 points 7 months ago (1 child) 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. permalink fedilink source parent hideshow 1 child comment replies: [–] Jarix@lemmy.world 2 points 7 months 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 permalink fedilink source parent
[–] thebestaquaman@lemmy.world 55 points 7 months ago (2 children) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] MoogleMaestro@lemmy.zip 26 points 7 months ago (1 child) 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. permalink fedilink source parent hideshow 1 child comment replies: [–] caschb@lemmy.world 2 points 7 months ago I’ve had Safari of all things crash on me a couple of times. Still, not enough to actually be disruptive. permalink fedilink source parent
[–] MoogleMaestro@lemmy.zip 26 points 7 months ago (1 child) 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. permalink fedilink source parent hideshow 1 child comment replies: [–] caschb@lemmy.world 2 points 7 months ago I’ve had Safari of all things crash on me a couple of times. Still, not enough to actually be disruptive. permalink fedilink source parent
[–] caschb@lemmy.world 2 points 7 months ago I’ve had Safari of all things crash on me a couple of times. Still, not enough to actually be disruptive. permalink fedilink source parent
[–] tal@lemmy.today 17 points 7 months ago (1 child) 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. permalink fedilink source parent hideshow 1 child comment replies: [–] SleeplessCityLights@programming.dev 1 point 7 months ago I had to turn down my block multiplier so that I could play Unreal Engine games. I would suspect that would extend the lifetime. After the underclock I have perfect stability. permalink fedilink source parent
[–] SleeplessCityLights@programming.dev 1 point 7 months ago I had to turn down my block multiplier so that I could play Unreal Engine games. I would suspect that would extend the lifetime. After the underclock I have perfect stability. permalink fedilink source parent
[–] Kairus@lemmy.world 14 points 7 months 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 permalink fedilink source parent
[–] Deestan@lemmy.world 11 points 7 months ago (2 children) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] zurohki@aussie.zone 5 points 7 months 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. permalink fedilink source parent [–] ExLisper@lemmy.curiana.net 1 point 7 months ago You Firefox also hoards RAM? I thought it's just mine. permalink fedilink source parent
[–] zurohki@aussie.zone 5 points 7 months 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. permalink fedilink source parent
[–] ExLisper@lemmy.curiana.net 1 point 7 months ago You Firefox also hoards RAM? I thought it's just mine. permalink fedilink source parent
[–] r00ty@kbin.life 7 points 7 months ago (1 child) No, they're saying Firefox uses so much ram they're far far more likely to be a victim! permalink fedilink source parent hideshow 1 child comment replies: [–] grue@lemmy.world 5 points 7 months ago Laughs in Memory: 46.84 GiB / 62.72 GiB (75%) with (probably) several hundred tabs open permalink fedilink source parent
[–] grue@lemmy.world 5 points 7 months ago Laughs in Memory: 46.84 GiB / 62.72 GiB (75%) with (probably) several hundred tabs open permalink fedilink source parent
[–] JensSpahnpasta@feddit.org [S] 5 points 7 months ago (1 child) 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. permalink fedilink source parent hideshow 1 child comment replies: [–] Jarix@lemmy.world 2 points 7 months 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 permalink fedilink source parent
[–] Jarix@lemmy.world 2 points 7 months 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 permalink fedilink source parent