Stand-alone Sync Dirs tool crash

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

Moderators: Hacker, petermad, Stefan2, white

User avatar
ND
Member
Member
Posts: 150
Joined: 2006-04-10, 16:24 UTC
Location: Sibiu, RO

Stand-alone Sync Dirs tool crash

Post by *ND »

I just got a crash in the stand-alone Sync Dirs tool:
Application Error wrote:Exception EAccessViolation in module totalcmd.exe at 000442FE.
Access violation at address 0044552A. Read of address 01AA40B4.
I had compared two folders with many files (~4k directories), found about 100 differences, had already performed some operations (deleted some files on one side) and the crash occured while scrolling (immediately after a mouse wheel down, which is why I think it may be related to scrolling).

WinXP SP2, TC 7.5pb6, English, portable

It has only happened this one time (i.e. the problem is not reproducible), but I thought the addresses from the error message may help in tracking down the problem.
aNDreas Bolotă
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for your report. Unfortunately the address doesn't help me much. It's in function TWinControl.GetHandle, so it seems that Windows tries to get a Window handle for a control which no longer exists. I will try to turn on stack traces in the standalone sync tool the next beta, maybe that helps to find the error.
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 am not alone! Same Mousewheel down error.
Topics should be merged.

Edit:
Didnt you add support for stack traces in the last beta? Whats the difference?

BTW I just checked with Process explorer what dlls are loaded by the different syncs (TC intern and standalone)
The following dlls are NOT loaded in standalone sync:

Code: Select all

ATL.dll	
iertutil.dll
mscms.dll
NETAPI32.dll
ntshrui.dll
urlmon.dll
USERENV.dll
There is something about a mousehandle in "iertutil.dll"
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The next beta will contain a better stack trace function which may help me find the problem.
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 »

2ghisler(Author):
Did you really improve error output in last beta (pb7)?
You announced it in last post, but I didn't find a line in "history.txt".

Also I got this error on mouse-wheel down:

Code: Select all

---------------------------
Application Error
---------------------------
Exception EAccessViolation in module TOTALCMD.EXE at 001FF58C.
Access violation at address 006007B8. Read of address FFFFFF88.
---------------------------
OK   
---------------------------
2ND:
What Mouse do you have?
I got a "Logitech MX 518".
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 »

Perhaps I got a way to reproduce the problem:

1) I just compared 2 folders
2) press F3 on a png file (lister starts - but doesnt show the image - see here)
3) close lister
4) use mouse wheel down

Perhaps the 2 instances of TC (lister & sync) interfere each other.

I got a similar (short) error like above and I got:

Code: Select all

---------------------------
Total Commander 7.50PB7 pre1
---------------------------
Access violation at address 00402DDE. Read of address 616C6F49.

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

Windows exception: C0000005
Stack trace:
00402DDE
>441BE1  441B1F  443A13  443A6F  441B1F  44127B
522CE0  679130  69A325  
Raw:
402E4E  441BE1  443DD1  415B6C  4431B9  443B11
413E90  4430F7  413E90  417ACE  402E4E  441BE1
443DD1  415B6C  4431B9  441B1F  443A13  41422F
443A6F  444C7D  441BE1  443DD1  415B6C  4431B9
441B1F  44127B  4158CF  417D2D  4546DA  403296
4034AB  698FFE  698FFE  698FFE  600692  600CD7
600CED  402235  4033D4  4021B4  4023B3  4023DB
4023B3  4023DB  600DAE  44567C  4034AB  4034AB
443E7B  44567C  445647  44567C  4144F7  414568
414A1F  40329A  41489B  416464  44386E  44566A

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Ja   Nein   
---------------------------
BTW: Why is there a "pre1" in the title of the bugreport?

Edit: In my tests "2" could be call of lister on any file.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

I had tried to reproduce (following the steps mentioned above) and it was looking OK until I decided to close Sync dialogue:

Code: Select all

---------------------------
Application Error
---------------------------
Exception EAccessViolation in module TOTALCMD.exe at 00044452.
Access violation at address 0044567E. Read of address 00DC4090.
---------------------------
OK   
---------------------------
Trying with clean ini:

Code: Select all

---------------------------
Application Error
---------------------------
Exception EAccessViolation in module TOTALCMD.EXE at 001FF58C.
Access violation at address 006007B8. Read of address FFFFFF88.
---------------------------
OK   
---------------------------
As mentioned few posts above: it happens only if mouse wheel has been used. On my PC error message is not shown right away. It waits for close.

Mouse: Microsoft something (I can't find a box ;) ) but without any special driver installed.

2Samuel
Looks like Christian hardcoded version number.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
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 »

Great to hear this semi confirmation. I wondered why it was only me.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

Samuel wrote:I wondered why it was only me.
I don't remember any earlier note about lister. Without it, it's impossible to me to get any crash. There is even no difference if I use plugins or not.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
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 »

There is actually no earlier note about lister. I think I even got some crashes without him. But I dont know for sure.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I don't remember any earlier note about lister. Without it, it's impossible to me to get any crash.
I can confirm that, thanks very much! The problem is that Lister thinks that it is loaded as a standalone viewer, because there is no Totalcmd.exe main window. Therefore it installs its own scroll wheel handler. When you then close Lister, that handler will point to nowhere because Lister is no longer there. Now it also makes sense why the stack trace didn't help - Windows tried to call my scroll wheel handler, but it was no longer there...
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 »

Sounds great. This randomly appearing error just got on my nerves.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

If you need to use lister to view a file, keep it open until you close sync to avoid this error. If you use multiple listers, keep the last opened until you close sync.
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 »

Confirmed.
I hope you mean as a workaround :D
Looking forward to the next beta.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, of course I mean it as a workaround! :)
Author of Total Commander
https://www.ghisler.com
Post Reply