Project

General

Profile

Bug #214

Cemu process won't fully terminate in latest public version - libusb-1.0.dll unregister functionality broken; reboot of PC required to fix

Added by Maq47 over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
General
Start date:
11/23/2019
API:
OpenGL
Cemu Version:
1.15.19
GPU Vendor/Model:
NVIDIA GT 620

Description

Hi, I'm running the latest public version of Cemu on Windows 10 Pro (newest feature update). I noticed after updating from 1.15.11 to 1.15.19 that none of my games would start, and Cemu would not properly terminate (4 different processes under 'Cemu.exe' were still running even 10 minutes after closing the emulator). Attempting to end the processes got me an 'Access denied' error on each of them. Installing and running LockHunter, I found that they had an unclosed handle on "/resources/libusb-1.0.dll". Running 'regsvr32 /u [path to Cemu folder]/resources/libusb-1.0.dll' says that the unregister call failed, which can only happen if some part of the unregister function in the code is broken in a weird way (or the code itself is 'hacky', which would cause only certain users to have issues, like is the case here). Restarting my PC was the only thing that made the processes terminate, and the only way I could play any games was to delete the .dll file before starting Cemu. This is a game-brteaking issue, so a hotfix is a MUST for users like me. Can this be fixed, please? Thanks.

History

#1

Updated by Crementif over 4 years ago

I've seen this error popping up a couple of logs in the Discord, just so that it's clear that it's not just his PC.

#2

Updated by Exzap over 4 years ago

regsvr32 is only used with DLLs that are actually meant to be registered. It's not used when dynamically loading or unloading DLLs as Cemu does with libusb.

Seems to me that you have a device with a buggy USB driver that caused Cemu to get stuck in USB IO. Either that or some other software is interfering with it (e.g. anti-virus). Getting 'Access Denied' errors is certainly not normal and can't be triggered with a pure software bug.

Can you upload log.txt after Cemu fails to terminate?

#3

Updated by Zalnor about 4 years ago

  • Status changed from New to Closed

Fixed in 1.17.0

Also available in: Atom PDF