[9.0b17x86, rc2] Crash in compare and edit

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

Moderators: Hacker, petermad, Stefan2, white

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

[9.0b17x86, rc2] Crash in compare and edit

Post by *MVV »

I don't know if this bug exists in 9.0rc2, I can't reproduce it. I compared local file with file in archive and switched to edit mode in order to insert line from archived one into local one. It was necessary for me to insert that line into the middle of local file so I inserted empty line in local file and then inserted new line with some random characters in archived one in order to resync comparison from previous line in local file (just between inserted new line) and first line in archived one (before needed line), and when I've confirmed resync with erasing undo history the bug have happened...

Code: Select all

---------------------------
Total Commander 9.0Я17
---------------------------
Access violation at address 0053733E. Write of address 063EA720.
Access violation at address 0053733E. Write of address 063EA720
Windows 7 SP1 6.1 (Build 7601), base: 00400000

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

Windows exception: C0000005
Stack trace:
0053733E
00544A1B  0042E7CE  >00426318  0042B9FC  0042BA98  
Raw:
005372EF  0044A2A5  004470B5  00544A1B  0042E7CE  0042EB10
0042EEEC  00426318  0042B9FC  0042BA98  0042BC52  
Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Да   Нет   
---------------------------
Hey wait, I can reproduce it with 9.0rc2:

Code: Select all

---------------------------
Total Commander 9.0RC2
---------------------------
Access violation at address 00537B9E. Write of address 07180FF4.
Access violation at address 00537B9E. Write of address 07180FF4
Windows 7 SP1 6.1 (Build 7601), base: 00400000

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

Windows exception: C0000005
Stack trace:
00537B9E
0054529B  0042E93E  >00426488  0042BB6C  0042BC08  
Raw:
00537B4F  0044A415  00447225  0054529B  0042E93E  0042EC80
0042F05C  00426488  0042BB6C  0042BC08  0042BDC2  
Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Да   Нет   
---------------------------
Steps:
1. Compare TC's history.txt (make a copy) with test file 1.txt (any one-line file, I've copied a line from keyboard.txt into it).
2. Insert a new line into history.txt (I've inserted it at index 30) and recompare files (save changes).
3. Insert new line at the beginning of 1.txt and type some random characters into that line (I've typed qwerty).
4. Select some typed characters in 1.txt (I've selected wer) and some characters from the line before inserted empty one (I've selected ey from key word) of history.txt and resync comparison from selected lines.
5. Sometimes I can't reproduce it from first try so I remove new line from 1.txt and recompare files, and then repeat steps 3-4.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Thank you, Christian, seems to be fixed in 9.0 RC3!
BTW I've noticed that you've mentioned "synchronize dirs" in corresponding history line instead of "compare by content":
25.10.16 Fixed: Crash in synchronize dirs after edit, re-compare (with save), edit, then "recompare from here" (32/64)
Post Reply