Bug Report OBS Crashes - libx264-142.dll - obs.exe - obsapi.dll

Makkusu

New Member
I have been trying to stream and/or record using for the past couple of months and sometimes when I am trying to do this I get crashes. Weird thing is that sometimes my game crash and sometimes OBS crashes. I've tried to TS my machine and check my raid and sdds and my ram but all tests came out with no erros, ended up running memtest for about 12hrs.

my specs are 8gb 2133mhz cas 9, 240 neutron gtx ssds in raid 0 and an external 1TB seagate USB external (this is where my files are saved) STBX1000201, 3770K @ 4.5 (OC tested 24hrs), GTX 780.


This was my latest error

**** UNHANDLED EXCEPTION: c0000005
Fault address: 000000005901517A (c:\program files\obs\libx264-142.dll)
OBS version: Open Broadcaster Software v0.625b
Windows version: 6.2 (Build 9200)
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz

Crashing thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
000000560538CEB8 000000005901517A 000000567C4BF560 7B7A646E6054387F 000000560538D000 000000560538D480 libx264-142.dll!0x5901517a
000000560538CEC0 00000000000000B5 7B7A646E6054387F 000000560538D000 000000560538D480 00000000000000ED <unknown>!0xb5
000000560538CEC8 000000567C4BF560 000000560538D000 000000560538D480 00000000000000ED 0000000059061E1C <unknown>!0x567c4bf560
000000560538CED0 7B7A646E6054387F 000000560538D480 00000000000000ED 0000000059061E1C 0000000000000000 <unknown>!0x7b7a646e6054387f
000000560538CED8 000000560538D000 00000000000000ED 0000000059061E1C 0000000000000000 0000000000000000 <unknown>!0x560538d000
000000560538CEE0 000000560538D480 0000000059061E1C 0000000000000000 0000000000000000 0000000000000000 <unknown>!0x560538d480
000000560538CEE8 00000000000000ED 0000000000000000 0000000000000000 0000000000000000 0000000000000000 <unknown>!0xed
000000560538CEF0 0000000059061E1C 0000000000000000 0000000000000000 0000000000000000 0000000000000000 libx264-142.dll!0x59061e1c
000000560538D180 000000005908C9D5 0000000000000000 0000000000000000 0000000000000000 0000000000000000 libx264-142.dll!0x5908c9d5
000000560538D5C0 000000005908E636 0000000000000000 0000000000000000 0000000000000000 0000000000000000 libx264-142.dll!0x5908e636
000000560538D960 000000005909D98B 000000567836EE60 00000000590A0333 000000567836EED8 0000000058FDECE9 libx264-142.dll!0x5909d98b
000000560538F7E0 0000000058FD963E 000000567836EE60 00000000FFFFFFFE 0000000000000000 00007FFEC07E1FD2 libx264-142.dll!0x58fd963e
000000560538F840 000000005909FE1D 000000567C6F0020 0000000000000000 0000000000000000 0000000000000000 libx264-142.dll!0x5909fe1d
000000560538F890 00000000590A0163 00000056782AE9F0 0000000000000000 0000000000000000 0000000000000000 libx264-142.dll!0x590a0163
000000560538F8C0 00007FFEC07F9967 00007FFEC086FA10 000000567C6F0020 0000000000000000 0000000000000000 msvcrt.dll!0x7ffec07f9967
000000560538F8F0 00007FFEC07F9A0D 0000000000000000 0000000000000000 0000000000000000 0000000000000000 msvcrt.dll!0x7ffec07f9a0d
000000560538F920 00007FFEC0D416AD 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7ffec0d416ad
000000560538F950 00007FFEC11D34A5 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffec11d34a5

This one another one I had

**** UNHANDLED EXCEPTION: c0000005
Fault address: 00007FFCE40BEC8F (c:\program files\obs\obsapi.dll)
OBS version: Open Broadcaster Software v0.624b
Windows version: 6.2 (Build 9200)
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz

Crashing thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
000000E105C6F7F0 00007FFCE40BEC8F 000000E16BAA3600 000000E16BAA3668 0000000000163776 00000000001635DC obsapi.dll!FastAlloc::_Free+0xef
000000E105C6F820 00007FFCE40AED67 000000E169E70800 000000E105C6F970 00000000001635E6 0000000000000000 obsapi.dll!AudioSource::GetBuffer+0x47
000000E105C6F870 00007FF68AEE71A0 0000000000000001 0000000000006915 0000000000006ACE 000000000000052B obs.exe!OBS::MainAudioLoop+0x460
000000E105C6FA10 00007FF68AEE67F1 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::MainAudioThread+0x11
000000E105C6FA40 00007FFCFBED16AD 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7ffcfbed16ad
000000E105C6FA70 00007FFCFDFF4629 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffcfdff4629

and the one from obs.exe

**** UNHANDLED EXCEPTION: c0000005
Fault address: 00007FF7BB915F8B (c:\program files\obs\obs.exe)
OBS version: Open Broadcaster Software v0.624b
Windows version: 6.2 (Build 9200)
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz

Crashing thread stack trace:
Stack EIP Arg0 Arg1 Arg2 Arg3 Address
000000467213F880 00007FF7BB915F8B 0000004678A7F90C 0000004671F66E20 0000004600000800 00000000000001FD obs.exe!MDCT+0x29b
000000467213F9B0 00007FF7BB913A26 000000000000AC44 0000004677FA4040 0000000000003E80 0000004677FA4A88 obs.exe!FilterBank+0xaf6
000000467213FA10 00007FF7BB90BFB9 0000004677FA4040 000000460D41C000 0000000000000800 0000004671C71802 obs.exe!faacEncEncode+0x8b9
000000467213FAE0 00007FF7BB898ECA 00000000022C98F1 0000000000000001 0000004671C70800 000000467213FBD8 obs.exe!AACEncoder::Encode+0x1ba
000000467213FB40 00007FF7BB8B754D 0000000000000001 00000000000033AE 000000000000A8D2 00000000000001B9 obs.exe!OBS::MainAudioLoop+0x80d
000000467213FCE0 00007FF7BB8B67F1 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::MainAudioThread+0x11
000000467213FD10 00007FFF473216AD 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7fff473216ad
000000467213FD40 00007FFF483D4629 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7fff483d4629

I first thought it was my ram and I ran memtest for about 12hrs with no error. I have not tried to uninstall since I read a couple of bug reports and answers that libx264-142.dll be buggy, i made sure that CFR was checked like it was advised. Most of the errors I have are from libx264-142.dll. As soon as OBS crashes or my game crashes I stop using OBS or I just simply close it because I want to game lol.

I had the error today and I decided to restart OBS and try to record anyways. I recorded for 28 mins without issues. I have also recorded for hours without issues. But I get discouraged and most of the time when I get a crash whether it is OBS or my game while ruining OBS I simply stop streaming and/or recording.

What I find curios is that sometimes my game crashes too. But I have game for hours without streaming or recording and I never have my games crash. The only link for my crashes is when OBS is running. I am not a software guy, I don't know if there is a correlation between the crashes.

I will upload a file with the dumps and with the log of my successful recording without any crashes on a zip file. I will take any advice and I will answer any question you might have.
 

Attachments

  • obsdumps.zip
    763.8 KB · Views: 128

Makkusu

New Member
These are definitely stability related crashes. You likely have bad RAM or an overheating / overclocked CPU or weak power supply. It may only exhibit problems under heavy load. Try with this program to verify your system is stable:

https://obsproject.com/forum/threads/how-to-test-your-cpu-memory-with-linx.5361/

Those were my thoughts exactly. I don't know if you read my post completely, I did mention I ran memtest recently for 12hrs or close to that, do not remember correctly. My cpu is overclocked also, also mentioned in the post BUT I only testes stability when I overclocked, that was close to a year ago. I will use prime95 for 24hrs. I monitor my temps closely and they don't go above 65ishC (stress testing around 80/85 that i remember), my cooler is an aio h2o unit from corsair, h100i with a pair of nf-f12s. I will use linX and follow the rest of the guide. Any instability for minimal it might be I want it gone.
I forgot to mention I did use OBS previously without incidents. They started recently after and update. That is why my first thought was to test my ram. I will find sometime to run it for at least 24hrs.
I didn't mention my PSU since I can also monitor it because it digital and I am really positive it is good. It is a corsair ax860i. I have an outlet meter and also software to check the readings since the psu allows it.
Thanks for the advice. I will post the results.
 
Last edited:

Makkusu

New Member
I ran one test without errors following the guide for my CPU type. All 8 cores, all ram, 10 minutes. I also monitored my temps, my hottest core got to 87c.

XVIPvZO.png


And I have to apologize for the wrong into. I ran memtest for 9hrs43mins for 8 passes / 0 errors. This was about 3 weeks ago.

5NhSFJ1.jpg


Where do we go from here ?
 
Last edited:

Makkusu

New Member
I ran a second test with a couple more monitoring software available. I tried to find the peak temp of 87 and snap a screenshot. Happened about the 5 minute mark as you can see and also a screen shot with the test results, no errors again. When my 780 is working it draws about 240-250w, that will put my power consumption around the 500w range give or take, this is the only thing not visible since the gpu is not being tested in any way.

FqoXwep.png


SLn5nnJ.png
 

Makkusu

New Member
Does the 32 bit OBS also exhibit the same problems?

Tbh I have not tried obs 32bit at all. I can if you need me to. Any specific settings you want me to try? Also I forgot to mention (but is in the OS version section in the log) I am running Win8.1 Pro 64bit. Other than that my 'specs' are the same from the first post.
 

R1CH

Forum Admin
Developer
Just try the same thing in the 32 but OBS. The 64 bit version gives no real benefits.
 

Makkusu

New Member
I crashed both times I tried to run, crashes happened really quickly. But there was no window telling me OBS crashed and there was no crash report. This is for the 32bit client. Game was fine tho, no low fps or anything that would indicate that I was having an issue in game and temps were under 75c. Both times OBS crashed and my game was good before and after.
The 32bit OBS seemed to crash faster than the 64bit. I did notice something in the regular logs of the 32bit version. At the end I had this lines

00:59:14: SharedTexCapture hooked
00:59:16: Using RTMP service: Twitch / Justin.tv
00:59:16: Server selection: rtmp://live-ord.justin.tv/app
00:59:16: Interface: Intel(R) 82579V Gigabit Network Connection (ethernet, 1000 mbps)
00:59:16: Completed handshake with rtmp://live-ord.justin.tv/app in 253 ms.
00:59:17: SO_SNDBUF was at 65536
00:59:18: GraphicsCaptureSource::NewCapture: eliminating old capture
00:59:18: SharedTexCapture hooked
00:59:19: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 467968)
00:59:23: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 467968)
00:59:27: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 524288 (buffer: 3281 / 467968)
01:00:51: RTMPPublisher::SocketLoop: Stalled for 26756 ms to write 16395 bytes (buffer: 0 / 467968), unstable connection?

2 of the logs had that stalled line. I was trying to stream and record at the time. I checked both the file in my hard drive and the file saved in my computer and also what was the last thing I saw in OBS. The moment OBS crashed was after the file and the stream file ended. They both ended at around 1minute 6 seconds but the last thing I saw in OBS was after that. I did not see any dropped frames in the OBS screen. Like the log says, there were around 26 seconds that were not 'written'.
 
Last edited:

Makkusu

New Member
I decided to make sure I uninstalled and re installed OBS and check windows for error. Uninstalled OBS, removed the folders from program files (both 32bit and 64bit folders) and my appdata/roaming/obs folders completely, used ccleaner to remove and clear my registry from anything (just in case). I also did a system file check, i found errors that were not fixed by it, checked the logs and found the a couple of lines with the error pointing to the file prncacla.inf and had to use dism to fix the issue, also uninstalled my asus xonar drivers for the latest uni xonar driver since their new release supports win 8.1. I also checked the rest of my drivers to make sure they were up to date but I had to make no more changes.

Then I decided to give it another try. It seems to be working, I streamed and recorded today for a couple of hours without crashes from OBS or LoL (the game I was streaming) and with my settings (all of them mostly default) my CPU was around 65% load, it never reached 100%, closest was around 85%. Temps were really good, around the 60c.

I don't know what fixed the issue (or at least it seems to be fixed) for me since I took so many steps at the same time. Here is my latest log. I streamed and recorded for over 1hr. I did notice some problems with the client for lol but I already posted my experience in another post.

Thanks for your time, if there is more data I can give you let me know. Great piece of software you guys have.
 

Attachments

  • 2014-06-27-2111-49.log
    13.9 KB · Views: 32

Makkusu

New Member
Nvm... I got crashes today. both 32bit and 64 bit. The 32bit client just crashed with no prompt. I was able to get a screen shot a few secs after it happened with my task manager up on the performance tab, you can see my cpu utilization is around 50%ish. I really want to stream and record and I like OBS, it didn't used to give me this issues until recently.

Mop4ohu.png
 

Attachments

  • OBSCrashDump2014-06-30_2.dmp
    806.6 KB · Views: 71
  • OBSCrashLog2014-06-30_2.txt
    2.1 KB · Views: 27
  • 2014-06-30-0102-08.log
    3.9 KB · Views: 27

R1CH

Forum Admin
Developer
Try running LinX for several hours, I still think this is some kind of system stability problem.
 

Makkusu

New Member
I set LinX to run for 500 minutes with all ram. Ran for the full amount of time with no errors. I have tested my OC with prime95 for 24hrs prior to this with no crashes but it was a long time ago.

78c2p8q.png

This test had my cpu usage at 100% I am pretty sure 100% of the time it was running. I checked every 2hrs opening the task manager and also to check my temps. OBS + what ever I am capturing never goes above 65%ish. I don't see how a stress test can't manage to destabilize my pc in 8+ hours bout OBS can in 20 minutes. When I first started to get this crashes I also tested my ram for 9hrs and 43 mins, so I know my ram is good too.

I know most software people are bent around blaming hardware but I think at this point there must be something else that OBS doesn't like and it must be software. That being said I don't want you to think I am insulting you in any way, I am not a software expert (not much education on it, just a few college courses) and I will run any tests you want/need me to run. Are there any incompatibilities with other programs that you might now? I can give you a list of everything I have installed. I want to help in any way I can.

I could send you my specs and more info since I can make a text file with speccy but I wont post it or uploead it here since it has some delicate info, I can erase the most obvious ones but you never know, I will feel safer if I can email you that file directly.
 

Attachments

  • LinX 06-30-2014 2-09-00 PM.log
    26.2 KB · Views: 24
  • LinX 06-30-2014 10-42-43 PM.png
    LinX 06-30-2014 10-42-43 PM.png
    17.2 KB · Views: 33
Last edited:

Hopewithinchaos

Forum Moderator
Overclocks are easy enough to restore. Just copy down the settings from the BIOS, and restore the proper CPU ratio and clock speed. Then see, if at stock, OBS still crashes. Also, I once had that same crashing error. It was my RAM. And I had to use RAMTest for 24 hours to find the issue, as the Ram glitched at roughly 20 hours in. So, If you've got the time, Run it again, or do as I suggested. Might work out for you.
 

Makkusu

New Member
Overclocks are easy enough to restore. Just copy down the settings from the BIOS, and restore the proper CPU ratio and clock speed. Then see, if at stock, OBS still crashes. Also, I once had that same crashing error. It was my RAM. And I had to use RAMTest for 24 hours to find the issue, as the Ram glitched at roughly 20 hours in. So, If you've got the time, Run it again, or do as I suggested. Might work out for you.

About a month ago I think it was, once I first experience the problems, I restored my bios to its default settings and OBS still crashed. Since it is the only program that seems to crash I restored my OC profile and been using my pc without issues.

I've run memtest for 24hrs, same as prime95 for 24hrs when I was setting my OC on this machine about a year or so ago. I understand from them to now hardware can break. I'll start running memtest86+ now. Ill snap a pic of my monitor in 24hrs.
 

Hopewithinchaos

Forum Moderator
After your test. Just for fun, Try removing one RAM stick from OBS, and see if it crashes. If it does, swap it out, and have the other one in by itself to see if it does the same thing.
 

Makkusu

New Member
After your test. Just for fun, Try removing one RAM stick from OBS, and see if it crashes. If it does, swap it out, and have the other one in by itself to see if it does the same thing.

I am sure you meant remove one stick of Ram from my mobo, not from obs, that is only... logical.

party+spock_13b98d_3841282.jpg

Ill do that for both even if with one obs manages not to crash for the sake of TSing.
 

Makkusu

New Member
Pass 18, errors 0, 24hrs.

gfWEkiV.jpg

Ill do the individual ram stick test on my 'mobo' later on during the day and I will post my results.
 
Last edited:

Makkusu

New Member
pDWOzGH.jpg

I noticed it was almost done with the last pass so I let it finish, pass 19, errors 0, 24 hrs. And below is so you guys can see that all my info matches.

pEYjPCK.png
 
Last edited:
Top