TC8ß10-x64:Access violation@closing, while thumbnail extract

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

TC8ß10-x64:Access violation@closing, while thumbnail extract

Post by *HolgerK »

Access violation @ closing TC, while thumbnail extracting is still active.
(TC8.0ß10 x64, Windows 7 Ultimate x64)

I'm not sure if all conditions are necessary, but here is what did to reproduce the case:

1. Start TC with new ini file where PreloadThumbnails=1 is set
2. Change to Thumbnail View <Ctrl+Shift+F1>
3. Open a huge directory with jpg files in Branch View <Ctlr+B>
4. While thumbnail extraction is still active: close TC
->
Problem signature:
Problem Event Name: BEX64
Application Name: TOTALCMD64.EXE
Application Version: 8.0.0.1
Application Timestamp: 00000000
Fault Module Name: tcunzl64.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4de57157
Exception Offset: 0000000014e568f0
Exception Code: c0000005
Exception Data: 0000000000000008
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1031
Additional Information 1: a261
Additional Information 2: a261f9cbc6a78599e10930b057030e77
Additional Information 3: 8bd6
Additional Information 4: 8bd680f771ae74840391041a6d2c1b62

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
Visual Studio2010 call stack from debugger:
0000000014e568f0()
TOTALCMD64.EXE!00000000008d2dbb()
[Frames below may be incorrect and/or missing, no symbols loaded for TOTALCMD64.EXE]
00000000118d5528()
000000000000aa20()
000000000000aa20()
00000000118cab08()
0000000004a4d2a0()
TOTALCMD64.EXE!00000000004142e7()
0000000004a4d2c8()
0000000004a4d450()
00000000733c0718()
0000000000000001()
Got this multiple times. Always the same call stack.

Regards
Holger
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 cannot reproduce it, sorry. I tried it about a dozen times.

Which method do you use for extracting the thumbs?
Author of Total Commander
https://www.ghisler.com
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Which method do you use for extracting the thumbs?
Default:
Temp.ini wrote:[Configuration]
PreloadThumbnails=1

firstmnu=2554
SeparateTree=0
PanelsVertical=0
[FileSystemPlugins64]
$checksum$=3014672
[left]
path=l:\
ShowAllDetails=1
SpecialView=2
show=1
sortorder=0
negative Sortorder=0
[right]
path=c:\
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0
[ListerPlugins64]
$checksum$=3014672
[ContentPlugins64]
$checksum$=3014672
[RightHistory]
0=c:\
1=c:\Drivers\
[LeftHistory]
0=l:\
1=c:\
Maybe the thumbnail cache needs to be cleared before?

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

Post by *petermad »

I can reproduce it with this error under Win 7 x64:
Problemsignatur:
Navn på problemhændelse: BEX64
Programnavn: TOTALCMD64.EXE
Programversion: 8.0.0.1
Tidsstempel for program: 00000000
Fejlmodulnavn: tcunzl64.dll_unloaded
Fejlmodulversion: 0.0.0.0
Tidsstempel for fejlmodul: 4de57157
Undtagelsesforskydning: 000000000fa868f0
Undtagelseskode: c0000005
Undtagelsesdata: 0000000000000008
OS-version: 6.1.7601.2.1.0.768.3
Landestandard-id: 1030
Flere oplysninger 1: a261
Flere oplysninger 2: a261f9cbc6a78599e10930b057030e77
Flere oplysninger 3: 8bd6
Flere oplysninger 4: 8bd680f771ae74840391041a6d2c1b62
The pictures was located on a rather slow network share (MShome).

I did not enable branch view before changing to thumbnail view - but after.

The pictures were jpg's for which I use the Explorer (OLE2) method for retriving thumbnails. I had deleted my thumbnail cache files before testing.

ini-settings:

Code: Select all

[Configuration]
ThumbsLocation=F:\Thumbs
ThumbsCopyDel=1
ThumbOptions=11
ThumbExplTypes=*.*
ThumbPlgTypes=*.thm *.ttf *.fon
ThumbIrfXnTypes=*.*
ThumbTxtTypes=*.txt *.ini *.mnu *.inc *.lng
ThumbsCustomFieldsEnabled=1
ThumbsCustomField=[=tc.writedate.D-M-y]   [=tc.size.bkMG]
ThumbWidthNoCache=96
ThumbHeightNoCache=72
PreloadThumbnails=2
ThumbnailPrealloc=100000
ThumbnailMemoryLimit=500

[Colors]
ThumbnailFrame=-1
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) »

Unfortunately I couldn't reproduce it even with your ini, even after deleting the cache. Could you try again with beta 11, now? I have added some extra checks.
Author of Total Commander
https://www.ghisler.com
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Sorry, problem persists:
Problem signature:
Problem Event Name: BEX64
Application Name: TOTALCMD64.EXE
Application Version: 8.0.0.1
Application Timestamp: 00000000
Fault Module Name: tcunzl64.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4de57157
Exception Offset: 000000000c5968f0
Exception Code: c0000005
Exception Data: 0000000000000008
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1031
Additional Information 1: a261
Additional Information 2: a261f9cbc6a78599e10930b057030e77
Additional Information 3: 9429
Additional Information 4: 9429924aab99766095c5343f7e66bdb5

__________
Call stack
> 000000000c5968f0()
TOTALCMD64.EXE!00000000008d48fb()
[Frames below may be incorrect and/or missing, no symbols loaded for TOTALCMD64.EXE]
0000000010ac2dc8()
0000000000006020()
0000000000006020()
0000000010abcda8()
000000000492cfd0()
TOTALCMD64.EXE!00000000004142e7()
000000000492cff8()
000000000492d250()
0000000073022a05()
0000000000000001()


Problem signature:
Problem Event Name: BEX64
Application Name: TOTALCMD64.EXE
Application Version: 8.0.0.1
Application Timestamp: 00000000
Fault Module Name: tcunzl64.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4de57157
Exception Offset: 000000000a3e68f0
Exception Code: c0000005
Exception Data: 0000000000000008
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1031
Additional Information 1: a261
Additional Information 2: a261f9cbc6a78599e10930b057030e77
Additional Information 3: 9429
Additional Information 4: 9429924aab99766095c5343f7e66bdb5

__________
Call stack
> 000000000a3e68f0()
TOTALCMD64.EXE!00000000008d48fb()
[Frames below may be incorrect and/or missing, no symbols loaded for TOTALCMD64.EXE]
0000000013bb2db8()
0000000000006020()
0000000000006020()
0000000013bacd98()
0000000004accfd0()
TOTALCMD64.EXE!00000000004142e7()
0000000004accff8()
0000000004acd250()
00000000733d8dd3()
0000000000000001()



Problem signature:
Problem Event Name: BEX64
Application Name: TOTALCMD64.EXE
Application Version: 8.0.0.1
Application Timestamp: 00000000
Fault Module Name: tcunzl64.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4de57157
Exception Offset: 000000000d4f68f0
Exception Code: c0000005
Exception Data: 0000000000000008
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1031
Additional Information 1: a261
Additional Information 2: a261f9cbc6a78599e10930b057030e77
Additional Information 3: 9429
Additional Information 4: 9429924aab99766095c5343f7e66bdb5

__________
Call stack
> 000000000d4f68f0()
TOTALCMD64.EXE!00000000008d48fb()
[Frames below may be incorrect and/or missing, no symbols loaded for TOTALCMD64.EXE]
0000000010a12dc8()
0000000000006020()
0000000000006020()
0000000010a0cda8()
0000000004a9cfd0()
TOTALCMD64.EXE!00000000004142e7()
0000000004a9cff8()
0000000004a9d250()
0000000073379266()
0000000000000001()
Additional hint:

It seems that the reproducibility is better if TC is maximized and <PgDwn> is used multiple times until you reach an area where the jpgs are not cached.
Closing TC ends here about 80%-90% with an exception.

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

Post by *petermad »

I can still reproduce the error in TC 8-0b11 x64with an error report that is different in some places:
Problemsignatur:
Navn på problemhændelse: BEX64
Programnavn: TOTALCMD64.EXE
Programversion: 8.0.0.1
Tidsstempel for program: 00000000
Fejlmodulnavn: tcunzl64.dll_unloaded
Fejlmodulversion: 0.0.0.0
Tidsstempel for fejlmodul: 4de57157
Undtagelsesforskydning: 0000000004b668f0
Undtagelseskode: c0000005
Undtagelsesdata: 0000000000000008
OS-version: 6.1.7601.2.1.0.768.3
Landestandard-id: 1030
Flere oplysninger 1: a261
Flere oplysninger 2: a261f9cbc6a78599e10930b057030e77
Flere oplysninger 3: 9429
Flere oplysninger 4: 9429924aab99766095c5343f7e66bdb5
This time I have also tested with images on the local harddisk - I don't even have to use ctrl+B - all I do is:

1: Switch to thumbnail view
2: Enter a directory with jpg's at about 600-800 kB - there have to be more than can be shown in the file panel at one time.
3. As soon as all the visible thumbnails are generated I close TC (while it is still generating thumbnails that are out of sight) - and I get the Windows error box.

If I close TC while there are still visible files for which thumbnails are NOT yet generated i do NOT get the error.

I happens when I close TC with the red X in the top right corner OR with TC's "Alt+F4 Exit" button - but not if I use Alt+F4 keypress to close TC.

I can add that I cannot reproduce the error in the 32bit version of TC.
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'm sorry, I cannot reproduce it. What's strange is that the error occurs outside of my code, so TC's crash report function doesn't catch it.

tcunzl64.dll_unloaded seems to indicate that it occurs when the tcunzl64.dll is being unloaded, but that doesn't make any sense. :(
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)

It seems that it only happens if PreloadThumbnails is set to 1 or 2 - apart from that I can reproduce it with a fresh ini file.
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 it only happens if PreloadThumbnails is set to 1 or 2 - apart from that I can reproduce it with a fresh ini file.
Ah, I see - I will try that, thanks for the hint.
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 »

Seems to be fixed in TC 8.0b12 x64 :-)
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) »

Thanks, can anyone confirm it please?
Author of Total Commander
https://www.ghisler.com
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Sorry for the late reply (Little time for testing these days, I'm currently moving to a new domicile).

I could reproduce the bug with TC8.0ß11 x64 on a different windows 7 machine but no more with TC8.0ß12 x64.
So it seems to be fixed.

Thanks
Holger
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply