Comments (5)
The issue I mentioned is only related in case of stripped library. Sorry for confusion.
The problem you are suffering is related to stack backtracing failure. In other words, this issue happened because kernel don't know how to interpret the stack.
To resolve this issue, you should build libc.so
with -fno-omit-frame-poiner
.
Please check the similar issue here #4735
from bcc.
I do this with mysqld, and get same result. The function above the thread name is __futex_abstimed_wait_common
. Obviously the thread never calls it directly.
from bcc.
Can you show me the result of the file
command output of libc.so
file?
I'm pretty sure this issue can be happened because of this issue #4849 , if it is stripped.
from bcc.
Here's the result:
# file /lib64/libc.so.6
/lib64/libc.so.6: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=81daba31ee66dbd63efdc4252a872949d874d136, for GNU/Linux 3.2.0, not stripped
# readelf -S /lib64/libc.so.6 | grep debug
[66] .gnu_debuglink PROGBITS 0000000000000000 001d6140
Not stripped, but no debug info.
from bcc.
Or you can apply these PRs to unwind stack without kernel's help. #4463 #4679
from bcc.
Related Issues (20)
- 0.29.1 + master (706ec4fe): compile time warnings HOT 2
- wqlat.py fails for 6.7 kernel with -w workqueue selection HOT 2
- error: unknown type name ‘GElf_Versym’; did you mean ‘GElf_Verdef’? HOT 3
- why i use memleak, trace kmalloc tracepoint, run 12hours, but only counted 64 stackid....
- unknown function : bpf_setsockopt
- execsnoop: long timestamps unintentionally merge columns
- Data type question in bcc_elf.c: 236 line
- Kernel version 6.7 running cachestat error
- kernel address conversion with adddr2line
- bps tool is installed to wrong location
- Man pages are installed to wrong location
- Yes, thanks for explaining, that certainly makes more sense! Actually the problem seems obvious in retrospect but its been a busy morning so far :)
- Is there some mechanism for "sampling" tables at a periodic rate?
- Failed to build with LLVM 18 HOT 1
- BCC tool execute failed on Android by debianfs
- Failed to attach BPF program b'oncpu' to kprobe b'finish_task_switch' offcputime-bpfcc HOT 3
- bcc-tools: trace.py syscall trace not working for proccess in container(lxc) HOT 1
- question: `LLVM ERROR: ` error with no indication
- [question]: Run ebpf demo failed.
- zfsslower wrongly tries to attach to non-existant zpl_read (regression of #1248)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bcc.