[Crash-utility] [ANNOUNCE] crash gcore command, version 1.5.1 is released

Dave Anderson anderson at redhat.com
Tue Jun 25 14:27:00 UTC 2019



----- Original Message -----
> This is the release of crash gcore command, version 1.5.1.

Hi Daisuke and Masa,

The extensions page has been updated:

  http://people.redhat.com/anderson/extensions.html#GCORE

Thanks very much for your help,
  Dave


> 
> This release includes the following 2 bug fixes.
> 
> ChangeLog:
> 
>   - Fix the invalid structure member failure of
>     thread_struct_fpsimd_state caused by the commit
>     65896545b69ffaac947c12e11d3dcc57fd1fb772 merged at v4.17-rc2
>     ("arm64: uaccess: Fix omissions from usercopy whitelist") that
>     changed struct thread_struct. Without this fix, gcore command
>     fails with the following error message:
> 
>         crash> gcore 2190
> 
>           gcore: invalid structure member offset: thread_struct_fpsimd_state
>              FILE: libgcore/gcore_arm64.c  LINE: 46  FUNCTION: fpr_get()
> 
>           [./crash] error trace: ffff81c44c8c => ffff81c48fb8 => 51afd8 =>
>           51af50
> 
>         51af50: OFFSET_verify.part.28+72
>         51afd8: store_module_kallsyms_v2.part.29+0
> 
>           gcore: invalid structure member offset: thread_struct_fpsimd_state
>              FILE: libgcore/gcore_arm64.c  LINE: 46  FUNCTION: fpr_get()
> 
>           Failed.
> 
>     (anderson at redhat.com)
> 
>   - Fix the invalid structure size failure of pid_link on v4.19 and
>     newer kernel introduced by the commit 2c4704756cab ("pids: Move
>     the pgrp and session pid pointers from task_struct to
>     signal_struct") that removed struct pid_link array from
>     task_struct and added struct pid array into signal_struct. Without
>     this fix, gcore command fails with the following error message:
> 
>         gcore: invalid structure size: pid_link
>                FILE: libgcore/gcore_coredump_table.c  LINE: 423  FUNCTION:
>                pid_alive()
> 
>         [./crash] error trace: 7f4a7a6762b8 => 7f4a7a676e0f => 53b391 =>
>         53b316
> 
>           53b316: SIZE_verify.part.31+70
>           53b391: SIZE_verify+49
> 
>         gcore: invalid structure size: pid_link
>                FILE: libgcore/gcore_coredump_table.c  LINE: 423  FUNCTION:
>                pid_alive()
> 
>         Failed.
> 
>     (m.mizuma at jp.fujitsu.com)
> 
> MD5 CheckSum:
> 
>   # md5sum crash-gcore-command-1.5.1.tar.gz
>   255c9bab30f3cac68b30676ce295245a  crash-gcore-command-1.5.1.tar.gz
> 
> --
> Thanks.
> HATAYAMA, Daisuke
> 
> 
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility




More information about the Crash-utility mailing list