-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Internal error: Calling AppConfig::save() from a worker thread! #7839
Comments
The check relies on a specific feature: Naming of threads. The threads are named for debugging purposes. I wonder whether your specific issue of running under virtual box would break naming of threads, or whether for some reason PrusaSlicer.ini is really being saved by a worker thread, which would be an error. Since #4961 we did not ever hear of this issue. |
I just tested in a Windows 11 sand box (it is a virtual machine by Microsoft, sharing the system binaries between host and virtual machines) and I was not able to reproduce your issue. |
Looks like the issue in #4961 is caused by Linux compatibity layer for BSD, which does not implement thread naming API correctly. |
It’s pretty weird, the only unusual things in my case are the VM and the lack of network, and I can’t see why either of those would mess up thread naming or cause the wrong thread to try to save. Lack of network feels to me more likely to be the problem though. Just wanted to mention that this issue is a a low priority for me so I don’t mind closing if you can’t reproduce it and nobody else ever sees it. |
Our tester @FidelCapo tried to reproduce with disconnected network with no success. |
Ok, since you can't reproduce this and I'm not using the troublesome VM any more I'm happy to close this issue and forget about it. Thanks for your help and debugging :-) |
I'm seeing potentially similar issue: I've built vanilla 2.4.2-rc1 on Windows 11 with build-win.bat, and getting this exact error right after PrusaSlicer start-up -- not able to even click something before it's crashing. It's all done inside VirtualBox VM, will probably switch to a native Windows machine. |
No issue running https://github.com/prusa3d/PrusaSlicer/releases/tag/version_2.4.2-rc2 in Windows Sandbox (it is a kind of virtual machine). I asked @YuSanka to test on her Windows 7 virtual machine. |
I stumbled into the same problem, running Virtual Box 6.1 under Linux Mint Vanessa. The fix was to turn off 3D acceleration. |
Hopefully fixed with 8472287 |
I encountered the same issue today. And I'm running native Windows 11, and the 2.5.0+win64 version. |
@SweAcMe The problem should already be fixed in 2.6.0-alpha4. Can you please confirm that? |
@lukasmatena I can confirm that the issue is no longer present in the 2.6.0-alpha4. My issue was previously experienced with 2.6.0-alpha3 |
@niklasmeyn Thanks for the update. |
Confirmed! |
Dell precision 14" w/ nvidia gpu - same error - this worked if I forced it over to integrated graphics. |
Latest alpha build fixed this issue for me. Moved to a new PC, launching 2.5.0 crashes on startup, but latest 2.6.0 alpha (as of 3/7/2023) launches as expected. The workaround for 2.5 to change to to run on the integrated video card lets the application launch. |
I'm now experiencing this same issue with a vanilla windows 10 install on an HP Zbook Fury G8, only after updating to 2.5.2. I now can't launch PS at all. Going to try upgrading to the 2.6 alpha but that's not ideal for its own reasons. |
Just adding another comment for same issue. Internal error: Calling AppConfig::save() from a worker thread! Windows 11 pro on brand new Dell Inspirion. Have tried adjusting NVIDIA graphics settings to no avail. Going to try 2.6 alpha next. |
I can confirm that using the Windows graphics settings (as SweAcMe commented) fixed the issue for me. Using the Nvidia Control Panel to force integrated graphics does not work. 2.4.58.5. |
That is SuperSlicer version number. |
I also get the same error. |
@AmshaSharam We are not interested in SuperSlicer's bugs, unless they are also reproducible in PrusaSlicer 2.6.0. |
In my case, it affected both Superslicer and Prusa Slicer (version 2.5.2). I just installed PS 2.6.0 and I do not see the same error. |
Version
2.4.0+win64
Operating system type + version
Windows 10 Pro, 21H1, OS build 19043.1466
3D printer brand / version + firmware version (if known)
Not applicable, I don't get as far as printing anything or setting up settings.
Behavior
When I close the application or change from simple to advanced mode, a dialog pops up with the message "Unhandled unknown exception: terminating the application.". After dismissing this, I get a "PrusaSlicer Error" dialog with the message "Internal error: Calling AppConfig::save() from a worker thread!". Expanding "Details" just shows the same error twice.
Steps to reproduce:
Expected results: Not seeing an error and my config being saved
Project File (.3MF) where problem occurs
Not applicable, happens when I open the application with no settings and a blank build plate.
Other
The text was updated successfully, but these errors were encountered: