TCC vanishes

May 20, 2008
603
0
Sammamish, WA
I'm having a problem switching to local aliases and then modifying the alias
list.

TCC 11.00.37 Windows XP [Version 5.1.2600]
TCC Build 37 Windows XP Build 2600 Service Pack 3

I normally have Option / Local Aliases unchecked and use global aliases.

I clicked Start / Run / <path>TCC.EXE then typed:


D:\>*option //localaliases=yes

D:\>*alias z=foo

As soon as I press Enter, the TCC application vanishes. This also happens
when it is a tab within TCMD.


My hope was that by using option localaliases I could do some alias testing
without harming my global list.

--
Jim Cook
2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Monday.
 

dim

Dimitry Andric
May 31, 2008
205
1
Netherlands
D:\>*option //localaliases=yes

D:\>*alias z=foo

Reproducible here, build 38, x86 and x64 versions. Unfortunately, in neither case a .GPF file is produced. Debugging in Visual Studio gives:

Unhandled exception at 0x1005e8c7 in TCC.exe: 0xC0000005: Access violation reading location 0x5745184c.

Call stack for crashing thread:

Code:
>    TakeCmd.dll!1005e8c7()     
     [Frames below may be incorrect and/or missing, no symbols loaded for TakeCmd.dll]    
     TakeCmd.dll!1005f181()     
     TakeCmd.dll!1005f34a()     
     TakeCmd.dll!10010530()     
     TakeCmd.dll!1000fc67()
Assembly around crash:

Code:
    1005E8B0  mov         eax,dword ptr [ecx-4] 
    1005E8B3  and         eax,0FFFFFFF8h 
    1005E8B6  lea         edx,[eax+ecx-8] 
    1005E8BA  mov         eax,dword ptr ds:[10114CECh] 
    1005E8BF  xor         eax,dword ptr [edx] 
    1005E8C1  mov         edx,dword ptr ds:[10114CECh] 
crash->    1005E8C7  cmp         dword ptr [eax+24h],edx 
    1005E8CA  je          1005E8D4 
    1005E8CC  call        1009DA29 
    1005E8D1  xor         eax,eax 
    1005E8D3  ret
 

rconn

Administrator
Staff member
May 14, 2008
12,406
152
> I'm having a problem switching to local aliases and then modifying the
> alias list.
>
> I normally have Option / Local Aliases unchecked and use global
> aliases.
>
> I clicked Start / Run / <path>TCC.EXE then typed:
>
> D:\>*option //localaliases=yes
>
> D:\>*alias z=foo
>
> As soon as I press Enter, the TCC application vanishes. This also
> happens when it is a tab within TCMD.

Not supported (and never has been). You can only change that from the
OPTION dialog.

Rex Conn
JP Software
 
Jim Cook wrote:


> I'm having a problem switching to local aliases and then modifying the
> alias
> list.
>
> TCC 11.00.37 Windows XP [Version 5.1.2600]
> TCC Build 37 Windows XP Build 2600 Service Pack 3
>
> I normally have Option / Local Aliases unchecked and use global aliases.
>
> I clicked Start / Run / <path>TCC.EXE then typed:
>
>
> D:\>*option //localaliases=yes
>
> D:\>*alias z=foo
>
> As soon as I press Enter, the TCC application vanishes. This also happens
> when it is a tab within TCMD.
>
To switch between global and local aliases on the fly, use the ALIAS /L
command. Use ALIAS /G to switch back.

--
Howard
 

rconn

Administrator
Staff member
May 14, 2008
12,406
152
> ---Quote---
> > Not supported (and never has been). You can only change that from
> the OPTION dialog.
> ---End Quote---
> How do we find out what is supported, and what isn't?

If it's not documented, it's not supported. LocalAliases is an undocumented
directive. (And there are two other documented ways to do the same thing.)

Rex Conn
JP Software
 
Similar threads
Thread starter Title Forum Replies Date
A Can you set an image file 'tag' with TCC/4NT? Support 2
P PSHELL not working in TCC 26 Support 9
vefatica SCRIPT makes TCC disappear. Support 16
MickeyF TCC suddenly crashing (not TCC's fault) Support 2
Z CMDDebug - TCC unknown command Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 28.02.17 Support 0
vefatica TCC startup: /IP not honored after /K Support 1
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
Alpengreis UTF-8 problem in TCC related to Python Support 7
Alpengreis Python support for 3.8.3 in TCC v26.x? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.01.40 uploaded Support 0
Peter Murschall TCC V26.01.3x Debugging has problems with Alias /R Support 1
rconn News Take Command / TCC / CMDebug / TCC-RT 26.0.37 Uploaded Support 0
vefatica TCC waits for Office apps Support 4
Joe Caverly .BAT works in TCC-RT 25, but not in TCC-RT 26 Support 4

Similar threads