Are you using the LWP or pthread version of rx?
The pthread version is libafsrpc which is what I expect you want in most
circumstances.

Jeffrey Altman

On 8/2/2010 8:46 AM, Richard Low wrote:
> Hi all,
> 
> I'm using the openafs Rx code in a standalone application and have run
> into some multithreading issues.  It seems that the build on my system
> is not thread safe, and I get stack overflow errors whenever I have
> multiple client threads.  I also get the same error when using a server
> & client within the same process.
> 
> An example output:
> 
> stackcheck = 50462976: stack = 50462976
> topstack = 0x2cce43ec: stackptr = 0x7dde2010: stacksize = 0x48000
> Wed Jul 28 08:53:39 2010 LWP: stack overflow in process IO MANAGER!
> Aborted
> 
> My afs-sysname is amd64_linux26, running on CentOS 5.5.  My configure
> command:
> 
> ./configure --with-afs-sysname=amd64_linux26 --prefix=/usr
> --libdir=/usr/lib64 --bindir=/usr/bin --sbindir=/usr/sbin
> --disable-strip-binaries --with-krb5-conf=/usr/kerberos/bin/krb5-config
> --enable-redhat-buildsys --enable-transarc-paths
> 
> This shows on openafs version 1.4.12.1 and 1.5.75.  I've tried setting
> various #defines (such as USE_UCONTEXT as suggested earlier on this
> list) but haven't had any success.
> 
> Am I doing something wrong with my build?  Or has multithreaded support
> broken? I can provide a small C file that demonstrates the crash.
> 
> Many thanks,
> 
> Richard.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to