Fixing bug #3226.
Fixing backtrace reporting.