Added backtraces on assertion failures.