Bug#751134: libc6: Segmentation fault rpcinfo rpc.mountd
clone 751134 -1
reassign -1 libtirpc1
retitle -1 libtirpc1: try to unlock a lock which hasn't been locked
thanks
On Tue, Jun 10, 2014 at 07:17:05PM +0200, Gernot Zander wrote:
> Package: libc6
> Version: 2.19-1
> Severity: important
>
> Dear Maintainer,
>
> dist-upgrade with upgrade to libc6-2.19-1
> [....] Starting NFS kernel daemon: nfsd/etc/init.d/nfs-kernel-server: line 61: 4297 Segmentation fault $PREFIX/sbin/rpcinfo -p > /dev/null 2>&1
>
> Commented out the line $PREFIX/sbin/rpcinfo -p >/dev/null 2>&1
> But got the same error on rpc.mountd than.
>
> nfs server not running!
The problem is actually not at the libc level, but on the tirpc library.
it tries to unlock a lock which hasn't been locked, which is not allowed
by the standard, and causes and issue like the one above when executed on
a CPU capable of lock elision.
The fix has actually been committed in upstream tiprc more than a year
ago [1], but as this package has no maintainer the new version hasn't
been uploaded. I am therefore cloning this bug and reassigning this bug
to the libtirpc library. I'll do a QA upload shortly. I am keeping the
other bug opened on the libc side, so that we can add a Breaks: for
painless upgrade.
[1] http://git.infradead.org/users/steved/libtirpc.git/commit/103947230def2d284a1388df833a3c11cfc7d961
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net
Reply to: