[#71439] [Ruby trunk - Feature #11339] [PATCH] io.c: avoid kwarg parsing in C API — matz@...
Issue #11339 has been updated by Yukihiro Matsumoto.
7 messages
2015/11/11
[#71473] Re: [Ruby trunk - Feature #11339] [PATCH] io.c: avoid kwarg parsing in C API
— Eric Wong <normalperson@...>
2015/11/13
Entire series for sockets
[#71450] Ruby 2.3.0-preview1 Released — "NARUSE, Yui" <naruse@...>
Hi,
5 messages
2015/11/11
[#71617] [Ruby trunk - Feature #11664] [PATCH] introduce rb_autoload_value to replace rb_autoload — nobu@...
Issue #11664 has been updated by Nobuyoshi Nakada.
3 messages
2015/11/20
[#71721] [Ruby trunk - Feature #11741] Migrate Ruby to Git from Subversion — me@...
Issue #11741 has been updated by Jon Moss.
4 messages
2015/11/28
[ruby-core:71559] [Ruby trunk - Bug #11481] Segmentation fault when thread is killed during `require`.
From:
nagachika00@...
Date:
2015-11-18 16:15:29 UTC
List:
ruby-core #71559
Issue #11481 has been updated by Tomoyuki Chikanaga. Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: REQUIRED to 2.0.= 0: REQUIRED, 2.1: REQUIRED, 2.2: DONE r51292, r51439 and r51440 were backported into `ruby_2_2` branch at r52655. ---------------------------------------- Bug #11481: Segmentation fault when thread is killed during `require`. https://bugs.ruby-lang.org/issues/11481#change-54942 * Author: Thomas Wei=C3=9Fschuh * Status: Closed * Priority: Normal * Assignee:=20 * ruby -v: ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux] * Backport: 2.0.0: REQUIRED, 2.1: REQUIRED, 2.2: DONE ---------------------------------------- One of a library used by us executes `open` from `uri-open` in multiple thr= ead in parallel under a timeout. `open-uri` implicitly `require`s `net/http`. When the import machinery is k= illed during performing an import this will lead to a segfault further down= the line. I readily accept that it is very poor practice to do `require` in a loop wh= ich is suspect to uncatchable exceptions, But unfortunately the user has no idea that `require`s are performed. The test.rb script from the attachements triggers this bug. You may want to= spawn less threads. The high number was chosen to improve the rate of trig= gering the bug. We tested this on ruby 2.1.5p273 as shipped with debian Jessie. And ruby 2.= 2.3p173 from ArchLinux. ---Files-------------------------------- backtrace (255 KB) test.rb (231 Bytes) backtrace.symbols (122 KB) --=20 https://bugs.ruby-lang.org/