[OpenAFS] Server segfaults in 1.4.2 on linux 2.4.31
Marc Dionne
dionne@cs.wisc.edu
Fri, 27 Oct 2006 14:36:46 -0400 (EDT)
Sounds a lot like the "LWP vs setjmp" bug. What's your glibc version?
If you can rebuild from source, try defining "USE_UCONTEXT" in param.h an=
d
see if it helps. It currently gets defined for glibc 2.4 and above, but
only for linux26. src/config/param.i386_linux24.h probably needs this
additional bit found in src/config/param.i386_linux26.h:
#ifdef __GLIBC__
#if (__GLIBC__ > 2) || (__GLIBC__ =3D=3D 2 && __GLIBC_MINOR__ > 3)
#define USE_UCONTEXT
#endif
#endif
Marc
> The server processes in 1.4.2 are segfaulting on me when trying to run
> them on my 2.4.31 Gentoo box. This is what a backtrace from bos looks
> like:
>
> Program received signal SIGSEGV, Segmentation fault.
> savecontext (ep=3D0, savearea=3D0x80c8304, sp=3D0x40187004 "=FC=FD=FE=FF=
")
> at ./process.c:188
> 188 (*EP) ();
> (gdb) bt
> #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,
> 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
>