Follow-up Comment #17, bug#64806 (group make): All the 8 processes seem to be hung: see attached screenshot from Process Explorer. Apparently there is a "root" process, that has eight children, who each have 1-1 children. Now did a more systematic investigation along the process creation tree 7496->3704->14472.
Attaching the debugger to the "root" process 7496 and printing call trees in both threads: (gdb) attach 7496 (gdb) info threads Id Target Id Frame 1 Thread 7496.0x557c 0x771f315c in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SysWOW64\ntdll.dll * 2 Thread 7496.0x1640 0x771f4f21 in ntdll!DbgBreakPoint () from C:\WINDOWS\SysWOW64\ntdll.dll (gdb) thread 1 [Switching to thread 1 (Thread 7496.0x557c)] #0 0x771f315c in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SysWOW64\ntdll.dll (gdb) bt #0 0x771f315c in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SysWOW64\ntdll.dll #1 0x76304de3 in WaitForMultipleObjectsEx () from C:\WINDOWS\SysWOW64\KernelBase.dll #2 0x76304cc8 in WaitForMultipleObjects () from C:\WINDOWS\SysWOW64\KernelBase.dll #3 0x00907ad5 in process_wait_for_multiple_objects (nCount=9, lpHandles=lpHandles@entry=0x1e1ef50, bWaitAll=bWaitAll@entry=0, dwMilliseconds=dwMilliseconds@entry=4294967295) at src/w32/subproc/sub_proc.c:89 #4 0x00906e58 in jobserver_acquire (timeout=0) at src/w32/w32os.c:370 #5 0x008f3b1b in new_job (file=0x1dfce88) at src/job.c:1882 #6 0x008ffe5b in remake_file (file=0x1dfce88) at src/remake.c:1313 #7 update_file_1 (depth=<optimized out>, file=<optimized out>) at src/remake.c:905 #8 update_file (file=file@entry=0x1dfce88, depth=<optimized out>) at src/remake.c:367 #9 0x009004b7 in check_dep (file=0x1dfce88, depth=depth@entry=1, this_mtime=<optimized out>, must_make_ptr=<optimized out>, must_make_ptr@entry=0x1bff244) at src/remake.c:1100 #10 0x008ff2ba in update_file_1 (depth=<optimized out>, file=<optimized out>) at src/remake.c:633 #11 update_file (file=file@entry=0x1dfd3c8, depth=<optimized out>) at src/remake.c:367 #12 0x0090077e in update_goal_chain (goaldeps=<optimized out>) at src/remake.c:184 #13 0x009143ce in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at src/main.c:2921 (gdb) thread 2 [Switching to thread 2 (Thread 7496.0x1640)] #0 0x771f4f21 in ntdll!DbgBreakPoint () from C:\WINDOWS\SysWOW64\ntdll.dll (gdb) bt #0 0x771f4f21 in ntdll!DbgBreakPoint () from C:\WINDOWS\SysWOW64\ntdll.dll #1 0x7722dbc9 in ntdll!DbgUiRemoteBreakin () from C:\WINDOWS\SysWOW64\ntdll.dll #2 0x69d77919 in ?? () #3 0x7722db90 in ntdll!DbgUiIssueRemoteBreakin () from C:\WINDOWS\SysWOW64\ntdll.dll #4 0x767bfcc9 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\SysWOW64\kernel32.dll #5 0x771e7c6e in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SysWOW64\ntdll.dll #6 0x771e7c3e in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SysWOW64\ntdll.dll #7 0x00000000 in ?? () (gdb) detach Attaching the debugger to the "child" process 3704 and printing call trees in both threads: (gdb) attach 3704 (gdb) info threads Id Target Id Frame 1 Thread 3704.0x50e4 0x771f315c in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SysWOW64\ntdll.dll * 2 Thread 3704.0x1778 0x771f4f21 in ntdll!DbgBreakPoint () from C:\WINDOWS\SysWOW64\ntdll.dll (gdb) thread 1 [Switching to thread 1 (Thread 3704.0x50e4)] #0 0x771f315c in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SysWOW64\ntdll.dll (gdb) bt #0 0x771f315c in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\SysWOW64\ntdll.dll #1 0x76304de3 in WaitForMultipleObjectsEx () from C:\WINDOWS\SysWOW64\KernelBase.dll #2 0x76304cc8 in WaitForMultipleObjects () from C:\WINDOWS\SysWOW64\KernelBase.dll #3 0x00907ad5 in process_wait_for_multiple_objects (nCount=1, lpHandles=0x1bfa940, bWaitAll=0, dwMilliseconds=4294967295) at src/w32/subproc/sub_proc.c:89 #4 0x00907c20 in process_wait_for_any_private (block=block@entry=1, pdwWaitStatus=pdwWaitStatus@entry=0x0) at src/w32/subproc/sub_proc.c:204 #5 0x00908ad1 in process_wait_for_any (block=block@entry=1, pdwWaitStatus=pdwWaitStatus@entry=0x0) at src/w32/subproc/sub_proc.c:307 #6 0x008f1d1f in exec_command (argv=0x1bfea70, envp=0x3ad9d88) at src/job.c:2549 #7 0x00914a69 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at src/main.c:2820 (gdb) thread 2 [Switching to thread 2 (Thread 3704.0x1778)] #0 0x771f4f21 in ntdll!DbgBreakPoint () from C:\WINDOWS\SysWOW64\ntdll.dll (gdb) bt #0 0x771f4f21 in ntdll!DbgBreakPoint () from C:\WINDOWS\SysWOW64\ntdll.dll #1 0x7722dbc9 in ntdll!DbgUiRemoteBreakin () from C:\WINDOWS\SysWOW64\ntdll.dll #2 0x58dd79db in ?? () #3 0x7722db90 in ntdll!DbgUiIssueRemoteBreakin () from C:\WINDOWS\SysWOW64\ntdll.dll #4 0x767bfcc9 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\SysWOW64\kernel32.dll #5 0x771e7c6e in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SysWOW64\ntdll.dll #6 0x771e7c3e in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SysWOW64\ntdll.dll #7 0x00000000 in ?? () (gdb) detach Attaching the debugger to the "grandchild" process 14472 and printing call trees in both threads: (gdb) attach 14472 (gdb) info threads Id Target Id Frame 1 Thread 14472.0x21ac 0x771f2bcc in ntdll!ZwWaitForSingleObject () from C:\WINDOWS\SysWOW64\ntdll.dll * 2 Thread 14472.0x4d8c 0x771f4f21 in ntdll!DbgBreakPoint () from C:\WINDOWS\SysWOW64\ntdll.dll (gdb) thread 1 [Switching to thread 1 (Thread 14472.0x21ac)] #0 0x771f2bcc in ntdll!ZwWaitForSingleObject () from C:\WINDOWS\SysWOW64\ntdll.dll (gdb) bt #0 0x771f2bcc in ntdll!ZwWaitForSingleObject () from C:\WINDOWS\SysWOW64\ntdll.dll #1 0x762fac59 in WaitForSingleObjectEx () from C:\WINDOWS\SysWOW64\KernelBase.dll #2 0x762fabb2 in WaitForSingleObject () from C:\WINDOWS\SysWOW64\KernelBase.dll #3 0x009070ce in osync_acquire () at src/w32/w32os.c:476 #4 0x008f8148 in output_dump (out=out@entry=0x3a848a8) at src/output.c:280 #5 0x008f28ce in reap_children (block=<optimized out>, block@entry=0, err=err@entry=0) at src/job.c:1058 #6 0x008f3aaf in new_job (file=0x3a7c548) at src/job.c:1866 #7 0x008ffe5b in remake_file (file=0x3a7c548) at src/remake.c:1313 #8 update_file_1 (depth=<optimized out>, file=<optimized out>) at src/remake.c:905 #9 update_file (file=file@entry=0x3a7c548, depth=<optimized out>) at src/remake.c:367 #10 0x009004b7 in check_dep (file=0x3a7c548, depth=depth@entry=1, this_mtime=<optimized out>, must_make_ptr=<optimized out>, must_make_ptr@entry=0x1bff054) at src/remake.c:1100 #11 0x008ff2ba in update_file_1 (depth=<optimized out>, file=<optimized out>) at src/remake.c:633 #12 update_file (file=file@entry=0x3a7c9c8, depth=<optimized out>) at src/remake.c:367 #13 0x0090077e in update_goal_chain (goaldeps=<optimized out>) at src/remake.c:184 #14 0x009143ce in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at src/main.c:2921 (gdb) thread 2 [Switching to thread 2 (Thread 14472.0x4d8c)] #0 0x771f4f21 in ntdll!DbgBreakPoint () from C:\WINDOWS\SysWOW64\ntdll.dll (gdb) bt #0 0x771f4f21 in ntdll!DbgBreakPoint () from C:\WINDOWS\SysWOW64\ntdll.dll #1 0x7722dbc9 in ntdll!DbgUiRemoteBreakin () from C:\WINDOWS\SysWOW64\ntdll.dll #2 0xe1ffae6b in ?? () #3 0x7722db90 in ntdll!DbgUiIssueRemoteBreakin () from C:\WINDOWS\SysWOW64\ntdll.dll #4 0x767bfcc9 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\SysWOW64\kernel32.dll #5 0x771e7c6e in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SysWOW64\ntdll.dll #6 0x771e7c3e in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SysWOW64\ntdll.dll #7 0x00000000 in ?? () (gdb) detach (file #55571) _______________________________________________________ Additional Item Attachment: File name: mingw32-make-procexp-screenshot.png Size:10 KB <https://file.savannah.gnu.org/file/mingw32-make-procexp-screenshot.png?file_id=55571> AGPL NOTICE These attachments are served by Savane. You can download the corresponding source code of Savane at https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-3f5b69a3b837951a0e5c0b7730ee347c798a8844.tar.gz _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?64806> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/