Page 1 of 3
Error 6 when doing a text search
Posted: 28 Dec 2018 19:41
by RRbitwise
XYplorer fails when doing a text search against a directory which
contains 1115 subdirectories and 9417 files.
Here is the error information:
------------------------------------------------------------------
Error 6
Error: 6 (0x00000006)
Desc: Overflow
Dll: 0
Proc: IsFileOK@127: C:\Distlibs\Microsoft\WXPSP3\Misc\Overview of Windows XP Service Pack 3.xps
Source: XYplorer
XY ver: XYplorer 19.40.0100
OS: Windows 7 Ultimate (Service Pack 1), 64-bit, Build 7601
Locale: 1033
ANSI: 1252
ACP: 1252 (ANSI - Latin I)
DBCS: No
DPI: 96 (100%)
Date: 2018-12-28 10:41:24
------------------------------------------------------------------
Re: Error 6 when doing a text search
Posted: 29 Dec 2018 11:47
by admin
Can you somehow isolate the problem? Could it be connected to that particular file (C:\Distlibs\Microsoft\WXPSP3\Misc\Overview of Windows XP Service Pack 3.xps)?
Re: Error 6 when doing a text search
Posted: 31 Dec 2018 23:30
by RRbitwise
It does seem that the error occurs on a particular file.
There is only this one XPS file in the directory C:\Distlibs\Microsoft\WXPSP3\Misc
I can give you a copy of this file if you would like it.
-------------------------------------------------------------------
[C:\windows\system32]: dir C:\Distlibs\Microsoft\WXPSP3\Misc\*.xps /s
Volume in drive C is W764UIPL
Volume Serial Number is 6A9B-5F4B
Directory of C:\Distlibs\Microsoft\WXPSP3\Misc
2008-01-05 08:57 AM 451,107 Overview of Windows XP Service Pack 3.xps
1 File(s) 451,107 bytes
Total Files Listed:
1 File(s) 451,107 bytes
0 Dir(s) 407,045,521,408 bytes free
-------------------------------------------------------------------
When running the text search as shown in the attached RRBitwise.jpg
the Error 6 occurs immediately (shown below).
-------------------------------------------------------------------
Error 6
Error: 6 (0x00000006)
Desc: Overflow
Dll: 0
Proc: IsFileOK@127: C:\Distlibs\Microsoft\WXPSP3\Misc\Overview of Windows XP Service Pack 3.xps
Source: XYplorer
XY ver: XYplorer 19.40.0100
OS: Windows 7 Ultimate (Service Pack 1), 64-bit, Build 7601
Locale: 1033
ANSI: 1252
ACP: 1252 (ANSI - Latin I)
DBCS: No
DPI: 96 (100%)
Date: 2018-12-31 15:16:22
Re: Error 6 when doing a text search
Posted: 02 Jan 2019 18:15
by admin
RRbitwise wrote: ↑31 Dec 2018 23:30
It does seem that the error occurs on a particular file.
There is only this one XPS file in the directory C:\Distlibs\Microsoft\WXPSP3\Misc
I can give you a copy of this file if you would like it.
Yes, please do that.
Re: Error 6 when doing a text search
Posted: 04 Jan 2019 04:25
by RRbitwise
I've attached WXPSP3_XPS.zip which is the zipped up version of "Overview of Windows XP Service Pack 3.xps"
Re: Error 6 when doing a text search
Posted: 04 Jan 2019 10:32
by admin
Which content (string) did you look for?
I probably need the whole settings on your Find Files / Contents tab to reproduce the error. A screenshot would be enough for me:
Re: Error 6 when doing a text search
Posted: 04 Jan 2019 15:54
by RRbitwise
I supplied those screen shots in the attachments to my post on 31 Dec 2018.
For what it's worth, it doesn't matter what text I use as the search argument; any text string results in the failure.
Re: Error 6 when doing a text search
Posted: 04 Jan 2019 16:23
by admin
Oh yes, sorry.
Well, I cannot repro the error here. So I assume it must be related to your XPS previewhandler.
When you run this through the address bar, what is returned?
Code: Select all
text get("previewhandler", "xps");
For me it's this:
Code: Select all
GUID: {85862EDA-F507-4d5b-ACA9-BB2C34A85682}
DefaultName: Microsoft XPS Rich Preview Handler
DisplayName: @%SystemRoot%\system32\xpsrchvw.exe,-102
Re: Error 6 when doing a text search
Posted: 04 Jan 2019 21:47
by RRbitwise
Here is what I get (it looks just like what you get):
GUID: {85862EDA-F507-4d5b-ACA9-BB2C34A85682}
DefaultName: Microsoft XPS Rich Preview Handler
DisplayName: @%SystemRoot%\system32\xpsrchvw.exe,-102
Perhaps you need to have more files in the directory where the .XPS file resides to trigger the failure. I can zip up the entire subdirectory from my system if you think that will help.
Re: Error 6 when doing a text search
Posted: 04 Jan 2019 21:53
by RRbitwise
Also, here is the "properties" info for xpsrchvw.exe
Re: Error 6 when doing a text search
Posted: 05 Jan 2019 10:55
by admin
RRbitwise wrote: ↑04 Jan 2019 21:47
Perhaps you need to have more files in the directory where the .XPS file resides to trigger the failure. I can zip up the entire subdirectory from my system if you think that will help.
You don't get the error when that file is the only file in the folder?
Re: Error 6 when doing a text search
Posted: 05 Jan 2019 23:52
by RRbitwise
I just created a new directory named XYU and copied "Overview of Windows XP Service Pack 3.xps" to that new directory. There is only this single file in that directory. I then ran the text search against the XYU directory and I immediately got the Error 6.
I am curious what the XPS preview handler has to do with this?
I also just tried completely deleting my XYplorer directory and and of its subdirectories, then installed version 19.50.0000 from scratch. I made no XYplorer configuration changes whatsoever and retried the test. The error still occurs (see the attached 20190105_Error_6.jpg)
Are there any types of debugging things I can turn on to get you better information? I do have Microsoft Visual Studio 2017 installed, so perhaps I could do something with the debugger?
I'm open to suggestions.
Re: Error 6 when doing a text search
Posted: 06 Jan 2019 00:47
by RRbitwise
Here is some more (hopefully useful) information.
Disabling the XPS viewer results in the Error 6 no longer occurring.
To disable the XPS viewer:
- Open the Control Panel and then select "Programs and Features".
- In the resulting display, click on "Turn Windows features on or off" near the upper left hand corner.
This causes a small dialog box to appear which is titled "Windows Features".
- Scroll down to the "XPS Viewer" entry and uncheck the selection box.
- Re-boot.
I re-enabled the XPS Viewer and re-ran the test (just for a consistency/sanity check), and the Error 6 returned.
Re: Error 6 when doing a text search
Posted: 06 Jan 2019 16:46
by admin
When you take the latest beta (v19.50.0105), then select that file in the file list and run this script through the Address Bar:
Does it work or do you get an error?
Re: Error 6 when doing a text search
Posted: 06 Jan 2019 19:48
by RRbitwise
When running the script with the Beta version 19.50.0105 I get the Error 6.