Problem: after building, and starting a config, Hercules would immediately show this error after starting:
HHC00100I Thread id 0000754ea2ffb6c0, prio -1, name 'console_connect' started
*** bit out of range 0 - FD_SETSIZE on fd_set ***: terminated
Version information:
HHC01413I Hercules version 4.10.0.11676-SDL-DEV-gad45f430
-
Ubuntu 24.04 / kernel 6.8.0:
-
uname -a
Linux my-vm 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
-
ldd (Ubuntu GLIBC 2.39-0ubuntu8.7) 2.39
Fix for building from hercules-helper (I've already submitted an issue to them as well):
cd ~/herctest
export CFLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
~/hercules-helper/hercules-buildall.sh --auto --flavor=sdl-hyperion
In Ubuntu 24.04 after turning off fortification, Hercules now runs.
Long-term might need to use the poll() functions instead of the select() functions in the console thread.
YMMV.
Happy to provide additional details if necessary.
Problem: after building, and starting a config, Hercules would immediately show this error after starting:
Version information:
HHC01413I Hercules version 4.10.0.11676-SDL-DEV-gad45f430Ubuntu 24.04 / kernel 6.8.0:
uname -a
Linux my-vm 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linuxldd (Ubuntu GLIBC 2.39-0ubuntu8.7) 2.39
Fix for building from hercules-helper (I've already submitted an issue to them as well):
In Ubuntu 24.04 after turning off fortification, Hercules now runs.
Long-term might need to use the poll() functions instead of the select() functions in the console thread.
YMMV.
Happy to provide additional details if necessary.