[8.51a] TC hangs on WM_COPYDATA with some CD command

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

[8.51a] TC hangs on WM_COPYDATA with some CD command

Post by *MVV »

TC hangs when processing WM_COPYDATA with command cd |*.
Raw buffer data:

Code: Select all

ef bb bf 7c 2a 0d 00
I've checked it with TC 7.56a and TC 8.51a (clean configuration), both hang.

Quick command to reproduce:

Code: Select all

TCFS2 /ef "tcd(`|*`)"
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48108
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This sounds lika a constructed problem, since you can't pass a path like
|*.
to TC via command line - the pipe symbol is intercepted by cmd.exe or Windows ShellExecute. Even writing `|*` doesn't work here on the TC command line. I tried
c:\totalcmd\TOTALCMD.exe /O `|*`
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I agree that problem is a bit constructed but it is interesting why such a simple thing causes a hang, perhaps something is wrong in the message handler.

BTW quoted pipe is not interpreted as a pipe sign. When I start c:\totalcmd\TOTALCMD.exe /N "|*", I see a pipe in process' command line.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48108
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, even with quotes it opens a cmd.exe here. And no hangs. The only way I could get the hang was via TCFS2. I will try to find the reason.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

TC 8.52b1 doesn't hang anymore in case of such command!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48108
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply