Debugging an evil Go runtime bug - marcan.st


59 bookmarks. First posted by new299 13 days ago.


"I don’t have the luxury of ECC RAM on this laptop. What I do have, though, is the ability to mark the bad block of RAM as bad and tell the OS not to use it. There is a little-known feature of GRUB 2 which allows you to do just that, by changing the memory map that is passed to the booted kernel. It’s not worth buying new RAM just for a single bad bit (especially since DDR3 is already obsolete, and there’s a good chance new RAM would have weak cells anyway), so this is a good option.

However, there’s one more thing I can do. Since the problem gets worse with temperature, what happens if I heat up the RAM?

Using a heat gun set at a fairly low temperature (130°C) I warmed up two modules at a time (the other two modules are under the rear cover, as my laptop has four SODIMM slots total). Playing around with module order, I found three additional weak bits only detectable at elevated temperature, and they were spread around three of my RAM sticks."
debugging  memory 
10 days ago by arsyed
this bug is every gentoo user's fantasy
linux  go  golang  debugging  bug  stack  vdso  gentoo  recompile  the  world 
11 days ago by pjjw
RT : New blog post: Debugging an evil Go runtime bug
from twitter
11 days ago by blackthorne
RT : This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter
12 days ago by mlp
Preface I’m a big fan of Prometheus and Grafana . As a former SRE at Google I’ve learned toappreciate good monitoring, and this combination has been a winner…
from instapaper
12 days ago by badboy
RT : This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter_favs
12 days ago by pfctdayelise
RT : This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter
12 days ago by doki_pen
Good story but most worth it for the talk of gen_initramfs_list.sh.
golang  linux  kernel  initrd  initramfs 
12 days ago by rcrowley
Bare metal debugging with a heat gun to find dodgy RAM. Brilliant work by

CC
from twitter
12 days ago by vielmetti
I’m a big fan of Prometheus and Grafana. As a former SRE at Google I’ve learned to appreciate good monitoring, and this combination has been a winner for me over the past year.
Pocket 
12 days ago by iiska
This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter_favs
12 days ago by danbri
This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter_favs
12 days ago by e30chris
This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter_favs
12 days ago by felipecn
This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter_favs
12 days ago by bob
This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter_favs
12 days ago by briantrice
This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter_favs
12 days ago by dshaw
This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter_favs
12 days ago by tamberg
This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter_favs
12 days ago by vu3rdd
This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter_favs
12 days ago by indiamos
This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter_favs
12 days ago by mariow
This guy heated up his RAM with a heat gun to debug a @golang runtime bug. https://t.co/KKSA7vqfr8
I hereby nominat… https://t.co/glga0uPchs
– Ahmet Alp Balkan (✈️KubeCon) (ahmetb) http://twitter.com/ahmetb/status/937960573391609856
toread  via:packrati.us 
12 days ago by eeichinger
This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter_favs
12 days ago by jabbrwcky
This guy heated up his RAM with a heat gun to debug a runtime bug.
I hereby nominat…
from twitter_favs
12 days ago by willie
Debugging an evil Go runtime bug
from twitter
13 days ago by geeknik
Another fun debugging writeup:
from twitter
13 days ago by marktriggs
RT : Debugging segfaults with a heat gun and dozens of kernel compiles. Truly amazing read.
from twitter
13 days ago by bachmann1234
Pretty interesting analysis of potential hardware, kernel and userland issues: (although sh…
from twitter
13 days ago by jamesog
However, there’s one more thing I can do. Since the problem gets worse with temperature, what happens if I heat up the RAM?
go 
13 days ago by tihoutrom
New blog post: Debugging an evil Go runtime bug
from twitter_favs
13 days ago by new299