[8.0ß1-x64] Compare by content crashes - Divide by zero

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
cuiviemen
Junior Member
Junior Member
Posts: 16
Joined: 2004-02-26, 13:28 UTC

[8.0ß1-x64] Compare by content crashes - Divide by zero

Post by *cuiviemen »

When trying to compare by content two files different files I am experiencing this error:

Division by zero.
Division by zero
Windows 7 SP1 6.1 (Build 7601)

Please report this error to the Author, with a description
of what you were doing when this error occurred!

Stack trace (x64):70FD12
7B3E3A 7B3B47 7D01F8 7B33EB 7B9F3B 7D115F 7BACBF 4F9CCA
4F93C7 5DAE8A 5105CD 69A2AE 69B6FC 7C5440 40EAB6 89A7E5

Press Ctrl+C to copy this report!
Continue execution?

This happens everytime, no matter what files I choose for comparison.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, cuiviemen.

So far no crash has occurred when comparing files by content here.

Total Commander 8.0 beta1 64-bit
Server 2008 R2 (64-bit)

Here the T.C. internal compare functions are used (cm_IntCompareFilesByContent, cm_CompareFilesByContent, Menu "File" => "Compare by content ..."). Do you use an external programme for this purpose like WinMerge e.g.?

Kind regards,
Karl
cuiviemen
Junior Member
Junior Member
Posts: 16
Joined: 2004-02-26, 13:28 UTC

Post by *cuiviemen »

Nope just default internal compare tool.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Cannot confirm too. Hope mr. Ghisler will find something using stack trace.

cuiviemen, have you tried to reproduce bug with clean INI? If not, try to start TC with parameter:

Code: Select all

/i=path_to_nonexisting_ini
cuiviemen
Junior Member
Junior Member
Posts: 16
Joined: 2004-02-26, 13:28 UTC

Post by *cuiviemen »

Without loaded my ini it works.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

So, it seems that we need some special condition. You may try to backup your INI and to remove parts of it and test for bug in order to understand which setting causes bug.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sounds like the font problem other users had too: If you choose a different font in Configuration - Options - Fonts for dialogs with non-Western encoding, the font isn't loaded correctly.
Author of Total Commander
https://www.ghisler.com
cuiviemen
Junior Member
Junior Member
Posts: 16
Joined: 2004-02-26, 13:28 UTC

Post by *cuiviemen »

Yes that was the culprint. If I have line CompCharSet=238 in my .ini file tc crashes. Other settings in .ini file have no such effect.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, please try with beta 2 now!
Author of Total Commander
https://www.ghisler.com
cuiviemen
Junior Member
Junior Member
Posts: 16
Joined: 2004-02-26, 13:28 UTC

Post by *cuiviemen »

Beta 2 with CompCharSet=238 works ok :).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
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