Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apparently constantly crashes in the background... #7

Closed
ayunami2000 opened this issue Nov 19, 2020 · 11 comments
Closed

Apparently constantly crashes in the background... #7

ayunami2000 opened this issue Nov 19, 2020 · 11 comments

Comments

@ayunami2000
Copy link

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 hipersayanX transferred this issue from webcamoid/akvcam Nov 19, 2020
@hipersayanX
Copy link
Member

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

@hipersayanX hipersayanX mentioned this issue Nov 19, 2020
@ayunami2000
Copy link
Author

ayunami2000 commented Nov 20, 2020

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
Copy link
Author

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
Copy link
Member

  1. 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
Copy link
Author

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
Copy link
Author

ayunami2000 commented Nov 20, 2020

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
Copy link
Member

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:

  • Remove all virtual cameras from Webcamoid from the Outputs menu.
  • Uninstall Webcamoid.
  • Execute this script as administrator to uninstall the plugin.
  • And finally install Webcamoid and AkVirtualCamera from the daily build.

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
Copy link
Author

ayunami2000 commented Nov 20, 2020 via email

@hipersayanX
Copy link
Member

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
Copy link
Author

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
Copy link
Author

ayunami2000 commented Nov 22, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants