So to sum up the experienced behaviour of discord user "mingw":
- start application with joypad already connected: works fine
- start application without joypad attached: works until you connect/disconnect/connect/... the joypad, it then randomly receives an "EAV" (crash) - outside of the BlitzMax-debugger-scope.
- the crashing "sample file" is mod/pub.mod/freejoy.mod/doc/joycount.bmx
- happens on Windows OS

(screenshot of user mingw)
freejoy-sources seem to handle "errors" already (returning 0 then) so something "further away" seems to crash.