Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lldb 14.0.5 can't find libcoreclr.so #10

Open
oldzhu opened this issue Jul 18, 2022 · 2 comments
Open

lldb 14.0.5 can't find libcoreclr.so #10

oldzhu opened this issue Jul 18, 2022 · 2 comments

Comments

@oldzhu
Copy link
Owner

oldzhu commented Jul 18, 2022

(lldb) image list
[ 0] 7E3F0A21-FA16-3DE2-AF8F-6195F9E59B73-2301CAB1 0x00400000 /root/dotnethello/dotnethello
[ 1] 2C1F9C37 0xb6fc9000 /lib/ld-linux-armhf.so.3
[ 2] 38065721-831C-A131-D866-0B8FB0B61853-AD523AAD 0xb6fb0000 /lib/libpthread.so.0
[ 3] 868562E3-929A-794E-9160-61FF9871D7F3-A9B93C31 0xb6f90000 /lib/libdl.so.2
[ 4] 2455B734 0xb6e20000 /usr/lib/libstdc++.so.6
[ 5] 3B44F37F-6084-C890-DAC3-0369CE0BE83A-78C79FFC 0xb6dc0000 /lib/libm.so.6
[ 6] 58F10CF4 0xb6d90000 /lib/libgcc_s.so.1
[ 7] E846F79B-4676-80C4-DFF8-9926EE7D47C0-C226219C 0xb6c40000 /lib/libc.so.6
[ 8] ECA21BA2-E530-B626-86D3-649C1DD2E083-4B12A2EA 0xb6640000 /usr/lib/liblttng-ust.so.1
[ 9] CA630DD3-C32F-0597-A728-BB1C4C5CDF2B-C8C540A8 0xb6620000 /usr/lib/liblttng-ust-common.so.1
[ 10] F79DFDD5-2FA3-3889-9F92-C06ED6A2BBE8-5DFBDFCA 0xb65f0000 /usr/lib/liblttng-ust-tracepoint.so.1
(lldb) clrstack
Failed to find runtime module (libcoreclr.so), 0x80004002
Extension commands need it in order to have something to do.
For more information see https://go.microsoft.com/fwlink/?linkid=2135652
ClrStack failed

@oldzhu
Copy link
Owner Author

oldzhu commented Aug 23, 2022

the issue seems fixed in lldb 15.0.0.rc2
(lldb) image list
[ 0] 7C298E86-6F0A-B03A-7E04-37DBAE19BCE2-81CB9625 0x0000005555550000 /root/dotnethello/dotnethello
[ 1] 2D464F28 0x0000007ff7fd7000 /lib/ld-linux-aarch64.so.1
[ 2] 8B3F6FCD-8A5F-09A6-5940-5056A0910950-E0319461 0x0000007ff7fd6000 [vdso] (0x0000007ff7fd6000)
[ 3] 2E674478-E7C7-A4DF-227B-9213D2CA4921-89E3B961 0x0000007ff7fcf000 /lib64/libpthread.so.0
[ 4] 9F5E7894-3222-14F8-68E6-451C4CBA6120-D7D8BDA3 0x0000007ff7fcc000 /lib64/libdl.so.2
[ 5] 0CD25A24 0x0000007ff7e00000 /usr/lib64/libstdc++.so.6
[ 6] CE5A38B4-FE06-2C69-8AF1-B64BBBD6C301-9AB6C748 0x0000007ff7d8c000 /lib64/libm.so.6
[ 7] 8CE73FDE 0x0000007ff7d60000 /lib64/libgcc_s.so.1
[ 8] F4107D84-F53D-CC78-41D7-52E50269F9D1-A5AF26B4 0x0000007ff7c01000 /lib64/libc.so.6
[ 9] DE21D5C9-498D-2708-9022-EE237A0F2EEF-03A8F88A 0x0000007ff7ba0000 /root/dotnethello/libhostfxr.so
/root/dotnethello/libhostfxr.so.dbg
[ 10] B6D2D955-688B-E2EA-AD69-90E1533B4FF2-F7C9513D 0x0000007ff7b40000 /root/dotnethello/libhostpolicy.so
/root/dotnethello/libhostpolicy.so.dbg
[ 11] 77292492-EDE6-30E6-37B2-2DAA413F9B28-DEEE035E 0x0000007ff7420000 /root/dotnethello/libcoreclr.so
/root/dotnethello/libcoreclr.so.dbg
[ 12] 2FBC04C6-FF3C-EAFD-AACE-AFBE653384A9-4536296E 0x0000007ff7370000 /root/dotnethello/libcoreclrtraceptprovider.so
/root/dotnethello/libcoreclrtraceptprovider.so.dbg
[ 13] B0917800 0x0000007ff72f8000 /usr/lib64/liblttng-ust.so.1
[ 14] F4C291F3 0x0000007ff72e9000 /usr/lib64/liblttng-ust-common.so.1
[ 15] F39C6635 0x0000007ff72ca000 /usr/lib64/liblttng-ust-tracepoint.so.1
[ 16] 2F4AD714-47F6-B281-0273-A56ADE356E0D-2E286101 0x0000007fef0c0000 /root/dotnethello/libclrjit.so
/root/dotnethello/libclrjit.so.dbg
[ 17] ECB015E8-F8A4-8B02-090A-083991380958-B6C4FE38 0x0000007ff40a0000 /root/dotnethello/libSystem.Native.so
/root/dotnethello/libSystem.Native.so.dbg

lldb --version

lldb version 15.0.0 (https://github.com/oldzhu/buildroot revision 7dac93f5974e6d63742af2a00310c31fdcb86a05)
clang revision 7dac93f5974e6d63742af2a00310c31fdcb86a05
llvm revision 7dac93f5974e6d63742af2a00310c31fdcb86a05

@oldzhu
Copy link
Owner Author

oldzhu commented Nov 21, 2022

it was fixed after lldb 15.0.0, but still leave it open for debugging investigation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant