I recompiled perl with -Doptimize=-g, but I intentionally did not carry forward my hacks to stub sigaction() calls. With ig's $SIG{__WARN__} function I still get a trace that does not include the root cause.
Thread 2 (Thread 18154): #0 0x00007f96d1155d57 in kill () from /lib/libc.so.6 #1 0x000000000046a9bb in Perl_my_unexec (my_perl=0x3229c40) at perl.c +:3552 #2 0x00000000004cb36f in Perl_pp_goto (my_perl=0x3229c40) at pp_ctl.c +:2522 #3 0x0000000000445bb0 in Perl_runops_debug (my_perl=0x3229c40) at dum +p.c:1639 #4 0x00000000004680ed in S_call_body (my_perl=0x3229c40, myop=0x7f96c +daa6a20, is_eval=0 '\000') at perl.c:2804 #5 0x0000000000467ae2 in Perl_call_sv (my_perl=0x3229c40, sv=0x336dd3 +0, flags=2) at perl.c:2708 #6 0x00000000004493e5 in S_vdie_common (my_perl=0x3229c40, message=0x3dbdd70 "Thread 1 terminated abnormally: main=HASH(0x3ec +fb90) at /p4/smframework/app/unit_tests/test_fmwk/tests/mnc-ha/Cluste +rSuite.pm line 115.\n", msglen=136, utf8=0, warn=1 '\001') at util.c:1283 #7 0x0000000000449f14 in Perl_vwarn (my_perl=0x3229c40, pat=0x7f96d09 +095a8 "Thread %lu terminated abnormally: %_", args=0x7f96cdaa6c10) at + util.c:1447 #8 0x000000000044a0e5 in Perl_warn (my_perl=0x3229c40, pat=0x7f96d090 +95a8 "Thread %lu terminated abnormally: %_") at util.c:1480 #9 0x00007f96d0901ecb in S_ithread_run (arg=0x32289b0) at threads.xs: +480 #10 0x00007f96d14ab9ca in start_thread () from /lib/libpthread.so.0 #11 0x00007f96d12086fd in clone () from /lib/libc.so.6 #12 0x0000000000000000 in ?? ()
I think perhaps my hacks to sigaction() were useful and/or there must be other options. As this is not indicating XSUBs code, I'll try 'perl -d' first.

In reply to Re^4: stack trace from thread exit by falan95054
in thread stack trace from thread exit by falan95054

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.