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

2011-02-16 Thread Zach La Celle
On 02/15/2011 03:48 PM, Zach La Celle wrote: On 02/15/2011 03:27 PM, Arjen de Korte wrote: Citeren Zach La Celle lace...@roboticresearch.com: You can see where the problem happens in parseconf.c, on line 125 with the code: /* resize the lists */ ctx-arglist = realloc(ctx-arglist,

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

2011-02-16 Thread Arjen de Korte
Citeren Zach La Celle lace...@roboticresearch.com: On the Dell server, the MpMemory testing all passed. It doesn't seem to be a physical problem with the memory on the machine. I also ran some other basic diagnostics on the disk drives, cache, and the rest of the system, and it all

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

2011-02-16 Thread Zach La Celle
On 02/16/2011 10:16 AM, Arjen de Korte wrote: Citeren Zach La Celle lace...@roboticresearch.com: On the Dell server, the MpMemory testing all passed. It doesn't seem to be a physical problem with the memory on the machine. I also ran some other basic diagnostics on the disk drives, cache,

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

2011-02-15 Thread Zach La Celle
Resurrecting this problem, because I finally caught it in the debugger... Here's the trace, with some GDB prints. Please excuse the length. - ... 545815.397326 mainloop: polling 4 filedescriptors *** glibc detected *** /sbin/upsd: malloc(): memory

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

2011-02-15 Thread Arjen de Korte
Citeren Zach La Celle lace...@roboticresearch.com: You can see where the problem happens in parseconf.c, on line 125 with the code: /* resize the lists */ ctx-arglist = realloc(ctx-arglist, sizeof(char *) * ctx-numargs); With the given arguments, this

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

2011-01-18 Thread Arnaud Quette
2011/1/16 Zach La Celle lace...@roboticresearch.com On 01/11/2011 03:38 AM, Arnaud Quette wrote: Hi Zach, 2011/1/10 Zach La Celle lace...@roboticresearch.com On 01/06/2011 08:06 AM, Arnaud Quette wrote: 2011/1/5 Zach La Celle lace...@roboticresearch.com On 01/04/2011 08:20 AM,

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

2011-01-16 Thread Zach La Celle
On 01/11/2011 03:38 AM, Arnaud Quette wrote: Hi Zach, 2011/1/10 Zach La Celle lace...@roboticresearch.com mailto:lace...@roboticresearch.com On 01/06/2011 08:06 AM, Arnaud Quette wrote: 2011/1/5 Zach La Celle lace...@roboticresearch.com mailto:lace...@roboticresearch.com

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

2011-01-11 Thread Arnaud Quette
Hi Zach, 2011/1/10 Zach La Celle lace...@roboticresearch.com On 01/06/2011 08:06 AM, Arnaud Quette wrote: 2011/1/5 Zach La Celle lace...@roboticresearch.com On 01/04/2011 08:20 AM, Arnaud Quette wrote: 2011/1/4 Charles Lepple clep...@gmail.com On Mon, Jan 3, 2011 at 8:29 AM, Zach

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

2011-01-10 Thread lacelle
2011/1/5 Zach La Celle lace...@roboticresearch.com On 01/04/2011 08:20 AM, Arnaud Quette wrote: 2011/1/4 Charles Lepple clep...@gmail.com On Mon, Jan 3, 2011 at 8:29 AM, Zach La Celle lace...@roboticresearch.com wrote: On 12/29/2010 10:00 AM, Zach La Celle wrote: On 12/29/2010

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

2011-01-10 Thread Zach La Celle
On 01/06/2011 08:06 AM, Arnaud Quette wrote: 2011/1/5 Zach La Celle lace...@roboticresearch.com mailto:lace...@roboticresearch.com On 01/04/2011 08:20 AM, Arnaud Quette wrote: 2011/1/4 Charles Lepple clep...@gmail.com mailto:clep...@gmail.com On Mon, Jan 3, 2011 at

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

2011-01-06 Thread Arnaud Quette
2011/1/5 Zach La Celle lace...@roboticresearch.com On 01/04/2011 08:20 AM, Arnaud Quette wrote: 2011/1/4 Charles Lepple clep...@gmail.com On Mon, Jan 3, 2011 at 8:29 AM, Zach La Celle lace...@roboticresearch.com wrote: On 12/29/2010 10:00 AM, Zach La Celle wrote: On 12/29/2010 08:34

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

2011-01-04 Thread Arnaud Quette
2011/1/4 Charles Lepple clep...@gmail.com On Mon, Jan 3, 2011 at 8:29 AM, Zach La Celle lace...@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

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

2011-01-03 Thread Zach La Celle
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. r...@*:/etc/nut# upsd -D Network UPS Tools upsd 2.4.3 0.00 listening on 0.0.0.0

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

2011-01-03 Thread Arjen de Korte
Citeren Zach La Celle lace...@roboticresearch.com: After setting the variable, the only further information I have is this: upsd: free(): invalid pointer: 0x01d20f30 *** Segmentation fault Try again with debug level set to -DDD. This might provide a little more context of where this

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

2011-01-03 Thread Charles Lepple
On Mon, Jan 3, 2011 at 8:29 AM, Zach La Celle lace...@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.

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

2010-12-29 Thread Charles Lepple
On Dec 27, 2010, at 9:36 AM, Zach La Celle wrote: I ran this in debug mode and captures the backtrace. r...@*:/etc/nut# upsd -D Network UPS Tools upsd 2.4.3 0.00 listening on 0.0.0.0 port 3493 0.000354 Connected to UPS [rack1ups]: apcsmart-rack1ups 2.550554 User

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

2010-12-29 Thread Zach La Celle
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. r...@*:/etc/nut# upsd -D Network UPS Tools upsd 2.4.3 0.00 listening on 0.0.0.0 port 3493 0.000354 Connected to UPS

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

2010-12-27 Thread Zach La Celle
I ran this in debug mode and captures the backtrace. r...@*:/etc/nut# upsd -D Network UPS Tools upsd 2.4.3 0.00 listening on 0.0.0.0 port 3493 0.000354 Connected to UPS [rack1ups]: apcsmart-rack1ups 2.550554 User ups...@127.0.0.1 logged into UPS [rack1ups] ***