Public bug reported:

This problem occurs with crash v8.0.4 version part of Ubuntu 24.04.4
LTS, and only during live usage but not post-mortem.

The following upstream commit, part of crash-9.0.2 release describes and
fixes the issue:

fix eheader overflow

crash-utility live session fails solid with a SEGV, where it seems
that with some (new ?) Kernels and configurations /proc/kcore
exposes a first “Note” program-header along with a big number of
other headers (particularly when direct-map area generated from
physical memory map have a lot of entries), causing eheader[]
overflow (a stack underflow in fact since it is an automatic
variable!) because the whole size exceeds MAX_KCORE_ELF_HEADER_SIZE.
This problem still occur with latest utility version, and the
following patch has been proven to fix.

Signed-off-by: Bruno Faccini <[email protected]>

Link to upstream commit:
https://github.com/crash-utility/crash/commit/ad427b7f8ffc24c9621a1836d8027d5992c9a11a

** Affects: crash (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: crash (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Also affects: crash (Ubuntu Noble)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164524

Title:
  Crash-utility live session fails solid with a SEGV

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/crash/+bug/2164524/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to