Piping to new TCC instance crashes it

May 30, 2008
235
2
TCC 12,00,36 Windows XP [Version 5,1,2600]


Just saw a strange error at work.

Seems piping to a new TCC instance will crash the new (pipe) instance. The old instance is apparently "unharmed".

This only happens with one of my TCMD TCC tabs, other existing ones and new ones does not exhibit the problem.

Example commands that cause a crash:

*dir | *for %x in (@con) echo "%x"
*dir | *list
*dir | *list /C

This command does not crash TCC (maybe since there's no TCC in the pipe):
*dir | sort.exe

Call stack:

tcc.exe!00407174()
[Frames below may be incorrect and/or missing, no symbols loaded for tcc.exe]
tcc.exe!00401659()

I also sent the error information to Windows error reporting in case you have access to that. One dump file from WER is attached.

Edit: Tried to set WinDbg as default debugger (winDbg -I) in order to possibly get better call stack (seems VS2005 does not use _NT_SYMBOL_PATH), but now the problem can no longer be repeated for some reason. But I am sure this will be enough. ;)
 

Attachments

  • c53a_appcompat.txt
    31.9 KB · Views: 69

rconn

Administrator
Staff member
May 14, 2008
12,356
150
TCC 12,00,36 Windows XP [Version 5,1,2600]
Seems piping to a new TCC instance will crash the new (pipe) instance. The old instance is apparently "unharmed".

This only happens with one of my TCMD TCC tabs, other existing ones and new ones does not exhibit the problem.

Not reproducible here, and the crash address is in Microsoft's code.

First, I'd recommend updating to the current build (you're 5 behind). If you can no longer reproduce it, I'd chalk it up to random memory corruption in that one TCC session.
 
Similar threads
Thread starter Title Forum Replies Date
vefatica Trouble piping Support 3
vefatica Piping to WSL? Support 4
H Behavior change re piping a string to a Java program Support 1
vefatica Piping Cscript.exe to HEAD? Support 9
vefatica Piping the output of a DO loop. Support 4
Peter Murschall TPIPE generate unicode on Piping or redirecting Support 3
vefatica Chaining and piping? Support 2
J Piping ANSI control sequences through 'type' Support 4
rps How to? Piping to View /gb Support 1
vefatica Piping to DO x in @con: Support 10
M Piping and redirection: CON: Support 5
vefatica Redirection vs. piping? Support 4
vefatica Fixed Piping to HEAD adds newlines Support 1
S Ctrl-C handling while piping Support 0
MickeyF TCC crashing when copying multiple files (now resolved) Support 6
C COMSPEC constantly reset to TCC.EXE Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.24 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.23 uploaded Support 0
Alpengreis Fixed Crash after copy dialog with big TCC.exception.log Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT v27.01 Build 22 Uploaded Support 0
L FTYPE in TCC, less quirky than in cmd.exe Support 3
V Set path permanently from within TCC? Support 3
DrusTheAxe Runaway TCC.exception.log filling drive Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.21 uploaded Support 0
Joe Caverly tcc.exception.log Support 3
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.20 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.19 Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
vefatica SCRIPT ... TCC disappears Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT v27.0.18 Support 0
Jesse Heines Access Denied errors in TCC 27 Support 9
fpefpe How to? tcc inifile (%_ininame) Support 3
M How to? Black TCC Prompt Support 2
D Differences between TCC and CMD with COPY /b Support 4
M Oracle batch OPatch.bat.bat not working in TCC but correctly in CMD Support 5
Jay Sage Extra TCC Tasks Support 6
vefatica Can I turn off the minimize to tray mechanism in TCC? Support 5
N Command execution slows down in TCC Prompt after a while Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
samintz How to? Is this doable in TCC? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.02.41 Uploaded Support 0
D TCC tab detaching & restarting Support 3
Ó Recent git output not shown on TCC Support 1
P Kill all other instances of tcc from a btm batch file Support 2
L Using TCC.exe through an SSH connection Support 3
M TCC color issue in ConEmu Support 4

Similar threads