From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by sourceware.org (Postfix) with ESMTP id 53F473857C73 for ; Tue, 21 Jul 2020 00:19:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 53F473857C73 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-485-1sesfmIwPza4gbn7lG_00g-1; Mon, 20 Jul 2020 20:19:23 -0400 X-MC-Unique: 1sesfmIwPza4gbn7lG_00g-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4ADA9800597; Tue, 21 Jul 2020 00:19:22 +0000 (UTC) Received: from f32-m1.lan (ovpn-112-21.phx2.redhat.com [10.3.112.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2591E171EB; Tue, 21 Jul 2020 00:19:22 +0000 (UTC) Date: Mon, 20 Jul 2020 17:19:21 -0700 From: Kevin Buettner To: Zbigniew =?UTF-8?Q?J=C4=99drzejewski-Szmek?= Cc: gdb@sourceware.org Subject: Re: gdb says "Unexpected size of section `.reg-xstate/...' in core file" Message-ID: <20200720171921.219e68ca@f32-m1.lan> In-Reply-To: <20200714072043.GT7348@in.waw.pl> References: <20200714072043.GT7348@in.waw.pl> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2020 00:19:27 -0000 On Tue, 14 Jul 2020 07:20:43 +0000 Zbigniew J__drzejewski-Szmek wrote: > I'm running gdb (via coredumpctl) on a core file from a program > crashing in Fedora Rawhide. One of the gdb maintainers in Fedora, Jan > Kratochvil, directed me to this mailing list. bt and other commands > work fine, but gdb shows the warning in $subject (and the core file > doesn't seem to be truncated): > > $ coredumpctl gdb > ... > Using host libthread_db library "/lib64/libthread_db.so.1". > Core was generated by `/usr/lib/systemd/systemd-oomd'. > Program terminated with signal SIGABRT, Aborted. > > warning: Unexpected size of section `.reg-xstate/59286' in core file. > #0 0x00007f552f8b3b95 in raise () from /lib64/libc.so.6 > (gdb) This looks like the same bug that I investigated and fixed last week. It turned out to be a kernel bug. I sent a patch to the kernel maintainers; it's been accepted into several development trees. Here's a link to the Fedora bug report that I filed: https://bugzilla.redhat.com/show_bug.cgi?id=1858645 Kevin