bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #64806] "invalid output sync mutex" on windows


From: Gergely Pinter
Subject: [bug #64806] "invalid output sync mutex" on windows
Date: Mon, 15 Jan 2024 10:15:07 -0500 (EST)

Follow-up Comment #20, bug#64806 (group make):

Checked for three other make processes: I would say that they are in the same
situation (the processes on the screenshot are still running). 

=Summary=

* 7496 (T1: *process_wait_for_multiple_objects*() at
src/w32/subproc/sub_proc.c:89)
        * 3704 (T1: *process_wait_for_multiple_objects*() at
src/w32/subproc/sub_proc.c:89)
                * 14472 (T1: *osync_acquire*() at src/w32/w32os.c:476)
        * 19576 (T1: *process_wait_for_multiple_objects*() at
src/w32/subproc/sub_proc.c:89)
                * 21984 (T1: *osync_acquire*() at src/w32/w32os.c:476)
        * 8452 (T1: *process_wait_for_multiple_objects*() at
src/w32/subproc/sub_proc.c:89)
                * 5688 (T1: *osync_acquire*() at src/w32/w32os.c:476)
        * 17676 (T1: *process_wait_for_multiple_objects*() at
src/w32/subproc/sub_proc.c:89)
                * 13060 (T1: *osync_acquire*() at src/w32/w32os.c:476)

=Details=

==7496==

(gdb) attach 7496
(gdb) thread 1
(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) detach


==3704==

(gdb) attach 3704
(gdb) thread 1
(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) detach


==14472==

(gdb) attach 14472
(gdb) thread 1
(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) detach


==19576==

(gdb) attach 19576
(gdb) thread 1
(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=0x1bfaf20, 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=0x1bff050, envp=0x3b59d88)
    at src/job.c:2549
#7  0x00914a69 in main (argc=<optimized out>, argv=<optimized out>,
    envp=<optimized out>) at src/main.c:2820
(gdb) detach


==21984==

(gdb) attach 21984
(gdb) thread 1
(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=0x3ac48a8) 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=0x3abc8a8) at src/job.c:1866
#7  0x008ffe5b in remake_file (file=0x3abc8a8) 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=0x3abc8a8, depth=<optimized out>)
    at src/remake.c:367
#10 0x009004b7 in check_dep (file=0x3abc8a8, depth=depth@entry=1,
    this_mtime=<optimized out>, must_make_ptr=<optimized out>,
    must_make_ptr@entry=0x1bff114) 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=0x3abc1e8, 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) detach


==8452==

(gdb) attach 8452
(gdb) thread 1
(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=0x1bfaa10, 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=0x1bfeb40, envp=0x1de9d88)
    at src/job.c:2549
#7  0x00914a69 in main (argc=<optimized out>, argv=<optimized out>,
    envp=<optimized out>) at src/main.c:2820
(gdb) detach


==5688==

(gdb) attach 5688
(gdb) thread 1
(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=0x38b48a8) 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=0x38ac848) at src/job.c:1866
#7  0x008ffe5b in remake_file (file=0x38ac848) 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=0x38ac848, depth=<optimized out>)
    at src/remake.c:367
#10 0x009004b7 in check_dep (file=0x38ac848, depth=depth@entry=1,
    this_mtime=<optimized out>, must_make_ptr=<optimized out>,
    must_make_ptr@entry=0x1bff184) 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=0x38ac1e8, 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) detach


==17676==

(gdb) attach 17676
(gdb) thread 1
(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=0x1bfad30, 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=0x1bfee60, envp=0x3b49d88)
    at src/job.c:2549
#7  0x00914a69 in main (argc=<optimized out>, argv=<optimized out>,
    envp=<optimized out>) at src/main.c:2820
(gdb) detach


==13060==

(gdb) attach 13060
(gdb) thread 1
(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=0x3b648a8) 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=0x3b5c9c8) at src/job.c:1866
#7  0x008ffe5b in remake_file (file=0x3b5c9c8) 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=0x3b5c9c8, depth=<optimized out>)
    at src/remake.c:367
#10 0x009004b7 in check_dep (file=0x3b5c9c8, depth=depth@entry=1,
    this_mtime=<optimized out>, must_make_ptr=<optimized out>,
    must_make_ptr@entry=0x1bfec84) 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=0x3b5c308, depth=<optimized out>)
    at src/remake.c:367
#13 0x0090077e in update_goal_chain (goaldeps=<optimized out>)
--Type <RET> for more, q to quit, c to continue without paging--
    at src/remake.c:184
#14 0x009143ce in main (argc=<optimized out>, argv=<optimized out>,
    envp=<optimized out>) at src/main.c:2921
(gdb) detach




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64806>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]