>Since the problem gets worse with temperature, what happens if I heat up the RAM? Neat. I wonder if that makes Rowhammer more likely to occur.
Debugging an evil Go runtime bug
21–30 of 51 posts
Re: Debugging an evil Go runtime bug
#22Such a thorough and well written write up. To think that some experienced programmers I know declare that concurrency is easy.
A) other (probably better?) engineers have created abstractions for them, and
B) they've never had to debug a truly difficult issue related to concurrency
Re: Debugging an evil Go runtime bug
#23Why doesn't the vDSO code just use MOV in its stack probe probe rather than an OR?
Because gcc's -fstack-check is garbage. Gentoo Hardened should not be using it.
> This code is so wrong I don't even no where to start. ... I suppose we could try to make the kernel fail to build at all on a broken configuration like this.
Re: Debugging an evil Go runtime bug
#24Re: Debugging an evil Go runtime bug
#25Re: Debugging an evil Go runtime bug
#26Re: Debugging an evil Go runtime bug
#27>Since the problem gets worse with temperature, what happens if I heat up the RAM? Neat. I wonder if that makes Rowhammer more likely to occur.
Probably. Hotter usually means closer to not working for semiconductors.
Think of it as SNR (signal-noise-ratio) -- increasing temperature increases thermal noise (there are other kinds), and with the same signal, it should actually reduce the efficiency of the side channel.
But it brings up a good question, I wonder if anyone has studied this...
Re: Debugging an evil Go runtime bug
#28Earlier quoted context omitted.
Because gcc's -fstack-check is garbage. Gentoo Hardened should not be using it.
From https://lkml.org/lkml/2017/11/10/310 , discussing the disassembly: > This code is so wrong I don't even no where to start. ... I suppose we could try to make the kernel fail to build at all on a broken configuration like this.
Re: Debugging an evil Go runtime bug
#29Marcan's attitude is great; I know of a ton of people (myself included) who would've written that article with far more complaining interleaved. Super informative as well, I learned a ton from this article (GRUB 2 feature for marking off bad RAM? Wow!). Very well written, informative, humorous, etc. Love it
Agreed. Marcan's a chill dude. I saw him a few times in the Dolphin Emulator IRC and he always had interesting things to say. From my perspective this approach was pretty unique; going all the way down to debugging the hardware first may seem obvious to some, but it's a totally opposite approach to how I'd go about it. My mind would jump directly to producing a minimal test case. Would've never thought to mark off ba…
That's not to say I spend a whole lot of time looking at the lower levels, but my quick mental checklist starts off down at physical points, and I try to quickly eliminate possibilities. In a lot of cases it's obvious it's a code / logic bug, and you can completely skip the lower layer stuff, but making it a conscious step pays off.
Re: Debugging an evil Go runtime bug
#30Why doesn't the vDSO code just use MOV in its stack probe probe rather than an OR?