Synchronize Dirs - Crash report (base: 0400000)

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

Moderators: white, Hacker, petermad, Stefan2

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

Synchronize Dirs - Crash report (base: 0400000)

Post by *Valentino »

While working in Synchronize Dirs I've got this crash:

---------------------------
Total Commander 11.02
---------------------------
Access violation.
Access violation
Windows 11 Professional 10.0 (Build 22621), base: 0400000

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

Stack trace (x64):8C5288
927B0D 747395 75890B 40F78D 8E9730 8DE213 43D0F9 9E0251
911AAC 9EBDDB 7FF94BAB8241
Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Yes No
---------------------------

Synchronize Dirs was open several hours, over night, and multiple external file comparers were launched during this time.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Synchronize Dirs - Crash report (base: 0400000)

Post by *ghisler(Author) »

Thanks, I will check it. The addresses seem to be indeed withing the sync tool.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Synchronize Dirs - Crash report (base: 0400000)

Post by *ghisler(Author) »

Please check if you can still reproduce this with Total Commander 11.03 RC1, I have tried to add a solution.
Author of Total Commander
https://www.ghisler.com
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Re: Synchronize Dirs - Crash report (base: 0400000)

Post by *Valentino »

How can this be triggered? What causes the bug - number of spawned file comparers, or period of time during which Sync Dirs is open, or maybe date should change?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Synchronize Dirs - Crash report (base: 0400000)

Post by *ghisler(Author) »

1. Run TC 11.02 or older
2. Open two directories with at least one TEXT file in common (same name) but with different content, e.g. test.txt
3. Open "Synchronize dirs"
4. Click "Compare"
5. Double click on a pair of different text files to compare by content
6. Close "Synchronize dirs"
7. Re-open "Synchronize dirs", but do NOT click on "Compare"
8. Switch to the files being compared by content
9. Switch to edit mode
10. Change one file slightly and save
11. Close the compare tool
-> access violation, because TC tries to update the file pair in "Synchronize dirs", but there is no list of files
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Synchronize Dirs - Crash report (base: 0400000)

Post by *ghisler(Author) »

Could anyone please reproduce this crash and fix?
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4623
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Synchronize Dirs - Crash report (base: 0400000)

Post by *white »

Issue confirmed.
Tested OK using TC 11.03rc1 32-bit and 64-bit.

Moderator message from: white » 2024-01-23, 11:13 UTC

Moved to Fixed bugs.
Post Reply