CatxFish / motion-effect

obs-studio plugin for source item animation
https://obsproject.com/forum/resources/motion-filter.668/
GNU General Public License v2.0
212 stars 38 forks source link

Crashing when exit when using motion-effect and Stream Deck #20

Open cattywampus04 opened 5 years ago

cattywampus04 commented 5 years ago

Hey there, I have started having a problem when exiting OBS and crashing. When I close OBS, if I have used the motion effect at least once, it will crash on exit and leave a crash report.

I can open OBS, use it as usual, using the Stream Deck as well and close OBS and it will exit normally if I have not triggered a motion-effect on a source.

If I do trigger a motion effect, either by using the Stream Deck or by clicking forward/backward in the filter for the scene that has object I wan't to apply the motion effect to, when I close OBS, it will crash with the error message in the screenshot.

I uninstalled the Stream Deck software as "streamdeckplugin.dll" is the file that is causing the crash in the crash report. When doing this, I was able to trigger motion effects using the forward/backward button and then close OBS properly without it crashing.

This has only just started recently. Everything seems to work as normal regardless - would be nice for it not to crash though when closing.

I have attached the OBS crash report and log.

2019-05-08 02-29-13.txt Crash 2019-05-08 02-27-59.txt 2019-05-08 02_28_05-OBS has crashed!  STUPC

dungi commented 5 years ago

I have the same issue.

Revvilo commented 4 years ago

Having the same issue but do not have a Streamdeck, ~although I am experiencing the same behaviour where closing works fine if I haven't triggered a motion animation, but having triggered one before closing will crash.~ Edit: OBS crashes even when no effect was triggered. It seems that the longer OBS has been open, the higher the chance of a crash upon close. Crash report: https://pastebin.com/2eZ8Lv46

hazi98 commented 4 years ago

Same problem, obs crashes, no streamdeck whatsovever.

The last adressess in the thead are: w32-pthreads.dll!pthread_mutex_unlock+0x2a obs.dll!signal_handler_signal+0x275 obs.dll!update_item_transform+0x442 motion-filter.dll!0x7ffb2ba62db9