[ruby-core:77395] [Ruby trunk Bug#11959] Segfault during `exit' in thread initialize (Extended class).

From: nagachika00@...
Date: 2016-09-26 03:25:18 UTC
List: ruby-core #77395
Issue #11959 has been updated by Tomoyuki Chikanaga.

Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: UNKNOWN, 2.2: REQUIRED, 2.3: REQUIRED

----------------------------------------
Bug #11959: Segfault during `exit' in thread initialize (Extended class).
https://bugs.ruby-lang.org/issues/11959#change-60647

* Author: Jos Ahrens
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.1: UNKNOWN, 2.2: REQUIRED, 2.3: REQUIRED
----------------------------------------
https://ideone.com/jluEsq (ruby 2.1.5p273)
https://eval.in/498185 (ruby 2.3.0)

Minimal reproduction:

~~~
require 'thread'
 
class A < Thread
	def initialize
		exit
	end
end
 
A.new
~~~





-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next