On 2023/06/20 17:18, Sourabh Jain wrote:
 Hello All,
 
 Reporting a crash failure while debugging kernel 6.4.0-rc4 dump.
 
We've been working on this for a while, please try
https://listman.redhat.com/archives/crash-utility/2023-June/010806.html
   or
https://github.com/k-hagio/crash/commit/d539e3521464ee96811e2158505677d0d...
and report bugs :)
Thanks,
Kazu
> 
> crash failed with the below error:
> 
> crash: invalid structure member offset: module_core_size
>         FILE: kernel.c  LINE: 3781  FUNCTION: module_init()
> 
> [/usr/bin/crash] error trace: 130ba0654 => 130752a44 => 13080c980 => 
> 1308b1ad0
> 
> I believe the reason for this is the modification made to the module 
> structure
> through the following patch.
> 
> commit ac3b43283923440900b4f36ca5f9f0b1ca43b70e
> Author: Song Liu <song(a)kernel.org>
> Date:   Mon Feb 6 16:28:02 2023 -0800
> 
>      module: replace module_layout with module_memory
> 
>      module_layout manages different types of memory (text, data, 
> rodata, etc.)
>      in one allocation, which is problematic for some reasons:
> 
> Crash searches for module_layout within the struct module, but it has 
> been replaced
> with module_memory in kernel.
> 
> Thanks,
> Sourabh Jain
> 
> -- 
> Crash-utility mailing list
> Crash-utility(a)redhat.com
> 
https://listman.redhat.com/mailman/listinfo/crash-utility
> Contribution Guidelines: 
https://github.com/crash-utility/crash/wiki