[Bug libdw/30272] Unwinding multithreaded musl applications fails

2023-04-02 Thread godlygeek at gmail dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30272

--- Comment #1 from Matt Wozniski  ---
I encountered this issue using `dwfl_getthread_frames`, and I've found that
calling `dwfl_frame_reg` to check if the stack pointer register was the same
for two frames in a row and breaking out if so seems to work around it. I'm not
sure if that's entirely correct, though. Are there any legitimate cases where
two different frames passed to the callback would have the same stack pointer?
My impression is that the stack pointer should change for every function call
because the return address is stored on the stack, but perhaps there are some
architectures where that isn't the case...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug libdw/30272] Unwinding multithreaded musl applications fails

2023-04-02 Thread sam at gentoo dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30272

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

--- Comment #2 from Sam James  ---
See also https://marc.info/?l=musl&m=168023060722100&w=2.

-- 
You are receiving this mail because:
You are on the CC list for the bug.