[#88925] [Ruby trunk Feature#15095] [PATCH] share VM stack between threads and fibers if identical — ko1@...
Issue #15095 has been updated by ko1 (Koichi Sasada).
4 messages
2018/09/09
[#88927] Re: [Ruby trunk Feature#15095] [PATCH] share VM stack between threads and fibers if identical
— Eric Wong <normalperson@...>
2018/09/09
ko1@atdot.net wrote:
[#88926] [Ruby trunk Feature#15095] [PATCH] share VM stack between threads and fibers if identical — ko1@...
Issue #15095 has been updated by ko1 (Koichi Sasada).
3 messages
2018/09/09
[#89218] [Ruby trunk Bug#15130] open-uri hangs on cygwin — duerst@...
Issue #15130 has been updated by duerst (Martin D端rst).
5 messages
2018/09/30
[ruby-core:89094] [Ruby trunk Bug#15130] open-uri hangs on cygwin
From:
duerst@...
Date:
2018-09-20 03:32:59 UTC
List:
ruby-core #89094
Issue #15130 has been updated by duerst (Martin D端rst).
This issue doesn't exist before #15072 started at r64485 and made it impossible to check whether open-uri works or not. I'm assigning this to Eric (normalperson) because it may well be timeout-related. Sorry if that turns out not to be the case.
----------------------------------------
Bug #15130: open-uri hangs on cygwin
https://bugs.ruby-lang.org/issues/15130#change-74114
* Author: duerst (Martin D端rst)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.6.0dev (2018-09-16 trunk 64761) [x86_64-cygwin]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
After using `make; make runnable`, the following one-liner hangs:
```
./ruby -ropen-uri -e 'open "http://web.mit.edu/index.html"'
```
This happens on any http URI, but not for local files. The above URI is just an example. I would have chosen ruby-lang.org if it was still using http, but I didn't want to complicate this with https.
The `open` work for local files. I discovered this when trying to use `make up`, where the downloading of Unicode data files just hung.
Here's the trace I get after hitting Ctrl-C:
Traceback (most recent call last):
15: from -e:1:in `<main>'
14: from /cygdrive/c/Data/ruby_test_copy/lib/open-uri.rb:35:in `open'
13: from /cygdrive/c/Data/ruby_test_copy/lib/open-uri.rb:736:in `open'
12: from /cygdrive/c/Data/ruby_test_copy/lib/open-uri.rb:165:in `open_uri'
11: from /cygdrive/c/Data/ruby_test_copy/lib/open-uri.rb:224:in `open_loop'
10: from /cygdrive/c/Data/ruby_test_copy/lib/open-uri.rb:224:in `catch'
9: from /cygdrive/c/Data/ruby_test_copy/lib/open-uri.rb:226:in `block in open_loop'
8: from /cygdrive/c/Data/ruby_test_copy/lib/open-uri.rb:758:in `buffer_open'
7: from /cygdrive/c/Data/ruby_test_copy/lib/open-uri.rb:337:in `open_http'
6: from /cygdrive/c/Data/ruby_test_copy/lib/net/http.rb:924:in `start'
5: from /cygdrive/c/Data/ruby_test_copy/lib/net/http.rb:935:in `do_start'
4: from /cygdrive/c/Data/ruby_test_copy/lib/net/http.rb:950:in `connect'
3: from /cygdrive/c/Data/ruby_test_copy/lib/timeout.rb:103:in `timeout'
2: from /cygdrive/c/Data/ruby_test_copy/lib/timeout.rb:97:in `block in timeout'
1: from /cygdrive/c/Data/ruby_test_copy/lib/timeout.rb:97:in `ensure in block in timeout'
/cygdrive/c/Data/ruby_test_copy/lib/timeout.rb:97:in `join': Interrupt
My plan is to (manually) bisect this to find the offending commit. One suspicion I have is that the problem is related to timeouts, but this is not confirmed at all. Any help is appreciated.
--
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>