Backtrace library dynamically loaded with dlopen causes errors

  1. Compile your code in debug mode
  2. Run the QNX ‘dumper’ process
  3. Wait for your code to crash and you’ll get a dump file.
  4. Use gcc to load the dump file and you can find out exactly where it crashed.

If you only crash in release mode you can still get a dump file but it wont’ contain near the level of detail (I think you just get the function rather than down to the specific line and you can’t inspect runtime variable etc).

Tim