Skip to contentSkip to conversation

regressions in xfs/633 and xfs/437?

PATCH Darrick J. Wong 2 participants 3 messages Sep 22, 2025 – Sep 23, 2025

lore
Share & tools
lore
#0 lore raw

Hey folks,

Have any of you noticed a recent regression in xfs/437 and xfs/633?

var/tmp/fstests/xfs/437.out.bad renamed from run/fstests/bin/tests/xfs/437.out +1 -0
@@ -1,2 +1,3 @@
 QA output created by 437
 Silence is golden.
+mkfs/proto.c:1428:	error = libxfs_iget(mp, NULL, dst_ino, 0, &ip);
dev/fd/63 renamed from var/tmp/fstests/xfs/633.out.bad +8 -0
@@ -1,6 +1,107468 @@
 QA output created by 633
 Format and populate
 Recover filesystem
+./common/xfs: line 335: 326611 Segmentation fault      (core dumped) $XFS_DB_PROG "$@" $(_scratch_xfs_db_options)
+./common/xfs: line 335: 326617 Segmentation fault      (core dumped) $XFS_DB_PROG "$@" $(_scratch_xfs_db_options)
 Check file contents
+--- /tmp/326192.stat.before	2025-09-21 17:36:10.071959154 -0700
++++ /tmp/326192.stat.after	2025-09-21 17:36:12.863959041 -0700
+@@ -1,23 +1,3 @@
+-11a4 0:0 0 0 fifo 0 1731556303 ./S_IFIFO
+-2000 0:0 0 0 character special file 0 1758501368 ./newfiles/p0/d1/c19
+-2000 0:0 0 0 character special file 0 1758501368 ./newfiles/p0/d1/c1a

<snip>

The xfs/437 failure is trivially fixable, not sure what's causing the segfault here? Probably something in the new file_{get,set}attr code in xfs_db is my guess...?

MKFS_OPTIONS -- -f -m metadir=1,autofsck=1,uquota,gquota,pquota, -n size=8k, /dev/sdf MOUNT_OPTIONS -- /dev/sdf /opt

(note that both problems happen on a variety of different configurations)

--D

#1 lore raw
Quoted 32 lines · Darrick J. Wong

Hey folks,

Have any of you noticed a recent regression in xfs/437 and xfs/633?

var/tmp/fstests/xfs/437.out.bad renamed from run/fstests/bin/tests/xfs/437.out +1 -0
@@ -1,2 +1,3 @@
 QA output created by 437
 Silence is golden.
+mkfs/proto.c:1428:	error = libxfs_iget(mp, NULL, dst_ino, 0, &ip);
dev/fd/63 renamed from var/tmp/fstests/xfs/633.out.bad +8 -0
@@ -1,6 +1,107468 @@
 QA output created by 633
 Format and populate
 Recover filesystem
+./common/xfs: line 335: 326611 Segmentation fault      (core dumped) $XFS_DB_PROG "$@" $(_scratch_xfs_db_options)
+./common/xfs: line 335: 326617 Segmentation fault      (core dumped) $XFS_DB_PROG "$@" $(_scratch_xfs_db_options)
 Check file contents
+--- /tmp/326192.stat.before	2025-09-21 17:36:10.071959154 -0700
++++ /tmp/326192.stat.after	2025-09-21 17:36:12.863959041 -0700
+@@ -1,23 +1,3 @@
+-11a4 0:0 0 0 fifo 0 1731556303 ./S_IFIFO
+-2000 0:0 0 0 character special file 0 1758501368 ./newfiles/p0/d1/c19
+-2000 0:0 0 0 character special file 0 1758501368 ./newfiles/p0/d1/c1a
<snip>

The xfs/437 failure is trivially fixable, not sure what's causing the segfault here? Probably something in the new file_{get,set}attr code in xfs_db is my guess...?

Quoted 8 lines

MKFS_OPTIONS -- -f -m metadir=1,autofsck=1,uquota,gquota,pquota, -n size=8k, /dev/sdf MOUNT_OPTIONS -- /dev/sdf /opt

(note that both problems happen on a variety of different configurations)

--D

I haven't seen this, thanks, will look into it

Signature · 1 line
- Andrey
#2 lore raw
Quoted 36 lines · Andrey Albershteyn
Quoted 35 lines · Darrick J. Wong

Hey folks,

Have any of you noticed a recent regression in xfs/437 and xfs/633?

var/tmp/fstests/xfs/437.out.bad renamed from run/fstests/bin/tests/xfs/437.out +1 -0
@@ -1,2 +1,3 @@
 QA output created by 437
 Silence is golden.
+mkfs/proto.c:1428:	error = libxfs_iget(mp, NULL, dst_ino, 0, &ip);
dev/fd/63 renamed from var/tmp/fstests/xfs/633.out.bad +8 -0
@@ -1,6 +1,107468 @@
 QA output created by 633
 Format and populate
 Recover filesystem
+./common/xfs: line 335: 326611 Segmentation fault      (core dumped) $XFS_DB_PROG "$@" $(_scratch_xfs_db_options)
+./common/xfs: line 335: 326617 Segmentation fault      (core dumped) $XFS_DB_PROG "$@" $(_scratch_xfs_db_options)
 Check file contents
+--- /tmp/326192.stat.before	2025-09-21 17:36:10.071959154 -0700
++++ /tmp/326192.stat.after	2025-09-21 17:36:12.863959041 -0700
+@@ -1,23 +1,3 @@
+-11a4 0:0 0 0 fifo 0 1731556303 ./S_IFIFO
+-2000 0:0 0 0 character special file 0 1758501368 ./newfiles/p0/d1/c19
+-2000 0:0 0 0 character special file 0 1758501368 ./newfiles/p0/d1/c1a
<snip>

The xfs/437 failure is trivially fixable, not sure what's causing the segfault here? Probably something in the new file_{get,set}attr code in xfs_db is my guess...?

MKFS_OPTIONS -- -f -m metadir=1,autofsck=1,uquota,gquota,pquota, -n size=8k, /dev/sdf MOUNT_OPTIONS -- /dev/sdf /opt

Quoted 7 lines
Quoted 5 lines

(note that both problems happen on a variety of different configurations)

--D

I haven't seen this, thanks, will look into it

I'll send some fixes shortly.

--D

Quoted 4 lines
Signature · 1 line
- Andrey