From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8F+eFtwuXmf61gAAe85BDQ:P1 (envelope-from ) for ; Sun, 15 Dec 2024 01:20:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8F+eFtwuXmf61gAAe85BDQ (envelope-from ) for ; Sun, 15 Dec 2024 02:20:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=vT8TEq8Z; dkim=fail ("headers rsa verify failed") header.d=scratchpost.org header.s=kas202409041115 header.b="Uw/BzWpf"; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734225627; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=tM44hEO6ebNFgFOZ75NIyxu06282zyx7oD2VDAmQ25E=; b=NW/4snuutgGiHy72D6o7h+fW8bkhwtxM11w48SjJ0y+Ic+hRqVmIPCTTiXys330Vkqp+Di IQMK7gzsL3dGcU6uKQ9rj69czZnFkeXc8/mfhTGCdyMKmbE8vv7I9XdkstFZdWSG9ZbQtl TuY5FUVIY9m2si9nhtPMigqG0b8M9bA7MkplNCN5sjkVGH8pe5UOSmfc37eUByOz4rfhUT c+9n5qZjNnya6iSMw0ckDyEbt/8TQYSxD0FwGDZgk/5c9iZjtvHR/cx/7kbDxCgDsjsTt1 2WPkLN41olfwG7k3DYmHKKq5mzRdUE5ip2GuUN/CIFpn1L/2qp0OIvHQaLPa9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=vT8TEq8Z; dkim=fail ("headers rsa verify failed") header.d=scratchpost.org header.s=kas202409041115 header.b="Uw/BzWpf"; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734225627; a=rsa-sha256; cv=none; b=C8hDUmsfQgvpe49zgjx+oynw2WF2JNDnomtj347ieuTkGGYPVxjwADNZdA7Zkx/UaM76V8 Ga6qEehcTzckjZcXQR/gIQFY6HC6ycl/W6GMnNNiPGffiR4pxo8BkA9nx1xCdOTYQh0dPn jm/BwqGGMKcgVTx70nESbFD/qsYaxDYaZ3U6bUasowzu8BdxJqPwrn7ou0dduYWXtOLNVC u7lh8KudgslJi3sIl5yySxK3l0VNpjEufHaeFQg4m1Y7w4/JOD46t0O2c+REA0LAI2v0YC 1mqmR4ueOvUBUxzlu4yfXR3mXjJAd7Mynx/AgwRAtISZLqpu6i+wiQTnu+ceWQ== 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 D5BAF55D83 for ; Sun, 15 Dec 2024 02:20:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMdIj-0003Xw-SX; Sat, 14 Dec 2024 20:20:05 -0500 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 1tMdIh-0003VZ-0h for bug-guix@gnu.org; Sat, 14 Dec 2024 20:20:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMdIg-0007MV-Nt for bug-guix@gnu.org; Sat, 14 Dec 2024 20:20:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:From:To:In-Reply-To:References:Subject; bh=tM44hEO6ebNFgFOZ75NIyxu06282zyx7oD2VDAmQ25E=; b=vT8TEq8ZouRYRdGH12QsPslXiUb9kG65c+PiVyGqDOx237l3RuvryTs8fkag1+idGo/hBuoh42N4rjIrr2b0Fdl7O1f8GouKzCaUDxZHoUVlv/18q9UBLQ/yO3sJuHjdZaQiSBsI9tpfq5bKtETYr/sSL5die5xgbvcjDLq3KjXj2yukDrBBriCS7hamZpShM0rspJNklNsuAwo4X1XXn+CtHf4+QFTAort9IL2k4JGYqGpCq3PSeJ+Ke4r/6ormrgyKmEl7DOzeOmE04XY9jl5BxPvs6+QrOzU4xoMLYcdWb11YtpYvPos8oLGMh0NewL805khR982CTXncOUFPUQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMcsY-0002Td-5S for bug-guix@gnu.org; Sat, 14 Dec 2024 19:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74501: Problem confirmed References: <87iksdii8t.fsf@posteo.net> In-Reply-To: <87iksdii8t.fsf@posteo.net> Resent-From: "Danny Milosavljevic" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 15 Dec 2024 00:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74501 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74501@debbugs.gnu.org Received: via spool by 74501-submit@debbugs.gnu.org id=B74501.17342239779506 (code B ref 74501); Sun, 15 Dec 2024 00:53:02 +0000 Received: (at 74501) by debbugs.gnu.org; 15 Dec 2024 00:52:57 +0000 Received: from localhost ([127.0.0.1]:48916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMcsN-0002T1-LK for submit@debbugs.gnu.org; Sat, 14 Dec 2024 19:52:57 -0500 Received: from dd30410.kasserver.com ([85.13.145.193]:48000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMcsK-0002Sp-93 for 74501@debbugs.gnu.org; Sat, 14 Dec 2024 19:52:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scratchpost.org; s=kas202409041115; t=1734223966; bh=tM44hEO6ebNFgFOZ75NIyxu06282zyx7oD2VDAmQ25E=; h=Subject:To:From:Date:From; b=Uw/BzWpf7Flb4Rb0qmkL2K1ot+OYe9kYknpfd2b3Z/Baccw097irMdSpLnFkjYOhA 6m4i0LEuZvvcn2UNovW0cc6sChXIwAi/xOYKiGcvFwuLOG/TzNo3uUsBghO/os2jxp rBs95Tm4BNZc1wOJnH533R9lTJVdOPRFgJT6l3/rVRAkB5B2M0vTVOqL7lbNvFBmXX FRmePFFvVlfZrmPD/APbrmlBHwxCyfopUVxZTkqmz6wDg8x0ZK/tG6DXAA/kw37VAY aQtn20b1Fy1/6tzl5QJIH02oHMWSh4a711OsZPmJl3sTxgv59Qld0HmsOUpKBa96u8 cntYuDqb6j5mQ== Received: from dd30410.kasserver.com (dd0805.kasserver.com [85.13.161.253]) by dd30410.kasserver.com (Postfix) with ESMTPSA id 917D81120AB8 for <74501@debbugs.gnu.org>; Sun, 15 Dec 2024 01:52:46 +0100 (CET) From: "Danny Milosavljevic" User-Agent: ALL-INKL Webmail 2.11 X-SenderIP: 84.115.227.145 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <20241215005246.917D81120AB8@dd30410.kasserver.com> Date: Sun, 15 Dec 2024 01:52:46 +0100 (CET) X-Spamd-Bar: ---- 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: D5BAF55D83 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.06 X-Spam-Score: -9.06 X-TUID: coFLpOZdN3p/ Hi, I also have this problem on x86_64 znver3. I disassembled my "Code:" block and I get: 8b 04 25 28 00 00 00 mov eax, DWORD PTR ds:0x28 48 89 44 24 08 mov QWORD PTR [rsp+0x8], rax 31 c0 xor eax, eax e8 dc 2d f9 ff call 44 8b 28 mov r13d, DWORD PTR [rax] 48 89 c5 mov rbp, rax e8 61 9e ff ff call 49 89 c4 mov r12, rax 48 85 db test rbx, rbx 0f 84 e5 00 00 00 je <44> 0f b7 0b movzx r9d, WORD PTR [rbx] ; <-- This is where <44> is 66 41 83 f9 02 cmp r9w, 0x2 0f 84 f6 00 00 00 je 66 41 83 f9 0a cmp r9w, 0xa 74 57 je The 0x44 byte in this instruction is part of the REX prefix that indicates the use of an extended register (r9d in this case). The error code is a combination of several error bits defined in fault.c in the Linux kernel: /* * Page fault error code bits: * * bit 0 == 0: no page found 1: protection fault * bit 1 == 0: read access 1: write access * bit 2 == 0: kernel-mode access 1: user-mode access * bit 3 == 1: use of reserved bit detected * bit 4 == 1: fault was an instruction fetch * bit 5 == 1: protection keys block access * bit 6 == 1: shadow stack access fault * bit 15 = 1: SGX MMU page-fault */ enum x86_pf_error_code { X86_PF_PROT = 1 << 0, X86_PF_WRITE = 1 << 1, X86_PF_USER = 1 << 2, X86_PF_RSVD = 1 << 3, X86_PF_INSTR = 1 << 4, X86_PF_PK = 1 << 5, X86_PF_SHSTK = 1 << 6, X86_PF_SGX = 1 << 15, }; Since ntpd is a user-mode program, X86_PF_USER is set and the error code is at least 4. If the error code is 4, then the faulty memory access is a read from user space. In total: - User-mode access. - Read access. - No page found.