[7.55pß1] Crash on view from external sync

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

Moderators: white, Hacker, petermad, Stefan2

User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

[7.55pß1] Crash on view from external sync

Post by *Flint »

I opened an external Sync Dirs, compares two RAR archives by contents — one file was present only on the left side. I pressed F3 on it (it was an HTML file and opened in Lister with the HtmlView plugin). After I closed the Lister, TC crashed with the following message:

Code: Select all

---------------------------
Total Commander 
---------------------------
Access violation at address 00418291. Read of address 0343410A.
Access violation at address 00418291. Read of address 0343410A
Windows XP Pro x64 SP2 5.2 (Build 3790)

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

Windows exception: C0000005
Stack trace:
00418291
>419C60  4EB264  69260A  6B59AB  
Raw:
6266E2  41CA42  41CDE8  41CEA4  445D97  445DE0
442A25  444C35  416230  443FE9  444966  414554
443F27  414554  419AA4  419B9B  419C60  455419
4EB264  401502  401DE5  4023DB  4026A4  4036AD
57BFBA  66006C  66006C  4019D4  66006C  6B3736
6B3736  460060  40208E  402235  402235  4021B4
4023DB  6B249B  460098  67513E  4019D4  402235
4033BC  4021B4  69260A  4199C7  6B59AB  
Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Yes   No   
---------------------------
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48173
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for your report, I will check it.

Please report crashes by e-mail. It makes no sense to report them in the forum because
- normally other users cannot reproduce them
- those who report them can usually not reproduce them either
- there is nothing to discuss

Thanks!
Author of Total Commander
https://www.ghisler.com
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Then you should add some text in the popup like:
"Please send this error report to this [Email]."

Perhaps you should also to add an "email" button to automatically open the email program. Or add an "report to author" button that does it automatically.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48173
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I'm using a standard MessageBox here because at the moment of the crash, it's possible/probable that more complex dialog will not work.
Author of Total Commander
https://www.ghisler.com
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

I know about this, so I suggested to add the text.
Perhaps you could open another window afterwards capable to send the report. (If it doesnt open still the msgbox opens.)
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

ghisler(Author) wrote:Please report crashes by e-mail. It makes no sense to report them in the forum
I will keep that in mind. However, reproducability of this particular problem is 100% on two my computers (XP and XP x64).

In public beta 2 it is still there, BTW.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48173
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I cannot reproduce it. Do you get it also with a fresh wincmd.ini (no Lister plugins)?
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

ghisler(Author) wrote:Sorry, I cannot reproduce it. Do you get it also with a fresh wincmd.ini (no Lister plugins)?
No, HTMLView must be installed. Here is the minimal INI with which I can reproduce the problem:

Code: Select all

[ListerPlugins]
0=%COMMANDER_PATH%\Plugins\Lister Plugins\HTMLView\HTMLView.wlx
Of course, it could be a problem in the plugin, but it did not crash in earlier TC versions. I now checked early betas and found that the problem appeared in private beta 3 (beta 2 does not crash, beta 3 does).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48173
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for the info. I'm still using IEview here, not HtmlView - so far no crashes. Can you try whether you get it also with Ieview? If yes, it may depend on what HTML files exactly you are trying to view.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

ghisler(Author) wrote:Can you try whether you get it also with Ieview?
I tried with IEView 1.94a — no crash.

BTW, I found another prerequisite: the Lister should be closed with Esc. If I close it using the [X] titlebar button, or by menu File->Close, TC does not crash.

I uploaded the two test archives here:
http://flint-inc.ru/Temp/tcbeta75/syn2.b185.rar
http://flint-inc.ru/Temp/tcbeta75/syn2.b185a.rar

My scenario:

1. Start TC using the following command line:
TOTALCMD.EXE /S=S "E:\Temp\syn2.b185a.rar" "E:\Temp\syn2.b185.rar" /i=.\test.ini
test.ini contents:

Code: Select all

[Configuration]
SyncFlags=1
[ListerPlugins]
0=%COMMANDER_PATH%\Plugins\Lister Plugins\HTMLView\htmlview.wlx
(I'm using comparing subdirs here only to see the HTML files in comparison results; if you repack the RAR placing a HTML file in the root, the bug is reproducable even without SyncFlags option.)

2. Press Compare.

3. Select any of the HTML files.

4. Press F3.

5. Press Esc.

6. TC crashes.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48173
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, I will test with HtmlView.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48173
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This error should no longer occur with beta 3, please test!
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

ghisler(Author)
Cannot confirm. Here it still crashes on the steps I provided in my previous post. Crash message:

Code: Select all

---------------------------
Total Commander 
---------------------------
Access violation at address 00627B5D. Read of address 02484FDC.
Access violation at address 00627B5D. Read of address 02484FDC
Windows XP Pro x64 SP2 5.2 (Build 3790)

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

Windows exception: C0000005
Stack trace:
00627B5D
>41677E  442DD5  414554  444588  4448C3  4468E0
418323  41CA9A  41CEFC  444D16  414554  4442D7
414554  419AFC  419CB8  4EBB5C  69425D  6B7C67

Raw:
446AD5  44508F  402E36  442DD5  444FE5  67C484
416230  444D22  414554  44508F  416DC1  44566D
442DD5  444FE5  416230  444D22  414554  41677E
417696  442DD5  444FE5  416230  444D22  414554
444588  40208E  402235  4023DB  4026A4  4036AD
44413E  44470E  4448C3  616F84  4023DB  4026A4
402D16  402F5F  402D43  4212FA  4212A1  6335BD
62A360  414F58  416B28  444A6A  4468CE  4468E0
62FC83  418323  628007  41CA9A  41CE40  41CEFC
446147  446190  442DD5  444FE5  416230  444399

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Yes   No   
---------------------------
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48173
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I can no longer reproduce this error, I tried really many times. Please see my e-mail to you for a possible solution.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Just for the record: the bug was reproduced only in multi-monitor configurations and was finally fixed in 7.55rc1.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
Post Reply