Access Violation (Find Files, Close Dialog)

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
ChristianGruen
Junior Member
Junior Member
Posts: 32
Joined: 2008-09-14, 15:45 UTC

Access Violation (Find Files, Close Dialog)

Post by *ChristianGruen »

…just happened when I tried to close the »Find Files« dialog via the Escape key or the Cancel button. When I closed the dialog with the x icon, TC was completely closed.

Code: Select all

---------------------------
Total Commander 11.00
---------------------------
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):684447
671149 8E4641 8FEFA6 8FFE6D 900485 8FFE1A 4487A4 448186
8D96FC 8D93D1 8DBDFD 40F78D 8E3610 8D80F3 9D9A61 90BFDB
I didn’t manage to reproduce the bug, but I’ll be happy to collect more information.
User avatar
Usher
Power Member
Power Member
Posts: 1726
Joined: 2011-03-11, 10:11 UTC

Re: Access Violation (Find Files, Close Dialog)

Post by *Usher »

Did you use "Search in plugins" or "Search in archives"?
Andrzej P. Wozniak
Polish subforum moderator
ChristianGruen
Junior Member
Junior Member
Posts: 32
Joined: 2008-09-14, 15:45 UTC

Re: Access Violation (Find Files, Close Dialog)

Post by *ChristianGruen »

It was simple full-text search (ansi). I tried to close the window after the search was completed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Access Violation (Find Files, Close Dialog)

Post by *ghisler(Author) »

The crash seems to occur when the list of previous searches (e.g. from search in search results) is being deleted. Unfortunately I cannot find any errors in the code, so any way to reproduce the error would be very helpful.
Author of Total Commander
https://www.ghisler.com
ChristianGruen
Junior Member
Junior Member
Posts: 32
Joined: 2008-09-14, 15:45 UTC

Re: Access Violation (Find Files, Close Dialog)

Post by *ChristianGruen »

It didn’t happen for a second time so far; I’ll keep on trying.

Probably it won’t help much, but here’s the data from Windows’ Reliability History (Systemsteuerung » System und Sicherheit » Sicherheit und Wartung » Zuverlässigkeitsverlauf anzeigen).

Code: Select all

Problemsignatur
Problemereignisame:	BEX64
Anwendungsname:	TOTALCMD64.EXE
Anwendungsversion:	11.0.0.0
Anwendungszeitstempel:	00000000
Fehlermodulname:	StackHash_c77e
Fehlermodulversion:	0.0.0.0
Fehlermodulzeitstempel:	00000000
Ausnahmeoffset:	PCH_84_FROM_unknown+0x0000000000000000
Ausnahmecode:	c0000005
Ausnahmedaten:	0000000000000008
Betriebsystemversion:	10.0.22621.2.0.0.256.48
Gebietsschema-ID:	1031
Zusatzinformation 1:	c77e
Zusatzinformation 2:	c77eded0b9ac87e574509e754b1342e1
Zusatzinformation 3:	28e6
Zusatzinformation 4:	28e6d7a28f4f3cbb65b1b18bc4c6aaa0
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Access Violation (Find Files, Close Dialog)

Post by *ghisler(Author) »

I have added some extra checks to TC 11.01 RC1 to prevent the crash. Unfortunately since this cannot be reproduced easily, we cannot move this to fixed bugs. Therefore I'm moving this thread to the English forum.

Moderator message

Moved to English forum
Author of Total Commander
https://www.ghisler.com
ChristianGruen
Junior Member
Junior Member
Posts: 32
Joined: 2008-09-14, 15:45 UTC

Re: Access Violation (Find Files, Close Dialog)

Post by *ChristianGruen »

Thanks for the extra checks. I haven’t encountered the problem anymore with 11.01.
ChristianGruen
Junior Member
Junior Member
Posts: 32
Joined: 2008-09-14, 15:45 UTC

Re: Access Violation (Find Files, Close Dialog)

Post by *ChristianGruen »

I’m sorry to report that this bug still exists. Unfortunately, I’ve never managed so far to reproduce it. It may have happened 5 or 10 times over the last weeks (but I’m really using TC a lot, so that’s very infrequent). Some additional hints:

• 'Everything' is enabled.
• I’m often using Text search (with regex and other options, but without additional plugins).
• The number of final search results is usually rather small.

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

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

Stack trace (x64):8E3DC0
8DE275 8DE32C
Press Ctrl+C to copy this report!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Access Violation (Find Files, Close Dialog)

Post by *ghisler(Author) »

Unfortunately the stack trace doesn't really help:
$00000000008E3DC0 TWINCONTROL__GETCONTROLCOUNT, line 6292 of ./include/wincontrol.inc
$00000000008DE275 TWINCONTROL__BROADCAST, line 3560 of ./include/wincontrol.inc
$00000000008DE32C TWINCONTROL__NOTIFYCONTROLS, line 3575 of ./include/wincontrol.inc

It looks like the the runtime library is looking for controls which no longer exist, e.g. by getting some Windows message after the control have been destroyed. Maybe some third party tool is causing this, e.g. translation software, multiple desktop software etc?
Author of Total Commander
https://www.ghisler.com
ChristianGruen
Junior Member
Junior Member
Posts: 32
Joined: 2008-09-14, 15:45 UTC

Re: Access Violation (Find Files, Close Dialog)

Post by *ChristianGruen »

I have installed Ditto, VirtuaWin and AutoHotkey. All of them are background services that listen to keyboard shortcuts, but they weren’t deliberately triggered by me while the problem occurred. I could try to disable those three if it happens next time, though.

Yesterday, I encountered the bug again, and I managed to trigger it multiple times. Unfortunately I couldn’t detect any clear pattern how to trigger it, and after a while, the error disappeared completely.

I’ll be glad to deliver more details.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Access Violation (Find Files, Close Dialog)

Post by *ghisler(Author) »

When you can reproduce the bug, please try disabling these 3 services one by one until the bug stops from happening.
Author of Total Commander
https://www.ghisler.com
Post Reply