in reply to stack trace from thread exit

Would this help? (I don't use gdb):

#! perl -slw use strict; use threads; use Carp; sub thread { my $x = shift; eval{ my $y = 100 / $x; } or croak "$@"; } async( \&thread, $_ )->detach for reverse 0 .. 3; sleep 10 __END__ C:\test>junk Thread 4 terminated abnormally: Illegal division by zero at C:\test\ju +nk.pl line 9. at C:\test\junk.pl line 8 thread 4 main::thread(0) called at C:\test\junk.pl line 12 thread 4 eval {...} called at C:\test\junk.pl line 12 thread 4 ;

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy