From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Price Date: Wed, 9 May 2018 17:53:19 +0100 Subject: [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel In-Reply-To: <20180504140055.GB4608@gavran.carpriv.carnet.hr> References: <88c04bee-a2d0-0efd-f856-09d7448c0517@redhat.com> <20180504102140.GQ4608@gavran.carpriv.carnet.hr> <20180504104234.GR4608@gavran.carpriv.carnet.hr> <20180504105416.GS4608@gavran.carpriv.carnet.hr> <1cec5b2a-4544-3658-4812-b88f0e1a4cfa@redhat.com> <20180504120105.GT4608@gavran.carpriv.carnet.hr> <20180504140055.GB4608@gavran.carpriv.carnet.hr> Message-ID: <694e275f-3fee-4d3c-07aa-d0d1f460e5ff@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit (Sorry for the delay, I've been away.) On 04/05/18 15:00, Valentin Vidic wrote:> 29. libgfs2.at:3: testing meta.c ... > ./libgfs2.at:3: test x"$ENABLE_UNIT_TESTS" = "xyes" || exit 77 > ./libgfs2.at:4: check_meta > stderr: > gfs2_rgrp: rg_reserved: offset is 68, expected 48 > gfs2_rgrp: size mismatch between struct 128 and fields 108 > gfs2_log_header: size mismatch between struct 120 and fields 48 > stdout: > Running suite(s): libgfs2 > 0%: Checks: 1, Failures: 1, Errors: 0 > check_meta.c:9:F:Meta:test_lgfs2_meta:0: Assertion 'lgfs2_selfcheck() == 0' failed > ./libgfs2.at:4: exit code was 1, expected 0 > 29. libgfs2.at:3: 29. meta.c (libgfs2.at:3): FAILED (libgfs2.at:4) You should be able to fix this by using the configure.ac and gfs2/libgfs2/meta.c files from master. The diff should be very small. It'll need an ./autogen.sh to rebuild the configure script. The downside of that approach is that the new fields will be recognised but not used in the utils. The next release of gfs2-utils will add that functionality. Andy