https://bugzilla.samba.org/show_bug.cgi?id=8308
--- Comment #3 from John <[email protected]> 2014-04-09 02:04:50 UTC --- Some slightly better info from gdb, caught program with bad value of dir_depth, before crash. There is no way this dir suddenly out of the blue has a depth of 1622. Looks like i need to recompile my rsync with debug info etc thoughm to get better info: (gdb) break exclude.c:615 if dir_depth >= 1000 Breakpoint 2 at 0x4182f9: file exclude.c, line 615. (gdb) c Continuing. Breakpoint 2, change_local_filter_dir (dname=0x7fffffff8bb0 "RPMs/rpm_lib.ss/.Rational/Version_History/ran-lads2/specs/LADS-rl2gs-lib-1-mbt_ws.spec,v", dlen=88, dir_depth=1622) at exclude.c:615 615 if ( dir_depth >= MAXPATHLEN/2+1 ) { (gdb) p dir_depth $2 = 1622 (gdb) bt #0 change_local_filter_dir (dname=0x7fffffff8bb0 "RPMs/rpm_lib.ss/.Rational/Version_History/ran-lads2/specs/LADS-rl2gs-lib-1-mbt_ws.spec,v", dlen=88, dir_depth=1622) at exclude.c:615 #1 0x000000000040cd1b in do_delete_pass () at generator.c:362 #2 0x0000000000411fa3 in generate_files (f_out=1, local_name=<value optimized out>) at generator.c:2180 #3 0x000000000041d161 in do_recv (f_in=<value optimized out>, f_out=1, local_name=0x0) at main.c:945 #4 0x000000000041d7f5 in do_server_recv (f_in=0, f_out=1, argc=<value optimized out>, argv=<value optimized out>) at main.c:1057 #5 start_server (f_in=0, f_out=1, argc=<value optimized out>, argv=<value optimized out>) at main.c:1091 #6 0x000000000041d935 in child_main (argc=<value optimized out>, argv=<value optimized out>) at main.c:1064 #7 0x00000000004380b8 in local_child (argc=2, argv=0x7fffffffae10, f_in=0x7fffffffde7c, f_out=0x7fffffffde78, child_main=0x41d920 <child_main>) at pipe.c:167 #8 0x000000000041bafa in do_cmd (cmd=<value optimized out>, machine=0x0, user=<value optimized out>, remote_argv=<value optimized out>, remote_argc=<value optimized out>, f_in_p=0x7fffffffde7c, f_out_p=0x7fffffffde78) at main.c:535 #9 0x000000000041e758 in start_client (argc=3, argv=0x680230) at main.c:1393 #10 main (argc=3, argv=0x680230) at main.c:1633 (gdb) local Undefined command: "local". Try "help". (gdb) info local cur_depth = 1 filt_array = {0x0 <repeats 2049 times>} __PRETTY_FUNCTION__ = "change_local_filter_dir" (gdb) up #1 0x000000000040cd1b in do_delete_pass () at generator.c:362 362 change_local_filter_dir(fbuf, strlen(fbuf), F_DEPTH(file)); (gdb) info local file = 0x7ffff0694380 fbuf = "RPMs/rpm_lib.ss/.Rational/Version_History/ran-lads2/specs/LADS-rl2gs-lib-1-mbt_ws.spec,v\000tes\000l\000es\000l\000\000l\000\000s\000l\000es\000l\000\000l\000tes\000l\000\000v\000tes\000l\000s\000l", '\000' <repeats 858 times>"\220, \226\377\377\377\177\000\000\200\226\377\377\377\177\000\000\377\377\377\377\000\000\000\000\360\253\377\377\377\177\000\000\312\352D\000\000\000\000\000gD\004f>\000\000\000\024", '\000' <repeats 383 times>"\336, \352D", '\000' <repeats 25 times>, "\002", '\000' <repeats 539 times>... st = {st_dev = 2059, st_ino = 39845946, st_nlink = 2, st_mode = 17917, st_uid = 1070, st_gid = 1062, __pad0 = 0, st_rdev = 0, st_size = 4096, st_blksize = 4096, st_blocks = 8, st_atim = {tv_sec = 1396936899, tv_nsec = 233215828}, st_mtim = {tv_sec = 1396936901, tv_nsec = 344215827}, st_ctim = {tv_sec = 1396936901, tv_nsec = 344215827}, __unused = {0, 0, 0}} j = <value optimized out> (gdb) p file $3 = (struct file_struct *) 0x7ffff0694380 (gdb) p F_DEPTH(file) No symbol "F_DEPTH" in current context. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
