Comment 6 for bug 520715

Revision history for this message
Lucas Nussbaum (lucas) wrote : Re: [Bug 520715] Re: building ruby1.8 with pthread support causes puppet hangs

On 12/02/10 at 00:00 -0000, Joel Ebel wrote:
> I don't have a test suite for other ruby libs, so no I can't say with
> certainty that building them without pthreads doesn't break them, but
> being the default for usptream ruby, and used by Red Hat leads me to
> believe that ruby without pthreads has been pretty thoroughly tested
> elsewhere.

How many libs have you tried ?

> I'm pretty sure it's a ruby bug. installing an older version of ruby
> from Karmic allowed puppet to work fine. You can see in the ruby bug I
> linked that I was able to find the specific upstream change, which was
> related to threading, where the problem began. And I've been able to
> reliably run puppet without problems by disabling pthreads in the
> current version.
>
> For convenience, here's the upstream change where the badness started happening:
> http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24104
> And the file diff of what changed:
> http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_7/eval.c?r1=23997&r2=24104&diff_format=h

Then please try to talk to upstream so that this bug is fixed, rather
than working around it by disabling pthreads.

With that info, it shouldn't be too hard to really fix the bug for
someone who knows the code, no?
--
| Lucas Nussbaum
| <email address hidden> http://www.lucas-nussbaum.net/ |
| jabber: <email address hidden> GPG: 1024D/023B3F4F |