On 2024-04-08, Eivind Eide <xeno...@gmail.com> wrote: > 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...
It might be easier to try adding them one by one to the env -i line. If you can find the variable that's triggering it then hopefully others will be able to replicate the problem and track it down. -- Please keep replies on the mailing list.