Bug ID 1002699
Summary xfs_fsr segfault
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.2
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee jack@suse.com
Reporter mpluskal@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Created attachment 695535 [details]
full bt

when running xfs_fsr on xfs root, it segfaults:
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f7827363829 in _IO_vfprintf_internal (s=s@entry=0x7ffc049315e0,
format=<optimized out>, format@entry=0x405b9b "%s %d %llu\n",
ap=ap@entry=0x7ffc04931718) at vfprintf.c:1631
1631    vfprintf.c: No such file or directory.
(gdb) bt
#0  0x00007f7827363829 in _IO_vfprintf_internal (s=s@entry=0x7ffc049315e0,
format=<optimized out>, format@entry=0x405b9b "%s %d %llu\n",
ap=ap@entry=0x7ffc04931718) at vfprintf.c:1631
#1  0x00007f78274118c8 in ___vsprintf_chk (s=0x7ffc04931800 "", flags=1,
slen=1024, format=0x405b9b "%s %d %llu\n", args=args@entry=0x7ffc04931718) at
vsprintf_chk.c:85
#2  0x00007f782741181d in ___sprintf_chk (s=s@entry=0x7ffc04931800 "",
flags=flags@entry=1, slen=slen@entry=1024, format=format@entry=0x405b9b "%s %d
%llu\n") at sprintf_chk.c:31
#3  0x000000000040333c in sprintf (__fmt=0x405b9b "%s %d %llu\n",
__s=0x7ffc04931800 "") at /usr/include/bits/stdio2.h:33
#4  fsrall_cleanup (timeout=1) at xfs_fsr.c:664
#5  0x0000000000402449 in fsrall_cleanup (timeout=1) at xfs_fsr.c:653
#6  fsrallfs (leftofffile=<optimized out>, howlong=<optimized out>,
mtab=<optimized out>) at xfs_fsr.c:638
#7  main (argc=<optimized out>, argv=<optimized out>) at xfs_fsr.c:376

# xfs_info /
meta-data=/dev/md127             isize=512    agcount=32, agsize=11364608 blks
         =                       sectsz=4096  attr=2, projid32bit=1
         =                       crc=1        finobt=0 spinodes=0
data     =                       bsize=4096   blocks=363663872, imaxpct=5
         =                       sunit=256    swidth=512 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
log      =internal               bsize=4096   blocks=177570, version=2
         =                       sectsz=4096  sunit=1 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

# lsblk -f
NAME      FSTYPE            LABEL    UUID                                
MOUNTPOINT
sda                                                                       
������sda1    linux_raid_member any:boot be4e988c-7ae0-b564-60fe-799ba0086336 
��� ������md125 ext4                       72454800-00c8-4eaf-aaca-30b077497161 /boot
������sda2    linux_raid_member any:swap afd92faf-26af-b2fd-a7eb-bcb6d4a93123 
��� ������md126 swap                       732d50da-a92c-432f-b53a-8eb15cc88af7
[SWAP]
������sda3    linux_raid_member any:root a2a78835-c5f0-115c-4dcd-ae193fce2ba2 
  ������md127 xfs                        b5464c97-1761-4fe5-be1e-c1b1958abefb /
sdb                                                                       
������sdb1    linux_raid_member any:boot be4e988c-7ae0-b564-60fe-799ba0086336 
��� ������md125 ext4                       72454800-00c8-4eaf-aaca-30b077497161 /boot
������sdb2    linux_raid_member any:swap afd92faf-26af-b2fd-a7eb-bcb6d4a93123 
��� ������md126 swap                       732d50da-a92c-432f-b53a-8eb15cc88af7
[SWAP]
������sdb3    linux_raid_member any:root a2a78835-c5f0-115c-4dcd-ae193fce2ba2 
  ������md127 xfs                        b5464c97-1761-4fe5-be1e-c1b1958abefb /


You are receiving this mail because: