pcp
[Top] [All Lists]

Re: [pcp] Bug fix: fix python PMDA support when returning fetch callback

To: David Smith <dsmith@xxxxxxxxxx>
Subject: Re: [pcp] Bug fix: fix python PMDA support when returning fetch callback errors
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 19 May 2015 19:37:29 -0400 (EDT)
Cc: pcp <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <555BA05E.8090607@xxxxxxxxxx>
References: <555BA05E.8090607@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: IzrOQde5N4TJbTrPA4d2d8XMDG4rSw==
Thread-topic: Bug fix: fix python PMDA support when returning fetch callback errors

----- Original Message -----
> While working on the JSON PMDA, I found a bug where I got a SIGSEGV in
> python if I accidentally returned an int value for a string metric.
> After working on this for a couple of days, I figured out that if you
> [...]
> I thought I fixed that problem, but I was still getting a SIGSEGV, but

(thanks for sticking with it, David!)

> So, here's a patch that fixes the above problems for me and seems to

*nod*, looks good to me & good results here from "qa/check -g python".

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>