cmdtab icon indicating copy to clipboard operation
cmdtab copied to clipboard

Crashes. Faulting module name: ucrtbase.dll

Open vzjrz opened this issue 1 year ago • 6 comments
trafficstars

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

vzjrz avatar May 06 '24 12:05 vzjrz

Interesting. Which version of Windows are you on?

stianhoiland avatar May 07 '24 17:05 stianhoiland

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

stianhoiland avatar May 07 '24 17:05 stianhoiland

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

stianhoiland avatar May 07 '24 17:05 stianhoiland

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 avatar May 08 '24 22:05 vzjrz

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

proc

vzjrz avatar May 09 '24 11:05 vzjrz

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.

stianhoiland avatar May 13 '24 18:05 stianhoiland