[v16.20] : "type stats and filter" crash (runtime error 6)

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: 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%).

:info: 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.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Sander Bouwhuis
Posts: 249
Joined: 10 Jun 2008 15:40
Location: Netherlands

[v16.20] : "type stats and filter" crash (runtime error 6)

Post by Sander Bouwhuis »

I get a runtime error 6 buffer overflow crash when I use "Type stats and filter"

It may be worth mentioning that I have branch view on.
There are 27797 files and 1531 folders.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

admin
Site Admin
Posts: 67288
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by admin »

I went up to showing a branch view with 70,000 folders and 666,000 files but could not make the error happen. :|

Can you somehow isolate the issue? Maybe it's not the number of items but something else...

Sander Bouwhuis
Posts: 249
Joined: 10 Jun 2008 15:40
Location: Netherlands

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by Sander Bouwhuis »

Ok, it's really weird, but this SINGLE file crashes XYplorer:

"E:\Games\Steam\package\tenfoot_fonts_all.zip.vz.22d386a31ebf4f5066e2f1b2dec4107c782ea596_12074816"

It's a Steam file.
I suspect you don't check how large extensions can be. In this case it seems the extension is really long.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

admin
Site Admin
Posts: 67288
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by admin »

I created a file with that name but no crash. :|

Sander Bouwhuis
Posts: 249
Joined: 10 Jun 2008 15:40
Location: Netherlands

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by Sander Bouwhuis »

Can somebody else who has Steam installed check this?

The checksum of the file:
MD5 : 2abbe4e81ed8f07998e8fc9f75dd66c1
SHA2-256 : 3c4f8a9509ea64a03fbb52a4fbf7590c738652afba45d9a46848dfb062d71f8c

It has nothing to do with branch view by the way. When I have this file in the directory XYplorer crashes when I press 'type stats and filter'.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by TheQwerty »

What does XY show in the Type column for that file?

Sander Bouwhuis
Posts: 249
Joined: 10 Jun 2008 15:40
Location: Netherlands

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by Sander Bouwhuis »

I didn't have that column, but I turned it on for you.

It says "22D386A31EBF4F5066E2F1B2DEC4107C782EA596_12074816 File"

PS
I added my settings file. Maybe it helps.
To see the attached files, you need to log into the forum.
Last edited by Sander Bouwhuis on 20 Jan 2016 17:25, edited 2 times in total.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

grindax

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by grindax »

.
Last edited by grindax on 27 Jan 2016 21:07, edited 1 time in total.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by TheQwerty »

Using your settings I get the crash also:
Error 6

Error: 6 (0x00000006)
Desc: Overflow
Dll: 0
Proc: Fu

Source: XYplorer
XY ver: XYplorer 16.20.0000
OS: Windows 7 Professional (Service Pack 1), 64-bit
Locale: 1033
ANSI: 1252
ACP: 1252 (ANSI - Latin I)
DBCS: No
DPI: 96 (100%)

Date: 2016-01-20 11:30:53

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by TheQwerty »

From fresh:
  1. Disable Configuration | Refresh, Icons, History | Icons | Enable custom file icons
  2. Create a new file with extension '2d386' (ie 'test.2d386').
  3. Show Type Stats and Filter.
  4. :blackstorm:

admin
Site Admin
Posts: 67288
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by admin »

Got it, thanks! Interesting and totally surprising bug. Has nothing to do with "type stats and filter" as such, but it happened to surface here. There are were other ways to fall in the same trap. Wow.

Well, it's fixed now. :D

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by TheQwerty »

What was so important about '2d386' and the other ways? :eh:

admin
Site Admin
Posts: 67288
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by admin »

TheQwerty wrote:What was so important about '2d386' and the other ways? :eh:
The point here is that "2d386" is evaluated as a number (namely "2 to the power of 386", well.... overflow) by the particular function I passed it to!

Same with "22d386a31ebf4f5066e2f1b2dec4107c782ea596" = "22 to the power of 386"...

Sometimes VB is a little too smart...

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by TheQwerty »

When good strings become big, bad numbers and other bedtime stories... :whistle:

Sander Bouwhuis
Posts: 249
Joined: 10 Jun 2008 15:40
Location: Netherlands

Re: [v16.20] : "type stats and filter" crash (runtime error

Post by Sander Bouwhuis »

I'm glad I could help :twisted:
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

Post Reply