Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2007 08:57:01 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        oleg palukhin <palukhin@electro-mpo.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: error with thread
Message-ID:  <Pine.GSO.4.64.0710150846460.5363@sea.ntplx.net>
In-Reply-To: <47134F8A.4030309@electro-mpo.ru>
References:  <47134F8A.4030309@electro-mpo.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Oct 2007, oleg palukhin wrote:

> hi, list
>
> on recently builded -current when i start X, portupgrade and some else 
> programms I get a lot of this error:
> "Fatal error 'Cannot allocate red zone for initial thread' at line 382
> in file /usr/src/lib/libthr/thread/thr_init.c (errno = 12)", and coredump 
> then.
>
> googlin' give me feeling that it's good known sort of issue, but I couldn't 
> find any example of soving
>
> just where to look to solve it?

Try manually rebuilding portupgrade and the ports that depend on it.

My -current ports are old, but do something like this:

   # pkg_which /usr/local/sbin/portupgrade
   portupgrade-devel-2.3.0_5

   # pkg_info -r portupgrade-devel-2.3.0_5
   Information for portupgrade-devel-2.3.0_5:

   Depends on:
   Dependency: db41-4.1.25_4
   Dependency: ruby-1.8.6,1
   Dependency: perl-5.8.8
   Dependency: ruby18-bdb-0.6.0

   # pkg_info -oq db41-4.1.25_4 ruby-1.8.6,1 perl-5.8.8 ruby18-bdb-0.6.0
   databases/db41
   lang/perl5.8
   lang/ruby18
   databases/ruby-bdb

So you'd rebuild those 4 ports and ports-mgmt/portupgrade.  According
to  a recent post, you might only need to rebuild the ruby related ports
and portupgrade.

Disclaimer: I have not gone through this, just reiterating what I saw
in a recent post.

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0710150846460.5363>