Bug #8836
closed[BUG] Bus Error with bundler on large Gemfile when resolving dependencies
Description
ruby -v
ruby 2.0.0p247 (2013-06-27 revision 41674) [i686-linux]
rbenv -v
rbenv 0.4.0-49-g8b04303
bundle --version
Bundler version 1.3.5
gem -v
2.0.3
To reproduce run bundle install in test folder
Also i have other crashes on work project on bundle update something
https://gist.github.com/dammer/6376260
https://gist.github.com/dammer/6376174
Files
Updated by dammer (Damir Sharipov) about 11 years ago
- File ruby_config.txt ruby_config.txt added
Updated by dammer (Damir Sharipov) about 11 years ago
upd: After update system on 64 bit all work "3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux"
on 32bit bug still present
Updated by drbrain (Eric Hodel) about 11 years ago
You ran out of stack space.
bundler uses a recursive algorithm for resolving gems, so if your Gemfile is overly complex this will occur.
Sometimes ruby does not properly detect that it has run out of stack space, so a crash occurs instead.
The current best workaround is to make your Gemfile less complex.
Updated by dammer (Damir Sharipov) about 11 years ago
I hope ulimit -s 8192
should help on 32bit system. Will test later and report
Updated by drbrain (Eric Hodel) about 11 years ago
- Subject changed from [BUG] Bus Error rubygems/bundler on large Gemfile when resolving dependencies to [BUG] Bus Error with bundler on large Gemfile when resolving dependencies
Updated by dammer (Damir Sharipov) about 11 years ago
ulimit -s 20000 fix this bug on 32bit kernel
Updated by hsbt (Hiroshi SHIBATA) over 5 years ago
- Status changed from Open to Assigned
- Assignee set to hsbt (Hiroshi SHIBATA)
- Backport deleted (
1.9.3: UNKNOWN, 2.0.0: UNKNOWN)
Updated by jeremyevans0 (Jeremy Evans) over 3 years ago
- Status changed from Assigned to Closed