Skip to content

Instantly share code, notes, and snippets.

@zhuizhuhaomeng
Created July 6, 2023 23:48
Show Gist options
  • Save zhuizhuhaomeng/2021b562e7eb48a87ce1e3612926d910 to your computer and use it in GitHub Desktop.
Save zhuizhuhaomeng/2021b562e7eb48a87ce1e3612926d910 to your computer and use it in GitHub Desktop.
Breakpoint 1, elf_compress_gnu (scn=scn@entry=0x5635858, inflate=inflate@entry=0, flags=flags@entry=0) at elf_compress_gnu.c:40
40 elf_compress_gnu.c: No such file or directory.
(gdb) bt
#0 elf_compress_gnu (scn=scn@entry=0x5635858, inflate=inflate@entry=0, flags=flags@entry=0)
at elf_compress_gnu.c:40
#1 0x00007ffff795e48d in check_section (result=result@entry=0x563aee0, shstrndx=shstrndx@entry=46,
scn=scn@entry=0x5635858, inscngrp=inscngrp@entry=false) at dwarf_begin_elf.c:208
#2 0x00007ffff795ec3b in global_read (shstrndx=<optimized out>, elf=<optimized out>, result=0x563aee0)
at dwarf_begin_elf.c:407
#3 dwarf_begin_elf (elf=0x5633b10, cmd=cmd@entry=DWARF_C_READ, scngrp=scngrp@entry=0x0) at dwarf_begin_elf.c:558
#4 0x00007ffff798128e in load_dw (mod=mod@entry=0x5631d20, debugfile=debugfile@entry=0x5631d50)
at dwfl_module_getdwarf.c:1360
#5 0x00007ffff7981451 in find_dw (mod=0x5631d20) at dwfl_module_getdwarf.c:1410
#6 dwfl_module_getdwarf (mod=mod@entry=0x5631d20, bias=bias@entry=0x7fffffffa878) at dwfl_module_getdwarf.c:1465
#7 0x0000000000536bf7 in validate_module_elf (q=0x7fffffffada0,
name=0x1fafd60 "/home/code/orinc/ylang/test.go.out", mod=0x5631d20) at tapsets.cxx:2634
#8 query_module (mod=0x5631d20, name=0x1fafd60 "/home/code/orinc/ylang/test.go.out", addr=4194304,
q=0x7fffffffada0) at tapsets.cxx:2777
#9 0x00007ffff797ef51 in dwfl_getmodules (dwfl=0x5631c90,
callback=callback@entry=0x5369d0 <query_module(Dwfl_Module*, void**, char const*, Dwarf_Addr, base_query*)>,
arg=arg@entry=0x7fffffffada0, offset=offset@entry=0) at dwfl_getmodules.c:86
#10 0x00000000005d74eb in dwflpp::iterate_over_modules<void> (this=this@entry=0x56317d0,
callback=callback@entry=0x5369d0 <query_module(Dwfl_Module*, void**, char const*, Dwarf_Addr, base_query*)>,
data=data@entry=0x7fffffffada0) at dwflpp.cxx:410
#11 0x0000000000565004 in dwflpp::iterate_over_modules<base_query> (data=0x7fffffffada0,
callback=0x5369d0 <query_module(Dwfl_Module*, void**, char const*, Dwarf_Addr, base_query*)>, this=0x56317d0)
at dwflpp.h:246
#12 dwarf_builder::build (this=0x5624fd0, sess=..., base=0x54956a0, location=0x3161550, parameters=...,
--Type <RET> for more, q to quit, c to continue without paging--c
finished_results=...) at tapsets.cxx:9294
#13 0x00000000004beb64 in match_node::find_and_build (this=0x562a450, s=..., p=0x54956a0, loc=0x3161550, pos=<optimized out>, results=..., builders=...) at elaborate.cxx:483
#14 0x00000000004bf36b in match_node::find_and_build (this=0x5437c60, s=..., p=0x54956a0, loc=0x3161550, pos=1, results=..., builders=...) at elaborate.cxx:657
#15 0x00000000004bf36b in match_node::find_and_build (this=0x902310, s=..., p=0x54956a0, loc=0x3161550, pos=0, results=..., builders=...) at elaborate.cxx:657
#16 0x00000000004bfd3e in derive_probes (s=..., p=0x54956a0, dps=..., optional=<optimized out>, rethrow_errors=false) at elaborate.cxx:1025
#17 0x00000000004c11fa in semantic_pass_symbols (s=...) at elaborate.cxx:2047
#18 0x00000000004cdf69 in semantic_pass (s=...) at elaborate.cxx:2698
#19 0x0000000000454492 in passes_0_4 (s=...) at main.cxx:1110
#20 0x000000000044e6e8 in main (argc=<optimized out>, argv=<optimized out>) at main.cxx:1667
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment