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

feat: Bundle debug symbols in "mcrouter-debug" package #376

Open
dalehamel opened this issue Jun 17, 2021 · 0 comments
Open

feat: Bundle debug symbols in "mcrouter-debug" package #376

dalehamel opened this issue Jun 17, 2021 · 0 comments

Comments

@dalehamel
Copy link

We have encountered a mcrouter segmentation fault in production, but the thread trace from lldb is not very helpful:

(lldb) bt all
* thread #1, name = 'mcrouter', stop reason = signal SIGSEGV
  * frame #0: 0x000055b8c46881f8 mcrouter`___lldb_unnamed_symbol696$$mcrouter + 8
  thread #2, stop reason = signal 0
    frame #0: 0x00007f43885c5d2d
  thread #3, stop reason = signal 0
    frame #0: 0x00007f43877a7bb7
  thread #4, stop reason = signal 0
    frame #0: 0x00007f43885caf85
  thread #5, stop reason = signal 0
    frame #0: 0x00007f43885caf85

As an aside, it is also bizarre that only one frame is shown for each thread, but perhaps this is also due to the lack of symbols (I am not especially well acquainted with lldb, and I'm not sure if it needs symbols to be able to walk the stack from a coredump, in my experience it is usually not a problem in gdb at least).

There doesn't seem to be any separate mcrouter-debug package available, and I can't determine where in the build process the mcrouter binary is stripped.

I'd like to suggest / request that the build process retain the output of stripping the release binary, and use this to produce a mcrouter-debug package which can be installed for analyzing crashes and debugging mcrouter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant