Backport #2659

Problem when building with pthreads enabled

Added by kpachnis (Konstantinos Pachnis) over 10 years ago. Updated about 9 years ago.



I have build ruby on MacOS X Snow Leopard (10.6.2) with pthreads enabled and the interpreter freezes when using the gem utility to install or upgrade gems.

To be more specific I have try to install in one shot rails, will_paginate and a few more gems but nothing happens. I have let the installation to complete for more than 12 hours.
Performing some more tests, the packages are installed successfully but when it comes to create the documentation ruby freezes.
Sometimes an installation can complete successfully.

In contrast, if ruby is configured with pthreads disabled everything works fine.

This behavior appeared in ruby 1.8.7 p248.

Related issues

Related to Ruby 1.8 - Bug #2648: Mac OS X 10.6/10.5で--enable-pthreadのときtest-allでSEGVするClosed01/23/2010Actions
Related to Ruby master - Bug #270: lazy timer thraed creationClosedko1 (Koichi Sasada)Actions

Updated by naruse (Yui NARUSE) over 10 years ago

  • Status changed from Open to Assigned
  • Assignee set to shyouhei (Shyouhei Urabe)

backport r26437.


Updated by shyouhei (Shyouhei Urabe) almost 10 years ago

  • Status changed from Assigned to Closed

I believe this has already been fixed (mainly by Kosaki's patch). Please reopen if not.

Also available in: Atom PDF