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

When starting prusa slicer i get this error "Internal Error: Calling AppConfig::save() from a worker thread" #9178

Closed
2 tasks done
paulrobin opened this issue Nov 18, 2022 · 5 comments

Comments

@paulrobin
Copy link

Description of the bug

When starting prusa slicer 2.5.0+win64 I get warning and an error then a termination

first dialog box = Unhandled unknown exception; terminating the application
Snag_e3e34b

second dialog box = "Internal Error: Calling AppConfig::save() from a worker thread"
Snag_e3ffdb

Application exits

happening on both 2.5.0 and 2.4.2

I have tried clearing the ini files, re-installing, removing all files from appdata/local and roaming aswell as the program files. even tried going back to 2.4.2 but getting the same error.

Any other suggestions as to what could be going on here?

Project file & How to reproduce

Unable to get to this as the application exists

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

2.5.0 + 2.4.2

Operating system

Windows 11

Printer model

Voron 2.4

@DragonFinlay
Copy link

Please check #7839, perhaps something there helps. Otherwise please give us as much info about your system (especially hardware) as possible.

@DragonFinlay
Copy link

Author contacted us via e-mail, feedback:

It seems to have been related to the Nvidia control panel settings not being set to "Let the 3D application decide".

image

Closing as resolved.

@bubnikv
Copy link
Collaborator

bubnikv commented Feb 7, 2023

Hopefully fixed with 8472287
Implementing a test whether the current thread is the main (UI) thread
and using it on AppConfig::save() to assert if save is called
from a worker thread.
The old assert was using thread names, which did not always work
on Windows.

lukasmatena pushed a commit that referenced this issue Feb 18, 2023
and using it on AppConfig::save() to assert if save is called
from a worker thread.
The old assert was using thread names, which did not always work
on Windows.
Fixes #7839 #9178 #9370 #9420
@MartynJ970
Copy link

having the same issue. Changing the Nvidia 3D aplication setting does not resolve the issue.

@lukasmatena
Copy link
Collaborator

@MartynJ970 Having the same issue in which PrusaSlicer version? I would be very surprised to see this in 2.6.0-alpha6.

@lukasmatena lukasmatena mentioned this issue Apr 3, 2023
2 tasks
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

5 participants