I really can't over-emphasize how dumb/dangerous the idea of disabling the pop-up on crash is.

Actually, not. It is a common and normal thing to do for applications that are intended for unattended operations.

Disabling the popup simply removes the requirement for operator intervention when such errors occur. It does not however, stop the error being logged to the Application event log.

Which, for the deliberately induced error perl -e"'x' x 1e10", records the following event log message:

Event Type: Error Event Source: Application Error Event Category: None Event ID: 1000 Date: 2006-12-06 Time: 17:58:57 User: N/A Computer: XXXXXXXXX Description: Faulting application perl.exe, version 5.8.6.811, faulting module perl +58.dll, version 5.8.6.811, fault address 0x0008775c. For more information, see Help and Support Center at http://go.microso +ft.com/fwlink/events.asp. Data: 0000: 41 70 70 6c 69 63 61 74 Applicat 0008: 69 6f 6e 20 46 61 69 6c ion Fail 0010: 75 72 65 20 20 70 65 72 ure per 0018: 6c 2e 65 78 65 20 35 2e l.exe 5. 0020: 38 2e 36 2e 38 31 31 20 8.6.811 0028: 69 6e 20 70 65 72 6c 35 in perl5 0030: 38 2e 64 6c 6c 20 35 2e 8.dll 5. 0038: 38 2e 36 2e 38 31 31 20 8.6.811 0040: 61 74 20 6f 66 66 73 65 at offse 0048: 74 20 30 30 30 38 37 37 t 000877 0050: 35 63 0d 0a 5c..

Further, if you have core dumping enabled, disabling the popup doesn't stop the coredump being created.

It's simply not necessary to use a third party monitoring tool for this.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

In reply to Re^2: Prevent Perl Command Line Interpreter Popup From Appearing On Perl Crash by BrowserUk
in thread Prevent Perl Command Line Interpreter Popup From Appearing On Perl Crash by WAmaro

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.