[OpenAFS] SIGSEGV on aklog, pts or vos commands at process.c:213

Michal Svamberg svamberg@gmail.com
Sat, 17 May 2008 02:26:10 +0200


Hello,

2008/5/16 Marc Dionne <marc.c.dionne@gmail.com>:
> Did you build the package yourself?  There's probably something going
> on at the configure stage that didn't enable ucontext.  For instance,
> is HAVE_UCONTEXT_H defined in src/config/afsconfig.h?

This is debian/etch-backports compilation.

Now I get sources from etch-backports and compile it. After recompilation
it's all works without SIGSEGV.

# apt-get source openafs/etch-backports
# cd openafs-1.4.7~pre3.dfsg1
# dpkg-buildpackage
...

# head -n 18 config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ configure --with-afs-sysname=i386_linux26 --disable-kernel-module --prefix=/
usr --mandir=${prefix}/share/man --sysconfdir=/etc --libexecdir=/usr/lib --local
statedir=/var/lib --with-krb5-conf=/usr/bin/krb5-config --enable-supergroups --e
nable-largefile-fileserver --enable-bos-new-config --enable-debug --enable-lwp-d
ebug --build i486-linux-gnu

## --------- ##
## Platform. ##
## --------- ##

hostname = listik.zcu.cz
uname -m = i686
uname -r = 2.6.22-4-686
uname -s = Linux
uname -v = #1 SMP Tue Feb 12 16:29:32 UTC 2008

# cat src/config/afsconfig.h  | grep -i context
/* Define to 1 if you have the <ucontext.h> header file. */
#define HAVE_UCONTEXT_H 1


# cd ..; dpkg -i openafs-client*.deb openafs-krb5*.deb

No SIGSEGV on pts, aklog or vos command now. This is propably debian
specific bug.

Thanks Marc.