mfgarvin / DOC_Mapboard

3 stars 0 forks source link

Segmentation Fault on KeyboardInterrupt #3

Closed mfgarvin closed 2 years ago

mfgarvin commented 2 years ago

Likely related to #2 I've attempted to catch KeyboardInterrupts at various points in the code (mainly in threads), though I'm unable to catch them and quit the code cleanly. I've probably implemented threading incorrectly.

Upon Ctrl-C:

`Exception ignored in: <module 'threading' from '/usr/lib/python3.9/threading.py' Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 1428, in _shutdown lock.acquire() KeyboardInterrupt: Segmentation fault >

tcgarvin commented 2 years ago

I don't know how to do this cleanly either. Every time I google it, it seems like too much work

On Wed, May 25, 2022 at 12:40 PM Michael Garvin @.***> wrote:

Likely related to #2 https://github.com/mfgarvin/DOC_Mapboard/issues/2 I've attempted to catch KeyboardInterrupts at various points in the code (mainly in threads), though I'm unable to catch them and quit the code cleanly. I've probably implemented threading incorrectly.

Upon Ctrl-C:

`Exception ignored in: <module 'threading' from '/usr/lib/python3.9/threading.py' Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 1428, in _shutdown lock.acquire() KeyboardInterrupt: Segmentation fault >

— Reply to this email directly, view it on GitHub https://github.com/mfgarvin/DOC_Mapboard/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGQTDJDKQSNYLZXDF3TBNTVLZJW5ANCNFSM5W5XQAWQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>