Backport #3921

[BUG] Segmentation fault in set_trace_func

Added by nagachika (Tomoyuki Chikanaga) about 10 years ago. Updated over 4 years ago.



以下のようにすると Segmentation fault が発生します。

$ ruby -e'
func = lambda{|e, f, l, i, b, k|

-e:7: [BUG] Segmentation fault
ruby 1.9.3dev (2010-10-07 trunk 29420) [i686-linux]

-- control frame ----------
c:0003 p:0024 s:0007 b:0007 l:0003f4 d:0006c8 EVAL -e:7
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0003f4 d:0003f4 TOP

-- Ruby level backtrace information ----------------------------------------
-e:7:in `'

-- C level backtrace information -------------------------------------------
ruby [0x816e422]
ruby [0x81af141]
ruby(rb_bug+0x28) [0x81af1d8]
ruby [0x80fbd35]
ruby [0x8160fc3]
ruby [0x816255c]
ruby [0x8167e2c]
ruby(rb_iseq_eval_main+0x1da) [0x816818a]
ruby [0x805b2c2]
ruby(ruby_run_node+0x32) [0x805cce2]
ruby [0x805a6a0]
/lib/tls/i686/cmov/ [0xb75cb775]
ruby [0x805a5a1]

You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details:


Updated by nobu (Nobuyoshi Nakada) about 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r29429.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


Updated by nixme (Gopal Patel) almost 9 years ago

The same issue exists in 1.9.2-p290. Any chance of a backport to 1.9.2?


Updated by kosaki (Motohiro KOSAKI) almost 9 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby master to Backport192
  • Status changed from Closed to Assigned
  • Assignee set to yugui (Yuki Sonoda)

Updated by naruse (Yui NARUSE) over 4 years ago

  • Status changed from Assigned to Rejected

Also available in: Atom PDF