Ph. Marek wrote, On 08/03/07 02:01:
but... on *big* directory (5095 files/dirs) I get Bus error when using
-C -C (without... it works as expected...):
Oh no, please say it don't ;-/
What? Isn't that the pure joy of software development... ;-)
The good news is that I can reproduce at will... with status and commit...
fsvs ci -m "<snip>" -C -C -d
...
Program received signal SIGBUS, Bus error.
[Switching to Thread -1208153728 (LWP 10517)]
0x0804b040 in cs___end_of_block ()
(gdb) bt
#0 0x0804b040 in cs___end_of_block ()
#1 0x0804bed7 in cs__compare_file ()
#2 0x0804fec1 in ops__update_single_entry ()
Could you tell me which code line that is?
I have snipped some data...
Program received signal SIGBUS, Bus error.
[Switching to Thread -1208977024 (LWP 13471)]
0x0804b0e0 in cs___end_of_block (
data=0xb7cfc000 "<snip>"..., maxlen=34229, eob=0xbff92c70,
mb_f=0x8064ac0) at checksum.c:563
563 mb_f->state =
(mb_f->state*CS__MANBER_PRIME + data[i] -
(gdb) bt
#0 0x0804b0e0 in cs___end_of_block (
data=0xb7cfc000 "<snip>"..., maxlen=34229, eob=0xbff92c70,
mb_f=0x8064ac0) at checksum.c:563
#1 0x0804bf77 in cs__compare_file (sts=0xb7c3a888, fullpath=0x8d66400
"<snip>", result=0xbff92cc4) at checksum.c:332
#2 0x0804ff61 in ops__update_single_entry (sts=0xb7c3a888,
fullpath=0x8d66400 "<snip>") at est_ops.c:1181
#3 0x0805b7d9 in waa__update_tree (root=0xbff92dbc,
cur_block=0x8d4b938) at waa.c:1560
#4 0x0805c133 in waa__partial_update (root=0xbff92dbc, argc=0,
normalized=0x8d519d8, blocks=0x80663ec) at waa.c:1967
#5 0x0805c1ed in waa__read_or_build_tree (root=0xbff92dbc, argc=0,
normalized=0x8d519d8, return_ENOENT=0) at waa.c:1670
#6 0x08055546 in st__work (root=0xbff92dbc, argc=0, argv=0xbff92edc) at
status.c:215
#7 0x08050e11 in main (argc=0, args=0xbff92ed4) at fsvs.c:653
Ben.