# Ripper core dump with arg\_paren

**URL:** <https://www.ruby-forum.com/t/ripper-core-dump-with-arg-paren/64399>\
**Category:** Development\
**Created:** [June 25, 2006, 9:52am UTC](https://www.ruby-forum.com/t/ripper-core-dump-with-arg-paren/64399 "2006-06-25T09:52:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tanaka\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c67d28/32.png) [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Post date:** [June 25, 2006, 9:52am UTC](https://www.ruby-forum.com/t/ripper-core-dump-with-arg-paren/64399/1 "2006-06-25T09:52:40Z")

</div>

boron e$B$GMn$A$F$k$N$O$3$l$G$9$+$M$’!#e(B

% ./ruby -rripper -ve ’  
class C \< Ripper  
def on\_arg\_paren(\*a) p a end  
end  
p C.new(“new()”).parse’  
ruby 1.9.0 (2006-06-24) [i686-linux]  
zsh: segmentation fault ./ruby -rripper -ve

# Index: parse.y

RCS file: /src/ruby/parse.y,v  
retrieving revision 1.443  
diff -u -p -r1.443 parse.y  
— parse.y 21 Jun 2006 08:08:34 -0000 1.443  
+++ parse.y 25 Jun 2006 07:51:19 -0000  
@@ -2144,7 +2144,7 @@ paren\_args : ‘(’ opt\_call\_args rparen  
/_%%%_/  
$$ = $2;  
/\*%

- 

```
  	$$ = dispatch1(arg_paren, $2);

```

- 

```
  	$$ = dispatch1(arg_paren, escape_Qundef($2));
      %*/
      }
  ;
```
