pcp
[Top] [All Lists]

[Bug 1352465] New: Python PMAPI pmWhichZone crashes Python

To: pcp@xxxxxxxxxxx
Subject: [Bug 1352465] New: Python PMAPI pmWhichZone crashes Python
From: bugzilla@xxxxxxxxxx
Date: Mon, 04 Jul 2016 08:40:44 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
https://bugzilla.redhat.com/show_bug.cgi?id=1352465

            Bug ID: 1352465
           Summary: Python PMAPI pmWhichZone crashes Python
           Product: Fedora
           Version: 24
         Component: pcp
          Assignee: nathans@xxxxxxxxxx
          Reporter: myllynen@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: brolley@xxxxxxxxxx, fche@xxxxxxxxxx, lberk@xxxxxxxxxx,
                    mgoodwin@xxxxxxxxxx, nathans@xxxxxxxxxx,
                    pcp@xxxxxxxxxxx, scox@xxxxxxxxxx



Description of problem:
$ cat ./test.py 
#!/usr/bin/env python

import sys
from pcp import pmapi

options = pmapi.pmOptions("h:z")
options.pmSetLongOptionHost()
options.pmSetLongOptionHostZone()

ctx = pmapi.pmContext.fromOptions(options, sys.argv)
print(ctx.pmWhichZone())
print(ctx.pmWhichZone())
$ python ./test.py
Traceback (most recent call last):
  File "./test.py", line 11, in <module>
    print(ctx.pmWhichZone())
  File ".../site-packages/pcp/pmapi.py", line 1735, in pmWhichZone
    raise pmErr(status)
pcp.pmapi.pmErr: Operation not permitted
$ python ./test.py -h localhost -z
EEST-3
*** Error in `python': double free or corruption (fasttop): 0x000000000080f460
***
[...]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=LEWevQVH3t&a=cc_unsubscribe
<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 1352465] New: Python PMAPI pmWhichZone crashes Python, bugzilla <=