Hello!
>From time to time I'm getting segfaults while running `csync -xG
<group_name>`. I've catch coredump, here is backtrace:
Core was generated by `/usr/sbin/csync2 -xG clx-data'.
Program terminated with signal 11, Segmentation fault.
#0 _IO_new_fclose (fp=fp@entry=0x0) at iofclose.c:54
54 iofclose.c: No such file or directory.
(gdb) #0 _IO_new_fclose (fp=fp@entry=0x0) at iofclose.c:54
#1 0x000000000040c3a1 in csync_rs_delta (
filename=filename@entry=0x1710d70
"/data/www/xx/yy/data/data_warehouse/temp/DW_2014-10-20 18-15-01.csv")
at rsync.c:259
#2 0x000000000040cfb8 in csync_update_file_mod
(peername=peername@entry=0x1736db0 "clx-app3",
filename=0x1710d70
"/data/www/xx/yy/data/data_warehouse/temp/DW_2014-10-20 18-15-01.csv",
force=<optimized out>, dry_run=dry_run@entry=0)
at update.c:350
#3 0x000000000040d96b in csync_update_host
(peername=peername@entry=0x1736db0 "clx-app3",
patlist=patlist@entry=0x0, patnum=patnum@entry=0,
recursive=recursive@entry=0, dry_run=dry_run@entry=0) at update.c:609
#4 0x000000000040dc0a in csync_update (patlist=patlist@entry=0x0,
patnum=patnum@entry=0, recursive=recursive@entry=0,
dry_run=dry_run@entry=0) at update.c:646
#5 0x0000000000404d1a in main (argc=3, argv=<optimized out>) at
csync2.c:613
(gdb) quit
and "bt full":
#0 _IO_new_fclose (fp=fp@entry=0x0) at iofclose.c:54
54 iofclose.c: No such file or directory.
(gdb) #0 _IO_new_fclose (fp=fp@entry=0x0) at iofclose.c:54
status = <optimized out>
#1 0x000000000040c3a1 in csync_rs_delta (
filename=filename@entry=0x1710d70
"/data/www/xx/yy/data/data_warehouse/temp/DW_2014-10-20 18-15-01.csv")
at rsync.c:259
backup_errno = 2
sig_file = <optimized out>
new_file = <optimized out>
delta_file = <optimized out>
result = <optimized out>
sumset = <optimized out>
stats = {op = 0x7fee560c4f3c "loadsig", lit_cmds = 0, lit_bytes
= 0, lit_cmdbytes = 0, copy_cmds = 0, copy_bytes = 0, copy_cmdbytes = 0,
sig_cmds = 0,
sig_bytes = 0, false_matches = 0, sig_blocks = 16776,
block_len = 2048, in_bytes = 0, out_bytes = 0}
#2 0x000000000040cfb8 in csync_update_file_mod
(peername=peername@entry=0x1736db0 "clx-app3",
filename=0x1710d70
"/data/www/xx/yy/data/data_warehouse/temp/DW_2014-10-20 18-15-01.csv",
force=<optimized out>, dry_run=dry_run@entry=0)
at update.c:350
st = {st_dev = 65029, st_ino = 141897, st_nlink = 1, st_mode =
33204, st_uid = 1003, st_gid = 1003, __pad0 = 0, st_rdev = 0, st_size =
35784673,
st_blksize = 4096, st_blocks = 69896, st_atim = {tv_sec =
1413821701, tv_nsec = 724852680}, st_mtim = {tv_sec = 1413821914,
tv_nsec = 437399259},
st_ctim = {tv_sec = 1413821914, tv_nsec = 437399259},
__glibc_reserved = {0, 0, 0}}
last_conn_status = <optimized out>
auto_resolve_run = 0
key = 0x16511b0
"k.hO_5JaG3kEpKr.XbWhVS.I6Pfxjsk_JTL8TiRzaPTkpeEhcuVbHeeFNu5BNUhs"
#3 0x000000000040d96b in csync_update_host
(peername=peername@entry=0x1736db0 "clx-app3",
patlist=patlist@entry=0x0, patnum=patnum@entry=0,
recursive=recursive@entry=0, dry_run=dry_run@entry=0) at update.c:609
tl = 0x16b8580
t = 0x165ac00
next_t = 0x0
tl_mod = 0x165ac00
last_tn = <optimized out>
current_name = 0x16b8530 "clx-lb1"
st = {st_dev = 65029, st_ino = 141897, st_nlink = 1, st_mode =
33204, st_uid = 1003, st_gid = 1003, __pad0 = 0, st_rdev = 0, st_size =
35784673,
st_blksize = 4096, st_blocks = 69896, st_atim = {tv_sec =
1413821701, tv_nsec = 724852680}, st_mtim = {tv_sec = 1413821914,
tv_nsec = 437399259},
st_ctim = {tv_sec = 1413821914, tv_nsec = 437399259},
__glibc_reserved = {0, 0, 0}}
#4 0x000000000040dc0a in csync_update (patlist=patlist@entry=0x0,
patnum=patnum@entry=0, recursive=recursive@entry=0,
dry_run=dry_run@entry=0) at update.c:646
tl = 0x16b8550
t = 0x16b8550
#5 0x0000000000404d1a in main (argc=3, argv=<optimized out>) at
csync2.c:613
tl = <optimized out>
t = <optimized out>
mode = <optimized out>
mode_test_auto_diff = 0
init_run = 0
init_run_with_removals = 0
init_run_straight = <optimized out>
recursive = 0
retval = -1
dry_run = 0
opt = <optimized out>
---Type <return> to continue, or q <return> to quit--- i =
<optimized out>
(gdb) quit
I'm using csync2-1.34, OS is gentoo.
Thanks,
Marcin
_______________________________________________
Csync2 mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/csync2