* Bug#202756: [jk@blackdown.de: Re: Bug#202756: nfs-kernel-server: 1.0.5-1 works with libc6 from unstable but fails with libc6 2.3.2-1 from experimental]
@ 2003-09-15 2:14 Chip Salzenberg
2003-09-20 5:48 ` Juergen Kreileder
0 siblings, 1 reply; 4+ messages in thread
From: Chip Salzenberg @ 2003-09-15 2:14 UTC (permalink / raw)
To: nfs; +Cc: Juergen Kreileder, 202756
I'm not sure this information made it to the NFS list, so here it is.
Key points:
* 1.0.6 does _not_ fix the crash.
* preloading libpthread.so.0 is still an effective workaround
(well, more of a diagnostic, really - we can't do it for production)
Juergen's conclusion seems disturbingly true:
> There must be something else in libpthread that is needed either by
> mountd or glibc's RPC code.
----- Forwarded message from Juergen Kreileder <jk@blackdown.de> -----
Subject: Re: Bug#202756: nfs-kernel-server: 1.0.5-1 works with libc6 from
unstable but fails with libc6 2.3.2-1 from experimental
From: Juergen Kreileder <jk@blackdown.de>
To: Philip Blundell <philb@gnu.org>
Cc: 202756@bugs.debian.org, Chip Salzenberg <chip@debian.org>
Date: Wed, 10 Sep 2003 08:10:22 +0200
Philip Blundell <philb@gnu.org> writes:
> On Mon, 2003-09-08 at 01:57, Juergen Kreileder wrote:
>> With LD_PRELOAD=libpthread.so.0, mountd works fine. I'm not sure
>> whether this is a glibc or an nfs-kernel-server bug: AFAIK mountd
>> doesn't use threads and should be OK with the functions from libc,
>> but it looks like it needs some of the overriden functions from
>> libpthread.
>>
>> If mountd doesn't use threads and if RPC doesn't require linking
>> with libpthread, then this is a glibc bug.
>
> Aha, okay. Yes, I think this is a known bug, and we have a fix for
> it. I'll check the patch in later today and make a -6 release.
>
> Thanks for investigating!
-6 does NOT fix the problem!
Preloading libpthread.so.0 still works around the problem.
After reading Jakub's explanation for the patch...
,----[ http://sources.redhat.com/ml/libc-hacker/2003-09/msg00002.html ]
| B0rken software, which doesn't link shared libraries which use
| pthread_cond_timedwait against -lpthread is bitten by this. With the
| exception of pthread_cond_timedwait, all pthread_cond_* routines have
| stubs in libc.so, so they are given @@GLIBC_2.3.2 version during
| linking. pthread_cond_timedwait doesn't have the stub, so unless
| -lpthread is specified (certainly the right thing to do), it remains
| unversioned. Mixing pthread_cond_*@GLIBC_2.3.2 and
| pthread_cond_timedwait@GLIBC_2.0 on one pthread_cond_t is deadly.
`----
...I don't think this patch applies to problem: mountd doesn't use
Pthreads at all and should work fine with linking libpthread or this
patch.
There must be something else in libpthread that is needed either by
mountd or glibc's RPC code.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/
----- End forwarded message -----
--
Chip Salzenberg - a.k.a. - <chip@pobox.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K
--
To UNSUBSCRIBE, email to debian-glibc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
^ permalink raw reply [flat|nested] 4+ messages in thread* Bug#202756: [jk@blackdown.de: Re: Bug#202756: nfs-kernel-server: 1.0.5-1 works with libc6 from unstable but fails with libc6 2.3.2-1 from experimental]
2003-09-15 2:14 Bug#202756: [jk@blackdown.de: Re: Bug#202756: nfs-kernel-server: 1.0.5-1 works with libc6 from unstable but fails with libc6 2.3.2-1 from experimental] Chip Salzenberg
@ 2003-09-20 5:48 ` Juergen Kreileder
2003-09-20 17:22 ` Chip Salzenberg
0 siblings, 1 reply; 4+ messages in thread
From: Juergen Kreileder @ 2003-09-20 5:48 UTC (permalink / raw)
To: Chip Salzenberg; +Cc: nfs, 202756
Chip Salzenberg <chip@pobox.com> writes:
> I'm not sure this information made it to the NFS list, so here it
> is. Key points:
>
> * 1.0.6 does _not_ fix the crash.
>
> * preloading libpthread.so.0 is still an effective workaround
> (well, more of a diagnostic, really - we can't do it for production)
>
> Juergen's conclusion seems disturbingly true:
>> There must be something else in libpthread that is needed either by
>> mountd or glibc's RPC code.
Looks like a glibc problem, it's triggered by using lwres in nsswitch.conf.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=211621
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [jk@blackdown.de: Re: Bug#202756: nfs-kernel-server: 1.0.5-1 works with libc6 from unstable but fails with libc6 2.3.2-1 from experimental]
2003-09-20 5:48 ` Juergen Kreileder
@ 2003-09-20 17:22 ` Chip Salzenberg
2003-09-20 18:01 ` Bug#202756: " Juergen Kreileder
0 siblings, 1 reply; 4+ messages in thread
From: Chip Salzenberg @ 2003-09-20 17:22 UTC (permalink / raw)
To: Juergen Kreileder; +Cc: nfs, 202756
According to Juergen Kreileder:
> Chip Salzenberg <chip@pobox.com> writes:
> > * 1.0.6 does _not_ fix the crash.
> > * preloading libpthread.so.0 is still an effective workaround
>
> Looks like a glibc problem, it's triggered by using lwres in nsswitch.conf.
> See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=211621
Ah, that's excellent news from our end.
Have you verified that avoiding lwres allows mountd to keep working?
Or is that not a practical test for you?
--
Chip Salzenberg - a.k.a. - <chip@pobox.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-20 18:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-15 2:14 Bug#202756: [jk@blackdown.de: Re: Bug#202756: nfs-kernel-server: 1.0.5-1 works with libc6 from unstable but fails with libc6 2.3.2-1 from experimental] Chip Salzenberg
2003-09-20 5:48 ` Juergen Kreileder
2003-09-20 17:22 ` Chip Salzenberg
2003-09-20 18:01 ` Bug#202756: " Juergen Kreileder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox