Bug Report Webcam Crashing OBS

Wehs

New Member
I'm running OBS on Windows 7 64bit (bootcamp Macbook Pro). Macbook's have a build-in Facetime camera, which up until recently, worked fine as a webcam in OBS. Lately however, this source will crash OBS completely. I believe that the webcam is the root of the problem, because if I preview or stream with a scene that does not contain my webcam, I will not have any problems. However, once I introduce the webcam into the scene, trying to preview or stream the scene with the webcam will crash OBS. I do not get any kind of error message; it just crashes. The webcam driver is updated, and as I said earlier, was working fine up until recently. Below I'll post the log of a blank scene containing only my webcam, to which afterward it crashes if I try to preview or stream.

Code:
Open Broadcaster Software v0.47a - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz
CPU Speed: 2000MHz
Physical Memory:  4006MB Total, 2216MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 6490M
  Video Adapter Dedicated Video Memory: 257769472
  Video Adapter Shared System Memory: 1832247296
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device 
------------------------------------------
Using desktop audio input: Speakers (2- Plantronics GameCom 780)
Using 5.1 surround speaker setup
------------------------------------------
Using auxilary audio input: Microphone (2- Plantronics GameCom 780)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
    device: FaceTime HD Camera (Built-in),
    device id \\?\usb#vid_05ac&pid_8509&mi_00#6&2ba10b8b&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 1280x720 - 1280x720, fps: 10-10, fourCC: 'YUY2'
 

Nyarlathotp

New Member
I am having the same issue, I can open all scenes that don't have a my global source cam, but the minute I open a scene that has a cam added the program shuts completely down.
 

Wehs

New Member
Here's a little update. I went into the program files and deleted the 'Direct Show' plugin. When I went back into OBS, I added the webcam to see if it would crash OBS. It did, but this time I got an actual error message, contrary to what normally happens with the plugin, where it just closes automatically. Here's the error message I got.
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
http://www.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:\program files (x86)\obs\64bit\obs.exe' module.

**** UNHANDLED EXCEPTION: c0000005
Fault address: 000000013F3A9104 (c:\program files (x86)\obs\64bit\obs.exe)
OBS version: Open Broadcaster Software v0.47a
Windows version: 6.1 (Build 7601) Service Pack 1

Crashing thread stack trace:
Stack            EIP              Arg0             Arg1             Arg2             Arg3             Address
000000001B03F308 000000013F3A9104 0000000000000000 0000000000000000 3F80000000000000 4487000044F00000 obs.exe!GlobalSource::Render+0x4
000000001B03F310 000007FEEBCF336A 0000000000000000 0000000000000000 0000000000000000 0000000000000001 obsapi.dll!Scene::Render+0x8a
000000001B03F340 000000013F3BB32D 000000304A7ED001 0000000000000001 0000000000000001 0000000000000001 obs.exe!OBS::MainCaptureLoop+0xbbd
000000001B03F9B0 000000013F3B9BA0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs.exe!OBS::MainCaptureThread+0x10
000000001B03F9E0 000000007684652D 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7684652d
000000001B03FA10 0000000076F3C521 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x76f3c521

A minidump was saved to C:\Users\User\AppData\Roaming\OBS\crashDumps\OBSCrashDump2013-02-07_3.dmp.
Please include this file when posting a crash report.

List of loaded modules:
Base Address                      Module

I'm assuming when using a webcam, and not having this plugin, this is the usual result. However, as I stated in my first post, I was attempting to use my webcam under normal conditions (having the plugin downloaded). When I would try to start up a scene with the webcam in it, it would just unexpectedly close. No crash/error messages, from either OBS or Windows. It would just close. I'm hoping someone has some kind of solution to this; my webcam was working perfectly fine before but just recently it has been crashing my OBS.
 

Grimio

Member
Deleting essential parts of OBS will not help at all ^^
Right now it just crashes before doing anything because OBS doesn't expect anyone to delete parts of it. It's the right behavior.

You could try an older version of OBS again and look if it'll work.
 

Wehs

New Member
Grimio said:
Deleting essential parts of OBS will not help at all ^^
Right now it just crashes before doing anything because OBS doesn't expect anyone to delete parts of it. It's the right behavior.

You could try an older version of OBS again and look if it'll work.

As I mentioned, it did this before I deleted any plugins. The plugin has been restored and still exhibits the same behavior, except it does not give me an error message. More or less did this to show the severity of the issue, as normally with the plugin, having a webcam in a scene and preview/streaming from that scene will crash OBS with no error message. It just simply closes. I will try using an older version of OBS and see if the issue occurs again.
 

Wehs

New Member
UPDATE: My webcam will work in OBS version 0.466a 32-bit. It will not work in 0.466a 64-bit, and will not work in 0.47a 32-bit or 64-bit. This still presents an issue for my 64-bit games when using game capture, but I suppose it is a fix. Any reasoning into why this is would be great so that this issue can be resolved for myself and the others with this issue.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I was about to suggest the 32bit version. 64bit drivers tend to be sketchy sometimes, and this has happened before. Game capture fix for the 64bit/32bit thing will be fixed in a future version
 

Wehs

New Member
Jim said:
I was about to suggest the 32bit version. 64bit drivers tend to be sketchy sometimes, and this has happened before. Game capture fix for the 64bit/32bit thing will be fixed in a future version
Do you have any idea as to why my webcam might be automatically crashing OBS though? I'm not sure why it would just work in an old version of 32bit, and not it's 64bit counterpart, as well as the current 32bit and 64bit version.

In my frustration I tried using Xsplit again, and even it can't open up, because I'm assuming my last presentation contained my webcam. So I'm guessing it may be something on my end, but I'm not sure what. My webcam driver is updated, and I haven't done anything different in streaming, so I'm really baffled as to why it's automatically crashing.

I'd love to submit a crashlog, but it doesn't give me one when it crashes. It just closes. Again, here's the log I get when using my webcam.

Code:
Open Broadcaster Software v0.47a - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2635QM CPU @ 2.00GHz
CPU Speed: 2000MHz
Physical Memory:  4006MB Total, 2322MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: AMD Radeon HD 6490M
  Video Adapter Dedicated Video Memory: 257769472
  Video Adapter Shared System Memory: 1832247296
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device 쮀
------------------------------------------
Using desktop audio input: Speakers (2- Plantronics GameCom 780)
Using 5.1 surround speaker setup
------------------------------------------
Using auxilary audio input: Microphone (2- Plantronics GameCom 780)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
    device: FaceTime HD Camera (Built-in),
    device id \\?\usb#vid_05ac&pid_8509&mi_00#6&2ba10b8b&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: YUY2, usingFourCC: false, res: 1280x720 - 1280x720, fps: 10-10, fourCC: 'YUY2'
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Generally because it's device, and devices depend on the drivers and the drivers can have bugs and even devices themselves can have bugs. 64bit is still relatively "new" in the world despite how long it's been in use so there are still some lingering traces of bad code and not using the correct data types which cause these sort of crashes, and that doesn't even include stuff at the hardware level either.

I know of one hardware company right now where I'm absolutely convinced monkeys are coding their drivers. This sort of stuff can be prevalent in the hardware world. It's frustrating as you could possibly imagine from my end, as well as the user's end.
 

Wehs

New Member
Jim said:
Generally because it's device, and devices depend on the drivers and the drivers can have bugs and even devices themselves can have bugs. 64bit is still relatively "new" in the world despite how long it's been in use so there are still some lingering traces of bad code and not using the correct data types which cause these sort of crashes, and that doesn't even include stuff at the hardware level either.

I know of one hardware company right now where I'm absolutely convinced monkeys are coding their drivers. This sort of stuff can be prevalent in the hardware world. It's frustrating as you could possibly imagine from my end, as well as the user's end.
I feel that.

I finally got the webcam to work after using Revo Uninstaller, using advanced settings, then doing a restart or two. I installed 0.47a and used 64-bit mode. The webcam began working again. Regardless, today I'm installing Windows 8 to ensure I won't have any more problems (although I feel new problems may arise lol).

Thanks for all of your help!
 
Top