On Thu Jun 25 11:50:15 GMT 2020, Ken Brown wrote:

>Can you show us a gdb backtrace of all threads when this happens?  You'll need 
>to install gdb and coreutils-debuginfo.  When date hangs, attach gdb by giving 
>the command
>
>   gdb -p <PID>
>
>where <PID> is the pid of the hanging date process.  At the gdb prompt, type 
>'thread apply all bt' and send the output here.

Thanks Ken.  The gdb output is below.  I did get a symbol mismatch warning so 
maybe it's not as useful as it could be.  I guess I need to do an update.
warning: the debug information found in "/usr/lib/debug//usr/bin/cygwin1.dbg" 
does not match "/usr/bin/cygwin1.dll" (CRC mismatch).

Thread 4 (Thread 36376.0x96e0):
#0  0x00007ffa0518d450 in ntdll!DbgUiRemoteBreakin () from 
/cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#1  0x00007ffa04ef7bd4 in KERNEL32!BaseThreadInitThunk () from 
/cygdrive/c/WINDOWS/System32/KERNEL32.DLL
#2  0x00007ffa0512ce51 in ntdll!RtlUserThreadStart () from 
/cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#3  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


Thread 3 (Thread 36376.0x5d2c):
#0  0x00007ffa0515c134 in ntdll!ZwReadFile () from 
/cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#1  0x00007ffa020d5187 in ReadFile () from 
/cygdrive/c/WINDOWS/System32/KERNELBASE.dll
#2  0x000000018013e441 in wait_sig(void*) () from /usr/bin/cygwin1.dll
#3  0x0000000180047363 in cygthread::callfunc(bool) () from /usr/bin/cygwin1.dll
#4  0x0000000180047926 in cygthread::stub(void*) () from /usr/bin/cygwin1.dll
#5  0x0000000180048353 in _cygtls::call2(unsigned int (*)(void*, void*), void*, 
void*) () from /usr/bin/cygwin1.dll
#6  0x0000000180048404 in _cygtls::call(unsigned int (*)(void*, void*), void*) 
() from /usr/bin/cygwin1.dll
#7  0x00007ffa04ef7bd4 in KERNEL32!BaseThreadInitThunk () from 
/cygdrive/c/WINDOWS/System32/KERNEL32.DLL
#8  0x00007ffa0512ce51 in ntdll!RtlUserThreadStart () from 
/cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#9  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


Thread 2 (Thread 36376.0x7ab4):
#0  0x0000000180045893 in _cmalloc(unsigned int) () from /usr/bin/cygwin1.dll
#1  0x000000018004649a in cstrdup () from /usr/bin/cygwin1.dll
#2  0x000000018021eebe in path_conv::operator<<(path_conv const&) () from 
/usr/bin/cygwin1.dll
#3  0x0000000180059c6c in build_fh_pc(path_conv&) () from /usr/bin/cygwin1.dll
#4  0x000000018005ad9a in build_fh_dev(device const&, char const*) () from 
/usr/bin/cygwin1.dll
#5  0x000000018008333f in fhandler_fifo::add_client_handler() () from 
/usr/bin/cygwin1.dll
#6  0x00000001800843c4 in fhandler_fifo::listen_client_thread() () from 
/usr/bin/cygwin1.dll
#7  0x0000000180048353 in _cygtls::call2(unsigned int (*)(void*, void*), void*, 
void*) () from /usr/bin/cygwin1.dll
#8  0x0000000180048404 in _cygtls::call(unsigned int (*)(void*, void*), void*) 
() from /usr/bin/cygwin1.dll
#9  0x00007ffa04ef7bd4 in KERNEL32!BaseThreadInitThunk () from 
/cygdrive/c/WINDOWS/System32/KERNEL32.DLL
#10 0x00007ffa0512ce51 in ntdll!RtlUserThreadStart () from 
/cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#11 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


Thread 1 (Thread 36376.0x7b94):
#0  0x00007ffa0515c0f4 in ntdll!ZwWaitForSingleObject () from 
/cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll
#1  0x00007ffa020e8b03 in WaitForSingleObjectEx () from 
/cygdrive/c/WINDOWS/System32/KERNELBASE.dll
#2  0x000000018014aa87 in muto::acquire(unsigned int) () from 
/usr/bin/cygwin1.dll
#3  0x00000001800457fd in _cfree () from /usr/bin/cygwin1.dll
#4  0x000000018005eb5a in environ_init(char**, int) () from /usr/bin/cygwin1.dll
#5  0x0000000180103443 in pinfo_init(char**, int) () from /usr/bin/cygwin1.dll
#6  0x000000018004998f in dll_crt0_1(void*) () from /usr/bin/cygwin1.dll
#7  0x0000000180048353 in _cygtls::call2(unsigned int (*)(void*, void*), void*, 
void*) () from /usr/bin/cygwin1.dll
#8  0x0000000180048404 in _cygtls::call(unsigned int (*)(void*, void*), void*) 
() from /usr/bin/cygwin1.dll
#9  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


    
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to