logoalt Hacker News

OhMeadhbhyesterday at 4:31 AM3 repliesview on HN

At Amazon we had a bug that was the result of a compiler bug and the behaviour of intel cores being mis-documented. It was intermittent and related to one core occasionally being allowed to access stale data in the cache. We debugged it with a logic analyzer, the commented nginx source and a copy of the C++ 11 spec.

It took longer than 2 days to fix.


Replies

ChrisMarshallNYyesterday at 5:37 AM

I’m old enough to have used ICEs to trace program execution.

They were damn cool. I seriously doubt that something like that, exists outside of a TSMC or Intel lab, these days.

show 1 reply
amossyesterday at 7:10 AM

When you work on compilers, all bugs are compiler bugs.

(apart from the ones in the firmware, and the hardware glitches...)

auguzanellatoyesterday at 5:33 AM

What kind of LA did you use to de bug an Intel core?

show 1 reply