Opened 2 years ago
Closed 2 years ago
#17839 closed bug (fixed)
Failure in reading xfs v4 node directories
Reported by: | Mashijams | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta4 |
Component: | File Systems/XFS | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
We are getting segmentation fault in reading node type directories for xfs v4. How many entries we are able to read changes every-time we test.
To reproduce the bug :
- Create XFS image with entries(could be file or directory or both) on range 800-1000.
- Compile image on xfs_shell and list all entries using "ls" command.
- Here is the link for my XFS image https://drive.google.com/file/d/1qpg41ZztrtW4ZX-ncIEKiljijE4I4aKe/view?usp=sharing.
- Compile above image on xfs_shell and list all entries in "Node" or "Leaves" directory.
Change History (12)
comment:2 by , 2 years ago
Keywords: | xfs V4 removed |
---|
comment:3 by , 2 years ago
I didn't tested XFS image on Haiku, all tests are on fs_shell.
We have buildlog with TRACE enabled so can I attach that? (It will be big though).
comment:4 by , 2 years ago
Description: | modified (diff) |
---|
comment:5 by , 2 years ago
Yes, any info you have will be helpful.
Also can you give more details on creating the XFS image (commands used, etc). Or just upload your XFS image somewhere.
comment:6 by , 2 years ago
I will add how I created XFS images and testing stuff on documentation part.
Here I will try to attach link to my xfs image upload which will be better :)
comment:7 by , 2 years ago
Description: | modified (diff) |
---|
comment:8 by , 2 years ago
Hello,
I built the xfs_shell current version and I did not get any crash. Listing the directories (they are named "node" and "leaves" in lowercase) seems to be working fine.
Is this still a problem or did you already fix it?
comment:9 by , 2 years ago
I think the change I did in reading data extent map in node.cpp file on my recent patch seems to be working (on my side it works sometimes!).
But I think we shouldn't close this for now, I want to do much more testing in node based directory directly inside Haiku and then see if we are good, Or I can make new ticket if problem persists.
comment:10 by , 2 years ago
Yes, keeping the ticket open for general testing and stabilization is fine. I just wanted to know if you needed my help on investigating a specific crash, but it looks like I am too late for that :D
comment:12 by , 2 years ago
Milestone: | Unscheduled → R1/beta4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Can you attach a debug report?
If you run under Haiku, there is a dialog when the crash happen to create one.
Under Linux or other systems, you have to use gdb and at least print the stacktrace.