Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Closing Go or Collection windows crash the editor if OBS (rec software) is running. #2037

Closed
Gmanicus opened this issue Jul 5, 2018 · 9 comments
Labels
serious A serious although non-blocking issue

Comments

@Gmanicus
Copy link

Gmanicus commented Jul 5, 2018

I'm running into an issue where Defold shuts down when hitting the (X) to close a script, sprite, tilemap, or etc window. You can see it multiple times in my second Twitch stream: https://www.twitch.tv/videos/281007054## specifically at 00:39:49

Windows doesn't report that it crashed, so it seems that Defold is just shutting down immediately.

@erikangelin-king
Copy link
Contributor

Hi @GamingBud! Never seen that one before. What version are you on? (sha's from Help>About)
Is this on Windows 10?

@erikangelin-king erikangelin-king added the serious A serious although non-blocking issue label Jul 5, 2018
@Gmanicus
Copy link
Author

Gmanicus commented Jul 8, 2018

@erikangelin-king My OS is Windows 7. I was streaming with OBS at the time, and had never experienced it before, so the video capturing software may have caused the issue. I am running 1.2.128 atm.

@Gmanicus Gmanicus changed the title Nearly missing (X) to close item window shuts down Defold Hitting (X) to close item window shuts down Defold Jul 12, 2018
@Gmanicus
Copy link
Author

Gmanicus commented Jul 12, 2018

I ran into this again, and it happened every time I tried to close a window. I don't think I'm missing. I can't exactly check because the footage has the mouse cursor offset incorrectly for some reason.

I was able to reproduce this, and it IS OBS that causes the issue. I tried closing multiple windows with OBS recording, not recording, and not running. I only had the issue while OBS was ON. It didn't matter whether I was recording or not.

EDIT: A second interesting fact that I found is that it doesn't apply to scripts. Scripts close just fine while it is running.

I've attached what I believe is the error report. It's named hs_err_pid8688.log.
hs_err_pid8688.log

@Gmanicus
Copy link
Author

@erikangelin-king Updated to version 1.2.132 of the editor. The issue appears in this version too.

@Gmanicus Gmanicus changed the title Hitting (X) to close item window shuts down Defold Closing Go or Collection windows crash the editor if OBS (rec software) is running. Jul 12, 2018
@erikangelin-king
Copy link
Contributor

Thanks for digging into this issue @GamingBud! Sadly (?) we're all off for vacations a couple of weeks so this will have to wait until we're back in August. From the log you gave me it looks like an opengl issue, we're deleting a context when you close the tab. I'm guessing you've already tried updating drivers?

@Gmanicus
Copy link
Author

@erikangelin-king No problem, you guys have a great vacation! I recently updated DirectX, if that's what handles OpenGL on a Windows system? I checked, and my graphics card drivers are up-to-date.

@Gmanicus
Copy link
Author

Gmanicus commented Nov 1, 2018

Here's the error I got when running Defold in OpenGL debug mode while OBS was recording:

Build time2018-10-23T12:10:59.402812
Defold channeleditor-alpha
Defold editor shad5be48ff07d1de1f85f3d6a71378f812e0232cb5
Defold engine shaeedf9a7f2aa650143bb7169bf7e209cba80ef527
Defold version1.2.139
Errorfe38eeb92f12461ab7226e9be520f02d
GPURadeon(TM) RX 460 Graphics
GPU Driver4.5.14523 Compatibility Profile/Debug Context 24.20.12019.1010
Java version1.8.0_102-b14
OS archamd64
OS nameWindows 7
OS version6.1

@Gmanicus
Copy link
Author

Gmanicus commented Nov 5, 2018

Worked with @erikangelin-king on this issue. Everything's working as expected now, but I'll wait until the next main editor push to close this issue.

@Gmanicus
Copy link
Author

Gmanicus commented Nov 21, 2018

Tried to reproduce the issue several times, but I haven't run into it since the discussion with Erik. Thanks for solving my issue @erikangelin-king!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
serious A serious although non-blocking issue
Projects
None yet
Development

No branches or pull requests

2 participants