Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
On win32 I get the same, but this also disappears if I use Data::Dump or Data::Dump::Streamer instead of Data::Dumper

Running under the debugger, I get

Signal SEGV at (reeval 422)[] line 1
on the 10th iteration.

With Devel::Trace it happens after

>> (eval 334)[C:/perl/site/5.10.1/lib/MSWin32-x86-multi-thread/Class/M +OP/Method/]:1: sub {exists $_[0]->{"actual_body"}} >> C:/perl/site/5.10.1/lib/MSWin32-x86-multi-thread/Class/MOP/Method/W return $around->{cache}->(@_); >> accessor actual_body defined at C:/perl/site/5.10.1/lib/MooseX/Meth +od/Signatures/Meta/ >> accessor actual_body defined at +C:/perl/site/5.10.1/lib/MooseX/Method/Signatures/Meta/ +>> C:/perl/site/5.10.1/lib/MooseX/Method/Signatures/Meta/ +3: goto &{ $actual_body }; >> C:/perl/site/5.10.1/lib/MooseX/Method/Signatures/Meta/ +: goto &{ $actual_body }; >> method BUILD { >> use Data::Dumper; print 'AH ', Dump +er \@_; >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/ r +eturn Data::Dumper->Dump([@_]); >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/ + return &Dumpxs >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/ my +($c, $v, $n) = @_; >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/ cr +oak "Usage: PACKAGE->new(ARRAYREF, [ARRAYREF])" >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/ $n + = [] unless (defined($n) && (ref($n) eq 'ARRAY')); >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/ my +($s) = { >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/ if + ($Indent > 0) { >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/ +$s->{xpad} = " "; >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/ +$s->{sep} = "\n"; >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/ r +eturn bless($s, $c); >> generated method (unknown origin):30: >> (reeval 421)[ +30]:1: >> (reeval 421)[]:2: >> (reeval 418)[pm.890409. +pl:30]:2: >> C:/perl/site/5.10.1/lib/Regexp/ my ( +$stack_ref, $key, $original_name, $value) = @_;
So I think it could be a bug in Dumpxs, or the perl regexp engine, or both.

In reply to Re: Segfault with MooseX::Declare and Regexp::Grammars by Anonymous Monk
in thread Segfault with MooseX::Declare and Regexp::Grammars by betterworld

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, 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
  • 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.
  • Log In?

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

    How do I use this? | Other CB clients
    Other Users?
    Others avoiding work at the Monastery: (13)
    As of 2018-11-20 14:09 GMT
    Find Nodes?
      Voting Booth?
      My code is most likely broken because:

      Results (224 votes). Check out past polls.