Page 1 of 1

Error 9 when creating a folder in SMB share (not reliably reproducable)

Posted: 30 Jul 2024 18:13
by o7blue
I just had this happen twice over the past day. Here's what I was doing on my smb drive:

- select a file
- F2
- copy part of the name
- deselect
- create new folder through context menu
- paste in the name
- click off

I'm pretty sure the error happened when clicking off. After closing and reopening xy I can see the new folder got created and renamed.
As mentioned in the title this is not reliably reproducible. I must have created/renamed around 50 folders before the error happened.

2 error messages got spawned as well:
1.PNG

Code: Select all

Error:  	9 (0x00000009)
Desc:   	Subscript out of range
Dll:    	0
Proc:   	pRowDet@250
Count=150, RowFirst=0, RowLast=26, idxNode=65535, idxPos=12, Hovering=False

Source: 	XYplorer
XY ver: 	XYplorer 26.20.0205 - Lifetime License Enterprise
OS:     	Windows 10 Pro, 64-bit, Version 22H2, Build 19045.4651 (10.0)
Locale: 	1033 (en-US)
ANSI:   	1252, ACP: 1252  (ANSI - Latin I)
Font:   	JetBrains Mono NL 14.25, JetBrains Mono NL 9.75, DBCS: No
DPI:    	96 (100%), 3440x1440

Date:   	2024-07-30 12:03:48
2.PNG

Code: Select all

Error:  	9 (0x00000009)
Desc:   	Subscript out of range
Dll:    	0
Proc:   	setCut

Source: 	XYplorer
XY ver: 	XYplorer 26.20.0205 - Lifetime License Enterprise
OS:     	Windows 10 Pro, 64-bit, Version 22H2, Build 19045.4651 (10.0)
Locale: 	1033 (en-US)
ANSI:   	1252, ACP: 1252  (ANSI - Latin I)
Font:   	JetBrains Mono NL 14.25, JetBrains Mono NL 9.75, DBCS: No
DPI:    	96 (100%), 3440x1440

Date:   	2024-07-30 12:04:27

Re: Error 9 when creating a folder in SMB share (not reliably reproducable)

Posted: 31 Jul 2024 09:28
by admin
Interesting. Unlike a very similar bug reported recently (viewtopic.php?p=222822#p222822), in your case we have an apparently bizarre value idxNode=65535. That's a good blood trail. :twisted:

PS: The next beta will have enhanced error messages. Show them if the error happens again.

Re: Error 9 when creating a folder in SMB share (not reliably reproducable)

Posted: 09 Aug 2024 08:40
by admin
Waiting for the error messages...

Re: Error 9 when creating a folder in SMB share (not reliably reproducable)

Posted: 11 Aug 2024 01:40
by o7blue
Ah my bad, got sidetracked and forgot to test. I'll get on that :tup:

edit: for now I'm unable to reproduce the error, if/when it pops up again I'll make sure to report back.