Issue #11959 has been updated by Tomoyuki Chikanaga.
Backport changed from 2.1: UNKNOWN, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: UNKNOWN, 2.2: REQUIRED, 2.3: DONE
ruby_2_3 r56564 merged revision(s) 53449.
----------------------------------------
Bug #11959: Segfault during `exit' in thread initialize (Extended class).
https://bugs.ruby-lang.org/issues/11959#change-61272
* Author: Jos Ahrens
* Status: Closed
* Priority: Normal
* Assignee:
* ruby -v:
* Backport: 2.1: UNKNOWN, 2.2: REQUIRED, 2.3: DONE
----------------------------------------
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>