From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS: assertion failed: header_type (h) != IGC_OBJ_FWD Date: Tue, 16 Jul 2024 18:54:47 +0200 Message-ID: References: <86zfqhh2xv.fsf@gnu.org> <86y161h1e8.fsf@gnu.org> <86v815gy67.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34014"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: eggert@cs.ucla.edu, pipcet@protonmail.com, emacs-devel@gnu.org, eller.helmut@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 16 18:55:51 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sTlSx-0008by-Tk for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Jul 2024 18:55:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTlSA-0003cz-8w; Tue, 16 Jul 2024 12:55:02 -0400 Original-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 1sTlS2-0003SI-T2 for emacs-devel@gnu.org; Tue, 16 Jul 2024 12:54:54 -0400 Original-Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTlS0-0003hK-IC; Tue, 16 Jul 2024 12:54:54 -0400 Original-Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a77c25beae1so617835466b.2; Tue, 16 Jul 2024 09:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721148889; x=1721753689; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=h0nZIEWcAvzhDrW9BC6t966L+kFR30diMbZzRS1uo5o=; b=Pycyyg50IxpNtF7m3GsypXae78IF0hxUg1ui3yv1t8uI1nje4ywb2P8tp99KK2sESg X8wCVC/69bEptcQ0jYvSQkajSF53cz/YoZi6WBLop+nmWXQxRYjq0oDqZSVUB3o1KkS6 51A3bFUaktcc8hjZ10p0hp3z194/Ox3T0CSiJOQtj/aCZG3XHQGHtSmjHarMT2Xz1+bW rYUwiP/0F6XhM+MUvvqsHbXihTld0DO8KsW1Norq5AqdSdSGasPaHWIRJY63H1GLrNGE 4X0Zgx5CLyGSZJwKnXDHfi4BuW9VvyzhsxzaIzbqCg4KEIcuHETCA84RcDO1KoZw4J8t j2Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721148889; x=1721753689; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=h0nZIEWcAvzhDrW9BC6t966L+kFR30diMbZzRS1uo5o=; b=JTWjb7IsRGklkl0DGCAjrS59pD7AyPNr93n7/uodin0WLyMiDdvLE51JCr1ZLtCpcT LbbMOCZ+vsoFTK1ShFh2SKGJBHFs7K7MLvwDONfgP+2p8WnXJ19DqT/ywPUEbWkWNd5h fXSdpfWRAwsi3/J5GqT7rDwd7oFXDf+mKnt2LzHH27Zrv0++U9/OwbSWncUaYC/ussV+ gli2ONtW8sfjCVRE/wDAan5XTrtAznMl1UeWxqoxxUwZpZefDuQzhXByRTYl1kMUjiGV 71lW6EfbSWl1DZntkpnJAWfuz3gS3OCAMR/pGYG+JNSdNXddwvePvs3hmvvWLaUmRcGt nM5g== X-Forwarded-Encrypted: i=1; AJvYcCW5d/DnzWNZNAt+ItZmNbd/k4N4iKeENcJkU/1RiGtE7iAFKWKkwXt8GavBIiRj2a7L7Sr0whS4xMGIvNygtUrXQ39F X-Gm-Message-State: AOJu0YyzbHfIGJUruMiOYjKvnDG3EscMPquL6MO5i/7fyk6vOo3vg30I twD1AyxcwUGvbxDjUUX6e7RiIFAKxvFDIQIZuxN1mFi152wAHFPX X-Google-Smtp-Source: AGHT+IETg4BZDzh9qO1SUeF1GKIcGWkZ9p/uUig0F74bsAnGVLzUSZNpFpETe56I+8WVb2jCD7n57A== X-Received: by 2002:a17:906:fe0e:b0:a77:e0ed:8bb with SMTP id a640c23a62f3a-a79ea491e5bmr205654566b.42.1721148889215; Tue, 16 Jul 2024 09:54:49 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3aae8.dip0.t-ipconnect.de. [79.227.170.232]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a79bc7f1db3sm337533566b.106.2024.07.16.09.54.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jul 2024 09:54:48 -0700 (PDT) In-Reply-To: <86v815gy67.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Jul 2024 18:21:36 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x636.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321725 Archived-At: Eli Zaretskii writes: >> But it's not limited to struct members. The question is similar for >> control stacks, and anything allocated via malloc. Given an address >> range [start, end) to scan with scan_ambig, where can references be >> found? > > AFAIU, each memory block allocated by malloc is guaranteed to have the > alignment of the largest fundamental data type on the platform. So > yes, 8-byte alignment is guaranteed in this case. (See also the > max_align_t data type introduced by C11.) Please note that I'm not talking about the alignment of allocated memory, but of the r4ferences contained in that memory. Anyway, I'm following my gut right now. Let's see.