[OpenAFS] Salvageserver 1.6.1-3+deb7u1 core dump

Harald Barth haba@kth.se
Tue, 17 Jun 2014 10:25:21 +0200 (CEST)

More from the core:

(gdb) bt
#0  0x00007fbe95040475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fbe950436f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x000000000042f162 in osi_Panic (
    msg=msg@entry=0x4635f0 "assertion failed: %s, file: %s, line: %d\n")
    at ./../rx/rx_user.c:251
#3  0x000000000042f17d in osi_AssertFailU (
    expr=expr@entry=0x4586bb "Delete(&dh, \"..\") == 0", 
    file=file@entry=0x458337 "../vol/vol-salvage.c", line=line@entry=3997)
    at ./../rx/rx_user.c:261
#4  0x0000000000408078 in SalvageVolume (
    salvinfo=salvinfo@entry=0x7fff12474f80, rwIsp=rwIsp@entry=0x1bd68b0, 
    alinkH=0x1bd44a0) at ../vol/vol-salvage.c:3997
#5  0x000000000040af8d in DoSalvageVolumeGroup (salvinfo=salvinfo@entry=0x0, 
    isp=0x1bd68b0, nVols=nVols@entry=2) at ../vol/vol-salvage.c:2092
#6  0x000000000040c391 in SalvageFileSys1 (partP=partP@entry=0x1bca880, 
    singleVolumeNumber=536904480) at ../vol/vol-salvage.c:937
#7  0x00000000004041a9 in DoSalvageVolume (slot=<optimized out>, 
    node=0x1bd4030) at ../vol/salvaged.c:640
#8  SalvageServer (argv=<optimized out>, argc=<optimized out>)
    at ../vol/salvaged.c:574
#9  handleit (as=<optimized out>, arock=<optimized out>)
    at ../vol/salvaged.c:299
#10 0x00000000004572a4 in cmd_Dispatch (argc=7, argc@entry=6, argv=0x1bc1c20, 
    argv@entry=0x7fff12475768) at cmd.c:905
#11 0x0000000000404c67 in main (argc=6, argv=0x7fff12475768)
    at ../vol/salvaged.c:418

So this is bailing out at 
vol_salvage.c opr_Verify(afs_dir_Delete(&dh, "..") == 0)
which looks a lot like 


> Improve JudgeEntry() detection of orphaned directories to
> prevent unintentional deletion of their '.' and '..' entries.
> This in turn prevents a later assert (opr_Verify) when we try to
> delete and re-add '..' in order to attach the orphan.
> ...

So well, now I "only" need to find something that contains that patch
(1.6.9 I suppose) for wheezy, correct?