TCMD 24.02.49 x64 crashed due to DivideByZero :-(

Feb 12, 2019
TCMD just crashed on me for the first time in ages. Was running something and DivideByZero :-( Upgraded to latest version and same problem

Windbg popped up at the crash here's the juicy tidbits

TCC 24.02.49 x64 Windows 10 [Version 10.0.18879.1000]

TCMD.EXE was RunAsAdministrator

0:000> kn
# Child-SP RetAddr Call Site
00 000000d4`ad11f080 00007ff6`20e65ccf tcmd+0x30053
01 000000d4`ad11f160 00007ff6`20e674ff tcmd+0x55ccf
02 000000d4`ad11f2f0 00007ff6`20e60c65 tcmd+0x574ff
03 000000d4`ad11f330 00007ff6`20e61744 tcmd+0x50c65
04 000000d4`ad11f430 00007fff`674af538 tcmd+0x51744
05 000000d4`ad11f470 00007fff`674af1be USER32!UserCallWinProcCheckWow+0x308 [windows\core\ntuser\client\clmsg.cxx @ 279]
06 (Inline Function) --------`-------- USER32!CallWindowProcAorW+0x6e [windows\core\ntuser\client\clmsg.cxx @ 2842]
07 000000d4`ad11f600 00007ff6`20e4c297 USER32!CallWindowProcW+0x8e [windows\core\ntuser\client\clmsg.cxx @ 2864]
08 000000d4`ad11f650 00007ff6`20e344c2 tcmd+0x3c297
09 000000d4`ad11f690 00007fff`674af538 tcmd+0x244c2
0a 000000d4`ad11f740 00007fff`674ae8a4 USER32!UserCallWinProcCheckWow+0x308 [windows\core\ntuser\client\clmsg.cxx @ 279]
0b 000000d4`ad11f8d0 00007ff6`20e7ba0e USER32!DispatchMessageWorker+0x274 [windows\core\ntuser\client\clmsg.cxx @ 3142]
0c 000000d4`ad11f950 00007ff6`20e7c0c7 tcmd+0x6ba0e
0d 000000d4`ad11f980 00007ff6`211d99e3 tcmd+0x6c0c7
0e 000000d4`ad11f9c0 00007ff6`21012c92 tcmd+0x3c99e3
0f 000000d4`ad11fa00 00007fff`67265bb4 tcmd+0x202c92
10 000000d4`ad11fa40 00007fff`67cea131 KERNEL32!BaseThreadInitThunk+0x14 [base\win32\client\thread.c @ 64]
11 000000d4`ad11fa70 00000000`00000000 ntdll!RtlUserThreadStart+0x21 [minkernel\ntdll\rtlstrt.c @ 1153]

************* Path validation summary **************
Executable search path is:
ModLoad: 00007ff6`20e10000 00007ff6`214c7000 C:\UTIL.W32\TCMD24\tcmd.exe
(7080.74cc): Integer divide-by-zero - code c0000094 (!!! second chance !!!)
00007ff6`20e40053 f77dbf idiv eax,dword ptr [rbp-41h] ss:000000d4`ad11f0b8=00000000

No tcmd symbols so only offsets into the exe. Do you have symbols? I can repro (all too easily :-()

- Howard
Feb 12, 2019
I'm running pre-release Windows so might not be TCMD per se. Upgrade just kicked off will see if I hit this again
Similar threads
Thread starter Title Forum Replies Date
bwawsc2 Can't install updates to TCMD x64 Support 5
P MS VS2013 vsdevcmd.bat fails to run with tcmd 17 x64 Support 10
S Install TC 17.00.37 x64 expires immediately & invalidates registered TCmd v16.03.55 Support 3
gschizas Installation folder for TCMD x64 15.1 is wrong Support 5
S Location of tcmd.ini in x64 Support 4
G TCMD x64 Build 28 Crashing Support 5
mscheuner WINDOW doesn't work under TCMD v11 x64 b40 ? Support 4
Juanma Barranquero list /c fails for attached TCC on TCMD 11 x64 Support 0
Juanma Barranquero Several nitpicks and a crash in TCMD 11 x64 / Windows 7 Support 17
mscheuner Background color not "sticking" in TCMD v11 x64 on Win7 Support 3
mscheuner TCMD 8 - cannot register on Vista x64 Support 0
vefatica TCMD hides itself! Support 3
vefatica Tray min'd TCMD and ACTIVATE Support 6
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
CWBillow TCMD Colors Support 8
Jay Sage Issues With TCMD File Explorer Support 0
C Last TCMD that supports win 7? Support 5
gentzel TCMD background color confusion Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Alpengreis Remaining TCMD background process (v26) ... Support 19
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
G TCMD crash when copy Support 3
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
Jay Sage TCMD Crashes with "tctoolbar /c /r file" Support 5
nikbackm TCMD 25 - Unregister older TCMD version Support 2
G Documentation on TCMD.INI Support 9
R New Clear Buffer in TCMD Home Menu Support 2
CWBillow Back up TCMD tabs Support 2
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
David McClelland TCMD 24 & Perl - perl thinks it's own executable is ...\TCMD24\TCC.EXE??? Support 3
dcantor How to? Can 32-bit TCC be run on a system with 64-bit TCMD and TCC installed? Support 6
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
vefatica What's TCMD's problem with ^e[0m? Support 13
CWBillow TCMD PowerShell Tab elevated Support 6
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
vefatica TCMD output invisible on Win10 Support 22
J Moving from TCC v22 to TCMD v24 issues Support 3
RChrismon How to? Copy TCMD.INI to New Version Support 7
rps TCMD OPTIONS dialog Support 2
rps TCMD Tabs priority option setting Support 0
D Can we fix the scaling for TCmd? Support 14
CWBillow TCMD Tab Defs Support 4
A How to? TCMD Configuration Dialog: 'Smooth Scrolling' Option missing? Support 1
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
A TCMD - Dir Command puts out blank lines? Support 16

Similar threads