Bug #1860: e$BJ8;zNsO"7k$Ge(Bsegfault
http://redmine.ruby-lang.org/issues/show/1860
e$B5/I<<Te(B: Yohsuke Ooi
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
ruby -v: ruby 1.9.2dev (2009-08-02 trunk 24353) [i686-linux]
e$B2<5-$N%9%/%j%W%H$rFI$_$3$^$;$k$He(Bsegfaulte$B$,H/@8$7$^$9!#e(B
$ cat bug.rb
path=“/opt/”
config = ‘–config=’
“#{path}/.config”
==============
$ ruby19 bug.rb
bug.rb: [BUG] Segmentation fault
ruby 1.9.2dev (2009-08-02 trunk 24353) [i686-linux]
– control frame ----------
c:0001 p:0000 s:0002 b:0002 l:002324 d:002324 TOP
– C level backtrace information
/usr/lib/libruby19.so.1.9(rb_vm_bugreport+0x72) [0x273042]
/usr/lib/libruby19.so.1.9 [0x17c8a7]
/usr/lib/libruby19.so.1.9(rb_bug+0x3a) [0x17c94a]
/usr/lib/libruby19.so.1.9 [0x21165d]
[0x130410]
/usr/lib/libruby19.so.1.9(rb_enc_compatible+0x33) [0x14fec3]
/usr/lib/libruby19.so.1.9 [0x1c25cd]
/usr/lib/libruby19.so.1.9 [0x1c28cc]
/usr/lib/libruby19.so.1.9(ruby_yyparse+0x5781) [0x1cba51]
/usr/lib/libruby19.so.1.9 [0x1d754a]
/usr/lib/libruby19.so.1.9(ruby_suppress_tracing+0x113) [0x276343]
/usr/lib/libruby19.so.1.9(rb_parser_compile_file+0x8d) [0x1c12dd]
/usr/lib/libruby19.so.1.9 [0x20f906]
/usr/lib/libruby19.so.1.9(rb_ensure+0x99) [0x17dfc9]
/usr/lib/libruby19.so.1.9 [0x210669]
/usr/lib/libruby19.so.1.9(ruby_process_options+0x5b) [0x210b6b]
/usr/lib/libruby19.so.1.9(ruby_options+0x8d) [0x17fa5d]
ruby19(main+0x6c) [0x804872c]
/lib/libc.so.6(__libc_start_main+0xe5) [0x3696e5]
ruby19 [0x8048621]
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension
libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Aborted