HPCC-12104 Generate stack traces on unexpected execution exception

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #6676 from ghalliday/issue12104

HPCC-12104 Generate stack traces on unexpected execution exception

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>