News for hackers. Stuff that matters.
Re:Achievement unlocked: rustc segfault by wyldfire on Monday April 11, 2022 @12:20AM (#30984636)
Note that assertions or compiler segfaults or other similar issues can be automagically reduced to the critical input using tools like c-reduce/cvise. Sure, they're designed for C and C-like languages, but they're tolerable for rust, assembly languages, etc. Probably anything that has text with line separators would work reasonably well.

Also for LLVM IR, there's llvm-reduce and -opt-bisect-limit.

Not sure if they'd have helped here but they're generally useful tools for tracking down similar issues.

Re:Achievement unlocked: rustc segfault by ahmedalsudani on Monday April 11, 2022 @03:19AM (#30985668)
Wow those look like great tools!

Thank you for sharing. There were GCC segfaults that started appearing on my machine a few months ago, and they magically disappeared after a recent update. Those tools are going to be a massive help next time that happens.