Bug Report OBS crashes almost instantaneously after starting/previewing stream

Cakeofdestiny

New Member
Hello,

I have this problem:
Every time I try to preview/start the stream no matter the source, after 1.5 seconds it will "crash" and pop up the" obs has crashed message". Windows also prompts me that the display driver has shutdown and restarted successfully. After I click yes/no it proceeds to the windows crash dialog and prompts me to close the program. HOWEVER, the stream still works even after windows & obs say "crashed", but I cant interact with it because its "not responding" and if I close the windows crash dialog it just exits.
EDIT: I tried to switch to the OBS multiplatform version, the problem still persists.
Also, here's an album of all of the settings I changed - http://imgur.com/a/SPjyJ

Thanks in advance,

Nir

Technical details:

dmp download: https://drive.google.com/file/d/0B2KwJV3C3Lb7Ulp6ZHR0dDczVnc/view?usp=sharing
Log:
Code:
OBS has encountered an unhandled exception and has terminated. If you are able to
reproduce this crash, please submit this crash report on the forums at
https://obsproject.com/ - include the contents of this crash log and the
minidump .dmp file (if available) as well as your regular OBS log files and
a description of what you were doing at the time of the crash.

This crash appears to have occured in the 'c:\windows\system32\kernelbase.dll' module.

**** UNHANDLED EXCEPTION: e0434352
Fault address: 75B23E28 (c:\windows\system32\kernelbase.dll)
OBS version: Open Broadcaster Software v0.657b
Windows version: 10.0 (Build 10240)
CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz

Crashing thread stack trace:
Stack    EIP      Arg0     Arg1     Arg2     Arg3     Address
1A88ED40 75B23E28 E0434352 00000001 00000005 1A88EE00 kernelbase.dll!0x75b23e28
1A88EDA0 73945645 00000000 ADC9AAE8 6BFBBFB0 1A88EF2C clr.dll!0x73945645
1A88EE3C 73945E34 04FD1600 0D1E0150 04B9A883 B6254E9F clr.dll!0x73945e34
1A88EF04 04B9616B 00000000 00D25108 00D20000 0D284510 <unknown>!0x4b9616b
1A88EF44 04B9B66A 00000000 00000000 07080788 737C28CC <unknown>!0x4b9b66a
1A88F274 04B96790 00000000 6BFBBFB0 04B96750 0D1E0150 <unknown>!0x4b96790
1A88F2B0 049CD31E 0776F418 00000000 00000000 B6254E9F <unknown>!0x49cd31e
1A88F2E0 04A50CDC 00000000 00000000 1A88F348 04FB20AC <unknown>!0x4a50cdc
1A88F320 04B9A3F8 00000000 00A72C08 02D5A140 00000000 <unknown>!0x4b9a3f8
1A88F688 6C1AE1D3 1A88F6E0 00000000 1A88FA24 04A52CEC d3d11.dll!0x6c1ae1d3
1A88F6D4 00A9FA19 74D73744 00000000 74D73720 2F1FA023 obs.exe!OBS::MainCaptureLoop+0x1649
1A88FA2C 00A9CD05 00000000 74D73720 2F1FA023 1A88FA84 obs.exe!OBS::MainCaptureThread+0x5
1A88FA30 74D73744 00000000 49C175F0 00000000 00000000 kernel32.dll!0x74d73744
1A88FA44 77B7A064 FFFFFFFF 77B9D7EB 00000000 00000000 ntdll.dll!0x77b7a064
1A88FA8C 77B7A02F 00A9CD00 00000000 00000000 00000000 ntdll.dll!0x77b7a02f

A minidump was saved to C:\Users\Nir\AppData\Roaming\OBS\crashDumps\OBSCrashDump2015-12-09_9.dmp.
Please include this file when posting a crash report.

List of loaded modules:
Base Address      Module
The encoding bitrate is 2800 kb/s.
All of the other video/advanced/encoding settings are whats recommended for twitch broadcasting.
The main scene is composed of one global source.
The AMD display drivers are updated to the latest beta version.
Hardware:
i7-4790
R9 390
8GB RAM
 
Last edited:

R1CH

Forum Admin
Developer
Your CLR / .NET installation is crashing. As a workaround you can remove the CLR host plugin from OBS.
 

Cakeofdestiny

New Member
Your CLR / .NET installation is crashing. As a workaround you can remove the CLR host plugin from OBS.
I have never Installed any plugin in OBS and searching the word clr in the obs folder doesn't give any results.
However, I don't seem to recall installing microsoft's .net framework on my computer, which version does obs use?
EDIT: I tried installing .net framework 4.5 , however it does say that an higher version is already installed. If I need to provide some more technical info just let me know.
 

R1CH

Forum Admin
Developer
Then something else on your system is using .NET / CLR and is injecting itself into OBS (and subsequently crashing it). Process Explorer might give you an idea of what it is (look at the DLL view of obs.exe).

EDIT: After looking at your dump file, you definitely have some 3rd party hook injecting into OBS which is loading managed DX and causing all kinds of problems. If you're unsure what this program is, search your computer for "EasyHook32.DLL".
 
Last edited:

Cakeofdestiny

New Member
Then something else on your system is using .NET / CLR and is injecting itself into OBS (and subsequently crashing it). Process Explorer might give you an idea of what it is (look at the DLL view of obs.exe).

EDIT: After looking at your dump file, you definitely have some 3rd party hook injecting into OBS which is loading managed DX and causing all kinds of problems. If you're unsure what this program is, search your computer for "EasyHook32.DLL".
Okay I'll try to figure that out when I get back to my computer tomorrow. I'll keep you updated with the results

Nir
 

Cakeofdestiny

New Member
Then something else on your system is using .NET / CLR and is injecting itself into OBS (and subsequently crashing it). Process Explorer might give you an idea of what it is (look at the DLL view of obs.exe).

EDIT: After looking at your dump file, you definitely have some 3rd party hook injecting into OBS which is loading managed DX and causing all kinds of problems. If you're unsure what this program is, search your computer for "EasyHook32.DLL".

It appears that easyhook is "an api that supports hooking unmanaged code to a pure managed one".
However, the file doesn't exist on my computer. Perhaps it is crucial to the operation of OBS? Can you check?
 

R1CH

Forum Admin
Developer
Try using Process Explorer.

Run OBS, run process explorer, then click "Enable Lower Pane / DLL View", enable the "Path" column and click on OBS.exe. This will show you all loaded files in OBS. In this example you can see that aside from standard Microsoft DLLs, "DisplayFusion" has injected itself into OBS.

You'll want to look for any non-Microsoft DLL files. Note that the problem DLL might only load when you press Preview, in which case don't click anything after OBS crashes and continue to look at Process Explorer.
 

Cakeofdestiny

New Member
Try using Process Explorer.

Run OBS, run process explorer, then click "Enable Lower Pane / DLL View", enable the "Path" column and click on OBS.exe. This will show you all loaded files in OBS. In this example you can see that aside from standard Microsoft DLLs, "DisplayFusion" has injected itself into OBS.

You'll want to look for any non-Microsoft DLL files. Note that the problem DLL might only load when you press Preview, in which case don't click anything after OBS crashes and continue to look at Process Explorer.

It worked !
Apparently what caused the issue was my gpu's managment program ("msi gaming app").
It was probably because of the fact that it always displays the fps and temperatures at the top left corner of the screen (the process was called capture for some reason).
I simply had to close it and now OBS works flawlessly.
Thank you R1CH, Have a wonderful day :)
 

R1CH

Forum Admin
Developer
Could you post a screenshot of the DLL names? I'd like to add a check for this in future versions of OBS.
 
Top