[#75687] [Ruby trunk Bug#12416] struct rb_id_table lacks mark function — shyouhei@...
Issue #12416 has been reported by Shyouhei Urabe.
3 messages
2016/05/23
[#75763] [Ruby trunk Feature#12435] Using connect_nonblock to open TCP connections in Net::HTTP#connect — mohamed.m.m.hafez@...
Issue #12435 has been reported by Mohamed Hafez.
3 messages
2016/05/28
[#75774] Errno::EAGAIN thrown by OpenSSL::SSL::SSLSocket#connect_nonblock — Mohamed Hafez <mohamed.m.m.hafez@...>
Hi all, every now and then in my production server, I'm
4 messages
2016/05/30
[#75775] Re: Errno::EAGAIN thrown by OpenSSL::SSL::SSLSocket#connect_nonblock
— Mohamed Hafez <mohamed.m.m.hafez@...>
2016/05/30
Or does MRI's OpenSSL::SSL::SSLSocket#connect_nonblock just return
[#75782] Important: Somewhat backwards-incompatible change (Fwd: [ruby-cvs:62388] duerst:r55225 (trunk): * string.c: Activate full Unicode case mapping for UTF-8) — Martin J. Dürst <duerst@...>
With the change below, I have activated full Unicode case mapping for
4 messages
2016/05/31
[ruby-core:75401] [Ruby trunk Bug#11567][Feedback] Segmentation fault CFUNC :gets
From:
shibata.hiroshi@...
Date:
2016-05-07 00:56:51 UTC
List:
ruby-core #75401
Issue #11567 has been updated by Hiroshi SHIBATA.
Description updated
Status changed from Open to Feedback
I couldn't reproduce this with latest versions of 2.1-2.4.
Please try with 2.2.5 or 2.3.1.
----------------------------------------
Bug #11567: Segmentation fault CFUNC :gets
https://bugs.ruby-lang.org/issues/11567#change-58524
* Author: D R
* Status: Feedback
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Running the below code under 2.2.3 results in a segmentation fault. Runs without issue on 2.1.6. Output attached as a text file.
```rb
require 'open3'
require 'pp'
data_accessor = Mutex.new
results = {}
threads = []
200.times.each do |i|
threads << Thread.new do
Open3.popen3('ping localhost -c 2') do |_stdin, stdout, stderr, thread|
{ out: stdout, err: stderr }.each do |key, stream|
t = "#{i}-" + key.to_s
data_accessor.synchronize do
results[t] = []
end
Thread.new do
until (line = stream.gets).nil?
data_accessor.synchronize do
results[t].push line
end
end
end
end
thread.join
end
end
end
threads.each(&:join)
pp results
```
---Files--------------------------------
gets bug.txt (30.7 KB)
--
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>