From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valentin Vidic Date: Fri, 4 May 2018 11:50:11 +0200 Subject: [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel In-Reply-To: <20180504094231.GN4608@gavran.carpriv.carnet.hr> References: <20180504094231.GN4608@gavran.carpriv.carnet.hr> Message-ID: <20180504095011.GP4608@gavran.carpriv.carnet.hr> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, May 04, 2018 at 11:42:31AM +0200, Valentin Vidic wrote: > We are starting to see mkfs segfaults after updating > linux-libc-dev from 4.15.17-1 to 4.16.5-1 due to a > change in gfs2_ondisk.h. Hope there is enough info > below for a fix? :) Here goes another trace: (gdb) run -p lock_nolock -b 512 test Starting program: /build/gfs2-utils-7xEZHP/gfs2-utils-3.1.10/gfs2/mkfs/mkfs.gfs2 -p lock_nolock -b 512 test This will destroy any data on test Are you sure you want to proceed? [y/n] y Adding journals: Done Building resource groups: Done Program received signal SIGSEGV, Segmentation fault. 0x000055555555bdc0 in brelse (bh=0x555555773730) at buf.c:108 108 buf.c: No such file or directory. (gdb) bt #0 0x000055555555bdc0 in brelse (bh=0x555555773730) at buf.c:108 #1 0x00005555555599f5 in gfs2_rgrp_relse (rgd=rgd at entry=0x5555557723c0) at rgrp.c:206 #2 0x000055555555d936 in block_alloc (sdp=sdp at entry=0x7fffffffe560, blksreq=blksreq at entry=1, state=state at entry=3, blkno=blkno at entry=0x7fffffffe160, dinode=dinode at entry=1) at fs_ops.c:197 #3 0x000055555555df77 in lgfs2_dinode_alloc (sdp=sdp at entry=0x7fffffffe560, blksreq=blksreq at entry=1, blkno=blkno at entry=0x7fffffffe160) at fs_ops.c:204 #4 0x000055555556128f in build_master (sdp=0x7fffffffe560) at structures.c:28 #5 0x00005555555574fc in main (argc=, argv=) at main_mkfs.c:996 -- Valentin