Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ChazTuna opened this issue Mar 21, 2024 · 2 comments
Open

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

ChazTuna opened this issue Mar 21, 2024 · 2 comments

Comments

@ChazTuna
Copy link

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
Copy link
Author

ChazTuna commented Mar 22, 2024

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants