webcamoid / akvirtualcamera

akvirtualcamera, virtual camera for Mac and Windows
GNU General Public License v3.0
393 stars 51 forks source link

Apparently constantly crashes in the background... #7

Closed ayunami2000 closed 3 years ago

ayunami2000 commented 3 years ago

When webcamoid is not running, apparently AkVCamAssistant.exe is, and is crashing multiple times a day. image

Clicking a random one gives this: image

After some point, they all changed slightly, which I suspect is a change in windows but I'm not quite sure (after a search it seems the bucket id is Microsoft's way of tracking the errors from this specific program): image

hipersayanX commented 3 years ago

The problem is that I can't reproduce the issue, that log does not show nothing useful, try with AkVCamManager set-loglevel 7.

ayunami2000 commented 3 years ago

1) How do I set those parameters? The program runs automatically by some startup script or something and restarts itself after it crashes. 2) I found ONE listing on google showing that the issue exists elsewhere. Note that this is not my computer and isn't focused around this specific issue but.... (on web archive if link decides to die) 3) I will run that command manually & I'll stop the other process. Later I will check for error logs. Where would it log to? 4) Webcamoid itself has always been really buggy for me and often quits, forcing me to reset the config. I forgot how I did that but...it's a regular issue whenever I (rarely) use webcamoid. Probably should be a separate issue

ayunami2000 commented 3 years ago

Also: One similarity I found between my device and the other device is that we both use NVIDIA and both have multiple graphics cards (although I only have one NVIDIA and one Intel)

hipersayanX commented 3 years ago

3) I will run that command manually & I'll stop the other process. Later I will check for error logs. Where would it log to?

The logs for the assistant are located at C:\Windows\Temp and the logs for the manager and the plugin are located at C:\Users\User\AppData\Local\Temp, the logs are numerated by date and time.

Also: One similarity I found between my device and the other device is that we both use NVIDIA and both have multiple graphics cards (although I only have one NVIDIA and one Intel)

The graphics card doesn't play any role here (and anyway I won't be able to test it if that were the case), there must be something else that's crashing the service.

ayunami2000 commented 3 years ago

It hasn't made any log files (despite being reported as crashed 3 hours ago), and I can't find AkVCamManager. Also, looking at my webcamoid folder I found that, strangely, there is a copy of the AkVirtualCamera.plugin folder (with the same files!). So one AkVirtualCamera.plugin folder is in C:\Program Files\, and another in D:\webcamoid\share\. Is it possible that changing the install location breaks some parts of the program?

ayunami2000 commented 3 years ago

I just tried to reinstall all of webcamoid using the maintenance tool exe, but it still crashes upon running right after install. Should this be moved to another issue elsewhere? I ask because these could be related

Edit: Ok im like 9999999% sure that webcamoid crashes because I have a webcam device that is not in use (OBS virtual camera). It's still an issue because that makes the entire application crash just because of that one device. This could potentially be causing issues with AkVCam as well Edit 2: I was right, and OBS comes with a virtual camera now so i no longer need this problematic plugin that causes issues with multiple applications that use the camera.

I'll wait a bit to see if the errors still show up

hipersayanX commented 3 years ago

While writing this answer I figured out that I forgot to ask you, you installed the virtual camera from Webcamoid 8.7.1, right? if that's the case you don't have AkVCamManager and all the debugging facilities of the new plugin. Uninstall the old plugin like this:

AkVCamManager is located at C:\Program Files\AkVirtualCamera.plugin\x64\AkVCamManager.exe or C:\Program Files\AkVirtualCamera.plugin\x86\AkVCamManager.exe, you can open a CMD and then call AkVCamManager as:

set Path=C:\Program Files\AkVirtualCamera.plugin\x64;%Path%
AkVCamManager set-loglevel 7

I just tried to reinstall all of webcamoid using the maintenance tool exe, but it still crashes upon running right after install. Should this be moved to another issue elsewhere? I ask because these could be related

Probably yes.

Edit: Ok im like 9999999% sure that webcamoid crashes because I have a webcam device that is not in use (OBS virtual camera). It's still an issue because that makes the entire application crash just because of that one device. This could potentially be causing issues with AkVCam as well Edit 2: I was right, and OBS comes with a virtual camera now so i no longer need this problematic plugin that causes issues with multiple applications that use the camera.

Open a bug for this, I'll try to find a way to avoid the crash with that plugin.

ayunami2000 commented 3 years ago

I don't have AkVcamManager; I have AkVcamAssistant. And yes, it's in that directory, and it's the only exe in that x64 folder. (Same for x32 folder) and only the placeholder image is in the share folder (which I replaced with a custom image with the same name (which works))

On Fri, Nov 20, 2020 at 5:17 PM hipersayanX notifications@github.com wrote:

While writing this answer I figured out that I forgot to ask you, you installed the virtual camera from Webcamoid 8.7.1, right? if that's the case you don't have AkVCamManager and all the debugging facilities of the new plugin. Uninstall the old plugin like this:

AkVCamManager is located at C:\Program Files\AkVirtualCamera.plugin\x64\AkVCamManager.exe or C:\Program Files\AkVirtualCamera.plugin\x86\AkVCamManager.exe, you can open a CMD and then call AkVCamManager as:

set Path=C:\Program Files\AkVirtualCamera.plugin\x64;%Path% AkVCamManager set-loglevel 7

I just tried to reinstall all of webcamoid using the maintenance tool exe, but it still crashes upon running right after install. Should this be moved to another issue elsewhere? I ask because these could be related

Probably yes.

Edit: Ok im like 9999999% sure that webcamoid crashes because I have a webcam device that is not in use (OBS virtual camera). It's still an issue because that makes the entire application crash just because of that one device. This could potentially be causing issues with AkVCam as well Edit 2: I was right, and OBS comes with a virtual camera now so i no longer need this problematic plugin that causes issues with multiple applications that use the camera.

Open a bug for this, I'll try to find a way to avoid the crash with that plugin.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/webcamoid/akvirtualcamera/issues/7#issuecomment-731435600, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5DB4HVGUWFDGWI5WFHDVDSQ3TGHANCNFSM4T3ZMPUA .

hipersayanX commented 3 years ago

I don't have AkVcamManager; I have AkVcamAssistant. And yes, it's in that directory, and it's the only exe in that x64 folder. (Same for x32 folder) and only the placeholder image is in the share folder (which I replaced with a custom image with the same name (which works))

You have the old plugin, do as I said before and uninstall it.

ayunami2000 commented 3 years ago

Ok I did that, it is no longer crashing but now there is no virtual camera...the "add output" option does not appear to add any outputs, yet Virtual Camera is listed in the plugins section...

ayunami2000 commented 3 years ago

Closing because original issue has been fixed: Had to update to daily build of AkVirtualCamera