[OpenAFS] Server segfaults in 1.4.2 on linux 2.4.31

Ian Delahorne ian@assv.net
Fri, 27 Oct 2006 21:31:09 +0200


On Fri, 2006-10-27 at 14:36 -0400, Marc Dionne wrote:
> Sounds a lot like the "LWP vs setjmp" bug.  What's your glibc version?
>=20
> If you can rebuild from source, try defining "USE_UCONTEXT" in param.h =
and
> see if it helps.  It currently gets defined for glibc 2.4 and above, bu=
t
> only for linux26.  src/config/param.i386_linux24.h probably needs this
> additional bit found in src/config/param.i386_linux26.h:
>=20
> #ifdef __GLIBC__
> #if (__GLIBC__ > 2) || (__GLIBC__ =3D=3D 2 && __GLIBC_MINOR__ > 3)
> #define USE_UCONTEXT
> #endif
> #endif

Nope, same crash:

#0  savecontext (ep=3D0, savearea=3D0x80c8304, sp=3D0x40187004 "=FC=FD=FE=
=FF")
    at ./process.c:188
#1  0x080627ef in LWP_CreateProcess (ep=3D0, stacksize=3D196608,
priority=3D0,=20
    parm=3D0x0, name=3D0x0, pid=3D0x0) at ./lwp.c:405
#2  0x08063578 in IOMGR_Initialize () at ./iomgr.c:823
#3  0x080613d4 in rxi_InitializeThreadSupport () at rx_lwp.c:117
#4  0x08055535 in rx_InitHost (host=3D0, port=3D0) at rx.c:409
#5  0x08055789 in rx_Init (port=3D0) at rx.c:546
#6  0x0804d519 in main (argc=3D0, argv=3D0x0) at bos.c:1942
(gdb) q