New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/34030#issuecomment-994872906 Comment: @dkwo can you try running `sage --valgrind`? See: https://doc.sagemath.org/html/en/developer/doctesting.html#debugging-tools There are more options there. I'm not sure if we have to add some flag to get sage compiled with debug symbols to get better stack traces. Edit: possibly need to install valgrind with xbps.