Your "Working command" demonstrates a fairly serious problem that could be, for example, memory corruption:

Free non-Callback 1011f4aa0 RV=0 during global destruction.

So I'm not terribly shocked to have such a problem manifest somewhat differently under a different set of versions of components.

Which points the finger at your problem being in Tk and/or POE, not Perl. It could be a bug in Tk that gets exposed by something POE does. Or vice versa.

It could even be not a bug in Tk or POE, but just that Tk makes some too-bold assumptions that just conflict with some too-bold assumptions that POE makes. Put another way, it could just be that Tk and POE are incompatible. They might be only somewhat incompatible such that they can work together in a lot of cases but not all.

It is my experience that Perl modules that use much XS code are much more likely to have these kinds of problems than non-XS modules or Perl. So I'd bet money that Tk is the most to blame.

I've usually been able to get around such problems at least for a while, by switching to a different version of the XS-using module. Even better is to switch to a module that does not use as much XS code. That would mean using a graphics system other than Tk, of course. And XS code is probably common in most if not all GUI modules. But the bugs and/or sensitivities are likely to be different enough to give you a good chance of not running into problems, at least for a while.

- tye        


In reply to Re: Crashing perl -c in version 5.20? (magic) by tye
in thread Crashing perl -c in version 5.20? by cmv

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.