?Compare by Content (Binary Mode) - Clipboard Copy Fail

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

Moderators: Hacker, petermad, Stefan2, white

User avatar
Aezay
Senior Member
Senior Member
Posts: 269
Joined: 2003-02-12, 07:27 UTC
Location: Denmark
Contact:

?Compare by Content (Binary Mode) - Clipboard Copy Fail

Post by *Aezay »

Total Commander 8.50, 32-bit
Windows 7, 64-bit
  1. Compare two files by content.
  2. Switch mode to binary. *
  3. Compare.
  4. Select one or more lines.
  5. Right click marked line(s).
  6. Copy selection to clipboard.
Result: Clipboard now contains an empty string, and not the selected hex values/text.

* = If binary mode is unchecked, everything works just fine.
Of all the planets I've been to, this one is my favorite.
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed.

This works in TC 8.01, so it must be a new bug.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check it, thanks. Probably broken when I added Unicode support.
Author of Total Commander
https://www.ghisler.com
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

Total Commander 8.50, 64-bit
Windows 7, SP1 64-bit

Compare two files by content.
Switch mode to binary.
Compare.
Select one or more lines.
Right click marked line(s).
Copy selection to clipboard.

Result: TC crashs,

Problem signature:
Problem Event Name: APPCRASH
Application Name: TOTALCMD64.EXE
Application Version: 8.5.0.0
Application Timestamp: 00000000
Fault Module Name: USER32.dll
Fault Module Version: 6.1.7601.17514

This occurs only in Binary compare mode
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6975
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Crash confirmed also for
Total Commander 8.51 b1, 64-bit
Windows 7, SP1 64-bit
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can also confirm the crash of 64bit TC 8.50
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I cannot get any crash here - what files are you comparing? I could reproduce the first reported bug, though.
Author of Total Commander
https://www.ghisler.com
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

2ghisler(Author)

regardless of file type and size (exe, pdf, text, any file type) when set to binary mode crash as the result ....
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, not happening here. Windows 7 X64, tried with TC 8.50 and 8.51 beta 1.
Author of Total Commander
https://www.ghisler.com
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

2ghisler(Author)

It is very strange, I'm not alone with this issue, but may be some interference with other programs in my PC ....
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can reproduce it under both Windows 7 x64 and Windows 8.1 x64 with TC 8.51b1 x64. Testet with clean ini-files.


2ghisler(Author)

Are you sure you rember to perform step 3:
3. Compare.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes I did - no crash at all. I tried various text and binary files. Maybe I'm just trying the wrong files? Does it happen with any files coming with TC?
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6975
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

ghisler(Author) wrote:Yes I did - no crash at all. I tried various text and binary files. Maybe I'm just trying the wrong files? Does it happen with any files coming with TC?
Yes, I can produce it by comparing my wincmd.ini and wcxftp.ini
or even better for you comparing descript.ion and Totalcmd.inc

Using TC 8.51b1 x64 under Windows 7 Ultimate x64
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I compared TC's history.txt and keyboard.txt - and it happens whether I use Ctrl+C or I right click on the selected line to copy it.

As written before: Testet under Windows 7 x64 and Windows 8.1 x64 with TC 8.51b1 x64. Testet with clean ini-files.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I don't get any crash with history.txt and keyboard.txt either - what lines did you try to copy? Left or right panel?
Author of Total Commander
https://www.ghisler.com
Post Reply