pastebin - collaborative debugging tool
rovema.kpaste.net RSS


git testsuite "t1004-read-tree-m-u-wf.sh" test hang with Cygwin 3.7.0
Posted by Anonymous on Mon 21st Apr 2025 20:43
raw | new post

  1. git testsuite "t1004-read-tree-m-u-wf.sh" test hang with Cygwin 3.7.0
  2.  
  3. Cygwin 3.7.0-0.68.g37c49decc835.x86_64 / Windows 10
  4.  
  5. Steps to reproduce:
  6. ---- snip ----
  7. mkdir gittest
  8. cd gittest/
  9. git clone -b 'v2.45.1' https://github.com/git/git.git
  10. cd git
  11. autoconf
  12. automake
  13. CC="gcc -std=gnu17" ./configure
  14. time make -j4 all
  15. time nice make -i test
  16. ---- snip ----
  17.  
  18. Process "git merge-recursive branch-point -- side-b side-a" launched by "/bin/sh t1004-read-tree-m-u-wf.sh" hangs forever with this stack trace:
  19. ---- snip ----
  20. (gdb) thread apply all bt
  21.  
  22. Thread 4 (Thread 8148.0xb64):
  23. #0  0x00007ffe68f91021 in ntdll!DbgBreakPoint () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
  24. #1  0x00007ffe68fbca7e in ntdll!DbgUiRemoteBreakin () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
  25. #2  0x00007ffe66f17374 in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/System32/KERNEL32.DLL
  26. #3  0x00007ffe68f3cc91 in ntdll!RtlUserThreadStart () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
  27. #4  0x0000000000000000 in ?? ()
  28.  
  29. Thread 3 (Thread 8148.0x1238 "commune"):
  30. #0  0x00007ffe68f8d574 in ntdll!ZwWaitForSingleObject () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
  31. #1  0x00007ffe66b4920e in WaitForSingleObjectEx () from /cygdrive/c/Windows/System32/KERNELBASE.dll
  32. #2  0x00007ffe333c5a82 in cygthread::stub (arg=arg@entry=0x7ffe335b6618 <threads+88>) at /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/cygthread.cc:194
  33. #3  0x00007ffe333c6555 in _cygtls::call2 (this=0x5fce00, func=0x7ffe333c59de <cygthread::stub(void*)>, arg=0x7ffe335b6618 <threads+88>, buf=buf@entry=0x5fcd20) at /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/cygtls.cc:41
  34. #4  0x00007ffe333c660a in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/cygtls.cc:28
  35. #5  0x00007ffe66f17374 in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/System32/KERNEL32.DLL
  36. #6  0x00007ffe68f3cc91 in ntdll!RtlUserThreadStart () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
  37. #7  0x0000000000000000 in ?? ()
  38.  
  39. Thread 2 (Thread 8148.0xcb8 "sig"):
  40. #0  0x00007ffe68f8d5b4 in ntdll!ZwReadFile () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
  41. #1  0x00007ffe66b526e3 in ReadFile () from /cygdrive/c/Windows/System32/KERNELBASE.dll
  42. #2  0x00007ffe3343d23b in wait_sig () at /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/sigproc.cc:1485
  43. #3  0x00007ffe333c5560 in cygthread::callfunc (this=this@entry=0x7ffe335b65c0 <threads>, issimplestub=issimplestub@entry=false) at /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/cygthread.cc:130
  44. #4  0x00007ffe333c5a47 in cygthread::stub (arg=arg@entry=0x7ffe335b65c0 <threads>) at /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/cygthread.cc:173
  45. #5  0x00007ffe333c6555 in _cygtls::call2 (this=0x123ce00, func=0x7ffe333c59de <cygthread::stub(void*)>, arg=0x7ffe335b65c0 <threads>, buf=buf@entry=0x123cd20) at /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/cygtls.cc:41
  46. #6  0x00007ffe333c660a in _cygtls::call (func=<optimized out>, arg=<optimized out>) at /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/cygtls.cc:28
  47. #7  0x00007ffe66f17374 in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/Windows/System32/KERNEL32.DLL
  48. #8  0x00007ffe68f3cc91 in ntdll!RtlUserThreadStart () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
  49. #9  0x0000000000000000 in ?? ()
  50.  
  51. Thread 1 (Thread 8148.0x28c0 "git"):
  52. #0  0x00007ffe68f8db54 in ntdll!ZwOpenFile () from /cygdrive/c/Windows/SYSTEM32/ntdll.dll
  53. #1  0x00007ffe3340fdfe in symlink_info::check (this=this@entry=0x7ffffafd0, path=path@entry=0x1460760 "L:\\builds\\bash_build1\\gitbuild\\git\\t\\trash directory.t1004-read-tree-m-u-wf\\subdir\\file2\\another~side-a_549878", suffixes=suffixes@entry=0x7ffe336db1c0 <stat_suffixes>, fs=..., conv_hdl=...) at /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/path.cc:3332
  54. #2  0x00007ffe33412de4 in path_conv::check (this=this@entry=0x7ffffc080, src=<optimized out>, src@entry=0xa0001ec20 "subdir/file2/another~side-a_549878", opt=opt@entry=4258, suffixes=0x7ffe336db1c0 <stat_suffixes>) at /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/path.cc:982
  55. #3  0x00007ffe3345029f in path_conv::path_conv (suffixes=<optimized out>, opt=4226, src=0xa0001ec20 "subdir/file2/another~side-a_549878", this=0x7ffffc080) at /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/local_includes/path.h:312
  56. #4  lstat(const char * __restrict__, stat * __restrict__) (name=0xa0001ec20 "subdir/file2/another~side-a_549878", buf=0x7ffffc210) at /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/syscalls.cc:2153
  57. #5  0x00007ffe3350ca64 in _sigfe () at sigfe.s:35
  58. #6  0x0000000100557181 in file_exists (f=<optimized out>) at dir.c:3104
  59. #7  0x00000001005971ba in unique_path (opt=opt@entry=0x7ffffc7e0, path=path@entry=0xa00023fb0 "subdir/file2/another", branch=branch@entry=0xa00003570 "side-a") at merge-recursive.c:750
  60. #8  0x000000010059db19 in process_entry (opt=0x7ffffc7e0, path=0xa00023fb0 "subdir/file2/another", entry=0xa0001cf10) at merge-recursive.c:3474
  61. #9  merge_trees_internal (opt=opt@entry=0x7ffffc7e0, head=<optimized out>, merge=<optimized out>, merge@entry=0xa00036228, merge_base=<optimized out>, merge_base@entry=0xa00036260, result=<optimized out>, result@entry=0x7ffffc5e8) at merge-recursive.c:3580
  62. #10 0x000000010059ebe6 in merge_recursive_internal (opt=opt@entry=0x7ffffc7e0, h1=h1@entry=0xa000241e0, h2=h2@entry=0xa00024270, merge_bases=<optimized out>, merge_bases@entry=0xa00020390, result=result@entry=0x7ffffc778) at merge-recursive.c:3723
  63. #11 0x000000010059ee67 in merge_recursive (opt=opt@entry=0x7ffffc7e0, h1=h1@entry=0xa000241e0, h2=h2@entry=0xa00024270, merge_bases=0xa00020390, result=result@entry=0x7ffffc778) at merge-recursive.c:3834
  64. #12 0x000000010059efcc in merge_recursive_generic (opt=opt@entry=0x7ffffc7e0, head=head@entry=0x7ffffc780, merge=merge@entry=0x7ffffc7b0, num_merge_bases=num_merge_bases@entry=1, merge_bases=merge_bases@entry=0x7ffffc870, result=result@entry=0x7ffffc778) at merge-recursive.c:3887
  65. #13 0x0000000100470e04 in cmd_merge_recursive (argc=<optimized out>, argv=0xa000006c8, prefix=<optimized out>) at builtin/merge-recursive.c:85
  66. #14 0x0000000100401246 in run_builtin (p=0x1006b46e0 <commands+1728>, argc=5, argv=0xa000006c8) at git.c:469
  67. #15 handle_builtin (argc=5, argv=argv@entry=0xa000006c8) at git.c:724
  68. #16 0x000000010040261c in run_argv (argcp=0x7ffffcbe0, argv=0x7ffffcbe8) at git.c:788
  69. #17 cmd_main (argc=<optimized out>, argc@entry=6, argv=<optimized out>, argv@entry=0xa000006c0) at git.c:923
  70. #18 0x00000001006b2ffc in main (argc=6, argv=0xa000006c0) at common-main.c:62
  71. ---- snip ----

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at