Get the latest tech news

The Hunt for Error -22


This article is a linear retrospective of how we searched for and eventually fixed a hard-to-find bug in our embedded software. If you're only interested in the outcome, then make sure to read the ...

But we do have unsafe code in our codebase; Especially on embedded, you can't do without, because we need to talk to the hardware and implement very low-level datastructures to be efficient (and to avoid allocations in some cases). After some consideration, the client decided to give us more time to look into this problem and we also involved our good friend and former colleague Wouter Geraedts(aka Wassasin online). In the working version, I found a section that had two interesting words: one seemed to be a pointer to the TX shared memory and the other had a value of 44, which was the length of the message we were sending to the server.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Hunt

Hunt

Photo of Error

Error

Related news:

News photo

Mail-out madness as insurer offers refunds to customers in error

News photo

Android Auto rolls out fixes for stuttering audio and error messages

News photo

10 Years Later: Malaysia To Resume Hunt For Flight MH370