OBS 28.0.3 (mac) Crashing "unable to allocate pixel buffer (error -6662)"

raasdnil

New Member
Hi there,

Have been using OBS for some time on a prior version, after updating two days ago to 28.0.3 OBS will randomly crash and just quit (no crash warning or error).

The only entry in the log file just before the crash is about 31 or so entries of:

15:03:02.413: [mac-virtualcam] unable to allocate pixel buffer (error -6662)

a few hundredths of a second apart.

This happens with the preview is on or off while "Start Virtual Camera" is on and a scene is selected using an Elgato Facecam. I've noticed it crashing most while using the virtual camera through Zoom or a web browser (google meet).

I'm on the latest version of MacOSX and the latest version of OBS. Have restarted things multiple times.

Only started happening after updating OBS to 28.0.3. Have not a problem previously.

Any ideas on what I could do to help debug this further?
 

Attachments

  • saved-2022-10-05 14-52-52.txt
    9.8 KB · Views: 26

raasdnil

New Member
Note, this crashes without streaming happening through another system like Zoom or Google meet. Just having OBS open and the virtual camera started and running.
 

KDCarey

New Member
I am having the same problem. Random crashed with the error:
[mac-virtualcam] unable to allocate pixel buffer (error -6662)

OBS Version 28.0.3 - did upgrade this morning and have been crashing randomly ever since.
Hardware Info:
Model Name: MacBook Pro
Model Identifier: MacBookPro16,1
Processor Name: 8-Core Intel Core i9
Processor Speed: 2.4 GHz
Number of Processors: 1
Total Number of Cores: 8
L2 Cache (per Core): 256 KB
L3 Cache: 16 MB
Hyper-Threading Technology: Enabled
Memory: 64 GB
System Firmware Version: 1731.140.2.0.0 (iBridge: 19.16.16067.0.0,0)
OS Loader Version: 540.120.3~22
macOS Monterey Version 12.6

I've attached the full log file to help.

Hopefully this can get resolved quickly!
 

Attachments

  • 2022-10-05 11-45-22.txt
    7.9 KB · Views: 12

raasdnil

New Member
I've downgraded to 28.0.2 and will report back if the crashes stop happening. If they do, I'll downgrade to 28.0.1 and check again.

Thanks to all the maintainers for your hard work, OBS is an amazing product.
 

raasdnil

New Member
Hi there all - so after downgrading to 28.0.2 the system is no longer crashing. Hope this helps the devs find the cause.
 

keylevel

New Member
I've also been having crashes (Intel Mac), and tried downgrading to 28.0.2.

Unfortunately, that is still crashing for me, so I'm back to 27.2.4.
 

keylevel

New Member
Not sure if this helps, but the Apple Problem Report shows:

Code:
Crashed Thread:        0  CrBrowserMain  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process:   exc handler [72436]

Application Specific Information:
*** CFRetain() called with NULL ***
 

keylevel

New Member
It looks as if the NDI plugin may have been the cause of the crashing for me - I've not had a crash since I removed it.

I'll have have to try re-installing and see what that does.
 
Top