public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Gruff Hacker <gruffhacker-cyg@yahoo.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: date command hangs sometimes (coreutils 8.26-2) on cygwin 3.1.4 x86-64
Date: Mon, 29 Jun 2020 19:41:30 +0000 (UTC)	[thread overview]
Message-ID: <176725751.5473070.1593459690786@mail.yahoo.com> (raw)
In-Reply-To: <978064932.3340069.1593046665822@mail.yahoo.com>

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?)


    

  parent reply	other threads:[~2020-06-29 19:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <198898587.43311.1588386067082.ref@mail.yahoo.com>
2020-05-02  2:21 ` Gruff Hacker
2020-06-25  0:57   ` Gruff Hacker
2020-06-25 11:50     ` Ken Brown
2020-06-29 19:41     ` Gruff Hacker [this message]
2020-06-29 20:44       ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=176725751.5473070.1593459690786@mail.yahoo.com \
    --to=gruffhacker-cyg@yahoo.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).