[8.0ß1-x64] Access Violation on breadcrumb bar

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[8.0ß1-x64] Access Violation on breadcrumb bar

Post by *petermad »

I still have this bug http://ghisler.ch/board/viewtopic.php?p=217075 with 8.0ß1 both x64 an 32 bit version.

But in the 64 bit version I now get this Access Violation:

Code: Select all

Total Commander 8.0ß1
---------------------------
Access violation.
Access violation
Windows 7 SP1 6.1 (Build 7601)

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

Stack trace (x64):6D0D54
6D039A 7DB4C7 7DB407 7EA22C 771E92D3 43C4E3 6CB1FE 6CC046
6C9733 6C9AB8 69E3C0 92C7AA 92C982 6A6FDB 86F275 870FCC

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Ja   Nej   
---------------------------
It happens when I have set BreadcrumbDelayButton=250 and click several times fast on the arrow-down button that comes up when I hover the breadcrumb down-arrow for virtual folders in the left side of the breadcrumb bar.

Maybe this can spread some light over why I have the http://ghisler.ch/board/viewtopic.php?p=217075 bug on my Win 7x64 machine. I have no problems with the breadcrumb bar on my Win XP machine.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It seems that TC hangs in function GETDIRFROMIDLISTTHREAD, which is a thread to get the directory list from virtual folders. The error occurs in a timer which tries to enable/disable the up/down arrow buttons. Apparently there is no file list yet, so TC crashes trying to access the missing list. I will catch that error. Unfortunately this will not make reading from the virtual folder any faster. :(

You wrote that you were able to fix the problem. What did you change just before it became slow again?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

You wrote that you were able to fix the problem.
Not really. All I can do is "train" TC to show the virtual folder faster, by hovering the menu entries several times. But it only lasts until I click in one of the file panels, whereafter it is bad again. It actually seems even slower in TC 8 - easily up to 20 to 30 seconds or more to show a virtual folder, and often the folder "Libraries" is recognized as empty even though it is not (it contains the standard content installed by win 7 - I don't use them).

The whole thing seems to me to have something to do with focus. If I hover the breadcrumb down-arrow (BreadcrumbDelayButton=-250), it will usually take 20 seconds for the breadcrumb menu to open (40 seconds in the 64bit version), but if I after hovering the down-arrow quickly move the cursor up to one of the drive buttons (has to be another drive than the current), and then move it back, the the breadcrumb menu opens immediately in the 32 bit version (7.x and 8.x).

If I do the same in the 64bit version I get this:

Code: Select all

---------------------------
Total Commander 8.0ß1
---------------------------
Access violation.
Access violation
Windows 7 SP1 6.1 (Build 7601)

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

Stack trace (x64):6D0D54
6D039A 7DB4C7 7DB407 7EA22C 775C92D3 43C4E3 6CB1FE 6CC046
6C9733 6C9AB8 69E3C0 92C7AA 92C982 92D502 40EAB6 7AAECB
Usually in the 32bit version when I hover a virtual folder in the breadcrumb menu I can shorten the wait by clicking in the file panel.

If I do that in the 64bit version I get this:

Code: Select all

---------------------------
Total Commander 8.0ß1
---------------------------
Access violation.
Access violation
Windows 7 SP1 6.1 (Build 7601)

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

Stack trace (x64):6D0D54
6D039A 7DB4C7 7DB407 7EA22C 775C92D3 43C4E3 6CB1FE 6CC046
6C9733 6CFEBE 6D0545 7DB4C7 7DB407 7EA22C 775C92D3 43809F
The breadcrumb menu seems to live a life of its own as a separate window. If for example I get tired of waiting for a virtual folder to open and click the close button in the upper right corner to close TC, then I have to click to times - one to give TC focus and one to activate the button. (That will give the same access violation as the one just above, when I do it in the 64bit version).

In the x64 version when I am waiting for a virtual folder to open I can actually see that there are two windows open by hovering TC's icon in the taskbar - the breadcrumb menu is labeled "PathSelForm" - see http://madsenworld.dk/tcmd/breadcrumb64-2.png

In the 64bit version during one of the Access violations the breadcrumb menu stayed on the screen independently of TC see: http://madsenworld.dk/tcmd/breadcrumb64.png

When I get these access violations in the x64 version, I cannot kill TC by choosing "No" to "Continue execution"
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, the 20-30 seconds are an indication that you have a multi-homed network problem, e.g. when you have a DSL modem connected to the PC, and TCP/IP is bound both to dialup networking AND the modem directly, or when using Vmware. Unfortunately I have no idea how to debug these problems.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Well, as I wrote here: http://ghisler.ch/board/viewtopic.php?p=217530#217530 I also have the problem when I start Windows7 in Diagnostic startup with only basic services and devices and no network support at all.

I don't use Vmware, and my x64 computer is connected to the same router/adsl modem as my x86 machines that has no problems with the breadcrumb menu.

If multi-homed network was the problem, then shouldn't I also have the same problems when accessing the virtual folders from the file panels (which I don't)?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

What about the solution proposed in the last message of that thread (OldStyleDir=0)?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

What about the solution proposed in the last message of that thread (OldStyleDir=0)?
That has no effect at all. Zmeyw, who had success with OldStyleDir=0, had performance problems in the file panels, not in the breadcrumb bar. I don't have any performance problems when accessing the virtual folders in the file panels.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I see. Maybe you can find out with "process monitor" from sysinternals on what operation it hangs.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I couldn't do anything about the slowness, but do you still get the access violation?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ghisler(Author)

I havent had any AC's with TC 8.0b2.

I Have tried with process monitor to see what goes on, whn TC hangs when opening the breadcrumb bar, but it is tough to know what to look for.

Here are some observations between My Win 7 and my Win XP installation - remember that breadcrumbs works fine for me under Win XP:

I get some INVALID DEVICE REQUEST results for the current paths for FileSystemControl under win 7 that I don't get with Win XP.

I also get plenty of BUFFER TOO SMALL and BUFFER OVERFLOW results for RegQueryKey under win 7, and only a few under Win XP.

Under win 7 I get a lot of REPARSE results for RegOpenKey - I don't get any of those under Win XP

Let me know if there are any reports from Process Monitor I can make - to elucidate the slowliness.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I get some INVALID DEVICE REQUEST results for the current paths for FileSystemControl under win 7 that I don't get with Win XP.
Interesting, any ideas what the parameters are?
I also get plenty of BUFFER TOO SMALL and BUFFER OVERFLOW results for RegQueryKey under win 7, and only a few under Win XP.
This isn't a problem. When this happens, the calling program has to allocate a larger buffer and try again.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Interesting, any ideas what the parameters are?
I am not quite sure what you mean by parameters. Process Monitor shows "Control: FSCTL_LMR_QUERY_DEBUG_INFO" in the "Detail" column and "FileSystemControl" in the "Operation" column for those INVALID DEVICE REQUEST's.

But I get those INVALID DEVICE REQUEST's both for updating the file panels and for the breadcrumb.

What I get the most are 100's of NAME NOT FOUND for RegQueryValue and RegOpenKey just by hovereing the breadcrumb virtual folder arrow. But I get even more of those by using cm_OpenDeskTop, and the file panels show the virtual folders without delay.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Unfortunately I couldn't do anything about the slowness, but do you still get the access violation?
I haven't had any access violations since beta 1, but the slowness now often exeeds to freezing TC for several minutes, which is very annoying when I accidently hover the breadcrumb bars virtual folder down arrow.

Any chance that you could make an ini-setting to disable just that part of the breadcrumb bar?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

That would only be a last resort. But don't you have to click on the button to open the breadcrumb menu anyway?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

But don't you have to click on the button to open the breadcrumb menu anyway?
No, I use BreadcrumbDelayButton=-250

The button is too much of a nuisance - then I might as well disable the breadcrumb bar altogether.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply