Fixed Crash after copy dialog with big TCC.exception.log

Jan 12, 2014
419
7
Switzerland, SO
After a copy /= and select a DIRECTORY as source OR target, the TCC 27.01.22 x64 crashes.

Additionally it creates a TCC.exception.log and fills it and fills it and fills it endless, till I quit the tcc.exe process.
After few seconds I had a 12.49 G TCC.exception.log!
 
Jan 12, 2014
419
7
Switzerland, SO
Sure!

1) I open a TCC and type:

Code:
copy /=


2) I select and open a source directory and - IMPORTANT - I found out right now, SOMETIMES this works yet without crash, but not always.

copy_dialog_prob1.png



3) Then I select and open a destination directory as following ..,

copy_dialog_prob2.png


At least after this step TCC crashes in most of cases. I found out right now, that SOMETIMES it works. However if not, a TCC.exception.log is created and goes bigger and bigger.

I don't know if it could be related to my Swiss german WIndows (Microsoft Windows 10 Pro x64 [19042.928] [2009] [de-CH] TCC 27.01.22 x64)?

I don't know (yet), if other dialogues could have the same problem.

Greetings
 
May 20, 2008
11,185
94
Syracuse, NY, USA
Just like Alpengreis said ... after pressing "Open" when selecting a destination folder, "not responding" and a spinning wheel. And

Code:
2021-04-27  12:06   9,660,615,438  tcc.exception.log

Code:
c:\programdata\jp software\take command 27> head /n3 tcc.exception.log
[2021/04/27 12:05:01.241] D:\TakeCommand27\TCConsole\ntinit.cpp:364 wmain()  SEH Exception: 0x00007FFD6248C857 - ACCESS_VIOLATION
[2021/04/27 12:05:01.241] D:\TakeCommand27\TCConsole\ntinit.cpp:364 wmain()  SEH Exception: 0x00007FFD6248C857 - ACCESS_VIOLATION
[2021/04/27 12:05:01.257] D:\TakeCommand27\TCConsole\ntinit.cpp:364 wmain()  SEH Exception: 0x00007FFD6248C804 - ACCESS_VIOLATION

c:\programdata\jp software\take command 27> tail /n3 tcc.exception.log
[2021/04/27 12:06:07.300] D:\TakeCommand27\TCConsole\ntinit.cpp:364 wmain()  SEH Exception: 0x00007FFD6248C804 - ACCESS_VIOLATION
[2021/04/27 12:06:07.321] D:\TakeCommand27\TCConsole\ntinit.cpp:364 wmain()  SEH Exception: 0x00007FFD6248C804 - ACCESS_VIOLATION
[2021/04/27 12:06:07.321] D:\TakeCommand27\TCConsole\ntinit.cpp:364 wmain()  SEH Exception: 0x00007FFD6248C804 - ACCESS_VIOLATION
 
  • Like
Reactions: Alpengreis

rconn

Administrator
Staff member
May 14, 2008
12,247
144
Are you single clicking on the directory name and then clicking open, or double-clicking and then clicking open? The latter is technically incorrect, and there's apparently a bug in the RTL that can cause a crash in that case from overwriting the stack. I have added a workaround for that in the next build. (It has nothing to do with the /= or the command dialog code, it's happening elsewhere.)
 
  • Like
Reactions: Alpengreis