Bug #1295: SEGFAULT in RHEL 4
http://redmine.ruby-lang.org/issues/show/1295

Author: Diego Suárez García
Status: Open, Priority: Normal
Target version: 1.9.1
ruby -v: -

Hi, I've just registered for reporting a problem I found. I've searched for the bug here, and I think it's not duplicated.
I've got a simple script in ruby which erases files older than 3 hours. I put it in crontab last friday, and today I've read the logs and I see this bug:

/usr/bin/ruby: [BUG] Segmentation fault
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]

-- control frame ----------
c:0002 p:-36764998 s:0004 b:0004 l:000003 d:000003 TOP
c:0001 p:0000 s:0002 b:0002 l:000ccc d:000ccc TOP    <main>:17
---------------------------
-- Ruby level backtrace information-----------------------------------------

-- C level backtrace information -------------------------------------------
0x8104657 /usr/bin/ruby(rb_vm_bugreport+0x2b) [0x8104657]

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort

The OS is a RHEL4, update 7. Simply typing ruby<enter> reproduces the error. Reinstalling (from source) solved the problem.


----------------------------------------
http://redmine.ruby-lang.org