fs command crashes arlad

Herbert Huber Herbert.Huber at lrz-muenchen.de
Fri Mar 5 14:24:28 CET 1999


> 
> Could you start arlad with the flags "-z -n" in gdb and see where it
> crashes? the "-n" flags prevents arlad from forking.
> 
> /Magnus
> map at stacken.kth.se

Starting "arlad -z -n" with gdb, I immedeately get "Program exited
normally". What is my mistake? However below you can find the trace
of arlad. Maybe this helps you.
 

select(6, [3 5], NULL, NULL, {3, 600000}) = 0 (Timeout)
gettimeofday({920638914, 504787}, NULL) = 0
select(6, [3 5], NULL, NULL, {10, 0})   = 1 (in [5], left {7, 530000})
gettimeofday({920638916, 978386}, NULL) = 0
read(5, "(\0\0\0\10\0\0\0007\252(\0\352j\0"..., 65536) = 40
gettimeofday({920638916, 978818}, NULL) = 0
gettimeofday({920638916, 978918}, NULL) = 0
writev(5, [{"\304\1\0\0\t\0\0\0\376\0\0\0\0\0"..., 452},
{"\24\0\0\0\1\0\0\0\377\0\0\0007\252"..., 20}], 2) = 472
select(6, [3 5], NULL, NULL, {7, 526401}) = 1 (in [5], left {7, 530000})
gettimeofday({920638916, 979633}, NULL) = 0
read(5, " \0\0\0\n\0\0\0008\252(\0\0\0\0\0"..., 65536) = 324
gettimeofday({920638916, 979884}, NULL) = 0
afs_syscall(0x14, 0, 0x400c5635, 0x81f114c, 0) = 6
fstat(6, {st_mode=0, st_size=0, ...})   = 0
mmap(0, 10240, PROT_READ|PROT_WRITE, MAP_PRIVATE, 6, 0) = 0x40010000
munmap(0x40010000, 10240)               = 0
close(6)                                = 0
writev(5, [{"\24\0\0\0\1\0\0\0\0\1\0\0009\252"..., 20}], 1) = 20
select(6, [3 5], NULL, NULL, {7, 525154}) = 1 (in [5], left {7, 530000})
gettimeofday({920638916, 981053}, NULL) = 0
read(5, "0\10\0\0\26\0\0\0:\252(\0\2V\f@\352"..., 65536) = 2096
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474693,
970000}}) = 0
socketcall(0x10, 0x81f2fc4)             = 48
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474693,
970000}}) = 0
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474693,
970000}}) = 0
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474693,
970000}}) = 0
select(6, [3 5], NULL, NULL, {2, 0})    = 1 (in [3], left {1, 980000})
gettimeofday({920638916, 996479}, NULL) = 0
socketcall(0x11, 0x80fe5c4)             = 504
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474693,
950000}}) = 0
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474693,
950000}}) = 0
socketcall(0x10, 0x81f3148)             = 44
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474693,
950000}}) = 0
select(6, [3 5], NULL, NULL, {0, 500000}) = 1 (in [3], left {0, 500000})
gettimeofday({920638916, 999639}, NULL) = 0
socketcall(0x11, 0x80fe5c4)             = 32
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474693,
950000}}) = 0
write(5, "\30\10\0\0\27\0\0\0\1\1\0\0:\252"..., 2072) = 2072
--- SIGSEGV (Segmentation fault) ---


Tracing "fs la ." for my AFS-$HOME looks like:

select(6, [3 5], NULL, NULL, {3, 500000}) = 1 (in [5], left {1, 410000})
gettimeofday({920639978, 971570}, NULL) = 0
read(5, "(\0\0\0\10\0\0\0\36\257(\0\352j\0"..., 65536) = 40
gettimeofday({920639978, 972022}, NULL) = 0
gettimeofday({920639978, 972124}, NULL) = 0
writev(5, [{"\304\1\0\0\t\0\0\0\365\2\0\0\0\0"..., 452},
{"\24\0\0\0\1\0\0\0\366\2\0\0\36\257"..., 20}], 2) = 472
select(6, [3 5], NULL, NULL, {1, 401866}) = 1 (in [5], left {1, 410000})
gettimeofday({920639978, 972828}, NULL) = 0
read(5, " \0\0\0\n\0\0\0\37\257(\0\0\0\0\0"..., 65536) = 68
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474367,
750000}}) = 0
socketcall(0x10, 0x81f3000)             = 48
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474367,
750000}}) = 0
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474367,
750000}}) = 0
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474367,
740000}}) = 0
select(6, [3 5], NULL, NULL, {1, 400608}) = 1 (in [3], left {1, 410000})
gettimeofday({920639978, 978205}, NULL) = 0
socketcall(0x11, 0x80fe5c4)             = 152
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474367,
740000}}) = 0
gettimeofday({920639978, 978605}, NULL) = 0
writev(5, [{"p\0\0\0\7\0\0\0\367\2\0\0\0\0\0\0"..., 112},
{"\24\0\0\0\1\0\0\0\370\2\0\0 \257"..., 20}], 2) = 132
select(6, [3 5], NULL, NULL, {0, 500000}) = 1 (in [5], left {0, 500000})
gettimeofday({920639978, 979251}, NULL) = 0
read(5, "$\1\0\0\4\0\0\0!\257(\0\352j\266"..., 65536) = 292
gettimeofday({920639978, 979500}, NULL) = 0
afs_syscall(0x14, 0, 0x400c5635, 0x81f114c, 0) = 6
fstat(6, {st_mode=0, st_size=0, ...})   = 0
mmap(0, 10240, PROT_READ|PROT_WRITE, MAP_PRIVATE, 6, 0) = 0x40010000
munmap(0x40010000, 10240)               = 0
close(6)                                = 0
writev(5, [{"\24\0\0\0\1\0\0\0\371\2\0\0!\257"..., 20}], 1) = 20
select(6, [3 5], NULL, NULL, {0, 498954}) = 1 (in [5], left {0, 500000})
gettimeofday({920639978, 980645}, NULL) = 0
read(5, "0\10\0\0\26\0\0\0\"\257(\0\2V\f@"..., 65536) = 2096
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474367,
740000}}) = 0
socketcall(0x10, 0x81f3148)             = 48
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474367,
740000}}) = 0
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474367,
740000}}) = 0
select(6, [3 5], NULL, NULL, {1, 392791}) = 1 (in [3], left {1, 360000})
gettimeofday({920639979, 14718}, NULL)  = 0
socketcall(0x11, 0x80fe5c4)             = 208
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={21474367,
700000}}) = 0
write(5, "\30\10\0\0\27\0\0\0\372\2\0\0\"\257"..., 2072) = 2072
write(5, "\24\0\0\0\1\0\0\0\373\2\0\0\"\257"..., 20) = 20


Regards

Herbert





More information about the Arla-drinkers mailing list