From: Anatoly Pugachev Subject: Re: [sparc64] sigbus in e2fsck Date: Tue, 30 Aug 2016 23:17:07 +0300 Message-ID: References: <6a774a5e-b2e5-6276-c272-2b737bd098f0@physik.fu-berlin.de> <20160830145810.rgms25xlnatnyxir@thunk.org> <20160830191644.hoqnviqcj2odxcpu@thunk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: linux-ext4@vger.kernel.org, debian-sparc To: "Theodore Ts'o" Return-path: Received: from mail-ua0-f195.google.com ([209.85.217.195]:36278 "EHLO mail-ua0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751789AbcH3URI (ORCPT ); Tue, 30 Aug 2016 16:17:08 -0400 Received: by mail-ua0-f195.google.com with SMTP id 35so2219220uaj.3 for ; Tue, 30 Aug 2016 13:17:08 -0700 (PDT) In-Reply-To: <20160830191644.hoqnviqcj2odxcpu@thunk.org> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Tue, Aug 30, 2016 at 10:16 PM, Theodore Ts'o wrote: > On Tue, Aug 30, 2016 at 06:12:39PM +0300, Anatoly Pugachev wrote: >> >> (gdb) p bh->b_data >> $1 = "\300;9\230\000\000\000\005\000\000\253\204\000\000\000\070\000\000\000\000\000\000$\022\000\000\000\000\000\000$<\000\000\000\000\000\000$\270\000\000\000\000\000\000$]\000\000\000\000\000\000$\024", >> '\000' >> (gdb) p offset >> $2 = 16 >> (gdb) p *bh->b_data >> $3 = -64 '\300' >> (gdb) p *(bh->b_data+offset) >> $6 = 0 '\000' > > Can you give us "p &bh->b_data" (so we can get the starting address of > b_data to make sure it's aligned) and "p offset" (so we can check and > make sure offset is sane)? (gdb) p &bh->b_data $7 = (char (*)[1024]) 0x2e9b9c (gdb) p offset $8 = 16