On Monday, January 18, 2021 5:53 PM Ken Brown wrote: > >[Resending. Accidentally sent to OP instead of list.]
{Happens here too. Reply All or Reply (in Outlook) both send to OP instead of list.] > >On 1/18/2021 8:08 AM, Lemke, Michael SF/HZA-ZIC2 wrote: >> On Friday, January 15, 2021 9:02 PM Ken Brown wrote: >>> On 1/15/2021 1:47 PM, Lemke, Michael SF/HZA-ZIC2 wrote: >>>> On Friday, January 15, 2021 4:45 PM Jon Turney wrote: >>>>> On 15/01/2021 12:28, Lemke, Michael wrote: >>>>>> I just installed a fresh copy of Cygwin and gdb with setup-x86_64.exe. >>>>>> However, gdb does not produce any output. >>>>>> >>>>>> Installing gdb versions 7.9.1-1 and 7.10.1-1 work, anything newer >>>>>> doesn't. >>>>>> Any ideas why? >>>>> [...] >>>>> >>>>>> Install gdb 7.12.1-2 >>>>>> pc> gdb -v >>>>>> Install gdb 8.0.1-1 >>>>>> pc> gdb -v >>>>>> pc> cygcheck -c gdb >>>>>> Cygwin Package Information >>>>>> Package Version Status >>>>>> gdb 8.0.1-1 OK >>>>> >>>>> You might try 'strace gdb' and see if that sheds any light on what's >>>>> failing. >>>> >>>> I tried that but I couldn't see anything strange. >>> >>> No error code? Please show the output. >> >> pc> gdb -v >> pc> echo $? >> 0 > >I was asking for the strace output. It might just show the same DLL loading >issues that Marco noticed, or it might show something more. > Ok, here are the first 100 lines, the whole thing is over 2MB. To me this looks strange already (cygstdc++-6.dll). --- Process 32204 created --- Process 32204 loaded C:\Windows\System32\ntdll.dll at 00007fffde2c0000 --- Process 32204 loaded C:\Windows\System32\kernel32.dll at 00007fffdce40000 --- Process 32204 loaded C:\Windows\System32\KernelBase.dll at 00007fffdb570000 --- Process 32204 thread 13420 created --- Process 32204 thread 32700 created --- Process 32204 thread 25220 created --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygwin1.dll at 0000000180040000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygintl-8.dll at 00000003fbff0000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygiconv-2.dll at 00000003fe770000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygncursesw-10.dll at 00000003fbd70000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygexpat-1.dll at 00000003fe900000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cyglzma-5.dll at 00000003f9e60000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygmpfr-6.dll at 00000003f9aa0000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygz.dll at 00000003f7b00000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\libpython3.6m.dll at 00000003f75c0000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygreadline7.dll at 00000003f8dc0000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cyggcc_s-seh-1.dll at 00000003fdf60000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygsource-highlight-4.dll at 00000003f8960000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygstdc++-6.dll at 00000003f8530000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cyggmp-10.dll at 00000003fd720000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygboost_regex-1_66.dll at 00000003ff520000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygstdc++-6.dll at 00000000034d0000 --- Process 32204 unloaded DLL at 00000000034d0000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygicui18n61.dll at 00000003fc220000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygicuuc61.dll at 00000003fc080000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygicudata61.dll at 00000003fa3c0000 --- Process 32204 loaded C:\MyStuff\NCygwin64\bin\cygicuuc61.dll at 00000000034d0000 --- Process 32204 unloaded DLL at 00000000034d0000 3 3 [main] gdb (32204) ********************************************** 654 657 [main] gdb (32204) Program name: C:\MyStuff\NCygwin64\bin\gdb.exe (windows pid 32204) 180 837 [main] gdb (32204) OS version: Windows NT-10.0 141 978 [main] gdb (32204) ********************************************** --- Process 32204 loaded C:\Windows\System32\advapi32.dll at 00007fffdd700000 --- Process 32204 loaded C:\Windows\System32\msvcrt.dll at 00007fffdc5a0000 --- Process 32204 loaded C:\Windows\System32\sechost.dll at 00007fffdc6f0000 --- Process 32204 loaded C:\Windows\System32\rpcrt4.dll at 00007fffdd7b0000 --- Process 32204 loaded C:\Windows\System32\cryptbase.dll at 00007fffdab80000 --- Process 32204 loaded C:\Windows\System32\bcryptprimitives.dll at 00007fffdb350000 5896 6874 [main] gdb (32204) sigprocmask: 0 = sigprocmask (0, 0x0, 0x180324D70) 3918 10792 [main] gdb (32204) open_shared: name shared.5, n 5, shared 0x180030000 (wanted 0x180030000), h 0xF0, *m 6 143 10935 [main] gdb (32204) user_heap_info::init: heap base 0x800000000, heap top 0x800000000, heap size 0x20000000 (536870912) 182 11117 [main] gdb (32204) open_shared: name S-1-5-21-435809281-806517502-2525237208-127212.1, n 1, shared 0x180020000 (wanted 0x180020000), h 0x100, *m 6 108 11225 [main] gdb (32204) user_info::create: opening user shared for 'S-1-5-21-<redacted>' at 0x180020000 106 11331 [main] gdb (32204) user_info::create: user shared version AB1FCCE8 207 11538 [main] gdb (32204) fhandler_pipe::create: name \\.\pipe\cygwin-d5bac59bf2204d69-32204-sigwait, size 11440, mode PIPE_TYPE_MESSAGE 459 11997 [main] gdb (32204) fhandler_pipe::create: pipe read handle 0x114 108 12105 [main] gdb (32204) fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-d5bac59bf2204d69-32204-sigwait 378 12483 [main] gdb (32204) fhandler_pipe::create: pipe write handle 0x118 191 12674 [main] gdb (32204) dll_crt0_0: finished dll_crt0_0 initialization --- Process 32204 thread 32712 created 1664 14338 [sig] gdb (32204) wait_sig: entering ReadFile loop, my_readsig 0x114, my_sendsig 0x118 --- Process 32204 loaded C:\Program Files\Common Files\McAfee\SystemCore\mfehcinj.dll at 0000000052b60000 --- Process 32204 loaded C:\Windows\System32\user32.dll at 00007fffdd4e0000 --- Process 32204 loaded C:\Windows\System32\win32u.dll at 00007fffdb440000 --- Process 32204 loaded C:\Windows\System32\gdi32.dll at 00007fffdd4b0000 --- Process 32204 loaded C:\Windows\System32\gdi32full.dll at 00007fffdbfb0000 --- Process 32204 loaded C:\Windows\System32\msvcp_win.dll at 00007fffdc180000 --- Process 32204 loaded C:\Windows\System32\ucrtbase.dll at 00007fffdb470000 --- Process 32204 loaded C:\Windows\System32\wintrust.dll at 00007fffdb3e0000 --- Process 32204 loaded C:\Windows\System32\msasn1.dll at 00007fffdb1e0000 --- Process 32204 loaded C:\Windows\System32\crypt32.dll at 00007fffdc220000 --- Process 32204 loaded C:\Windows\System32\imm32.dll at 00007fffdd950000 --- Process 32204 loaded C:\Program Files\Common Files\McAfee\SystemCore\mfehcthe.dll at 0000000052b50000 --- Process 32204 loaded C:\Program Files\McAfee\Endpoint Security\Adaptive Threat Protection\mfedeeprem64.dll at 00007fffcc700000 --- Process 32204 loaded C:\Windows\System32\ole32.dll at 00007fffdc440000 --- Process 32204 loaded C:\Windows\System32\combase.dll at 00007fffdcb00000 --- Process 32204 loaded C:\Windows\System32\oleaut32.dll at 00007fffdc370000 23527 37865 [main] gdb (32204) time: 1610988403 = time(0x0) 201 38066 [main] gdb (32204) mount_info::conv_to_posix_path: conv_to_posix_path (C:\MyStuff\NCygwin\home\myuser\gd, 0x0, no-add-slash) 102 38168 [main] gdb (32204) normalize_win32_path: C:\MyStuff\NCygwin\home\myuser\gd = normalize_win32_path (C:\MyStuff\NCygwin\home\myuser\gd) 67 38235 [main] gdb (32204) mount_info::conv_to_posix_path: /home/myuser/gd = conv_to_posix_path (C:\MyStuff\NCygwin\home\myuser\gd) 98 38333 [main] gdb (32204) sigprocmask: 0 = sigprocmask (0, 0x0, 0x800018130) 773 39106 [main] gdb (32204) _cygwin_istext_for_stdio: fd 0: not open 104 39210 [main] gdb (32204) _cygwin_istext_for_stdio: fd 1: not open 107 39317 [main] gdb (32204) _cygwin_istext_for_stdio: fd 2: not open 347 39664 [main] gdb (32204) open_shared: name cygpid.9212, n 9212, shared 0x180010000 (wanted 0x180010000), h 0x218, *m 2 110 39774 [main] gdb (32204) time: 1610988403 = time(0x0) 193 39967 [main] gdb 9212 pinfo::thisproc: myself dwProcessId 32204 ... >>> >>>> Also ldd `which gdb` is >>>> fine. >>> >>> Please show the output. >> >> pc> ldd `which gdb` >> ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7fffde2c0000) >> KERNEL32.DLL => /c/WINDOWS/System32/KERNEL32.DLL (0x7fffdce40000) >> KERNELBASE.dll => /c/WINDOWS/System32/KERNELBASE.dll >> (0x7fffdb570000) >> cygexpat-1.dll => /usr/bin/cygexpat-1.dll (0x3fe900000) >> cygintl-8.dll => /usr/bin/cygintl-8.dll (0x3fc1b0000) >> cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3fe770000) >> cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000) >> cygmpfr-6.dll => /usr/bin/cygmpfr-6.dll (0x3f9db0000) >> cyglzma-5.dll => /usr/bin/cyglzma-5.dll (0x3fa160000) >> libpython3.6m.dll => /usr/bin/libpython3.6m.dll (0x3f78d0000) >> cygncursesw-10.dll => /usr/bin/cygncursesw-10.dll (0x3fbd70000) >> cygreadline7.dll => /usr/bin/cygreadline7.dll (0x3f90d0000) >> cygz.dll => /usr/bin/cygz.dll (0x3f7e10000) >> cygsource-highlight-4.dll => /usr/bin/cygsource-highlight-4.dll >> (0x3f8c70000) >> cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fdf60000) >> cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x3f8840000) >> cyggmp-10.dll => /usr/bin/cyggmp-10.dll (0x3fd8e0000) >> cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x170000) >> cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x3600000) >> cygboost_regex-1_66.dll => /usr/bin/cygboost_regex-1_66.dll >> (0x3ff520000) >> cygicui18n61.dll => /usr/bin/cygicui18n61.dll (0x3fc3e0000) >> cygicuuc61.dll => /usr/bin/cygicuuc61.dll (0x3fc240000) >> cygicuuc61.dll => /usr/bin/cygicuuc61.dll (0x3600000) >> cygicudata61.dll => /usr/bin/cygicudata61.dll (0x3fa3c0000) >> >>> >>>> I tried the cygcheck Marco Atzeri suggested. I am not comfortable to send >>>> the result to the list but I checked it. >>> >>> Can you remove the sensitive parts and then send it? It's hard for anyone >>> on >>> the list to help you if you don't provide information about your >>> installation. >> >> I'll see what I can do. >> >>> >>>> As a result I cleaned up my path to just /bin which removed some duplicate >>>> entries in cygcheck.out but gdb still doesn't work. >>>> >>>> The only strange part I see in cygcheck.out is a slight mess up with my >>>> installation, a result of my moving /c/cygwin64 to /c/mystuff/ncygwin64 >>>> after my first run of setup.exe, see below. So what has changed between >>>> gdb 7.10.1-1 and gdb 7.12.1-2? >>> >>> Dependencies may have changed. Have you checked that you have all >>> dependencies >>> of whatever version you're trying to run? Just re-running setup should take >>> care of that if that's the problem. >> >> I've always installed every version with setup so the dependencies should >> have >> been taken care of. >> -- 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