Git Product home page Git Product logo

Comments (5)

Bojun-Seo avatar Bojun-Seo commented on May 30, 2024 1

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.

baiwfg2 avatar baiwfg2 commented on May 30, 2024

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.

Bojun-Seo avatar Bojun-Seo commented on May 30, 2024

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.

baiwfg2 avatar baiwfg2 commented on May 30, 2024

@Bojun-Seo

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.

Bojun-Seo avatar Bojun-Seo commented on May 30, 2024

Or you can apply these PRs to unwind stack without kernel's help. #4463 #4679

from bcc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.