I've been testing copyparty on NetBSD 10.1
https://github.com/9001/copyparty

It runs just fine, but ignores signals such as SIGINT, so you can't quit without kill -9.

The same versions of copyparty and python work as expected on FreeBSD 14.3
and OpenBSD 7.8, so there's something a bit funky about NetBSD's signal handling here.

If you ctrl-Z and send it a SIGTERM, it wakes up and runs in the background.

A bit of ktrace showed:
   766    766 python3.12 PSIG  SIGINT caught handler=0x7b0e18cc13f7 mask=(): 
code=SI_USER sent by pid=14818, uid=0)
   766    766 python3.12 CALL  setcontext(0x7f7fff2c21c0)
   766    766 python3.12 RET   setcontext JUSTRETURN

It's easy to recreate:

1) Make sure you have python 3.12 installd
2) 
fetchhttps://github.com/9001/copyparty/releases/latest/download/copyparty-sfx.py
3) Run python3.12 copyparty-sfx.py
4) Wait until running and hit Ctrl-C

--
Stephen

Reply via email to