[Nut-upsuser] upsd crashes with a "broken pipe" error

Charles Lepple clepple at gmail.com
Tue Jan 4 00:57:52 UTC 2011


On Mon, Jan 3, 2011 at 8:29 AM, Zach La Celle
<lacelle at roboticresearch.com> wrote:
> On 12/29/2010 10:00 AM, Zach La Celle wrote:
>>
>> On 12/29/2010 08:34 AM, Charles Lepple wrote:
>>>
>>> On Dec 27, 2010, at 9:36 AM, Zach La Celle wrote:
>>>
>>>> I ran this in debug mode and captures the backtrace.
>>>>
>>>> root@*********:/etc/nut# upsd -D
>>>> Network UPS Tools upsd 2.4.3
>>>>  0.000000     listening on 0.0.0.0 port 3493
>>>>  0.000354     Connected to UPS [rack1ups]: apcsmart-rack1ups
>>>>  2.550554     User upsmon at 127.0.0.1 logged into UPS [rack1ups]
>>>> *** glibc detected *** upsd: free(): invalid next size (fast):
>>>> 0x00000000012c9870 ***
>>>
>>> Can you give us some background information about this system? What OS
>>> and version, who built the package, etc.

Just to be sure, are you running the Ubuntu-provided package, or
something from another package repository? Which version of Ubuntu?

Running valgrind might produce similarly opaque results without debug
symbols (which you can enable if you build from source). That is a bit
more involved, though (especially if you want to keep the installed
files in the same place) so I'd try that after Arjen's suggestion with
"-DDD".

-- 
- Charles Lepple



More information about the Nut-upsuser mailing list