Saagar Jha

(replying to Saagar Jha)
I don’t think it is unreasonable to diagnose bad hardware or that 10% of hardware is bad. I just think that people write code that is buggy enough to overshadow hardware failures in almost all cases
5 replies →
5 replies

Wes Campaigne

(replying to Saagar Jha)

@saagar I think it’s plausible that those numbers could be skewed by bad hardware crashing more reliably, compared with how often the average user triggers a crash bug in the software?

i.e. it matters how you’re counting crashes, based on raw events vs users/devices affected vs distinct stack traces.

For most users, if they do experience a crash, it’s probably a software defect.

But someone experiencing multiple crashes a day, it’s more likely hardware. And those crashes could start to really add up.

Bad hardware could make up a relatively small portion of the users experiencing crashes. But those users are so much more noisy (in terms of events, and distinct stack traces).

In the thread on the Firefox crashes, I think it was stated that the crash reports are anonymized such that they can’t easily correlate by device? So it sounds like they can’t measure crashes based on the breadth of users/devices affected. Which, in turn, would make it all the more valuable to add that sort of mechanism to detect and filter out the “bad hardware” noise from the reports.

Saagar Jha

(replying to Wes Campaigne)
@westacular I mean yes in theory this is possible but I think Occam’s razor for “we have a bunch of crashes we don’t know how to explain” is “you are bad at explaining your crashes”

Heath Borders

(replying to Saagar Jha)

@saagar maybe your stuff ran on better hardware? I'm thinking of all the extremely cheap phones and netbooks that Firefox must run on. I imagine Chrome's numbers like this would be even more interesting

Saagar Jha

(replying to Heath Borders)
@heathborders The author of the piece claims they are seeing these regardless of vendor

Siguza

(replying to Saagar Jha)

@saagar but I also think that 99% of users only visit the same 5 websites, and those are extensively tested. So the buggy code is on the extreme end of a cold path, globally...

Saagar Jha

(replying to Siguza)
@siguza I think the 5 websites people tend to use end up exercising most of the browser actually

Siguza

(replying to Saagar Jha)

@saagar in terms of edge cases? No way lol. JIT bugs wouldn't exist anymore if that were true.

Saagar Jha

(replying to Siguza)
@siguza I think the number of websites that trigger JIT bugs is a rounding error

Félix

(replying to Saagar Jha)

@saagar seems high to me too and it’s extremely suspicious that it’s uniform across platforms. it also entirely discounts the possibility of e.g. strange bugs in the host platform that will cause bit-flip-looking problems but are actually software issues

Saagar Jha

(replying to Félix)
@fay59 Waiting to find out that Apple devices have a bit 62 that is really prone to issues for some reason

Félix

(replying to Saagar Jha)

@saagar would also like to see what else factors in the guess of whether it’s faulty memory or something else


Joe Groff

(replying to Saagar Jha)

@saagar seems like a birthday paradox situation. the bigger your user base and ram usage, the higher percentage of rare hardware bugs you’re going to see

Saagar Jha

(replying to Joe Groff)
@joe I expect the number of weird software bugs to also manifest in a similar ratio