Since I've upgraded to openafs 1.4.2, the butc process segfaults every
time when i try do dump a volumeset (/usr/sbin/backup dump -volumeset
everything -dump /weekly -localauth). The butc is always started with
the arguments "-localauth -noautoquery -debuglevel 2"

When running the stripped butc (as from the compilation of the RedHat ES
3.0 SRPM) in gdb, after submitting the dump job I get:
Dump everything.weekly
Dump everything.weekly (DumpID 1161607414)
Warning: Tape error while reading label (will proceed with dump)
    butm: no label on tape: Input/output error

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1281459280 (LWP 2143)]
0x080aaeb3 in xdr_reference ()
(gdb) bt
#0  0x080aaeb3 in xdr_reference ()
#1  0x080ab164 in xdr_reference ()
#2  0x080540d1 in ?? ()
#3  0xb39e5450 in ?? ()
#4  0x453cb8fd in ?? ()
#5  0xffffff88 in ?? ()
#6  0x00000000 in ?? ()

When running the openafs-1.4.2/src/tbutc/butc within gdb, after
submitting the job, i get:
Dump everything.weekly
Dump everything.weekly (DumpID 1161609050)
Warning: Tape error while reading label (will proceed with dump)
    butm: no label on tape: Input/output error

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1281459280 (LWP 23281)]
0x080aaeb3 in ktimeDate_FromInt32 (timeSecs=-1281469476,
ktimePtr=0x80d68a0) at kreltime.c:131
131         ktimePtr->sec = timePtr->tm_sec;
(gdb) bt
#0  0x080aaeb3 in ktimeDate_FromInt32 (timeSecs=-1281469476,
ktimePtr=0x80d68a0) at kreltime.c:131
#1  0x080ab164 in Add_RelDate_to_Time (relDatePtr=0xb39e5450,
atime=-1281469476) at kreltime.c:299
#2  0x080540d1 in calcExpirationDate (expType=56, expDate=-1281469476,
createTime=1161609056) at ../butc/dump.c:162
#3  0x08055de1 in getDumpTape (dparamsPtr=0xb39e6d80, interactiveFlag=0,
append=0) at ../butc/dump.c:1753
#4  0x0805571b in Dumper (nodePtr=0x8988258) at ../butc/dump.c:1229
#5  0x00ab8dd8 in start_thread () from /lib/tls/libpthread.so.0
#6  0x004d1d1a in clone () from /lib/tls/libc.so.6

When running the openafs-1.4.2/src/butc/butc within gdb, after
submitting the job, i get:
Dump everything.weekly
Dump everything.weekly (DumpID 1161608268)
Detaching after fork from child process 23204.
Detaching after fork from child process 23205.
Warning: Tape error while reading label (will proceed with dump)
    butm: no label on tape: Input/output error

Program received signal SIGSEGV, Segmentation fault.
0x0809ebf7 in ktimeDate_FromInt32 (timeSecs=-1219745464,
ktimePtr=0x80c9600) at kreltime.c:131
131         ktimePtr->sec = timePtr->tm_sec;
(gdb) bt
#0  0x0809ebf7 in ktimeDate_FromInt32 (timeSecs=-1219745464,
ktimePtr=0x80c9600) at kreltime.c:131
#1  0x0809eea8 in Add_RelDate_to_Time (relDatePtr=0xb74c29bc,
atime=-1219745464) at kreltime.c:299
#2  0x080532c5 in calcExpirationDate (expType=55, expDate=-1219745464,
createTime=1161608275) at dump.c:162
#3  0x08054fd1 in getDumpTape (dparamsPtr=0xb74c42ec, interactiveFlag=0,
append=0) at dump.c:1753
#4  0x0805490b in Dumper (nodePtr=0x92c0810) at dump.c:1229
#5  0x0809aa9c in Create_Process_Part2 () at lwp.c:797
#6  0x0809b091 in savecontext (ep=0xb74c2948, savearea=0x20a8,
sp=0xb7526c94 "�lR�N�\005\b\\oR��lR��lR�") at process.c:188
#7  0x0809723e in rx_WriteProc32 (call=0x8093ce9, value=0x92be760) at
rx_rdwr.c:895
#8  0xb7526ce4 in ?? ()
#9  0xb7526f5c in ?? ()
#10 0x00000000 in ?? ()

Any ideas?

Ulrich


_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to