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

Linux lldb 3.8 hangs on live cores, update docs #92

Open
brendangregg opened this issue Jun 5, 2017 · 4 comments
Open

Linux lldb 3.8 hangs on live cores, update docs #92

brendangregg opened this issue Jun 5, 2017 · 4 comments
Labels

Comments

@brendangregg
Copy link
Contributor

I suspect we've hit this known and fixed bug with lldb 3.8:

With a live core dump, lldb hangs:

# lldb -f /usr/bin/node -c /var/cores/core.node.30833
(lldb) target create "/usr/bin/node" --core "/var/cores/core.node.30833"
[...hang...]

Could the install instructions for Linux note this and the fix? Would the current fix be an lldb build from source, or is it packaged with the patch yet in lldb 3.8 or 3.9?

@brendangregg
Copy link
Contributor Author

should have CC'd @hhellyer

@hhellyer
Copy link
Collaborator

hhellyer commented Jun 6, 2017

I think it's only in the 4.0 branch. (There's a github mirror of the llvm project that's easier to search, I checked one of the files I updated here: https://github.com/llvm-mirror/lldb/blob/release_40/source/Plugins/Process/elf-core/ThreadElfCore.h)

Building from source is one option but it's not that quick (you need to build llvm, clang and lldb) but there are some Ubuntu packages available from:
http://apt.llvm.org/
that might save you the work.

@rnchamberlain
Copy link
Contributor

Re gcore dumps and the hang fix in lldb 4.0 see also the follow-up comments on #61

@brendangregg
Copy link
Contributor Author

thanks!

@mmarchini mmarchini added the docs label Jun 6, 2018
stringang added a commit to stringang/docker-baseimage that referenced this issue May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants