Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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)[pm.890409.pl:30] 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/Generated.pm:53]:1: sub {exists $_[0]->{"actual_body"}} >> C:/perl/site/5.10.1/lib/MSWin32-x86-multi-thread/Class/MOP/Method/W +rapped.pm:48: return $around->{cache}->(@_); >> accessor actual_body defined at C:/perl/site/5.10.1/lib/MooseX/Meth +od/Signatures/Meta/Method.pm:101: >> accessor actual_body defined at +C:/perl/site/5.10.1/lib/MooseX/Method/Signatures/Meta/Method.pm:101: +>> C:/perl/site/5.10.1/lib/MooseX/Method/Signatures/Meta/Method.pm:15 +3: goto &{ $actual_body }; >> C:/perl/site/5.10.1/lib/MooseX/Method/Signatures/Meta/Method.pm:153 +: goto &{ $actual_body }; >> pm.890409.pl:34: method BUILD { >> pm.890409.pl:35: use Data::Dumper; print 'AH ', Dump +er \@_; >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/Dumper.pm:553: r +eturn Data::Dumper->Dump([@_]); >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/Dumper.pm:190: + return &Dumpxs >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/Dumper.pm:64: my +($c, $v, $n) = @_; >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/Dumper.pm:66: cr +oak "Usage: PACKAGE->new(ARRAYREF, [ARRAYREF])" >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/Dumper.pm:68: $n + = [] unless (defined($n) && (ref($n) eq 'ARRAY')); >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/Dumper.pm:70: my +($s) = { >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/Dumper.pm:97: if + ($Indent > 0) { >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/Dumper.pm:98: +$s->{xpad} = " "; >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/Dumper.pm:99: +$s->{sep} = "\n"; >> C:/perl/5.10.1/lib/MSWin32-x86-multi-thread/Data/Dumper.pm:101: r +eturn bless($s, $c); >> generated method (unknown origin):30: >> (reeval 421)[pm.890409.pl: +30]:1: >> (reeval 421)[pm.890409.pl:30]:2: >> (reeval 418)[pm.890409. +pl:30]:2: >> C:/perl/site/5.10.1/lib/Regexp/Grammars.pm:556: 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

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, 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?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (5)
    As of 2018-07-18 14:54 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















      Results (393 votes). Check out past polls.

      Notices?