[OpenAFS-devel] libadmin, rx and AFS_PTHREAD_ENV on linux.

Derrick J Brashear shadow@dementia.org
Thu, 10 Mar 2005 14:59:39 -0500 (EST)


On Thu, 3 Mar 2005, Ken Aaker wrote:

> |Another thing I ran into using libadmin looks like it was caused by
> a locking problem in the rx library running in a pthread user environment.
>
> In a call to util_CMListCellsBegin that's I get a hard loop in
> rxi_WriteProc(), that seems to be because the rxi_AllocSendPacket()
> function never succeeds.

That's.... odd. I see no reason it should not succeed.

> I assume the next step is to try turning on AFS_PTHREAD_ENV? It doesn't
> seem to be turned on, and when I step through the rx functions with the
> debugger, the lock statments seem to missing.

Yes, I suspect there's a reason it won't just work but it's probably a 
start.