What to Do If Minecraft Crashes as Soon as You Start Recording with oCam (NVIDIA Graphics Card)

Using oCam at work or school? A license is required, and it removes all ads, including this window. See the paid version →

In Java-based applications that use CUDA, including oCam, problems may occur when certain NVIDIA drivers are installed. In particular, if NVIDIA driver version 378.49 (or some other versions) is installed, a bug may occur where the app crashes with the error "Stack cookie instrumentation code detected a stack-based buffer overrun" when calling the CUDA initialization function `cuInit`.


This issue is not a bug in oCam itself, but a problem with the NVIDIA driver that affects all applications that use CUDA. Therefore, the same error may occur not only in oCam but also in other CUDA-based Java applications.


To resolve this issue, you need to update the NVIDIA driver to the latest version, 378.66 or later. Follow the steps below to update the driver:


1. Go to the official NVIDIA website (geforce.com/drivers).

2. Select your graphics card model and operating system, then search for the latest driver (version 378.66 or later).

3. Run the downloaded driver installer and proceed with the installation.

4. After the installation is complete, restart your computer and run oCam or another CUDA-based application to check whether the issue has been resolved.


Updating the driver to version 378.66 or later will resolve the CUDA initialization crash issue and allow you to use oCam and other related applications normally. If the problem continues even after installing the latest driver, contact NVIDIA Support or check for the latest version of oCam.

Another helpful tip

How to Record Microphone and Computer Audio Together While Recording (Windows Vista, 7, 8)

For Windows Vista, 7, and 8, normal operation may not be guaranteed because Microsoft has ended support for these operating systems. (Reference)


In the oCam main window, click the Sound button.

 

The following menu will appear, and by default, No Microphone Recording is selected.

Select the microphone you want to record. ( If your microphone does not appear in the list, refer to the instructions below. )


Once selected, the setting will be applied as shown below, and the microphone audio will be recorded together.


If the microphone device does not appear in the list above even though the microphone is connected, proceed as follows.


( If, as shown below, no microphone-related menu appears at all and only the system sound recording menu is shown, or if a microphone item appears but not all microphone devices are listed, or if you are using a separately purchased audio interface, the audio interface device rather than the default microphone device should appear in the list. If it does not, follow this procedure. )


Go to Start Menu - Control Panel.

In Control Panel, find and click Sound.

 

The following window will appear. Click the Recording tab.


In the Recording tab, right-click the white area where it says No audio devices are installed to open the pop-up menu. ( Or, if recording devices are listed but the device you want does not appear. )


Click Show Disabled Devices.


Select the microphone device you want to use, right-click it, and click Enable.

( If you are using an audio interface, a separate recording device called Line In may appear instead of a microphone, and you should record using that device. ) 


In oCam, click the Sound button to check whether the microphone device now appears correctly.