From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6PKGJUFHYmMd9gAAbAwnHQ (envelope-from ) for ; Wed, 02 Nov 2022 11:32:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wMVeJUFHYmMCWgEAauVa8A (envelope-from ) for ; Wed, 02 Nov 2022 11:32:33 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5253127C60 for ; Wed, 2 Nov 2022 11:32:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqB2W-0003mA-6v; Wed, 02 Nov 2022 06:32:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqB2R-0003kF-3e for bug-guix@gnu.org; Wed, 02 Nov 2022 06:32:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oqB2Q-0004jG-9L for bug-guix@gnu.org; Wed, 02 Nov 2022 06:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oqB2P-0005wl-W4 for bug-guix@gnu.org; Wed, 02 Nov 2022 06:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58923: Malformed core dumps on Guix System Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 02 Nov 2022 10:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58923 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 58923@debbugs.gnu.org Received: via spool by 58923-submit@debbugs.gnu.org id=B58923.166738509722828 (code B ref 58923); Wed, 02 Nov 2022 10:32:01 +0000 Received: (at 58923) by debbugs.gnu.org; 2 Nov 2022 10:31:37 +0000 Received: from localhost ([127.0.0.1]:44977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqB21-0005w8-2Z for submit@debbugs.gnu.org; Wed, 02 Nov 2022 06:31:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqB1y-0005vu-Oy for 58923@debbugs.gnu.org; Wed, 02 Nov 2022 06:31:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqB1t-0004Po-Is for 58923@debbugs.gnu.org; Wed, 02 Nov 2022 06:31:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=GlCv8YCKivdhVlr8EdiODQm8m22jTGaU175XMSXLZTA=; b=RtWbeFiK9zyFo/tS8gje MA+dTuF5LDaAIaqTD4JsJncEtafqI99MNmVhqGJ2X4XFRvJkSH60w+kb25YnTkrUG6QWXVT10Z39B FnrNvL43i0Y/c2UGJsCblhpXx23c1B7wAqk2iPTclUFu/VtHs9U9S4Is1YHi1WhW2jydOJr/ElDcG 9BUQAPv4GCDj5EBgcpdhvErKTL6nwHnaSGaGxZDyatkms/6I82RtLiRiSgeNwldcNnWDwqBk5PVxI dUPmgCphQ2PPrd0mdDvvsXR6g/vqSD/eG4uBTrzhI0vdCfEHkEI8/18ehGBfVz+b+ZF57zvexymDy zTcKyBCjXJ8Skg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqB1t-0008Qk-53; Wed, 02 Nov 2022 06:31:29 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87fsf4gukr.fsf@gnu.org> Date: Wed, 02 Nov 2022 11:31:26 +0100 In-Reply-To: <87fsf4gukr.fsf@gnu.org> (Mathieu Othacehe's message of "Mon, 31 Oct 2022 11:23:48 +0100") Message-ID: <87iljxwsu9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "bug-Guix" Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667385153; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GlCv8YCKivdhVlr8EdiODQm8m22jTGaU175XMSXLZTA=; b=bD7lzygIiGdaPkJrq7B1nweFwizwC1tv+nZzIReKFo9iKVlIaBNFQG/rpybL3KUWFTMJaw q8GcgcpGCca9DWanNeISiWg4bY41F7B8oyDcx+jQx7sX7doBlpw+u5/WtL3zW/7vR6nf5h LqpxUhpXZZ+VMrMaaa9Gb5nNqQq2Gq33L783Ly1TEuNvI1pFvH0V6oxUEBF237bJnaHkpQ On1svF8lob1+cWemUlLCJTKaXo+7rBtpsRd/iGenLFRkOLmeeDnRh37yQxilPm8/Za+aQZ ofZkBDZJnGLep2ZrHyVejyzWZr84d/kRyz1o8rxyTIMxm4YXgrLrrm9JiOJwAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667385153; a=rsa-sha256; cv=none; b=u/MpXJeaMZXb8IyVgjmSux9H58/FcFYXw6TunCsEiI7Ui0MM5RzYysPNWu/zjkqHdPJNUI p9QkqR0EnYKvcDuZ+cX/YFeip0M1SVMabZzIa0RRFAhqDPpko9jIVf2OXlv5gVWH+pM4Tu nrVvMgtwEkhqjZF868kgk6hXFZwVsdrukuVoRHk5gjUeYX7bJy7R90/pASc6dHw785T6ff v7y38W0+HH6hzlWQhHfiIkB9QWHhRHi7rGvqX9iC4aHYTgYFTn2Wnb48smuYuDI4hpBmxX P3oRxIqCQBagbzHLnU5ezostZ2GPjj0Q0W+RBqRsDylUAAIb9VDsbXo1ZQP7QA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=RtWbeFiK; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.88 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=RtWbeFiK; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5253127C60 X-Spam-Score: -3.88 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8wxeyqIoW9o6 Hi, Mathieu Othacehe skribis: > mathieu@meije ~/tmp [env]$ gdb ./a.out /tmp/my-core-5622 > ... > BFD: warning: /tmp/my-core-5622 has a segment extending past end of file > ... > Failed to read a valid object file image from memory. I never encountered that issue, although I=E2=80=99ve had to look a lot at = core dumps over time. :-) --8<---------------cut here---------------start------------->8--- $ gcc test.c $ ulimit -c unlimited=20 $ ./a.out Segmentation fault (core dumped) $ gdb a.out core GNU gdb (GDB) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from a.out... (No debugging symbols found in a.out) [New LWP 23407] Core was generated by `./a.out'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000000000401106 in main () (gdb) bt #0 0x0000000000401106 in main () (gdb) quit --8<---------------cut here---------------end--------------->8--- Could it have to do with /proc/sys/kernel/core_pattern or with the fact that your /tmp file system was full or something? What if you try to have the core dump on another file system? Thanks, Ludo=E2=80=99.