Thanks for your comment....
When I click the shutdown button the window closes and the following additional text is generated:
abort_routine Array_Index: 1
+abort_routine
abort_routine Array_Index: 1
-abort_routine
-abort_routine
-MAIN
I get a different series of responses than you....

Firstly when I run the code and the first box opens...

+MAIN
Then when I click on something in the first box...
+do_button do_button Array_Index: 1 -do_button ==MAIN - the first box has been closed
Then in the last box, when I click on the "shutdown and close" button...
+abort_routine abort_routine Array_Index: 1 Segmentation fault
Alternately, if I slimply click the close box, I instead see...
Segmentation fault
You see this is quite different from your response, ending in a segfault. But I notice you're using windows and I'm using Linux.

I'm running Fedora 7, perl -v says "This is perl, v5.8.8 built for x86_64-linux-thread-multi", the Tk rpm which is installed is tk-8.4.13-5.fc7.src.rpm from the livna rpm repository.

Is there any other info from me that would help work out what is going on?


In reply to Re^2: Getting segfaults when destroying and recreating Tk box by skt
in thread Getting segfaults when destroying and recreating Tk box by skt

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.