Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

I did notice its frequency is greater on runs of over 18000 iterations (Update: On further testing I found that theory not to hold up. The rest of the thread stands.</end update>), and even then it's about 30% of the time when I terminate by keyboard intervention.

Hmm, what other variables..... It's Windows Vista SP2. Perl version is 5.12.3, Strawberry Perl.

Here's another example run, where I terminated the loop earlier.

6043 is prime. 6047 is prime. 6053 is prime. Out of memory! panic: leave_scope inconsistency at C:\Users\Dave\Desktop\primes.pl li +ne 15. panic: leave_scope inconsistency at C:\Users\Dave\Desktop\primes.pl li +ne 15. panic: leave_scope inconsistency at C:\Users\Dave\Desktop\primes.pl li +ne 15. panic: leave_scope inconsistency at C:\Users\Dave\Desktop\primes.pl li +ne 15.

And here's another example:

4409 is prime. 4421 is prime. 4423 is prime. Out of memory! Use of uninitialized value $i in concatenation (.) or string at C:\Use +rs\Dave\Desktop\primes.pl line 18. is prime. 2 is prime. Label not found for "next OUTER" at C:\Users\Dave\Desktop\primes.pl li +ne 16.

...and one more...

6271 is prime. 6277 is prime. Out of memory! panic: leave_scope inconsistency at primes.pl line 15.

Dave


In reply to Re^2: "Free to wrong pool" error. by davido
in thread "Free to wrong pool" error. by davido

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others avoiding work at the Monastery: (3)
    As of 2014-09-20 04:20 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (152 votes), past polls