| delorie.com/archives/browse.cgi | search |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 5BKMeG2m1403536 |
| Authentication-Results: | delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com |
| Authentication-Results: | delorie.com; spf=pass smtp.mailfrom=cygwin.com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 delorie.com 5BKMeG2m1403536 |
| Authentication-Results: | delorie.com; |
| dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=AKmnayX7 | |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 9089E4BA2E2F |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1766270415; | |
| bh=PFDx/Zz1/d5KUf5L3qjTedFouY8UTi8CMsphAIaYpcc=; | |
| h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: | |
| List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: | |
| From; | |
| b=AKmnayX7eXliu4YHG9e/szuQysHAJe1jLrp8FpwbUaQu3pUhiwprolkAmNwWC06W1 | |
| R+BQ4Y+li5BywXMwK5w+cZyk4oHv3WvwXozGgn2AEnHkrOirJmj4NX6//kd1bYGeBQ | |
| Bj24h5tLDLEk/dKhO5iCsVJ3Z5iIyHWt4GzFxeuc= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 803E54BA2E06 |
| ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 803E54BA2E06 |
| ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1766270366; cv=none; |
| b=hHxovacKHHlAxrFbQCQGtLIMpk2mAl/5OjWejnwrvvAYG1z/CJTWi40Oi3ncEgEBkchi4a2gKlPx2YJZUZjayx4C2JpQWdBtYnOEaOEFAsmTxQZsd06QLxJAHjeo1Yzy6+SiJFMky1TuRIuE7XiUbiHhRjd6vgzc1JWbHsQ7Bb8= | |
| ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
| t=1766270366; c=relaxed/simple; | |
| bh=KbO/RhsFcMFkvnezGS3BkgIrLkUR9m8tixzLIwXZ6ak=; | |
| h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; | |
| b=NfP0mOEbimngOeWx1FgOkDBTpm81w3a8qoSatg18nML86MZW4VyHg1udevzfXmCn0tqLNOT7zlKyvViaLi2oibZeTgX4XMHRHWx5XCXXV5+72u2KOfO/swo/B9wMu8h4PX+VnKCrM5IhDsnE0zzKDyA2RfZi47I6d5QSu+MfTYQ= | |
| ARC-Authentication-Results: | i=1; server2.sourceware.org |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 803E54BA2E06 |
| X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
| d=1e100.net; s=20230601; t=1766270366; x=1766875166; | |
| h=content-transfer-encoding:to:subject:message-id:date:from | |
| :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from | |
| :to:cc:subject:date:message-id:reply-to; | |
| bh=9vSNma7tl+OjOzrhLmIq+X2KvYBNDUMJYeBM611inkI=; | |
| b=MMfLRMsl5NW2zYD0mm39wN7QP6mug5LD3YsQfoY4R+CSmVu+zJGA9JpCFWvI7D7p5T | |
| qDEta+NvF3Qsc1OtsgOA3chD3ANbXXHu8Nmc54CjL9OFY5kmkQSO4Gu6BTat75BoexqY | |
| 5v4qvGRWeyLO4Qlv+Sf+KxbT5bh+aGwWngN6vxF7S5kXH9qAFyvC5T2TNh2suxDOkUc1 | |
| MMv5rWKxsvApBNaMAESonCa7vVuzuijKT2ddH1vv38RbpaLBEeuBXtE+RVhSv7J+MPgU | |
| pmc12Ba9EfLgVFmBG/ShruLXH0KYp7YDM9qHKBemjkOJYySH9q5uIEJOHXSqx3urQ2Hs | |
| 2kdw== | |
| X-Gm-Message-State: | AOJu0Yxmn7Cw+KGpubKtuk5xtdyIBzvuGX52tNKWI7xzWbHc2WEEt06V |
| 4P8JqXORSIXQrj4DC12BSqemc6hgg7hAEShZMMaOGEo7bFmZ+kxr8V8QVOYVKnYNnorVlFHZqVU | |
| LZukOvoQ7vyFPSDB48Qg5GEr6IEM1w67Y9IPR4g8= | |
| X-Gm-Gg: | AY/fxX5R2bnLaHyPVewCY/1k3s/VidhuKy9v5S43hEgX6QRywKsMbRZfnQ5Xz0glVU7 |
| M+JP40i16ev0MTKkMb7+y1BRPcEaCpPDE90MWsyUW0sOiQTaC2fff58Sn35aQ0BtJa2I3Zl5sbn | |
| BuZ+JY/4xgPFAf84StWc7OlMwubcM5yK1QWXtRVxu4tG/i0g+35JWG7Wf+TU+rNrpvW4yGhClBA | |
| XYbsPz9h4F6vUvCEoaNE+ak/kmYKK89ilIzHHI6tRjGG0MODWHIiH+o0yqQW787921E5ns= | |
| X-Google-Smtp-Source: | AGHT+IFTfduyfcVatikVyotzEhh/7s4kuHXjWzA/+zZreTJvVNlhnxXnqCwDqhgkjHsCT9s64HjGu4wUTttjaq2zoQ0= |
| X-Received: | by 2002:a05:6808:1a1b:b0:44f:f46c:eb4f with SMTP id |
| 5614622812f47-457b225e552mr2440255b6e.8.1766270365601; Sat, 20 Dec 2025 | |
| 14:39:25 -0800 (PST) | |
| MIME-Version: | 1.0 |
| References: | <d683c3e8-35be-4eb6-a6d7-797141a37038 AT prover DOT com> |
| In-Reply-To: | <d683c3e8-35be-4eb6-a6d7-797141a37038@prover.com> |
| Date: | Sun, 21 Dec 2025 07:38:49 +0900 |
| X-Gm-Features: | AQt7F2pgtt5f8qBMlm9jCJvOiP1g18TNgTU5ZtQ9AZLWo2phWg00CgfFP2sZeow |
| Message-ID: | <CAA3frXSzuYFP0qJuigG=Hm9iy=PVbSSysBT+AFNMm3j+TNAfyw@mail.gmail.com> |
| Subject: | Re: bundle installs hangs with ruby 3.4.7 |
| To: | cygwin AT cygwin DOT com |
| X-BeenThere: | cygwin AT cygwin DOT com |
| X-Mailman-Version: | 2.1.30 |
| List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
| List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
| List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
| From: | Daisuke Fujimura via Cygwin <cygwin AT cygwin DOT com> |
| Reply-To: | Daisuke Fujimura <booleanlabel AT gmail DOT com> |
| Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
| X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 5BKMeG2m1403536 |
Hello, Thank you for the report. I can confirm that this issue is reproducible in my Cygwin environment as well. Based on the strace and other logs, the process enters an indefinite wait during parallel installation, which suggests a synchronization issue between workers and the controller in Bundler’s parallel installer on Cygwin. The trace does not show any obvious blocking on I/O or networking. There are hints of file lock activity (Gem.open_file_with_flock) in the original report, and environmental factors such as filesystem performance or antivirus scanning could be contributing factors, but at this point we cannot conclusively identify a single root cause. Given that this appears to involve coordination under parallel execution, identifying the exact root cause and determining whether it should be addressed in Bundler, Ruby, or Cygwin will require additional time and deeper investigation. I will continue investigating this, but please note that due to the nature of the problem, it may take some time before a clear conclusion can be reached. On Fri, Dec 19, 2025 at 9:36 PM Daniel Abrahamsson via Cygwin <cygwin AT cygwin DOT com> wrote: > > Hi, > > I have a problem with `bundle install` hanging with ruby 3.4.7. > Downgrading to 3.2.2 solves the problem. > > Here is my Gemfile: > > ---- > source 'https://rubygems.org' > > gem 'asciidoctor', '2.0.23' > gem 'asciidoctor-bibtex', '0.9.0' > gem 'asciimath', '2.0.5' > gem 'coderay', '1.1.3' > gem 'rouge', '4.3.0' > gem 'asciidoctor-diagram', '2.3.1' > gem 'pygments.rb', '0.6.3' > gem 'text-hyphen', '1.5.0' > gem 'asciidoctor-pdf', '2.3.17' > > ---- > > Here are the commands I run: > > $ bundle config set --local path '_ruby-deps' > $ bundle install --verbose > > If I try to cancel the installation with Ctrl+C, it shows a backtrace, > but continues to run. If I press Ctrl+C again it shows the backtrace > again. After that, it just hangs and I have to force kill the ruby > process). Here is the backtrace: > > ---- > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/worker.rb:108:in > 'block in Bundler::Worker#add_interrupt_handler' > <internal:thread_sync>:18:in 'Thread::Queue#pop' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/worker.rb:42:in > 'Bundler::Worker#deq' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/installer/parallel_installer.rb:174:in > 'Bundler::ParallelInstaller#process_specs' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/installer/parallel_installer.rb:134:in > 'Bundler::ParallelInstaller#install_with_worker' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/installer/parallel_installer.rb:89:in > 'Bundler::ParallelInstaller#call' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/installer/parallel_installer.rb:67:in > 'Bundler::ParallelInstaller.call' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/installer.rb:244:in > 'Bundler::Installer#install_in_parallel' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/installer.rb:201:in > 'Bundler::Installer#install' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/installer.rb:89:in > 'block in Bundler::Installer#run' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/process_lock.rb:12:in > 'block in Bundler::ProcessLock.lock' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/process_lock.rb:9:in > 'IO.open' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/process_lock.rb:9:in > 'Bundler::ProcessLock.lock' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/installer.rb:71:in > 'Bundler::Installer#run' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/installer.rb:23:in > 'Bundler::Installer.install' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/cli/install.rb:62:in > 'Bundler::CLI::Install#run' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/cli.rb:261:in > 'block in Bundler::CLI#install' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/settings.rb:131:in > 'Bundler::Settings#temporary' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/cli.rb:260:in > 'Bundler::CLI#install' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/command.rb:27:in > 'Bundler::Thor::Command#run' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in > 'Bundler::Thor::Invocation#invoke_command' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor.rb:392:in > 'Bundler::Thor.dispatch' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/cli.rb:34:in > 'Bundler::CLI.dispatch' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/base.rb:485:in > 'Bundler::Thor::Base::ClassMethods#start' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/cli.rb:28:in > 'Bundler::CLI.start' > /usr/bin/bundle:28:in 'block in <main>' > /home/daab/test/_ruby-deps/ruby/3.4.0/gems/bundler-2.4.10/lib/bundler/friendly_errors.rb:117:in > 'Bundler.with_friendly_errors' > /usr/bin/bundle:20:in '<main>' > ---- > > A workaround is to limit the number the number of workers to 1, like this: > > $ bundle config set --local jobs 1 > > I'll go with that workaround for now, but I want to bring attention > about this issue to the maintainer. > > Regards, > Daniel Abrahamsson > > > -- > Problem reports: https://cygwin.com/problems.html > FAQ: https://cygwin.com/faq/ > Documentation: https://cygwin.com/docs.html > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |