Page 1 of 1

Error related to thumbnails cache on disk

Posted: 25 Oct 2016 02:55
by zhaowu
When thumbnails cache on disk is on, the error below pops up occasionally for folders containing videos or pictures with Chinese/Japanese in file name.

Code: Select all

Error 9

Error:  	9 (0x00000009)
Desc:   	Subscript out of range
Dll:    	0
Proc:   	CacheData - Count: -455787429

Source: 	XYplorer
XY ver: 	XYplorer 17.20.0202
OS:     	Windows 10, 64-bit
Locale: 	2052
ANSI:   	1252
ACP:    	936   (ANSI/OEM - Simplified Chinese GBK)
DBCS:   	Yes
DPI:    	96 (100%)

Date:   	2016-10-24 20:43:24

Re: Error related to thumbnails cache on disk

Posted: 26 Oct 2016 10:22
by admin
Cannot reproduce here. Maybe it's just particular characters. Can you post one of those filenames that cause the error?

Re: Error related to thumbnails cache on disk

Posted: 26 Oct 2016 13:00
by zhaowu
Download this zip file https://dl.dropboxusercontent.com/u/189 ... 014%29.zip

Unzip it and browse the sub-folders with Thumbnails #1 View back and forth for a few times. Two problems should appear:

1. Very slow to move up by clicking the Breadcrumb bar.
2. Errors like this image:

Image

Re: Error related to thumbnails cache on disk

Posted: 26 Oct 2016 13:16
by highend
1. Very slow to move up by clicking the Breadcrumb bar.
2. Errors like this image:
Doesn't happen here on my system (Server 2016) with the latest fresh beta...
I'm on a different locale that you (ofc)

thumbnails cache on disk is on
show folder thumbnails is on

Show a screenshot of your configuration (Preview - Thumbnails page)

Re: Error related to thumbnails cache on disk

Posted: 26 Oct 2016 22:06
by zhaowu
configuration (Preview - Thumbnails page) Image

Re: Error related to thumbnails cache on disk

Posted: 26 Oct 2016 22:12
by admin
I just finished fixing it! :D

I could reproduce the issue with your sample files under "Chinese Simplified" locale settings. The fix was harder and took me some hours of thinking and trying. Finally I succeeded. :beer: Wow, an important bug affecting all East-Asian thumbnail cache users. Thanks a lot for reporting it! :tup:

Re: Error related to thumbnails cache on disk

Posted: 27 Oct 2016 01:22
by zhaowu
Great! I can confirm it working now! Thank you for this fix :appl: