backtrace: add i386 support
backtrace: don't segfault if main() is optimized away