frequent hangs running ldd
Jeremy Drake
cygwin@jdrake.com
Fri May 24 22:38:29 GMT 2024
On 2024年5月24日, Jeremy Drake wrote:
> Windbg reports that ldh.exe is already being debugged. I was able to do a
> "non-invasive" attach to ldh.exe in windbg, but it doesn't seem to be able
> to deal with the split debug symbols (gnulink?). I don't know if gdb can
> do a non-invasive attach like that (or open a minidump assuming one could
> be made from a non-invasize attach in windbg).
Seems it can, and at least lldb can load a minidump (unfortunately it's
not showing source file/line info like gdb does):
(lldb) bt
* thread #1, stop reason = Exception 0x80000007 encountered at address
0x000000
* frame #0: 0x0000000180178837 msys-2.0.dll`cygheap_init()
frame #1: 0x0000000180178b89 msys-2.0.dll`setup_cygheap()
frame #2: 0x00000001800488bd msys-2.0.dll`dll_crt0_0()
frame #3: 0x000000018007197c msys-2.0.dll`dll_entry(h=0x0000000180040000, reason=<unavailable>, static_load=<unavailable>)
frame #4: 0x00007ffece99869f ntdll.dll`RtlActivateActivationContextUnsafeFast + 303
frame #5: 0x00007ffece9dd03d ntdll.dll`RtlEnumerateEntryHashTable + 957
frame #6: 0x00007ffece9dcdee ntdll.dll`RtlEnumerateEntryHashTable + 366
frame #7: 0x00007ffece9dce60 ntdll.dll`RtlEnumerateEntryHashTable + 480
frame #8: 0x00007ffece9dce60 ntdll.dll`RtlEnumerateEntryHashTable + 480
frame #9: 0x00007ffece9dce60 ntdll.dll`RtlEnumerateEntryHashTable + 480
frame #10: 0x00007ffece9dce60 ntdll.dll`RtlEnumerateEntryHashTable + 480
frame #11: 0x00007ffece99d62d ntdll.dll`RtlCopyUnicodeString + 1293
frame #12: 0x00007ffece998940 ntdll.dll`RtlImageRvaToSection + 592
frame #13: 0x00007ffece988cac ntdll.dll`RtlUnicodeToCustomCPN + 1020
frame #14: 0x00007ffece99a25a ntdll.dll`LdrLoadDll + 250
frame #15: 0x00007ffecbe961e2 KERNELBASE.dll`LoadLibraryExW + 370
frame #16: 0x00007ff6df3414ba ldh.exe
frame #17: 0x00007ff6df3412ee ldh.exe
frame #18: 0x00007ff6df341406 ldh.exe
frame #19: 0x00007ffecdc6257d kernel32.dll`BaseThreadInitThunk + 29
frame #20: 0x00007ffece9caa48 ntdll.dll`RtlUserThreadStart + 40
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygheap_init_disassembly.txt
URL: <https://cygwin.com/pipermail/cygwin/attachments/20240524/b61257c8/attachment.txt>
More information about the Cygwin
mailing list