[Nut-upsdev] NUT and debuggers (was: newhidups crashes intermittently (double free or corruption))

Arnaud Quette aquette.dev at gmail.com
Wed Apr 5 07:18:48 UTC 2006


2006/4/4, Niels Baggesen <nba at users.sourceforge.net>:
> On Tue, Apr 04, 2006 at 10:57:51PM +0200, Nick Rosier wrote:
> > Again, with an unstripped version of newhidups. But it doesn't seem to
> > give more information; no core dump either. Anything else I can try?
> > Strace it and hope the file doesn't fill up my disk :-)
>
> It is probably better to try to run it from gdb, and then get a
> traceback when it fails.
>
> But if it really if memory corruption, it may have happened at any time
> before it is detected.
>
> Did anybody ever try compiling wnd running ith a memory debugger (dmalloc,
> valgrind, ...)

Russell did (and traced) some things: grep "valgrind" and you'll have
a bunch of traces...

Arnaud



More information about the Nut-upsdev mailing list