Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

TCMD 24.02.49 x64 crashed due to DivideByZero :-(

Feb
10
0
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 !!!)
tcmd+0x30053:
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
 
I'm running pre-release Windows so might not be TCMD per se. Upgrade just kicked off will see if I hit this again
 
Back
Top
[FOX] Ultimate Translator
Translate