News for hackers. Stuff that matters.
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.
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.
Re:Everything Is Broken: Shipping Rust-Minidump at Mozilla by gpm on Tuesday June 14, 2022 @05:09PM (#31746137)
I think it's the same people?
Re:Everything Is Broken: Shipping Rust-Minidump at Mozilla by db48x on Wednesday June 15, 2022 @12:30AM (#31749129)
It is. rr records the trace and the Pernosco converts it into a database that can be queried.