[OpenAFS] Crash in volserver when restoring volume from backup.

Derrick Brashear shadow@gmail.com
Wed, 26 Aug 2009 11:06:34 -0400


looks like you already lost by the time it crashes.


> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x4aafd940 (LWP 30735)]
> 0x0000003c13078d60 in strlen () from /lib64/libc.so.6
> (gdb) bt
> #0 =A00x0000003c13078d60 in strlen () from /lib64/libc.so.6
> #1 =A00x0000000000430092 in afs_vsnprintf (p=3D0x4aafc3ba "4BF+0", avail=
=3D999,
> =A0 fmt=3D<value optimized out>, ap=3D0x4aafc7c0) at ../util/snprintf.c:3=
95
> #2 =A00x0000000000416a60 in vFSLog (
> =A0 format=3D0x467838 "1 Volser: ReadVnodes: IH_CREATE: %s - restore abor=
ted\n",
> =A0 args=3D0x4) at ../util/serverLog.c:135
> #3 =A00x000000000042550e in Log (
> =A0 format=3D0x1311e7ec <Address 0x1311e7ec out of bounds>) at
> ../vol/common.c:41

[]

> (gdb)
up
up
up
up
print errno.

Now, why
Log("1 Volser: ReadVnodes: IH_CREATE: %s - restore aborted\n",
afs_error_message(errno));
is SEGVing is a different question.


--=20
Derrick