Menu

#2 crashinfo --checkstacks aborts

1.0
closed
bug (2)
2024-05-08
2024-05-01
No

"crashinfo --checkstacks" will abort on kernel version 4.18.0-477.10.1.el8_8.x86_64 (other versions not yet checked) with the following traceback:

crash64> crashinfo --checkstacks
Traceback (most recent call last):
File "/usr/local/lib/mpykdump64.so/progs/crashinfo.py", line 1548, in <module>
File "/usr/local/lib/mpykdump64.so/progs/crashinfo.py", line 1351, in checkAllStacks
File "/usr/local/lib/mpykdump64.so/progs/crashinfo.py", line 1315, in checkTaskStack
File "/home/martin/pykdump-code/pykdump/lowlevel.py", line 391, in getattr
raise KeyError(msg)
KeyError: '<struct thread_struct=""> does not have a field <sp0>'</sp0></struct></module>

Discussion

  • Martin Moore

    Martin Moore - 2024-05-08

    This turned out to be two different aborts: one due to the relocation of restart_block from
    thread_info to task_struct in kernel v4, and the other due to the removal of thread_struct.sp0 from x86_64 kernels starting with 4.14.9.

     
  • Martin Moore

    Martin Moore - 2024-05-08

    Closed with commit [78b250]

     

    Related

    Commit: [78b250]

  • Martin Moore

    Martin Moore - 2024-05-08
    • status: open --> closed
     

Log in to post a comment.