[Nut-upsdev] upsd segfault.
Charles Lepple
clepple at gmail.com
Mon Dec 22 13:46:50 UTC 2008
On Mon, Dec 22, 2008 at 7:11 AM, Kjell Claesson
<kjell.claesson at epost.tidanet.se> wrote:
> addr2line -e /usr/sbin/upsd 40844a
> state.c:91
>
> So it is in state.c function 'st_tree_node_add' and this line.
>
> 91 if (strcasecmp(node->var, sptr->var) > 0) {
> 92 nptr = &node->left;
> 93 continue;
> 94 }
>
> Can this narrow it down?
> Have not done so much with the daemon code, so I think
> Arjen is the man for this.
The code in http://boxster.ghz.cc/projects/nut/changeset/1429 handles
things differently, but I am confused as to why the new code doesn't
catch that case properly if the old code worked.
It may be something in the code that calls this function, too.
--
- Charles Lepple
More information about the Nut-upsdev
mailing list