From: muraken@... Date: 2014-04-09T13:11:00+00:00 Subject: [ruby-core:61920] [ruby-trunk - Bug #9718] Segmentation fault is occurred on trunk and 2.1 Issue #9718 has been updated by Kenta Murata. File ruby_2014-04-09-221019_P524.crash added ---------------------------------------- Bug #9718: Segmentation fault is occurred on trunk and 2.1 https://bugs.ruby-lang.org/issues/9718#change-46124 * Author: Kenta Murata * Status: Open * Priority: Normal * Assignee: * Category: * Target version: current: 2.2.0 * ruby -v: ruby 2.1.2p80 (2014-03-01 revision 45231) [x86_64-darwin13.0] * Backport: 2.0.0: UNKNOWN, 2.1: REQUIRED ---------------------------------------- The following code occurs segmentation fault on trunk and 2.1. ```ruby require 'thread' queue = Queue.new thread = Thread.start do loop do queue.pop.call end end loop do queue << -> do p Time.now sleep 1 end end ``` ---Files-------------------------------- ruby_2014-04-09-221019_P524.crash (12.2 KB) -- https://bugs.ruby-lang.org/