Hi all,

I'm using the openafs RxRPC 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?  I can provide a small C file that
demonstrates the crash.

Many thanks,

Richard.

Reply via email to