nstat repeatedly dies with "Aborted (core dumped)" message

Solution Verified - Updated -

Issue

  • Executing nstat fails continuously and produces a core dump

    # nstat
    Aborted (core dumped)
    
  • The core dump shows the following backtrace

    # gdb /usr/sbin/nstat coredump
    [...]
    (gdb) bt
    #0  0x00007fb3a26c0377 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55
    #1  0x00007fb3a26c1a68 in __GI_abort () at abort.c:90
    #2  0x0000000000402602 in load_good_table (fp=fp@entry=0x169c0a0) at nstat.c:147
    #3  0x00000000004021f7 in main (argc=<optimized out>, argv=<optimized out>) at nstat.c:696
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • nstat (iproute version < 4.11.0-30.el7, iproute version < 5.3.0-5.el8)

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