NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 11.0_BETA i386 dosbox segfault





On 15/11/2025 09:28, Ramiro Aceves wrote:


Http_connect_socket connect ERROR: No route to host
We will try another IP address.
ctype(3) isspace: invalid input: -62
[1]   Abort trap (core dumped) dillo
packardbell_netbsd$

This one at least is easy to explain. NetBSD 11 picks up on applications calling the C isxxx functions like isspace() here with arguments that cause undefined behaviour. So the bug here is in dillo which appears to think that passing -62 to that function is valid (which it is not).

From memory there is an environment variable you can set to make the system tolerate these errors but the real fix here is to get dillo fixed if possible as on pretty much all systems passing -62 to that function could cause a crash or other horribly random behaviour anyway.

I suspect if you do man ctype it will tell you what the workround environment variable is.

Mike



Home | Main Index | Thread Index | Old Index