This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug uprobes/12275] uretprobes break exception handling


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]