Skip to content

Instantly share code, notes, and snippets.

@tamird
Created June 2, 2023 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tamird/48f7c3d65ed8810479b654e0701af941 to your computer and use it in GitHub Desktop.
Save tamird/48f7c3d65ed8810479b654e0701af941 to your computer and use it in GitHub Desktop.
frame #1: 0x00007f4cc3690fb0 libc.so.6`__GI___pthread_kill [inlined] __pthread_kill_internal(signo=6, threadid=<unavailable>) at pthread_kill.c:78:10
frame #2: 0x00007f4cc3690fb0 libc.so.6`__GI___pthread_kill(threadid=<unavailable>, signo=6) at pthread_kill.c:89:10
frame #3: 0x00007f4cc363c406 libc.so.6`__GI_raise(sig=6) at raise.c:26:13
frame #4: 0x00007f4cc362287c libc.so.6`__GI_abort at abort.c:79:7
frame #5: 0x00007f4cc362279b libc.so.6`__assert_fail_base.cold at assert.c:92:3
frame #6: 0x00007f4cc3633b86 libc.so.6`__assert_fail(assertion="isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"", file="/home/tamird/src/llvm-project/llvm/include/llvm/Support/Casting.h", line=579, function="decltype(auto) llvm::cast(From*) [with To = DIType; From = Metadata]") at assert.c:101:3
frame #7: 0x000055daf2583f6f bpf-linker`decltype(auto) llvm::cast<llvm::DIType, llvm::Metadata>(Val=0x000055daf9063e00) at Casting.h:579:3
frame #8: 0x000055daf3c959fe bpf-linker`llvm::DIType* llvm::unwrap<llvm::DIType>(P=0x000055daf9063e00) at Metadata.h:143:1
frame #9: 0x000055daf3c8f330 bpf-linker`LLVMDITypeGetName(DType=0x000055daf9063e00, Length=0x00007ffe287de358) at DebugInfo.cpp:1452:49
frame #10: 0x000055daf251ea23 bpf-linker`bpf_linker::llvm::di::DIFix::discover::h37521032a594a1a2 at di.rs:185:38
frame #11: 0x000055daf251e81b bpf-linker`bpf_linker::llvm::di::DIFix::discover::h37521032a594a1a2(self=0x00007ffe287de7b0, value=0x000055daf9171bd0, depth=1) at di.rs:232:13
frame #12: 0x000055daf251f056 bpf-linker`bpf_linker::llvm::di::DIFix::discover::h37521032a594a1a2(self=0x00007ffe287de7b0, value=0x000055daf9385318, depth=0) at di.rs:247:17
frame #13: 0x000055daf251f8b4 bpf-linker`bpf_linker::llvm::di::DIFix::run::h8bc0792e309c8820(self=0x00007ffe287de7b0) at di.rs:298:13
frame #14: 0x000055daf251cc27 bpf-linker`bpf_linker::linker::Linker::link::hdbfd8feb5182e121 [inlined] bpf_linker::linker::Linker::optimize::h1ea39f574fadfc7d(self=0x00007ffe287def40) at linker.rs:431:13
frame #15: 0x000055daf251ca9e bpf-linker`bpf_linker::linker::Linker::link::hdbfd8feb5182e121(self=Linker @ 0x00007ffe287def40) at linker.rs:238:9
frame #16: 0x000055daf25072eb bpf-linker`bpf_linker::main::h2bcff24070018dc5 at bpf-linker.rs:252:21
frame #17: 0x000055daf24ffcf3 bpf-linker`std::sys_common::backtrace::__rust_begin_short_backtrace::h2d94ba7cd1a0a335 [inlined] core::ops::function::FnOnce::call_once::hc94a899e06337c18((null)=<unavailable>, (null)=<unavailable>) at function.rs:250:5
frame #18: 0x000055daf24ffcf1 bpf-linker`std::sys_common::backtrace::__rust_begin_short_backtrace::h2d94ba7cd1a0a335(f=<unavailable>) at backtrace.rs:134:18
frame #19: 0x000055daf2514f29 bpf-linker`std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::h8e35771510f8f0ca at rt.rs:166:18
frame #20: 0x000055daf501a6fe bpf-linker`std::rt::lang_start_internal::h76f3e81e6b8f13f9 [inlined] core::ops::function::impls::_$LT$impl$u20$core..ops..function..FnOnce$LT$A$GT$$u20$for$u20$$RF$F$GT$::call_once::hb1327dc2ef3fecdf at function.rs:287:13
frame #21: 0x000055daf501a6fb bpf-linker`std::rt::lang_start_internal::h76f3e81e6b8f13f9 [inlined] std::panicking::try::do_call::h4044173225fe83dd at panicking.rs:485:40
frame #22: 0x000055daf501a6fb bpf-linker`std::rt::lang_start_internal::h76f3e81e6b8f13f9 [inlined] std::panicking::try::hd8a722c09d156a53 at panicking.rs:449:19
frame #23: 0x000055daf501a6fb bpf-linker`std::rt::lang_start_internal::h76f3e81e6b8f13f9 [inlined] std::panic::catch_unwind::hd2ca07971cf0119b at panic.rs:140:14
frame #24: 0x000055daf501a6fb bpf-linker`std::rt::lang_start_internal::h76f3e81e6b8f13f9 [inlined] std::rt::lang_start_internal::_$u7b$$u7b$closure$u7d$$u7d$::h26d89d595cf47b70 at rt.rs:148:48
frame #25: 0x000055daf501a6fb bpf-linker`std::rt::lang_start_internal::h76f3e81e6b8f13f9 [inlined] std::panicking::try::do_call::hf47aa1aa005e5f1a at panicking.rs:485:40
frame #26: 0x000055daf501a6fb bpf-linker`std::rt::lang_start_internal::h76f3e81e6b8f13f9 [inlined] std::panicking::try::h73d246b2423eaf4e at panicking.rs:449:19
frame #27: 0x000055daf501a6fb bpf-linker`std::rt::lang_start_internal::h76f3e81e6b8f13f9 [inlined] std::panic::catch_unwind::hbaaeae8f1b2f9915 at panic.rs:140:14
frame #28: 0x000055daf501a6fb bpf-linker`std::rt::lang_start_internal::h76f3e81e6b8f13f9 at rt.rs:148:20
frame #29: 0x000055daf250e8cc bpf-linker`main + 44
frame #30: 0x00007f4cc3623a90 libc.so.6`__libc_start_call_main(main=(bpf-linker`main), argc=21, argv=0x00007ffe287df5e8) at libc_start_call_main.h:58:16
frame #31: 0x00007f4cc3623b49 libc.so.6`__libc_start_main_impl(main=(bpf-linker`main), argc=21, argv=0x00007ffe287df5e8, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007ffe287df5d8) at libc-start.c:360:3
frame #32: 0x000055daf24fc545 bpf-linker`_start + 37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment