Cygwin GDB won't start or hangs at startup

Lemke, Michael SF/HZA-ZIC2 lemkemch@schaeffler.com
Fri Feb 5 14:07:38 GMT 2021


On Friday, February 5, 2021 10:08 AM Marco Atzeri wrote:
>On 05.02.2021 08:55, Daniel Röhrborn via Cygwin wrote:
>>> On 04.02.2021 13:13, Daniel Röhrborn via Cygwin wrote:
>
>> 
>> Hi Marco,
>> it seems stacked and when blindly typing "quit" it responds with exiting. So it seems like the output is invisible.
>> Tested it with Win7_32bit, GDB version 9.2-1 with Cygwin/bin in PATH (since the beginning).
>> 
>> Regards
>> Daniel
>
>I can not fully replicate on my W10,
>
>but I notice that running from CMD there is a small difference
>between the working instance

Remember I reported something similar on Jan 15, 2021. I just tried again 
and can fully confirm these messed up file descriptors. My gdb just sits
there without any output but does quit when I type quit. The file descriptors
look exactly what Marco posts here for working and non-working version.

>
>Marco@LAPTOP-82F08ILC /proc/3072/fd
>i686 $ ls -l
>total 0
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 0 -> /dev/cons1
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 1 -> /dev/cons1
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 10 -> pipe:[21474850180]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 2 -> /dev/cons1
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 3 -> pipe:[8589948292]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 4 -> pipe:[8589948292]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 5 -> pipe:[12884915588]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 6 -> pipe:[12884915588]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 7 -> pipe:[17179882884]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 8 -> pipe:[17179882884]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:59 9 -> pipe:[21474850180]
>
>and a not working one
>
>Marco@LAPTOP-82F08ILC /proc/3055/fd
>i686 $ ls -l
>total 0
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 0 -> /dev/cons0
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 1 -> pipe:[4294988268]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 10 -> pipe:[17179890156]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 11 -> pipe:[21474857452]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 12 -> pipe:[21474857452]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 2 -> pipe:[4294988268]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 3 -> pipe:[8589955564]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 4 -> pipe:[8589955564]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 5 -> /dev/cons0
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 6 -> /dev/cons0
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 7 -> pipe:[12884922860]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 8 -> pipe:[12884922860]
>lrwxrwxrwx 1 Marco Kein 0 Feb  5 09:57 9 -> pipe:[17179890156]
>
>it is like the file descriptor of outputs are misaligned,
>and I see two more of them

Exactly what I see in mintty.



More information about the Cygwin mailing list