Little bug, big consequences ..

Aug 3, 2016
376
9
Netherlands
Here is a TCC command that managed to escape the parser's attention:

echo %@formatn[23445534,K]


I know, a non-valid command and certainly not one you will enter every day/year (can't even recall why I did...)
Running it causes CPU and MEM to 100%, resulting in a non-responding system instead of a synatx error.
A hard reset (power off/on) was my only way out ...

Tested on TCMD 20, build 25 Win7 x64 and Win10 x64
 
May 20, 2008
11,388
99
Syracuse, NY, USA
When I try that here (Win7) any of three things might happen.

1. TCC disappears
2. I get the Windows dialog ... "TCC has stopped working ..."
3. A message box: tcc.exe - Application Error ...The exception unknown software exception (0x40000015) occurred in the application at location 0x10130dd5.

None are fatal in any way.
 
Aug 3, 2016
376
9
Netherlands
I should have said "Don't try this at home!" (but you're probably @work, so you're good ;-)

I did see 3. once on my Win7 system, but as it's highly tweaked, I'm not sure if this error can be accounted to TCC or my own "stupidity".
 
May 20, 2008
11,388
99
Syracuse, NY, USA
I should have said "Don't try this at home!" (but you're probably @work, so you're good ;-)
I didn't hesitate. I'd be very surprised if TCC could locked up a system that badly. I suspect you had a way out. Did you try Ctrl-Alt-Del? From there you can get to TaskMgr and kill TCC.
 
Aug 3, 2016
376
9
Netherlands
hahaha, I had no idea that this was the outcome :-) (Never seen one zero, though)
My initial command was way worse, btw : with a lot more digits.

It's just that I expexted an error message saying ",K" is not a valid option (or something along those lines)
As far as I'm concerned there is no fix necessary; it's not worth the trouble

Thanks for clarifying!
 
Similar threads
Thread starter Title Forum Replies Date
Peter Bratton Another little bug? Support 1
Peter Murschall A little problem with LEAVE and COMMENT Support 5
MickeyF A little help with @REREPLACE Support 6
M An oddity that's a little bit scary... Support 6
vefatica ZIP /U a little screwy Support 9
R How to? i need a little help Support 3
M A little bit of strangeness with @Char... Support 3
M A new problem that has actually got me a little panicky... Support 10
L A little startup help from an old CLI guy please. Support 14
A TCMD 11 little bugs Support 4
H I need a little help. Support 4
C Some little observations Support 16
Dick Johnson v28 Cosmetic Bug Support 0
Jay Sage WAD Possible Bug With OPTION Command With @FILE Support 5
R strange bug? Support 7
Jay Sage Bug With Flow Control and/or Command Grouping Support 2
M Server 2019 Bug with @execstr? Support 14
R bug _ypixels in BDEBUGGER Support 6
E Fixed Bug with DIR /Z displaying descriptions Support 8
E Text copy bug Support 1
x13 SETARRAY /Z bug Support 6
Gamegod ffind bug with chinese Support 2
Dick Johnson cdd - is this a bug or a feature? Support 7
P "Set" command behavior - a bug? Support 3
nikbackm TCC 20 variable expansion bug Support 6
gentzel Bug launching external commands in 20.11.43 Support 11
R Is this a bug in SETARRAY? Support 2
M Windows Installer bug? Support 4
vefatica @SCRIPT bug persists Support 4
fishman@panix.com Once again the Can't Install bug bites... Support 2
gentzel Fixed dirs +n bug in 20.0.12 x64 Support 2
M Bug in Windows 10, when adding symbol to task bar Support 6
Alpengreis [Bug?] View (V) Prefs Error (TC 18.00.27 x64) Support 4
D WAD Minor Post Installation Bug in V18 Support 1
I Possible Bug: History /n Returns Nothing Support 3
samintz WAD Weird REN bug Support 6
Jay Sage WAD Possible Bug in Batch Parameters Support 7
G Bug? TCC 16.03.55 Console Palette Support 4
S Return of FTP copy bug in 16.02.48 Support 12
S XenForo bug Support 3
D TCMD16 Delete Toolbar Button bug Support 7
keithg1964 WAD 16.0027 Alias /rz bug Support 8
rfaquino WAD Apparently a bug when expanding environment variable %ProgramFiles(x86) Support 2
T Documentation @LINE[CON,n] @LINES[CON] not documented (bug?) Support 4
H TIMER bug Support 4
G Fixed @REREPLACE bug Support 15
G WAD PDIR @IF bug, @WORD bug Support 8
T Bug in TCMD but not in TCC Support 8
M WAD A complaint regarding a very irritating TCC installation behavior... (Bug?) Support 4
nickles Renaming bug? Support 9

Similar threads