ERASE crashes TCC

This might be related to the SYNC problem I reported before. The following command crashed TCC:

Code:
ERASE /E /S /X /Y /Z /K FX-602P-Droid\gen.DELETE

The directory itself does not contain a lot:

Code:
>dir /SFA FX-602P-Droid\gen.DELETE
C:\Work\uiq3\JavaME\FX-602P-Droid\gen.DELETE\.
C:\Work\uiq3\JavaME\FX-602P-Droid\gen.DELETE\..
C:\Work\uiq3\JavaME\FX-602P-Droid\gen.DELETE\net
C:\Work\uiq3\JavaME\FX-602P-Droid\gen.DELETE\net\.
C:\Work\uiq3\JavaME\FX-602P-Droid\gen.DELETE\net\..

TCC also crashes when I try a simple RMDIR. And I just noticed: The crash is after one file/directory has been deleted. Having done a couple of test runs all data is now gone.

And last not least (with another directory which behaved badly):

Code:
>\cygwin\bin\rm --recursive --verbose FX-603P-Droid\gen.DELETE
cygwin warning:
  MS-DOS style path detected: /cygdrive/c/Work/uiq3/JavaME/FX-603P-Droid\gen.DELETE
  Preferred POSIX equivalent is: /cygdrive/c/Work/uiq3/JavaME/FX-603P-Droid/gen.DELETE
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
removed directory: `FX-603P-Droid\\gen.DELETE/net/sourceforge/uiq3'
removed directory: `FX-603P-Droid\\gen.DELETE/net/sourceforge'
removed directory: `FX-603P-Droid\\gen.DELETE/net'
removed directory: `FX-603P-Droid\\gen.DELETE
 
Try adding a /NNT option to the command line and see if it still crashes.

Copies fine. Having had a look in the help file and since there are no descriptions in the source I might delete my JPSTREE.IDX and see what happens.

Indeed - the copy is now ok without /NNT as well.

Did you look for the TCMD.GPF file?

I did not know the file exist but here you are:
Code:
Module=C:\opt\JPSoft\TCCLE12\TakeCmd.dll
Address=100091E3
Exception=C0000005
EAX=00000000  EBX=76ED4EF8  ECX=00000000  EDX=00000000
ESI=76ED22FB  EDI=76B87C12  EBP=0168ACD4  ESP=01686888
CS=00000023  DS=0000002B  ES=0000002B  SS=0000002B
Flags=00010246

Stack:
1 : TakeCmd.dll 0001:000081e3
2 : TakeCmd.dll 0001:000080d0
3 : TakeCmd.dll 0001:00056b2a
4 : TakeCmd.dll 0001:00056456
5 : TakeCmd.dll 0001:0005613b
 

rconn

Administrator
Staff member
May 14, 2008
12,356
150
Copies fine. Having had a look in the help file and since there are no descriptions in the source I might delete my JPSTREE.IDX and see what happens.

Indeed - the copy is now ok without /NNT as well.

I wish you hadn't deleted JPSTREE.IDX; it would have been useful to me to see it and see (1) if it was corrupted (most likely) and (2) exactly how that crashed TCC.

Let me know if it happens again after recreating JPSTREE.IDX.
 
That file *is* corrupted (it is a horrible combination of Unicode and ASCII text; I've never seen anything like it).

I had some trouble with the code pages and I tried various combinations to find out what suits me best.

But this should not corrupt the file. In these day an age it would be best to always store Unicode - because that is what the file system uses.
 

rconn

Administrator
Staff member
May 14, 2008
12,356
150
I had some trouble with the code pages and I tried various combinations to find out what suits me best.

But this should not corrupt the file. In these day an age it would be best to always store Unicode - because that is what the file system uses.

Any chance you ran an older version of 4NT / Take Command (that doesn't support Unicode) that might have updated (and corrupted) JPSTREE.IDX?
 
Similar threads
Thread starter Title Forum Replies Date
Joe Caverly PAUSE does not erase countdown timer Support 0
C Erase all characters left or right from cursor location Support 2
D erase with directory wildcards Support 16
Jay Sage TCMD Crashes with "tctoolbar /c /r file" Support 5
S Take Command crashes for aliases with length > 1015 Support 1
C Fixed V25 crashes when adding and then removing in the tabbed toolbar Support 3
S tcc crashes Support 3
L FTYPE crashes TCC v23.00.30-34 Support 17
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
vefatica TPIPE.EXE crashes on Ctrl-C Support 9
D Chaining crashes the debugger Support 13
Mike Applebee SHRALIAS crashes on startup Support 2
vefatica TPIPE crashes on Ctrl-C Support 1
M TCC Crashes... Support 3
vefatica IDE crashes every time Support 6
MickeyF TCC v16 crashes when I hit F1 to view help Support 9
cgunhouse Version 19.00.23 Crashes Support 16
G Linux curses (full screen) crashes TC Support 1
MickeyF BDebugger crashes Support 2
T Closing multi-tab TCMD crashes Support 4
M tcmd crashes in this recursive "for /f" loop Support 4
S Fixed TC crashes with a certain batch file Support 6
vefatica DATEMONITOR + Ctrl-C crashes TCCv15 Support 5
A WAD Dir daterange + multiple path wildcards crashes tcc Support 2
vefatica TCSH crashes only when in a TCC console Support 2
M WAD tcmd.exe crashes and leaves an orphaned tcc.exe process Support 6
Peter Murschall TCC 13.03 Build 30 crashes on VER /R Support 15
D ftp crashes tcmd v12.11 and 13.01 Support 10
H Ruby - Running External Ruby script crashes TCC Support 11
gschizas Take Command crashes with TELNET Support 9
T eval[] crashes with negative binary output Support 1
S Crashes when using SFTP Support 7
krischik SYNC crashes TCC Support 6
nikbackm Piping to new TCC instance crashes it Support 1
rfaquino TCMD 12 always crashes when exiting Support 7
cgunhouse IDE Crashes on Exit Support 6
I TCC crashes on gosub after long command line Support 0
D Strange crashes in @CRC32 and @MD5 Support 9
gschizas pdir crashes horribly in one specific folder Support 5
Ville BUG: 'dig' of bind 9.6.0 P1 crashes when used with TC10 Support 6
Phileosophos TCMD 10.00.57 crashes for want of python26.dll Support 5
C for /r %s crashes TCC Support 3
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

Similar threads