Re:Everything Is Broken: Shipping Rust-Minidump at Mozilla
by rockdoe on Tuesday June 14, 2022 @01:53PM
(#31743257)
Reminds me of "Your program shouldn't have bugs in it isn't an acceptable position to take for a debugger", from the rr folks. Unfortunately I can't find the source of the quote any more, but it stuck in my mind.
[ Parent
| on HN ]
Re:Everything Is Broken: Shipping Rust-Minidump at Mozilla
by Gankra on Tuesday June 14, 2022 @01:56PM
(#31743299)
Yeah computing backtraces in a crashreporter is extremely similar to a debugger in that you need a lot of fudge-factor heuristics and fallback modes for known toolchain bugs or common corruptions.
Re:Everything Is Broken: Shipping Rust-Minidump at Mozilla
by khuey on Tuesday June 14, 2022 @05:12PM
(#31746160)
You're probably remembering https://pernos.co/blog/tzcnt-portability/
Re:Everything Is Broken: Shipping Rust-Minidump at Mozilla
by gpm on Tuesday June 14, 2022 @04:52PM
(#31745916)
Speaking of the rr folk, they also had the fascinating point that you can reliably generate a "stack trace" by figuring out which `call` instructions were executed with what values (also other jump instructions I suppose), instead of walking the stack. Thereby skipping the whole "parsing the stack is insanely difficult and unreliable" issue.
Re:Everything Is Broken: Shipping Rust-Minidump at Mozilla
by glandium on Tuesday June 14, 2022 @05:08PM
(#31746121)
FWIW, that's from pernosco, not rr.