Public bug reported:

crash version 9.0.2 in stonking fails to open crash dumps from new 7.2
kernels.

Steps to reproduce:
1. Setup the kernel and dbgsym packages
2. Install kdump-tools
3. Following error is noticed:
```
$ crash

...
...

warning: Section .debug_names in
/usr/lib/debug/boot/vmlinux-7.2.0-5-generic length 135272 does not match
section length 313176, ignoring .debug_names.

WARNING: SLUB: cannot determine how compound pages are linked

please wait... (gathering module symbol data)
crash: invalid structure member offset: module_num_gpl_syms
       FILE: kernel.c  LINE: 3834  FUNCTION: module_init()

[/usr/bin/crash] error trace: 5ab695c064c4 => 5ab695e0acb6 =>
5ab695ea8ba3 => 5ab695f48ac8

```

A commit from the upstream 9.0.3 release resolved this issue:
3a415c0 ("symbols: Add support for mod symtab with combined GPL and non-GPL 
symbols")
https://github.com/crash-utility/crash/commit/3a415c07a18a465df2580365b43b4d8f8a5d815b

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

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

** Description changed:

  crash version 9.0.2 in stonking fails to open crash dumps from new 7.2
  kernels.
  
  Steps to reproduce:
  1. Setup the kernel and dbgsym packages
  2. Install kdump-tools
  3. Following error is noticed:
  ```
  $ crash
  
  ...
  ...
  
  warning: Section .debug_names in
  /usr/lib/debug/boot/vmlinux-7.2.0-5-generic length 135272 does not match
  section length 313176, ignoring .debug_names.
  
  WARNING: SLUB: cannot determine how compound pages are linked
  
  please wait... (gathering module symbol data)
  crash: invalid structure member offset: module_num_gpl_syms
-        FILE: kernel.c  LINE: 3834  FUNCTION: module_init()
+        FILE: kernel.c  LINE: 3834  FUNCTION: module_init()
  
  [/usr/bin/crash] error trace: 5ab695c064c4 => 5ab695e0acb6 =>
  5ab695ea8ba3 => 5ab695f48ac8
  
  ```
  
  A commit from the upstream 9.0.3 release resolved this issue:
  3a415c0 ("symbols: Add support for mod symtab with combined GPL and non-GPL 
symbols")
- 
https://github.com/crash-utility/crash/commit/82039b0f21de4231d1fc03e8819c868a84b213f8
+ 
https://github.com/crash-utility/crash/commit/3a415c07a18a465df2580365b43b4d8f8a5d815b

** Also affects: crash (Ubuntu Stonking)
   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/2167256

Title:
  Crash fails to open crash dumps from kernel 7.2 on stonking

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


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

Reply via email to