Closed mattharrison closed 1 year ago
My hunch is that the EOS webcam software exhibits the same mach port exhaustion bug that other applications experienced with our virtual camera plugin (given that most projects all derive from the same DAL plugin example project from GitHub).
Which means that this is on canon to implement the fixes we did to our plugin to reduce it's capability to crash OBS:
https://github.com/PatTheMav/obs-studio/commit/36a86f52176e317638c02deb17156cd5446c68b8
I mention this because the main way to reproduce the crash was to switch between capture devices a few times, but the culprit is always the plugin itself (not the host app, in your case OBS).
Thanks for sharing. I will try and relay it back to Canon. I never saw this behavior after a few years of using Windows OBS and Canon Webcam software.
Thanks for sharing. I will try and relay it back to Canon. I never saw this behavior after a few years of using Windows OBS and Canon Webcam software.
That's no surprise given that Windows and macOS are entirely different beasts and especially this kind of functionality cannot be implemented the same way for both - the way it was done on macOS was akin to a "hack" that vendors used, which is why Apple deprecated it in macOS 12.4 (to be removed in macOS 14) anyway. So Canon and others have to create new/updated camera plugins anyway.
As outlined above, this is very likely an issue with the EOS software. Please report it to Canon.
Operating System Info
Mac OS
Other OS
12.5.1 Monterey
OBS Studio Version
28.1.2
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/64dH7hkQNqOdCRdx
OBS Studio Crash Log URL
No response
Expected Behavior
(I'm trying to use my Mac in a similar way that I use a Windows machine for streaming with my camera.)
I have a Canon M50 digital camera. Canon has webcam software that turns this device into a webcam. Sometimes the camera stops providing an image. When I ran into this on Windows I would toggle the deactivate/activate buttons for the "Video Capture Device". These buttons don't exist on the Mac version, so I have tried switching the device properties to change the device from the M50 to the built-in webcam and then switching back to the M50. Sometimes this makes the camera work again.
But sometimes this toggling of devices cause a crash. There are no logs from the Help->Log Files.
Here is the Apple crash report:
Current Behavior
Crashes periodically when changing the camera device.
Steps to Reproduce
Anything else we should know?
I used this camera and Canon's webcam software on my Windows machine since 2020 with OBS virtual cameras. I'm in the middle of migrating to Mac, but there is some instability with OBS and/or the Canon Webcam software. Because OBS is crashing, I'm filing a bug here, but also trying to work on the Canon side to see if their driver has issues.
https://community.usa.canon.com/t5/Camera-Software/EOS-Webcam-Utility-2-0-12-drops-stream-on-Mac-M1/td-p/401056