Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2009 09:58:42 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-current@freebsd.org, freebsd-ia64@freebsd.org
Subject:   Re: nslookup dumps core on ia64 HEAD
Message-ID:  <C6A68F32-67C9-4CC2-A7D0-AD2B2EBBA9B8@mac.com>
In-Reply-To: <20091129131443.GA7194@mech-cluster241.men.bris.ac.uk>
References:  <20091126091456.GA93898@mech-cluster241.men.bris.ac.uk> <7A71CC85-4189-405A-BD9E-5BFF2C04D5C2@mac.com> <20091127102200.GB3108@mech-cluster241.men.bris.ac.uk> <0DBED408-D602-4333-BEF6-FC0DA700730D@mac.com> <20091129131443.GA7194@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

On Nov 29, 2009, at 5:14 AM, Anton Shterenlikht wrote:

>> 	% sudo make install
> 
> I did just exactly what you wrote, but not sure I got there, because
> nslookup is still dated 2 weeks ago:
> 
>> ls -al /usr/bin/nslookup 
> -r-xr-xr-x  1 root  wheel  3568440 13 Nov 16:16 /usr/bin/nslookup

If you don't have sudo installed from ports, then the install
fails. You don't have to install sudo, just run the command
as root.

> and the results are mixed: sometimes it works, and sometimes it
> doesn't:

This relates to code paths. pthread_mutex_destroy() has to be
called in order for the assert to fail. I presume there are
code paths in which the lock isn't acquired.

> Looking at:
> 
> # ldd /usr/bin/nslookup 
> /usr/bin/nslookup:
>        libcrypto.so.6 => /lib/libcrypto.so.6 (0x20000000403fc000)
>        libthr.so.3 => /lib/libthr.so.3 (0x20000000406c0000)
>        libc.so.7 => /lib/libc.so.7 (0x20000000406fe000)
> 
> I wonder if I also have to rebuild in
> /usr/src/secure/lib (for libthr.so) ?
> /usr/src/lib (for libc.so) ?

No, I don't think so. The problem is with the caller of the
function, which is in libisc.

I'll look into it this afternoon,

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C6A68F32-67C9-4CC2-A7D0-AD2B2EBBA9B8>