> On Dec 22, 2022, at 10:23 AM, Jim Klimov <jimklimov+...@gmail.com> wrote:
> 
> One thing that popped up in this quest was that Solaris 8 libc does not take 
> kindly to code similar to:
> 
>     printf("%s", NULL);
> 
> ...which ends up dereferencing that NULL to check strlen() - and I suppose 
> can happen when debug messages are logged with little regard to arguments 
> (newer libc's are smarter about this).
> 
> Can you check if there are any core dump files lying around after your 
> experiments (especially those at higher verbosity), or dmesg lines about such 
> segfaults?

I actually do have a core file from upsmon.  Let me know if there’s somewhere I 
can attach it or upload it.  I’ve never really dealt with analyzing core files 
(is that a gdb thing ?).

# file core
core:           ELF 32-bit MSB core file SPARC Version 1, from 'upsmon'


_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to