runtime: don't always show frames with no function in traceback