Project

General

Profile

Actions

Bug #4951

closed

Fiber#resume causing segfault on Mac OS X 10.6.8

Added by dweinand (Dan Weinand) over 13 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2p274 (2011-06-06) [x86_64-darwin10.8.0]
Backport:
[ruby-core:37696]

Description

=begin

The following:

Fiber.new { puts "foo" }.resume

produces a segfault with the following output.

Sorry, I reported this in the wrong project earlier. I'm not seeing the same issue on 1.9.3.

-e:1: [BUG] Bus Error
ruby 1.9.2p274 (2011-06-06) [x86_64-darwin10.8.0]

-- control frame ----------
c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC :resume
c:0003 p:0021 s:0006 b:0006 l:0014e8 d:002558 EVAL -e:1
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0014e8 d:0014e8 TOP

-- Ruby level backtrace information ----------------------------------------
-e:1:in <main>' -e:1:in resume'

-- C level backtrace information -------------------------------------------
0 libruby.1.9.1.dylib 0x000000010014c4de rb_vm_bugreport + 110
1 libruby.1.9.1.dylib 0x00000001000404f3 report_bug + 259
2 libruby.1.9.1.dylib 0x0000000100040661 rb_bug + 161
3 libruby.1.9.1.dylib 0x00000001000e2f52 sigbus + 18
4 libSystem.B.dylib 0x00007fff893571ba _sigtramp + 26
5 ??? 0x000000010086d3b8 0x0 + 4303803320

[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
=end

Updated by nagachika (Tomoyuki Chikanaga) over 13 years ago

  • Status changed from Open to Closed

Hi, Dan

Thank you for your reporting.
I think 'Backport92' is right project to submit backport request.
I close this ticket as duplicated with #4945.

Regards,

Actions

Also available in: Atom PDF

Like0
Like0