I want to see the backtrace of a random segmentation fault, so I set the RUST_BACKTRACE=1 environment variable. Normally it prints the backtrace info, but this time it doesn't. Why doesn't RUST_BACKTRACE work?
$ RUST_BACKTRACE=1 ./target/debug/grin-miner
...
Segmentation fault: 11
I have tried multiple times and always get no backtraces. If the error is in external libraries, will RUST_BACKTRACE do the job or not?
vagrind ./target/debug/grin-miner– Stargateur May 22 '18 at 2:33