From: Craig Burgess Date: 2002-01-23T00:52:05+09:00 Subject: Re: installing mod_ruby --> seg fault in ruby-rdtool Thanks Shugo, I hope this is meaningful to you: ======================== /usr/ports/textproc/ruby-rdtool/work/rdtool-0.6.10 felix# gdb ruby GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "alpha-unknown-freebsd"... (no debugging symbols found)... (gdb) run -S racc rd/rdblockparser.ry Starting program: /usr/local/bin/ruby -S racc rd/rdblockparser.ry (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0x1600eb488 in init_regs () from /usr/local/lib/libruby.so.16 (gdb) ======================== Doesn't look like much to me; if I need to install something else, just let me know. craig "Shugo Maeda" wrote in message news:87u1tf2g8y.wl@studly.priv.netlab.jp... > Hi, > > At Sat, 19 Jan 2002 11:16:27 -0800, > craig@cheetahusa.net wrote: > > At least that's where core dumped. FreeBSD/Alpha (4.4-RELEASE). New to > > ruby, decided to install mod_ruby (running apache-1.3.20). > (snip) > > ===> Building for ruby-rdtool-0.6.10_1 > > racc rd/rdblockparser.ry > > /usr/local/lib/ruby/site_ruby/1.6/racc/output.rb:239: [BUG] Segmentation > > fault > > ruby 1.6.6 (2001-12-26) [alpha-freebsd4] > > It may be a bug of ruby with racc. > Can you get the backtrace by gdb? > > % cd ruby-rd-tool-0.6.10_1/ > % gdb ruby > ... > (gdb) run -S racc rd/rdblockparser.ry > ... Segmentation fault > (gdb) bt > > Shugo >