How We (Almost) Found Chromium’s Bug via Crash Reports to Report URI

Date:

Share post:

Tracking down bugs in software is a pain that all of us who write code must bear. When we’re talking about outright errors in a web page, you typically have something to get you started (such as output in the console), but that wasn’t the case here:

That’s on a Chromebook, and it’s the first user report we had about the issue back in early July. The initial problem this presented is that there are not a lot of people running around with devices we could test on. But there are enough people using them that we had multiple similar reports, so we were well beyond just giving people like Peter a bit of “works on my machine”, and moving on. But the “SIGILL” error means that something pretty low-level has happened and, as you can see from the screen grab, you can’t exactly just pop open the dev tools and peak at what’s broken in the site when it can’t even load in the first place.

However, after months of making no progress whilst the occasional Chromium user popped their head up and reported exactly the same problem, the answer finally emerged:

Uh… shouldn’t a browser just ignore a directive it doesn’t recognise? (And incidentally, report-sha256 is documented in CSP level 3.) But the timing was awful coincidental with when we added that exact directive, only just before people started reporting problems:

Getting to the title of this post, we almost worked this out ourselves, we just didn’t look at data that was right in front of our eyes. Here it is:

This is Report URI’s crash report graph, and until June, we’d had a good run! Crash reports are super cool because your customers’ browsers automatically generate them, and with just a little tweaking of your response headers, you can easily turn your customers into automatic crash reporting bots! Report URI’s value proposition (disclosure: I have a working relationship with them) is that it can receive those reports and create graphs like you see above. We just weren’t watching the reports closely enough, hence the “almost” in the title.

I wanted to write this short post because sometimes, the answer is right in front of your eyes, and if we’d looked at what in hindsight is a really obvious place to check, we would have nailed this months ago. So, turn on crash reporting, and pay attention to it!

Report URI



Source link

spot_img

Related articles

New Windows 11 Auto-Repair Feature

Microsoft has added a new feature to Windows 11 that has the ability to automatically repair a non-booting...

Coplanner – The AI Event Assistant for Smart Event Planning

The events industry is burning out its best people. While 89% of professionals report staffing shortages impacting their...

Top 10 Most Popular Computer Languages for Developers

The programming languages define what is the future of software and application development. The most popular programming languages...

How to watch the 2025 MLB World Series without cable

The 2025 Fall Classic saw a historic Game 4 between the Los Angeles Dodgers and the Toronto Blue...