it refers to a sleep function error

It does suggest that, but it is almost certainly wrong. The Win API sleep() is just about the simplest piece of code in the OS, and very well exercised. It takes one argument, a DWORD, which is treated as an unsigned 32-bit quantity of milliseconds. Even if it was passed a float or double or a memory address, it still wouldn't trap. It would just interpret the numeric value as a long sleep.

What I'm saying is, it is really hard to see how a call to sleep could ever lead to a trap. The first line of what you've posted says: "WARNING: Stack unwind information not available. Following frames may be wrong." And it almost certainly is.

The problem with Dr.Watson dumps, is that they try to produce a stack trace by "decompiling" the stack using limited (or no) symbolic debugger information.

  1. Perl doesn't use a conventional stack for a lot of its internal operations.
  2. The code it is trying to reverse engineer has been optimised, which makes it close to impossible to do properly.
  3. The core of the perl run loop doesn't follow 'normal' executable coding patterns.

The net result is that the stack dumps produced are always confused and essentially useless. If you compile the Perl with optimisations disabled and full symbolic debug support enabled, you can sometimes follow it through, but even then not always.

It is usually far easier to to track down the source of such traps at the Perl source level than at the binary level. If you need tips on how to do that, then try posting a high level overview of the structure of your code.


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.
"I'd rather go naked than blow up my ass"

In reply to Re^3: Perl58.dll & nt.dll crashes by BrowserUk
in thread Perl58.dll & nt.dll crashes by ikkeniet

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.