[OpenAFS-devel] RxRPC stack overflow

Richard Low rlow@acunu.com
Thu, 29 Jul 2010 14:01:57 +0100


--0016e65ae0c4db3e86048c865601
Content-Type: text/plain; charset=ISO-8859-1

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.

--0016e65ae0c4db3e86048c865601
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi all,<br><br>I&#39;m using the openafs RxRPC code in a standalone applica=
tion and have run into some multithreading issues.=A0 It seems that the bui=
ld on my system is not thread safe, and I get stack overflow errors wheneve=
r I have multiple client threads.=A0 I also get the same error when using a=
 server &amp; client within the same process.<br>
<br>An example output:<br><br>stackcheck =3D 50462976: stack =3D 50462976 <=
br>topstack =3D 0x2cce43ec: stackptr =3D 0x7dde2010: stacksize =3D 0x48000<=
br>Wed Jul 28 08:53:39 2010 LWP: stack overflow in process IO MANAGER!<br>A=
borted<br>
<br>My afs-sysname is amd64_linux26, running on CentOS 5.5.=A0 My configure=
 command:<br><br>./configure --with-afs-sysname=3Damd64_linux26 --prefix=3D=
/usr --libdir=3D/usr/lib64 --bindir=3D/usr/bin --sbindir=3D/usr/sbin --disa=
ble-strip-binaries --with-krb5-conf=3D/usr/kerberos/bin/krb5-config --enabl=
e-redhat-buildsys --enable-transarc-paths<br>
<br>This shows on openafs version 1.4.12.1 and 1.5.75.=A0 I&#39;ve tried se=
tting various #defines (such as USE_UCONTEXT as suggested earlier on this l=
ist) but haven&#39;t had any success.<br><br>Am I doing something wrong wit=
h my build?=A0 I can provide a small C file that demonstrates the crash.<br=
>
<br>Many thanks,<br><br>Richard.<br>

--0016e65ae0c4db3e86048c865601--