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

Crashes. Faulting module name: ucrtbase.dll #2

Open
vzjrz opened this issue May 6, 2024 · 6 comments
Open

Crashes. Faulting module name: ucrtbase.dll #2

vzjrz opened this issue May 6, 2024 · 6 comments

Comments

@vzjrz
Copy link

vzjrz commented May 6, 2024

Crashes as soon as I try alt+tab key combination.
Using version: cmdtab-v1.4-win-x86_64
Event viewer shows:

Faulting application name: cmdtab.exe, version: 0.0.0.0, time stamp: 0x6626d15d
Faulting module name: ucrtbase.dll, version: 10.0.19041.3636, time stamp: 0x81cf5d89
Exception code: 0xc0000409
Fault offset: 0x0000000000071208
Faulting process id: 0x3298
Faulting application start time: 0x01da9fb307b8622a
Faulting application path: C:\Data\Files\cmdtab-v1.4-win-x86_64\cmdtab.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
@stianhoiland
Copy link
Owner

Interesting. Which version of Windows are you on?

@stianhoiland
Copy link
Owner

According to this SO answer, it's a STATUS_STACK_BUFFER_OVERRUN. I'll look into it.

@stianhoiland
Copy link
Owner

@vzjrz can you try any of the previous versions and see if they crash? Start with v1.3.

@vzjrz
Copy link
Author

vzjrz commented May 8, 2024

Windows info:

Edition	Windows 10 Pro
Version	22H2
Installed on	‎2022-‎02-‎19
OS build	19045.4291
Experience	Windows Feature Experience Pack 1000.19056.1000.0

I tried v1.3, v1.2 and they both crashed. But v1.1 did not.

@vzjrz
Copy link
Author

vzjrz commented May 9, 2024

Seems like a program I'm runnning called MediaMonkey is causing it to crash:

proc

@stianhoiland
Copy link
Owner

stianhoiland commented May 13, 2024

Ah, interesting. Nice investigation. To temporarily fix this issue, you can change line 298 from
name.length = length;
to
name.length = length+1;
and recompile. I downloaded MediaMonkey, and got the same crash, tried this fix, and it doesn't crash now.

I'll try to understand better why this occurs before I push an update. Thanks for your effort :)

EDIT You'll want to recompile with the Release configuration, not Debug.

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

No branches or pull requests

2 participants