Backport #2659

Problem when building with pthreads enabled

Added by kpachnis (Konstantinos Pachnis) over 2 years ago. Updated about 1 year ago.

[ruby-core:27854]
Status:Closed Start date:01/26/2010
Priority:Normal Due date:
Assignee:shyouhei (Shyouhei Urabe) % Done:

0%

Category:-
Target version:-

Description

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する Closed 01/23/2010
related to ruby-trunk - Bug #270: lazy timer thraed creation Closed

History

Updated by naruse (Yui NARUSE) over 2 years ago

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

Updated by shyouhei (Shyouhei Urabe) almost 2 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