treerror_internal() declared as not returning.
Print backtrace on internal errors.