Monday, April 08, 2024

Re: 7.5 /var/log/messages - vfprintf %s NULL in "%.*s"

24/04/06 06:04PM, Stuart Henderson:
> The fact that these all started hitting this with the same printf string
> (including tmux, which is in base) makes me wonder if it's coming from a
> library, the most likely being libcurses which was updated between 7.4
> and 7.5 (which all of those use).
>
> Try to ascertain what's going on when that message is logged. ktrace
> might give some clues.

Yes, I've been using these apps through numerous releases of OpenBSD
on this apu2 and this have never been triggered until I upgraded to
7.5.
As pointed out, it also affects prominent members of base; tmux, top, ksh.
What seems to be in common for these apps are the version bump in
libcurses, that would be my guess too.
I tried passing different TERM, no change. I did "env -i mutt" but it
resulted in "Error opening terminal: unknown.".
But if I do "env -i TERM=tmux-256color mutt" mutt opens WITHOUT
triggering the message.
OK. So I've tried to unset various environmental variables one after
another trying to hunt this down to one variable, but so far, no luck!
I don't understand anything 'bout ktrace, but when I have the time I
could try to look into that...


--



Eivind Eide

"ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD"
- Oceania Association of Autonomous Astronauts

No comments:

Post a Comment