Get the latest tech news

Finding a Bug in Chromium


bug in Chromium This week I’ve submitted a report for a bug I found in Chromium, the first time I’ve done so. I wanted to show how I found the bug and to spread … to hopefully speed up the resolution of it.

I kept adding more metrics around our WASM usage until I pinpointed the exact thing that was happening: at some point the JS engine would just stop calling finalizers. Now I had to create a reproduction, which was a bit daunting because we have a complicated app using many browser features like workers, SharedArrayBuffers, who knows what underlying interaction causes this issue. After some fiddling I managed to create a minimal reproduction, all you have to do is insert a lot of objects into a FinalizationRegistry and reload the tab a couple of times and then it mysteriously starts happening.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of bug

bug

Photo of Chromium

Chromium

Related news:

News photo

OpenAI is fixing a ‘bug’ that allowed minors to generate erotic conversations

News photo

Microsoft fixes bug causing incorrect 0x80070643 WinRE errors

News photo

Microsoft rated this bug as low exploitability. Miscreants weaponized it in just 8 days