-
Notifications
You must be signed in to change notification settings - Fork 4
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
Segmentation fault in Fedora 39 #17
Comments
I am also getting those crashes, the I think the cause of these crashes is the fact that ltchiptool does GUI operations from multiple threads, which GTK does not like (this might also be the cause of macOS crashes). I quickly added this piece code to a few places: import threading
print("PluginsPanel.__init__, get_native_id=", threading.get_native_id()) And from the logs I can see that OnWorkStopped is called from a different thread (and it also manipulates the GUI):
|
Good point. That might have been not an issue on Windows, and since I'm developing on Windows I never noticed such things - all this is actually my first go at wxPython and GUI apps. It should be possible to convert these worker thread callbacks so that they execute on main thread. I think something similar has been implemented in another class already; I'm not sure where exactly. Something similar has been implemented here: |
Hi, this got closed automatically. If you can, let me know if the issue is solved (at least partially). Clicking on the Plugins tab is still a known issue on Linux. |
Hi, thanks for your hard work. It is appreciated.
I am wanting to flash a module using my linux laptop. But I am hitting an assertion here.
Using Fedora 39 and using all pypi packages. The GUI first starts normally, but gets this segmentation fault when switching tabs.
Using v4.10.1
Would appreciate if you could take a look. (As a suggestion maybe consider a flatpak in the future?)
The text was updated successfully, but these errors were encountered: