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

clrstack -f shows no managed names with lldb in .NET 9 #4637

Open
jakobbotsch opened this issue Apr 24, 2024 · 1 comment
Open

clrstack -f shows no managed names with lldb in .NET 9 #4637

jakobbotsch opened this issue Apr 24, 2024 · 1 comment
Assignees
Labels
bug Something isn't working sos
Milestone

Comments

@jakobbotsch
Copy link
Member

jakobbotsch commented Apr 24, 2024

I'm looking at "core.1000.3993" from here: https://dev.azure.com/dnceng-public/public/_build/results?buildId=643008&view=ms.vss-test-web.build-test-results-tab&runId=15859978&resultId=120139&paneView=dotnet-dnceng.dnceng-anon-build-release-tasks.helix-anon-test-information-tab

runfo get-helix-payload -j 230cc837-73e2-4e2d-bb06-fed2bae218d8 -w readytorun_coreroot_determinism -o <output path>

When I type clrstack -f I get the following:

(lldb) clrstack -f
OS Thread Id: 0xf99 (1)
        Child SP               IP Call Site
000072F82D64AFA0 000072F82D077613 libc.so.6!___lldb_unnamed_symbol3325 + 115
000072F82D64D100 000072F82D0606CA libc.so.6!fprintf + 154
000072F82D64D1E0 000072F82CEB4787 libcoreclr.so!PROCCreateCrashDump(std::vector<char const*, std::allocator<char const*> >&, char*, int, bool) + 1111 at /__w/1/s/src/coreclr/pal/src/thread/process.cpp:2320
000072F82D64D250 000072F82CEB5A8E libcoreclr.so!PROCCreateCrashDumpIfEnabled + 2942 at /__w/1/s/src/coreclr/pal/src/thread/process.cpp:0
000072F82D64D2E0 000072F82CE533A9 libcoreclr.so!invoke_previous_action(sigaction*, int, siginfo_t*, void*, bool) + 377 at /__w/1/s/src/coreclr/pal/src/exception/signal.cpp:397
000072F82D64D330 000072F82CE525F5 libcoreclr.so!sigsegv_handler(int, siginfo_t*, void*) + 341 at /__w/1/s/src/coreclr/pal/src/exception/signal.cpp:631
000072F82D64D380 000072F82D042520 libc.so.6!___lldb_unnamed_symbol3237 + 1
00007FFF40434DC8 0000000000000000
00007FFF40434DD0 000072F7B0BDA404
00007FFF40434E80 000072F7B0BDAEBF
00007FFF40434EC0 000072F7B0BD46D4
00007FFF404350D0 000072F7B0B8BCD2
00007FFF40435170 000072F7B0B7D6E0
00007FFF40435490 000072F7B0B8BD3C
00007FFF40435530 000072F7B0B7D6E0
00007FFF40435850 000072F7B0B8B3FD
00007FFF404358F0 000072F7B0B7D6E0
00007FFF40435C10 000072F7B08EE01B
00007FFF40435C50 000072F7B0B7D19A
00007FFF40435C70 000072F7B03BC1C8
00007FFF40435D80 000072F7B0B65DC4
00007FFF404360B0 000072F7B0380B8A
00007FFF404361F0 000072F7B03804D3
00007FFF404362F0 000072F7AFF00390
00007FFF404365C0 000072F7AFED9ED5
00007FFF40436F90 000072F7AED4670B
00007FFF40437570 000072F7AED417AF
00007FFF404376A0 000072F7AED412D7
00007FFF40437700 000072F7AED4104D
00007FFF40437830 000072F7AED40A44
00007FFF40437910 000072F7AED20E65
00007FFF40437940 000072F7AED12F8E
00007FFF404379C0 000072F82CC8494B libcoreclr.so!CallDescrWorkerInternal + 124 at /__w/1/s/src/coreclr/vm/amd64/calldescrworkeramd64.S:101
00007FFF404379E0 000072F82CA23E04 libcoreclr.so!CallDescrWorkerWithHandler(CallDescrData*, int) + 324 at /__w/1/s/src/coreclr/pal/inc/pal.h:4240
00007FFF40437A30 000072F82CA248EB libcoreclr.so!MethodDescCallSite::CallTargetWorker(unsigned long const*, unsigned long*, int) + 1883 at /__w/1/s/src/coreclr/vm/callhelpers.cpp:561
00007FFF40437C20 000072F82C88046E libcoreclr.so!RunMain(MethodDesc*, short, int*, REF<PtrArray>*) + 1326 at /__w/1/s/src/coreclr/vm/callhelpers.h:458
00007FFF40437C20 000072F82C880419 libcoreclr.so!RunMain(MethodDesc*, short, int*, REF<PtrArray>*) + 1241 at /__w/1/s/src/coreclr/inc/check.inl:14
00007FFF40437C20 000072F82C8801D1 libcoreclr.so!RunMain(MethodDesc*, short, int*, REF<PtrArray>*) + 657 at /__w/1/s/src/coreclr/vm/assembly.cpp:1221
00007FFF40437C20 000072F82C8801D1 libcoreclr.so!RunMain(MethodDesc*, short, int*, REF<PtrArray>*) + 657 at /__w/1/s/src/coreclr/vm/assembly.cpp:1221
00007FFF40437C20 000072F82C8801BE libcoreclr.so!RunMain(MethodDesc*, short, int*, REF<PtrArray>*) + 638 at /__w/1/s/src/coreclr/vm/clrex.inl:24
00007FFF40437E40 000072F82C880919 libcoreclr.so!Assembly::ExecuteMainMethod(REF<PtrArray>*, int) + 457 at /__w/1/s/src/coreclr/vm/assembly.cpp:0
00007FFF404380E0 000072F82C8C4A9B libcoreclr.so!CorHost2::ExecuteAssembly(unsigned int, char16_t const*, int, char16_t const**, unsigned int*) + 1211 at /__w/1/s/src/coreclr/vm/corhost.cpp:350
00007FFF40438200 000072F82C864DC1 libcoreclr.so!coreclr_execute_assembly + 385 at /__w/1/s/src/coreclr/dlls/mscoree/exports.cpp:0
00007FFF404382B0 00005C24433FFD59 corerun!main + 10425 at /__w/1/s/src/coreclr/hosts/corerun/corerun.cpp:0
00007FFF404382B0 00005C24433FF0B9 corerun!main + 7193 at /__w/1/s/src/coreclr/hosts/corerun/corerun.hpp:478
00007FFF40439040 000072F82D029D90 libc.so.6!___lldb_unnamed_symbol3139 + 128
00007FFF404390E0 000072F82D029E40 libc.so.6!__libc_start_main + 128
00007FFF40439130 00005C24433FCF69 corerun!_start + 41

If I use ip2md sos is able to resolve these addresses to a name without an issue:

(lldb) ip2md 72F7B0BDA404
MethodDesc:   000072f7b0a57a90
Method Name:          ILCompiler.LazyGenericsSupport+GraphBuilder.<.ctor>g__AddProcessType|0_1(Internal.TypeSystem.TypeDesc, <>c__DisplayClass0_0 ByRef)
Class:                000072f7b0a621e8
MethodTable:          000072f7b0a57bc8
mdToken:              0000000006000DB6
Module:               000072f7af160888
IsJitted:             yes
Current CodeAddr:     000072f7b0bda3a0
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            000072f7ac0b796c
     CodeAddr:           000072f7b0916f40  (OptimizedTier1OSR)
     NativeCodeVersion:  00005C2444DC3C00
     CodeAddr:           000072f7b0bda3a0  (QuickJitted + Instrumented)
     NativeCodeVersion:  000072B6F8589A80
     CodeAddr:           000072f7b0bdb4c0  (OptimizedTier1OSR)
     NativeCodeVersion:  00005C2444DE84A0
     CodeAddr:           0000000000000000  (OptimizedTier1)
     NativeCodeVersion:  000072B6F86842E0
     CodeAddr:           000072f7b08f0640  (QuickJitted)
     NativeCodeVersion:  0000000000000000
@mikem8361
Copy link
Member

Sorry, I didn't get to looking at this sooner but the build/coredump is gone. I'm not sure without a repro what is going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sos
Projects
None yet
Development

No branches or pull requests

2 participants