VMWare snapshot converted to a .core file fails to open with the crash utility

Solution Verified - Updated -

Issue

  • VMWare snapshot converted to a .core file using "vmss2core-Linux64" utility fails to open even after a successful conversion and shows the following error message :
log: zero-size memory allocation! (called from 4e23f6)
  • Manual retrace leads to the error shown below :
# crash vmss.core /usr/lib/debug/lib/modules/3.10.0-862.11.6.el7.x86_64/vmlinux 

crash 7.2.3
Copyright (C) 2002-2017  Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010  IBM Corporation
.
</snip>
.
WARNING: cannot read linux_banner string
crash: /usr/lib/debug/lib/modules/3.10.0-862.11.6.el7.x86_64/vmlinux and vmss.core do not match!

Usage:

  crash [OPTION]... NAMELIST MEMORY-IMAGE[@ADDRESS]    (dumpfile form)
  crash [OPTION]... [NAMELIST]                     (live system form)

Enter "crash -h" for details.
  • .core opened in the --minimal mode leads to the same error as well.

Environment

  • Guest OS on VMWare
  • Observed on RHEL 7.5 kernels and above

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content