pmlogextract segfault in __pmGetArchiveEnd_ctx due to setting 'f' to null and then using it

Solution Verified - Updated -

Issue

  • pmlogextract segfault and a core dump captured:
xxxxxx  localhost kernel: pmlogextract[xxxxxx]: segfault at 0 ip 00007f0b2345e800 sp 00007ffd6b552978 error 4 in libpcp.so.3[7f0b23400000+91000]
xxxxx  localhost abrt-hook-ccpp: Process xxxxxx  (pmlogextract) of user xxx killed by SIGSEGV - dumping core

Environment

  • RHEL 7
  • RHEL 8
  • pcp package

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