[Bug uprobes/12275] uretprobes break exception handling

jistone at redhat dot com sourceware-bugzilla@sourceware.org
Wed Jun 24 20:30:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=12275

--- Comment #16 from Josh Stone <jistone at redhat dot com> ---
I just realized the obvious fact that this is really breaking *all* unwinding,
not just exceptions.  So print_ubacktrace() will end at the uretprobe
trampoline, and _caller_match() used by .callee probes will be disrupted too.

Perhaps those cases could poke around in kernel memory to find the true return
address.  The old utrace-based uprobes.ko had uprobe_get_pc(), and
runtime/stack.c conditionally uses this, but I think even that only worked for
the first unwind level.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Systemtap mailing list