Bug 1287678

Summary: pmstat -g SEGV
Product: [Fedora] Fedora Reporter: Frank Ch. Eigler <fche>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: brolley, fche, lberk, mgoodwin, nathans, pcp, scox
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcp-3.10.9-1.fc23 pcp-3.10.9-1.fc22 pcp-3.11.1-1.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-06 14:55:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Frank Ch. Eigler 2015-12-02 13:46:59 UTC
pcp-3.10.8-1.fc22.x86_64

% gdb -args pmstat -g
(gdb) run

Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106		movdqu	(%rax), %xmm12
(gdb) bt
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00002aaaaacd0743 in pmTimeStateSetup (
    timecontrols=timecontrols@entry=0x7fffffffdf00, ctxt=1, port=-1, delta=..., 
    position=..., first=..., last=..., 
    tz=0x1 <error: Cannot access memory at address 0x1>, 
    tz_label=0x2aaaab14d4c0 <hostbuf> "super.elastic.org") at timestate.c:148
#2  0x00000000004018b3 in main (argc=<optimized out>, argv=<optimized out>)
    at pmstat.c:482
(gdb) frame 1
#1  0x00002aaaaacd0743 in pmTimeStateSetup (
    timecontrols=timecontrols@entry=0x7fffffffdf00, ctxt=1, port=-1, delta=..., 
    position=..., first=..., last=..., 
    tz=0x1 <error: Cannot access memory at address 0x1>, 
    tz_label=0x2aaaab14d4c0 <hostbuf> "super.elastic.org") at timestate.c:148
148	    tzlen = strlen(tz) + 1;
(gdb) p tz
$1 = 0x1 <error: Cannot access memory at address 0x1>

Comment 1 Nathan Scott 2015-12-04 02:24:01 UTC
Fixed upstream by Someone Else, will be in pcp-3.10.9.

Comment 2 Fedora Update System 2015-12-17 01:54:44 UTC
pcp-3.10.9-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-d08245c076

Comment 3 Fedora Update System 2015-12-17 01:55:28 UTC
pcp-3.10.9-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-2b40815137

Comment 4 Fedora Update System 2015-12-17 02:18:15 UTC
pcp-3.10.9-1.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-2ac90519bc

Comment 5 Fedora Update System 2015-12-17 10:26:40 UTC
pcp-3.10.9-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update pcp'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-2b40815137

Comment 6 Fedora Update System 2015-12-17 10:27:00 UTC
pcp-3.10.9-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update pcp'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-d08245c076

Comment 7 Fedora Update System 2015-12-17 12:49:06 UTC
pcp-3.10.9-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update pcp'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-2ac90519bc

Comment 8 Fedora Update System 2016-01-05 21:57:57 UTC
pcp-3.10.9-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2016-01-05 22:54:33 UTC
pcp-3.10.9-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-02-03 03:56:54 UTC
pcp-3.11.0-1.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-57b7efb2d7

Comment 11 Fedora Update System 2016-02-03 22:17:30 UTC
pcp-3.11.0-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-57b7efb2d7

Comment 12 Fedora Update System 2016-03-22 00:17:49 UTC
pcp-3.11.1-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-5b519318e0

Comment 13 Fedora Update System 2016-04-06 14:54:02 UTC
pcp-3.11.1-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.