Fix issue #10436 - The runtime should print stack traces to stderr