ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: jkohen@google.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:96643] [Ruby master Bug#16337] kernel_gem.rb:68 - ThreadError
Date: Fri, 03 Jan 2020 15:58:12 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-83613.20200103155812.bbb268547b0bc8e8@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-16337.20191109043501@ruby-lang.org

Issue #16337 has been updated by jkohen (Javier Kohen).

ruby -v changed from ruby 2.7.0dev (2019-11-09T02:08:24Z master 352887b731) [x64-mingw32] to ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
Status changed from Closed to Open

I'm still seeing this on 2.7.0p0, even though it looks like it should have been fixed based on comment #2. The workaround in comment #1 still helps.

# /opt/google-fluentd/embedded/bin/ruby --version
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
# /opt/google-fluentd/embedded/bin/ruby /opt/google-fluentd/embedded/bin/rake --version
Traceback (most recent call last):
        10: from /opt/google-fluentd/embedded/bin/rake:23:in `<main>'
         9: from /opt/google-fluentd/embedded/lib/ruby/site_ruby/2.7.0/rubygems.rb:303:in `activate_bin_path'
         8: from /opt/google-fluentd/embedded/lib/ruby/site_ruby/2.7.0/rubygems.rb:303:in `synchronize'
         7: from /opt/google-fluentd/embedded/lib/ruby/site_ruby/2.7.0/rubygems.rb:305:in `block in activate_bin_path'
         6: from /opt/google-fluentd/embedded/lib/ruby/site_ruby/2.7.0/rubygems.rb:242:in `finish_resolve'
         5: from /opt/google-fluentd/embedded/lib/ruby/site_ruby/2.7.0/rubygems/request_set.rb:435:in `resolve_current'
         4: from /opt/google-fluentd/embedded/lib/ruby/site_ruby/2.7.0/rubygems/request_set.rb:435:in `new'
         3: from /opt/google-fluentd/embedded/lib/ruby/site_ruby/2.7.0/rubygems/resolver/set.rb:24:in `initialize'
         2: from /opt/google-fluentd/embedded/lib/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb:42:in `require'
         1: from /opt/google-fluentd/embedded/lib/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_gem.rb:67:in `gem'
/opt/google-fluentd/embedded/lib/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_gem.rb:67:in `synchronize': deadlock; recursive locking (ThreadError)
# rm /opt/google-fluentd/embedded/lib/ruby/gems/2.7.0/specifications/default/uri-0.10.0.gemspec
# /opt/google-fluentd/embedded/bin/ruby /opt/google-fluentd/embedded/bin/rake --version
rake, version 12.3.2


----------------------------------------
Bug #16337: kernel_gem.rb:68 - ThreadError
https://bugs.ruby-lang.org/issues/16337#change-83613

* Author: MSP-Greg (Greg L)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Found with ruby-loco CLI tests

See: https://ci.appveyor.com/project/MSP-Greg/ruby-loco/builds/28731823#L2922

```
> rake --version
Traceback (most recent call last):
  10: from bin/rake:23:in `<main>'
   9: from lib/ruby/2.7.0/rubygems.rb:301:in `activate_bin_path'
   8: from lib/ruby/2.7.0/rubygems.rb:301:in `synchronize'
   7: from lib/ruby/2.7.0/rubygems.rb:303:in `block in activate_bin_path'
   6: from lib/ruby/2.7.0/rubygems.rb:240:in `finish_resolve'
   5: from lib/ruby/2.7.0/rubygems/request_set.rb:435:in `resolve_current'
   4: from lib/ruby/2.7.0/rubygems/request_set.rb:435:in `new'
   3: from lib/ruby/2.7.0/rubygems/resolver/set.rb:24:in `initialize'
   2: from lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:69:in `require'
   1: from lib/ruby/2.7.0/rubygems/core_ext/kernel_gem.rb:68:in `gem'
kernel_gem.rb:68:in `synchronize': deadlock; recursive locking (ThreadError)
```



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

      parent reply	other threads:[~2020-01-03 15:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-16337.20191109043501@ruby-lang.org>
2019-11-09  4:35 ` [ruby-core:95768] [Ruby master Bug#16337] kernel_gem.rb:68 - ThreadError Greg.mpls
2019-11-09  7:22 ` [ruby-core:95769] " zn
2020-01-03 15:58 ` jkohen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-83613.20200103155812.bbb268547b0bc8e8@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).