Boolean Find crashes on 170K+ file list
Forum rules
You might want to read this if you're looking for priority service
Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Boolean Find crashes on 170K+ file list
Win10 8GB w XY 17.00.0217, "fresh" instance.
This may be impractical to replicate for debugging but I'm reporting it at least for info.
I have about 8000 folders on an external USB3 drive. These appear in the list pane. Each folder has about 50 items in two subfolders below it. When I run the following Boolean search (see attached JPG):
((01.*.flac) OR (101.*.flac) OR (001.*.flac)) AND (NOT (prop:#audio.bitdepth:16-bit))
XY gets to between 160K and 180K items searched and then crashes. The crash is repeatable and happens every time, though the number of items scanned and the last item searched (redacted in the JPG) differs.
If I remove one term from the search pattern and use this:
( (101.*.flac) OR (001.*.flac)) AND (NOT (prop:#audio.bitdepth:16-bit))
then XY completes the search over about 400K items with no problems. So I don't think one bad file is causing the problem. It seems like info overflow somewhere.
Also, I understand that my search pattern may not be the smartest. But it does what I want, and reveals the issue.
This may be impractical to replicate for debugging but I'm reporting it at least for info.
I have about 8000 folders on an external USB3 drive. These appear in the list pane. Each folder has about 50 items in two subfolders below it. When I run the following Boolean search (see attached JPG):
((01.*.flac) OR (101.*.flac) OR (001.*.flac)) AND (NOT (prop:#audio.bitdepth:16-bit))
XY gets to between 160K and 180K items searched and then crashes. The crash is repeatable and happens every time, though the number of items scanned and the last item searched (redacted in the JPG) differs.
If I remove one term from the search pattern and use this:
( (101.*.flac) OR (001.*.flac)) AND (NOT (prop:#audio.bitdepth:16-bit))
then XY completes the search over about 400K items with no problems. So I don't think one bad file is causing the problem. It seems like info overflow somewhere.
Also, I understand that my search pattern may not be the smartest. But it does what I want, and reveals the issue.
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Boolean Find crashes on 170K+ file list
The culprit could be among the "01.*.flac" files. What if you do this pattern?
Code: Select all
(01.*.flac) AND (NOT (prop:#audio.bitdepth:16-bit))FAQ | XY News RSS | XY X
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Boolean Find crashes on 170K+ file list
This crashes in the same way, at about 179K files checked.admin wrote:The culprit could be among the "01.*.flac" files. What if you do this pattern?Code: Select all
(01.*.flac) AND (NOT (prop:#audio.bitdepth:16-bit))
Using "0.1.*.flac" by itself works fine... finds tens of thousands of files.
Also OK is (01.*.flac) AND NOT (02.*.flac)
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Boolean Find crashes on 170K+ file list
Interestingly...
Both of these crash:
(01.*.flac) AND (NOT (prop:#audio.bitdepth:16-bit))
(01.*.flac) AND ((prop:#audio.bitdepth:16-bit))
This does not crash:
(01.*.flac) AND ( NOT (prop:#audio.channels:2))
but this does crash (finding no files first):
(01.*.flac) AND ((prop:#audio.channels:2))
Off-topic... all of theses are two-channel files, so I'm wondering why "prop:#audio.channels:2" doesn't see them. From the MS docs "2" is the right choice.
Both of these crash:
(01.*.flac) AND (NOT (prop:#audio.bitdepth:16-bit))
(01.*.flac) AND ((prop:#audio.bitdepth:16-bit))
This does not crash:
(01.*.flac) AND ( NOT (prop:#audio.channels:2))
but this does crash (finding no files first):
(01.*.flac) AND ((prop:#audio.channels:2))
Off-topic... all of theses are two-channel files, so I'm wondering why "prop:#audio.channels:2" doesn't see them. From the MS docs "2" is the right choice.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Boolean Find crashes on 170K+ file list
Interesting indeed. I see no logic in this. But I still think it's a certain file. Can you maybe isolate it by size (halfing the field each time):
(01.*.flac) AND (size: < 500KB) AND ((prop:#audio.bitdepth:16-bit))
(01.*.flac) AND (size: < 500KB) AND ((prop:#audio.bitdepth:16-bit))
Ah, I changed this in v17.00.0217! Stupid idea. I returned "Stereo" instead of "2". I will undo this change.Papoulka wrote:Off-topic... all of theses are two-channel files, so I'm wondering why "prop:#audio.channels:2" doesn't see them. From the MS docs "2" is the right choice.
FAQ | XY News RSS | XY X
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Boolean Find crashes on 170K+ file list
I'll begin trying to narrow down the crash scenario.
On "prop:#audio.channels:2" - The MS docs do indicate "2" and "1" as values, but elsewhere I found "2 (stereo)" and "1 (mono)". So I'm not sure which is right.
On "prop:#audio.channels:2" - The MS docs do indicate "2" and "1" as values, but elsewhere I found "2 (stereo)" and "1 (mono)". So I'm not sure which is right.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Boolean Find crashes on 170K+ file list
Great! I'm about to compile 17.10 for release. IF it is a bug would be nice to fix it before.Papoulka wrote:I'll begin trying to narrow down the crash scenario.
FAQ | XY News RSS | XY X
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Boolean Find crashes on 170K+ file list
OK, I've found the culprit file. You can get it from Dropbox via this link:
https://www.dropbox.com/s/fllk7detpy1qv ... .flac?dl=0
XY crashes when it encounters this file under a Boolean search with pattern: (01.*.flac) AND ((prop:#audio.bitdepth:16-bit))
The file plays fine in Winamp and props there look OK. I have files from the same album with tracks beginning 02. 03. etc and will see if others give the same crash problem, but wanted to report this result quickly.
https://www.dropbox.com/s/fllk7detpy1qv ... .flac?dl=0
XY crashes when it encounters this file under a Boolean search with pattern: (01.*.flac) AND ((prop:#audio.bitdepth:16-bit))
The file plays fine in Winamp and props there look OK. I have files from the same album with tracks beginning 02. 03. etc and will see if others give the same crash problem, but wanted to report this result quickly.
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Boolean Find crashes on 170K+ file list
Just for info, it turns out that all FLACs in this album have the same problem, whatever it is.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Boolean Find crashes on 170K+ file list
Crash confirmed! Thanks.
Gonna fix now... 
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Boolean Find crashes on 170K+ file list
Fix confirmed, thanks! 
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Boolean Find crashes on 170K+ file list
Further thought on this: The diagnosis and troubleshooting were confused by the fact that when the XY search crashed, the folder ID varied each time and was never the one with the bad files. See the attached picture. If this had pointed to the culprit folder I could have isolated the problem immediately.
Maybe this label can't keep up with the search for processing reasons... Just pointing this out in case it can easily be improved.
Maybe this label can't keep up with the search for processing reasons... Just pointing this out in case it can easily be improved.
To see the attached files, you need to log into the forum.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Boolean Find crashes on 170K+ file list
Unfortunately not possible in this case. This particular type of crash comes with a small but indefinite delay.
FAQ | XY News RSS | XY X
XYplorer Beta Club