pcp
[Top] [All Lists]

Re: qa/660 - pmwebd in an infinite loop?

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: qa/660 - pmwebd in an infinite loop?
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Mon, 29 Sep 2014 16:10:00 -0400
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <082401cfdb5f$6f3082e0$4d9188a0$@internode.on.net>
References: <5420FB9C.5000004@xxxxxxxxxxxxxxxx> <y0mr3z2r3fl.fsf@xxxxxxxx> <082401cfdb5f$6f3082e0$4d9188a0$@internode.on.net>
User-agent: Mutt/1.4.2.2i
Hi, Ken -

> Some more info on the looping pmwebd problem.  This is 100% reproducible on
> at least one host.

Can you offer some more vitals of the host?  libmicrohttpd / kernel
versions?  Does strace of the pmwebd or curl processes identify
anomalous looping?  Does the pmwebd.log file contain anything of use?
Can you install libmicrohttpd's debuginfo on the machine, so that
backtraces for MHD_* functions show proper source:line# entries?

I looked through libmicrohttpd development history briefly (svn 
unfortunately), and no related bug jumped out at me.


> [...]
> curl -s -S http://localhost:44323/`pwd`/660
> but the output is "PMRESAPI error" not the contents of the file 660

That part's expected.  Arbitrary paths are not allowed to be retrieved
by pmwebd (for security reasons).


- FChE

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