-->> Shark's website <<--

Shark's Help Forum

Search
  Create an account  
Total commander crashes when using icaros 3.x

#1
Hi,

I'm using Totalcommander 9.51 (current latest) and I've tried Icaros 3.10 and 3.20 beta 1 and RC1, all on windows 10 (both my laptop and desktop).

When using the 3.x Icaros versions it crashes (freezes, then quits) when loading video thumbnails. Not all of them, but many. I've got folders full of webm and mp4 files, and there are always a few that make it crash. As soon as I turn thumbnailing off in Icaros, it works fine again.

Everything works great in plain Explorer, and Totalcommanders uses "explorer method (OLE2)" so not sure what it could be.

On my old laptop with windows 8.1 and icaros 2.3 everything does work fine in Totalcommander.

I hope there's a fix for this. I love icaros, but also Totalcommander, so I'm hoping they'll be able to get along again.

Kiind Regards, S.
Reply

#2
Windows 10 - version (build)?
Icaros - x86 + x64 installed?
Total commander - x86 or x64 or both? Modification (repack) edition or clear version from official site? Use "Thumbnail view" (CRTL+SHIFT+F1) or another method?
System logs (journal) - any info about crash?

P.S. I'm simple user, but info = more chance find answer/ repeat issue and fix.
Reply

#3
Hi, I'll try adding some extra info.

Totalcommander log didn't show much, but I have found Eventviewer entries that might help. Here's some interesing lines (I decided against uploading the whole file because I'm not sure how safe that is):

Sig[3].Name=Fault Module Name
Sig[3].Value=swscale-ics-5.dll
Sig[4].Name=Fault Module Version
Sig[4].Value=5.2.100.0

I'm only using 64 bit of everything. Windows build 20H2. Right now I've reverted back to 2.3 and all works well again. I doubt windows's exact version matters much because I've had this problem for a long time, during many versions of windows and a few of Icaros. I was hoping new versions would solve it, but they haven't. As I have this problem on two separate machines, I figured it would be easy to reproduce just by running TC.

You've made me curious for that repack edition. Never heard of it. Might give it a try.

Kind Regards, S.
Reply

#4
Thank you once again Dolmatov for asking the right questions!

Shabee, from the looks of it, this isn't strictly related to TotalCommander, but probably caused by a specific file.
Could you try enabling DebugMode. That should give you a crash dialog, whenever an Icaros crash occurs.
And the dialog should give you the name of the file that's giving issues. 

Use the .reg files attached to this post to enable and disable DebugMode. 
Just double-click them and click merge to use them.

If you can send me file that causes the crash, and perhaps the crash minidump,
I'll be sure to take a look at it right away.


Attached Files
.reg   Disabled_icaros_debug_mode.reg (Size: 186 bytes / Downloads: 276)
.reg   Enabled_icaros_debug_mode.reg (Size: 212 bytes / Downloads: 271)
Reply

#5
Hi Xanashi,

Thanks for the response. I've installed Icaros 3.20 x64, then ran the .reg file (checked in regedit if everything was ok). After that, I've made totalcommander crash a few times by browsing video folders in thumbnail mode, but sadly I didn't get any crash popups. I've checked a bunch of places hoping to find a logfile, to be sure, but I couldn't find one. I've also upgraded to Totalcommander 10 beta 5 to see if that made a difference, but it still crashed.

What I did notice, is that when I put all problem folders in the included locations and make Icaros build the cache behorehand, I can browse those folders in totalcommander without problems. It only seems to happen whenever thumbnails are created on the spot. Does that help perhaps?

Kind Regards, S.
Reply

#6
I've extracted the following from a crash .dmp file from totalcommander. Maybe it'll help.

Regards, S.

Code:
CONTEXT:  (.ecxr)
rax=00000000000000a0 rbx=000000000cd096c0 rcx=0000000011c8e000
rdx=000000006e3a8028 rsi=0000000000000000 rdi=0000000000000330
rip=00007ffbdf1571ad rsp=0000000008bdd160 rbp=0000000000000000
r8=000000006e3a7f70  r9=0000000011c8de20 r10=000000006e3af920
r11=00000000000000cc r12=000000006e39e240 r13=00000000000000cc
r14=00000000000000cc r15=00000000000000cc
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010204
swscale_ics_5!sws_getCachedContext+0x1503d:
00007ffb`df1571ad 0fe731          movntq  mmword ptr [rcx],mm6 ds:00000000`11c8e000=????????????????
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffbdf1571ad (swscale_ics_5!sws_getCachedContext+0x000000000001503d)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000001
   Parameter[1]: 0000000011c8e000
Attempt to write to address 0000000011c8e000

PROCESS_NAME:  TOTALCMD64.EXE

WRITE_ADDRESS:  0000000011c8e000

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000001

EXCEPTION_PARAMETER2:  0000000011c8e000

STACK_TEXT: 
00000000`08bdd160 00007ffb`df142e9b : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : swscale_ics_5!sws_getCachedContext+0x1503d
00000000`08bdd190 00007ffb`df1294e2 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000005 : swscale_ics_5!sws_getCachedContext+0xd2b
00000000`08bdd280 00007ffb`df12a6e7 : 00000000`6e39e240 00007ffc`052728cf 00000000`00000000 00000000`00000000 : swscale_ics_5!sws_get_class+0x2da52
00000000`08bdd420 00007ffb`e31a6522 : 00000001`00000001 00000000`928abfa0 00000000`08bdd810 00007ffb`00000000 : swscale_ics_5!sws_scale+0xb07
00000000`08bdd560 00007ffb`e31a5433 : 00000000`928abfa0 00000000`08bdd6b9 00000000`00003c00 00000000`928abfa0 : IcarosThumbnailProvider!ReleaseIThumbnailProviderEx+0x3312
00000000`08bdd630 00007ffb`e31a2e4a : 00000000`00000019 00000000`08bdd810 00000000`bd17cb30 00000000`00000000 : IcarosThumbnailProvider!ReleaseIThumbnailProviderEx+0x2223
00000000`08bdd720 00007ffb`e31a2b85 : 00000000`00000000 00000000`00000000 00000000`08bde2b0 00000000`0b3e0aa0 : IcarosThumbnailProvider!DllUnregisterServer+0x6c2a
00000000`08bdd7f0 00007ffb`e31a2a05 : 00000000`08bde2e8 00000000`00000000 00000000`00000000 00000000`00000118 : IcarosThumbnailProvider!DllUnregisterServer+0x6965
00000000`08bdd840 00007ffc`02687b85 : 00000000`00000118 00007ffc`05272188 00000000`00000000 00000000`08bdd858 : IcarosThumbnailProvider!DllUnregisterServer+0x67e5
00000000`08bdd890 00000000`005fc905 : 00000000`00000118 00000000`00000000 00000000`00000000 00000000`0049414e : windows_storage!CIconAndThumbnailOplockWrapper::GetThumbnail+0x15
00000000`08bdd8d0 00000000`00000118 : 00000000`00000000 00000000`00000000 00000000`0049414e 00000000`00b81e30 : TOTALCMD64+0x1fc905
00000000`08bdd8d8 00000000`00000000 : 00000000`00000000 00000000`0049414e 00000000`00b81e30 00000000`00000000 : 0x118


SYMBOL_NAME:  swscale_ics_5!sws_getCachedContext+1503d

MODULE_NAME: swscale_ics_5

IMAGE_NAME:  swscale-ics-5.dll

STACK_COMMAND:  ~2s ; .ecxr ; kb

FAILURE_BUCKET_ID:  INVALID_POINTER_WRITE_c0000005_swscale-ics-5.dll!sws_getCachedContext

OS_VERSION:  10.0.19041.1

BUILDLAB_STR:  vb_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10
Reply

#7
Update:

After updating Totalcommander to 11 recently, I felt like giving icaros 3.x a new shot. Installed the latest version (v3.3.1_b1) and: the bug seems to be gone! No clue on which side it got fixed, but everything works great now. Even when choosing non-square icon dimensions.

So, whether it applies or not: Thank you!
Reply

#8
(08-16-2023, 09:07 AM)Shabee Wrote: Update:

After updating Totalcommander to 11 recently, I felt like giving icaros 3.x a new shot. Installed the latest version (v3.3.1_b1) and: the bug seems to be gone! No clue on which side it got fixed, but everything works great now. Even when choosing non-square icon dimensions.

So, whether it applies or not: Thank you!

That's awesome. I can't quite remember if I actually included a fix for this, but I'm very glad to hear it is fixed now.
Thank you for reporting back!
Reply





Users browsing this thread:
1 Guest(s)