Re: recent update breaks some ports

From: Taku YAMAMOTO <taku_at_tackymt.homeip.net>
Date: Thu, 12 Apr 2012 03:19:19 +0900
On Wed, 11 Apr 2012 15:53:38 +0300
Konstantin Belousov <kostikbel_at_gmail.com> wrote:

> On Wed, Apr 11, 2012 at 01:34:01PM +0200, Stefan Farfeleder wrote:
> > On Tue, Apr 10, 2012 at 08:31:53AM +0200, Stefan Farfeleder wrote:
> > > On Tue, Apr 10, 2012 at 01:44:02AM -0400, AN wrote:
> > > > FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #7 r234042: Sun Apr  8 
> > > > 17:36:38 EDT 2012     root_at_FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64
> > > > 
> > > > After a recent update on Sunday to r234042 I am having a problem with 2 
> > > > ports:
> > > > 
> > > > gedit
> > > > evince
> > > > (using Gnome2 - ports tree up to date)
> > > > 
> > > > My last update (before this past Sun build/install world) was 2 weeks ago, 
> > > > so it was definitely a change made in the last 2 weeks.
> > > > 
> > > > Gedit will not start from the command line, or the applications menu. 
> > > > There is no error message on the command line.  Evince will start, however 
> > > > when you try to open a document the program freezes.
> > > > 
> > > > I have tried to:
> > > > make deinstall
> > > > make clean
> > > > make install clean
> > > > 
> > > > for both ports but they are still broken.  I would appreciate any help.
> > > 
> > > I'm experiencing that too (r234038), xine also no longer starts (hangs
> > > at splash screen).
> > 
> > FWIW backing out r233749 fixes evince and xine for me.
> Please recompile at least rtld/libc/libthr with debugging symbols and get
> a backtrace from the hung process.

My wild guess tells me that the rtld_bind_lock gets held recursively
when resolving filtered symbol.
The attached band-aid patch supports the guess.

I have the world/kernel as of r234038 and have difficulty to launch XFce's
xfdesktop-settings (w/ im-scim.so which loads libstdc++), where every threads
of xfdesktop-settings stuck into either "urdlck" or "uwrlck" states.

I have to admit that the attached patch is something like 3-minute-hacking
quality, but it at least avoids the stall.


-- 
-|-__   YAMAMOTO, Taku
 | __ <     <taku_at_tackymt.homeip.net>

      - A chicken is an egg's way of producing more eggs. -

Received on Wed Apr 11 2012 - 16:19:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:25 UTC