Giter Site home page Giter Site logo

Comments (5)

Andre-Satorres avatar Andre-Satorres commented on June 24, 2024

Duplicate of #10833?

from obs-studio.

Andre-Satorres avatar Andre-Satorres commented on June 24, 2024

Btw I just tested it here and I didn't even had to stream to YT, just shutdown Windows 11 with OBS still open.
Then, when the PC restarted, I open OBS again, but received this dialog: (it is in portuguese BR)

"Safe Mode
OBS Studio did not shut down properly last session.
Would you like to start in safe mode (third-party plugins, scripts, and websockets disabled)?
Run in safe mode / Run in normal mode"

image

from obs-studio.

Fenrirthviti avatar Fenrirthviti commented on June 24, 2024

Possibly, there's not a lot of information in 10833 on what is causing it. Might be related, might not.

from obs-studio.

Andre-Satorres avatar Andre-Satorres commented on June 24, 2024

image

I think it is related to this logic:
On obs-app main, a sentinel file is created. But it is deleted only if the function run_program() ends, which I believe might only happen if the window is closed (on click)
image

Then, next time application is started, the sentinel file already exists, and unclean_shutdown is set to TRUE, and trigger the message present in the log, and also in the #10833 title.
image

We should get a product decision: if this message is annoying and we want to get rid of it, let's think on a different approach rather than this sentinel file.

I believe we should put this "delete_safe_mode_sentinel" as required action on application closure

from obs-studio.

riidefi avatar riidefi commented on June 24, 2024

We should get a product decision: if this message is annoying and we want to get rid of it, let's think on a different approach rather than this sentinel file.

In the case of this issue (#10848), it was not merely a spurious an error dialog upon subsequent application launch (perhaps a false positive), but a genuine application crash (with an error dialog (invalid instruction executed) and a crash report) during the Windows shutdown process. In particular, an invalid instruction was executed thereby invoking a signal handler. See the attached crash report.

Best

from obs-studio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.