Hi Monks-

With your help (especially Zantara) I have developed a short perl script that acts like a midi playlist editor. It uses the Tk library for a gui, IO::socket to get messages, and spawns off the playmidi executable in the background with a system("playmidi songfile &") call.

It runs fine for a little while, then after playing a song and being idle, apparently it locks up my whole computer. (no display or ssh access, keyboard lights blink, and cpu gets very warm). I have been using VNC to test the program Its a debian knoppix system, kernel 2.4.26.

Anybody have any ideas about what might be locking it up? Is the latest Tk library or IO::Socket module not completely stable? I've been using this system for over a year, and have never seen it lock up like this, and unfortunately, it doesn't seem like tracking this down will be too easy.

Considered by PodMaster - EDIT - replace "creashes" with "freezes"
Unconsidered by castaway - Keep/Edit/Delete: 27/23/1


In reply to Perl crashes linux by redss

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.