atlas0fd00m / rfcat

RfCat - swiss-army knife of ISM band radio
Other
560 stars 117 forks source link

Error on exit: "RESETUP set from recv thread" #157

Open ChazTuna opened 7 months ago

ChazTuna commented 7 months ago

In March 2024 Upgraded to use Python 3. Works great with both rfcat -r and python programs. When either exits I get:

RESETUP set from recv thread** followed by for instance: libusb: debug [libusb_get_device_list] or libusb: debug [libusb_get_device_descriptor] Segmentation fault

Anyone else see this too?

ChazTuna commented 7 months ago

Fixed this for my python program using: `import os

os._exit(0)`

Instead of sys.exit(0)

No exit error "RESETUP set from recv thread" Might be brute force to create a graceful exit...

Crsarmv7l commented 5 months ago

Ah I will have to try that. I was just ignoring "RESETUP set from recv thread" because it had no impact on the actual tx/rx.