[Lldb-commits] [lldb] [LLDB] Add SI_USER and SI_KERNEL to Linux signals (PR #144800)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 19 00:33:48 PDT 2025
https://github.com/labath approved this pull request.
> SI_KERNEL to my understanding usually indicates something went awry in the Kernel itself
If by that you mean "a kernel bug" then the answer is no. It's really a catch-all code for signals originating from inside the kernel. Looking at the sources, it looks like this may be sent in case there's a problem with the page tables (which would be a kernel bug or a hardware issue), but it's also used for things like "insufficient space to set up a signal handler frame" (which is definitely an application issue) and "IO on fd is possible (and application did not request a specific signal to be sent)" (which isn't an issue at all).
https://github.com/llvm/llvm-project/pull/144800
More information about the lldb-commits
mailing list