Synchronize Dirs - Crash report (753DB4)

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Synchronize Dirs - Crash report (753DB4)

Post by *Valentino »

While working in Synchronize Dirs I've got this crash:
---------------------------
Total Commander 11.03
---------------------------
Access violation.
Access violation
Windows 11 Professional 10.0 (Build 22631), base: 0400000

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

Stack trace (x64):753DB4
8EE0A1 908A56 90991D 909F35 9099D1 8E2B85 8E2B85 8E2DCB
8E566D 40F7AD 8ED070 8E1B53 914311 94270B 9E2DF3 7FFF21A089A1

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Yes No
---------------------------
---------------------------
Total Commander 11.03
---------------------------
Access violation.
Access violation
Windows 11 Professional 10.0 (Build 22631), base: 0400000

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

Stack trace (x64):753DB4
8EE0A1 908A56 90991D 909F35 908941 40F7AD 8ED070 8E1B53
914311 9420BC 7FFF21A089A1
Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Yes No
---------------------------
Approximate steps to reproduce:

1. Create two folders on some slow drives. In my case it's WSL virtual drive:
\\wsl.localhost\Ubuntu-24.04\home\username\some\path\dir1
\\wsl.localhost\Ubuntu-24.04\home\username\some\path\dir2

2. Put ~100 files in both folders, and then put ~20000 files to dir1 only. For example, you can unpack Boost headers twice to achieve this.
In my case:
dir1: 1 923 824 800 bytes in 21 599 file(s), in 1 789 directories (= 1 878 735k, 1 834M, 1G)
dir2: 213 771 bytes in 71 file(s), in 30 directories (= 208k)

3. Open Sync Dirs window with these folders. Options:
empty dirs: OFF
asymmetric: OFF
subdirs: ON
by content: ON
ignore date: ON
show LTR: ON
show equal: OFF
show non-equal: ON
show RTL: ON
duplicates: ON
singles: ON

4. Press Compare.

5. While "Applying filters" is running in the status bar, press Show Equal button several times without waiting for list refresh.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Synchronize Dirs - Crash report (753DB4)

Post by *ghisler(Author) »

Thanks for the report, it was very helpful. The error happens when you try to sort at the exact moment when the comparison by content ends, and TC is hiding equal files. I will disable the buttons during that short time.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Synchronize Dirs - Crash report (753DB4)

Post by *ghisler(Author) »

This should be fixed in Total Commander 11.50 beta 1, please check it!
23.08.24 Fixed: Access violation in synchronize dirs when hiding entries via arrow buttons at the end of the compare by content phase (32/64)
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Synchronize Dirs - Crash report (753DB4)

Post by *ghisler(Author) »

Since I did no longer get any similar reports, I'm moving this thread to fixed bugs. Please submit a new separate report when you get another crash.

Moderator message from: ghisler(Author) » 2024-11-06, 08:21 UTC

Moved to fixed bugs
Author of Total Commander
https://www.ghisler.com
Post Reply