Back to crash PTS page

Accepted crash 7.3.0-1 (source) into experimental



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 07 Jul 2021 15:31:12 -0600
Source: crash
Architecture: source
Version: 7.3.0-1
Distribution: experimental
Urgency: medium
Maintainer: Troy Heber <troyh@debian.org>
Changed-By: Troy Heber <troyh@debian.org>
Changes:
 crash (7.3.0-1) experimental; urgency=medium
 .
   * Add support for new lockless righbuffer that Linux 5.10 introduced.
     Without the two patches, crash fails during session initialization or
     "log" command fails with the error message:
 .
     crash: cannot determine length of symbol: log_end
 .
   * Add support for VC exception stack on x86_64 Linux 5.10 and later kernels
     that contain commit 02772fb9b68e ("x86/sev-es: Allocate and map an IST
     stack for #VC handler").
 .
   * Fix regression for raw RAM dumpfiles.  Commit f42db6a33f0e ("Support core
     files with "unusual" layout") increased the minimal file size from
     MIN_NETDUMP_ELF_HEADER_SIZE to SAFE_NETDUMP_ELF_HEADER_SIZE which can lead
     to crash rejecting raw RAM dumpfiles.  Without the patch, the crash fails
     to start a session with the error message:
 .
     /var/tmp/ramdump_elf_XXXXXX: ELF header read: No such file or directory
     crash: malformed ELF file: /var/tmp/ramdump_elf_XXXXXX
 .
 .
   * Update mapping symbol filter in arm64_verify_symbol() to support the long
     form of mapping symbols, e.g. "$x.<any...>".  Without the patch, the "dis"
     command cannot completely parse out the disassembly of a function that has
     mapping symbols in the long form and misses the tail part of the function.
 .
   * Move extensins/Makefile's ping check to recipe script.  Without this
     patch, in an environment where ping to github.com does not work, "make
     clean" at the top-level crash directory always takes about 10 seconds
     unnecessarily.
 .
   * Fix for a segmentation fault when analyzing arm64 kernels that are
     configured with CONFIG_IKCONFIG and have a strange entry that does not
     contain the delimiter "=", such as "CONFIG_SECU+[some hex data]".  Without
     the patch, in the add_ikconfig_entry() function, strtok_r() interprets it
     as consisting of a single token and the val variable is set to NULL, and
     then strdup() crashes.
 .
   * Fix a couple of issues that were detected by valgrind.
 .
   * Add ability to un-set scope.  The ability can come in very useful when
     running automated pykdump scripts and needing scope to be cleared between
     script runs.
 .
   * Fix "sys [-t]|mod -S" after "mod -t" when crash runs with -s option.
     Without the patch, the "sys [-t]" and "mod -S" options after "mod -t"
     option fail with the error message:
 .
     sys: invalid structure member offset: tnt_false FILE: kernel.c  LINE:
     11203  FUNCTION: show_kernel_taints_v4_10()
 .
   * Fix for "dev -d" option on Linux 5.11-rc1 and later kernels that contains
     commit 0d02129e76edf91cf04fabf1efbc3a9a1f1d729a ("block: merge struct
     block_device and struct hd_struct").  Without the patch, the option fails
     with the error message:
 .
     dev: invalid structure member offset: hd_struct_dev
 .
   * Fix for "kmem -v" option on Linux 5.11-rc1 and later kernels that contain
     commit 96e2db456135db0cf2476b6890f1e8b2fdcf21eb ("mm/vmalloc: rework the
     drain logic").  Without the patch, the option will display nothing or fail
     with the error message:
 .
     kmem: invalid kernel virtual address: <address>  type: "vmlist addr"
 .
   * Add the base address of module to "mod" command output.  Currently the
     command shows the address of the module struct, but it is inconvenient to
     know the address range of the module, so extend to show the base address.
 .
   * Increase the value of __PHYSICAL_MASK_SHIFT_XEN to 52.  The former value
     of __PHYSICAL_MASK_SHIFT_XEN in crash (40) is smaller than the kernel (52)
     since kernel commit 6f0e8bf167 (xen: support 52 bit physical addresses in
     pv guests).  This can cause x86_64_pud_offset() to lose the most
     significant bits of pgd_pte, leading to a failed xen_m2p() translation,
     resulting in crash failing with an error message like this:
 .
     crash: read error: physical address: ffffffffffffffff  type: "pud page"
 .
   * Change log level print in older kernels.  In older kernels that have the
     variable-length-record log_buf, the log level and the log flags/facility
     are not separated.  Since the log level is only the last three bits, and
     the flags/facility and level are separated in
     5.10 and later kernels, only print those last three bits when using 'log
     -m'.
 .
   * Reduce crash build log.  The verbose output of tar command when extracting
     the GDB source files occupies more than the half of crash build log.  It
     is not so helpful and makes the build log longer needlessly especially on
     CI build test without the patch.
 .
   * Fix for "bt" command on Linux 5.12-rc1 and later x86_64 kernels that
     contain commit 951c2a51ae75 ("x86/irq/64: Adjust the per CPU irq stack
     pointer by 8").  Without the patch, the "bt" command and some of its
     options that read irq stack fail with the error message:
 .
     bt: read of stack at <address> failed".
 .
   * Add valgrind support for the crash's custom memory allocator.  This helps
     detecting various memory errors on the crash's custom memory allocator.
 .
   * Fix for a couple of invalid read/write issues detected by valgrind.
 .
   * Fix "struct" command to print member array of list_heads correctly.
     Without the patch, due to the way that an array of list_head entries are
     printed, parsing of them fails and the command does not print anything:
 .
     crash> struct blk_mq_ctx.rq_completed ffffc447ffc0f740 crash>
 .
   * Do not pass through 'sy' command to GDB.  The GDB 'symbol-file' command is
     prohibited in the crash utility, but an abbreviation of it, the 'sy' is
     not prohibited.  This can discard symbol table from the current symbol
     file, and eventually caused the failure of crash utility after executing
     the 'sys' command as below:
 .
     crash> sy Discard symbol table from `/path/to/vmlinux'? (y or n) Please
     answer y or n.  Discard symbol table from `/path/to/vmlinux'? (y or n) No
     symbol file now.  crash> sys double free or corruption (!prev) Aborted
     (core dumped)
 .
   * Refine zram related code for crash gcore command to support it.
 .
   * Fix for the failure of 'set scope' command.  Without the patch, some
     commands such as 'sys' may cause subsequent 'set scope' commands to fail.
 .
   * Fix for offset print for function pointers that return pointers.  In the
     show_member_offset() function, when trying to handle function pointers,
     the case for "(*" is handled.  However, if the function pointer returns a
     pointer or a pointer to a pointer, then the condition is unhandled.  This
     results in the offset not being printed without the patch, for example:
 .
     crash> struct -o offload_callbacks struct offload_callbacks { struct
     sk_buff *(*gso_segment)(struct sk_buff *, netdev_features_t); struct
     sk_buff **(*gro_receive)(struct sk_buff **, struct sk_buff *); [16] int
     (*gro_complete)(struct sk_buff *, int); }
 .
   * Change functions within extensions/echo.c to be static and document the
     issue in code comments, for extensions developers who takes echo.c as
     reference, to avoid the issue that symbols in extension modules are
     overwritten by former loaded one if it's the same name.
 .
   * Fix for 'bt' command and options on Linux 5.8-rc1 and later x86_64 kernels
     that contain merge commit 076f14be7fc9.  The merged patches changed the
     name of exception functions that have been used by the crash utility to
     check the exception frame.  Without the patch, the command and options
     cannot display it.
 .
   * Fix for xen kernels that contain commit edcb5cf84f05 ("x86/paravirt/xen:
     Remove xen_patch()"). Without the patch, crash fails with an error
     message like this:
 .
     crash: seek error: physical address: 83640e000 type: "pud page"
 .
   * Remove extensions/trace.c file, as the extension module moved to the
     separate repository from the crash repository.
 .
   * Fix for uvtop conversion on ARM with LPAE.  Without the patch, arm_uvtop()
     calls arm_lpae_vtop() with the LPAE and it can use LPAE_VTOP() also for a
     user virtual address.  As a result, commands that use uvtop conversion
     such as "ps -a", "gcore" fail as readmem() for a uvaddr returns a seek
     error:
 .
     ps: cannot access user stack address: <address>
 .
   * Handle 1GB block for VM_L3_4K on arm64 architecture.  Without the patch,
     "vtop" command cannot display the block as a 1GB hugepage.
 .
   * Implement initial support for the MIP64 architecture.
 .
   * Fix for HZ calculation using cfq_slice_async on Linux 4.8 and later
     kernels that contain commit 9a7f38c42c2b ("cfq-iosched: Convert from
     jiffies to nanoseconds").  Without the patch, the HZ calculation results
     in a wrong and big value for machde->hz and crash can shows a wrong uptime
     and timestamps in "log -T".
 .
   * Fix for HZ calculation on Linux 4.8 and later kernels that contain commit
     9a7f38c42c2b ("cfq-iosched: Convert from jiffies to nanoseconds").
     Without the patch, the HZ value can be set to a hardcorded wrong value.
Checksums-Sha1:
 55a4ca40067e001a10253cb3dfdbe219d143e712 1929 crash_7.3.0-1.dsc
 b8c0710046c4bbb3a45e929a87639b1ce4f0d716 32267732 crash_7.3.0.orig.tar.gz
 15df5241e827788051cfed1c4ae4979376f7f2b7 118232 crash_7.3.0-1.debian.tar.xz
 8e6b50a87292d3ed588292e199128fc472d3e625 6472 crash_7.3.0-1_amd64.buildinfo
Checksums-Sha256:
 1b2683b71a865ada10549a41bc6aff8eb98632018eb9a7e91f231e1e24b2263c 1929 crash_7.3.0-1.dsc
 bbdf5177045fd1750fd82edcef2d783d33dd3149391d472c97d1ae8a53819525 32267732 crash_7.3.0.orig.tar.gz
 2f12a1ce9b5809986be76a37d6636a28205505d245deac34600cc492a8dc38b6 118232 crash_7.3.0-1.debian.tar.xz
 e8694a812f77a1463588153bbeedc08f32f805b1d13b5e4c3f88ae5b4747f4ac 6472 crash_7.3.0-1_amd64.buildinfo
Files:
 69ccb6da233258dfbf7212aa8ed634a3 1929 utils optional crash_7.3.0-1.dsc
 24cc5a157d526d3ca85b27a22bc6607c 32267732 utils optional crash_7.3.0.orig.tar.gz
 8f0a875c0d2b274d141df194d298edb3 118232 utils optional crash_7.3.0-1.debian.tar.xz
 5d92373e5ee9d22ec0ffce5c0694ae79 6472 utils optional crash_7.3.0-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEPdPUPs0+tNeF/HYE23wDYLLLZZcFAmDmJZoACgkQ23wDYLLL
ZZcofg/+Kq/j6wAgNc2AW0vAoiIquu3BOSjK4/iHP1luu5vkssfoKq+5qsX1oqEp
cjqTkVRSuXQQYv2ULEeqBmKO8oFLwEhtzYuJpIUF8kxgPUy7a5LivJJ/l6Ffb3vA
nexf2sNp8Kmr5XU1F6Ehys+0rRKzhWkUDUugQ2125bb8cQBjqR7QK4VJbOu/aoSM
nZEviwqwruaGjao/O4z13/HtUJMZ9PgIxacMwpYLBihZ74iEChZ3TZ+9a+IoQTLt
onpX6/li/1/Oih1Z0Xcxq+bC2tdlTJ90tS+va6yXBGRvx2BG4DQDgZ3mVSVzcEzl
br/y80dMhKsge8h5rcTGTJqtlqWyUYzwiIFRPI/0QBtZFJT3yvuW8nImo6cqW9zd
gPBRPbROfTDuNum5qFb1LrRvmjHX18Q2XzzOdH8gjFdf4GGZWr4syv00mpiMjXYb
D69S0YIIfIdTSaIh4In50chd84V/LQy+7i5kWQgtXLuIZj/S/PRP8NNIzySfPzrV
A8YRfJ9egDdyV7D/QMUFwqg6HA4IAnTR7oe+YoG86H03B0M8MP0ZOpLYXm2ThMz6
2vp22gFmAucJ4SSJ7dzY0DEEjQBrgJ9B5mDeVJ1OTxMhPobLa6l78zHHVtFG6qpN
a9cSNZ8upDhX0UVvaBwpN3vHxy4BvI9X6pY3IiDYO+ZhB8bK1QU=
=VHQ9
-----END PGP SIGNATURE-----