From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: MPS: assertion failed: header_type (h) != IGC_OBJ_FWD Date: Tue, 16 Jul 2024 16:19:30 +0200 Message-ID: <87msmhwhal.fsf@gmail.com> References: <86zfqhh2xv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24241"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Paul Eggert , pipcet@protonmail.com, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 16 16:20:33 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 1sTj2e-0006AI-2c for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Jul 2024 16:20:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTj1z-0002ux-D7; Tue, 16 Jul 2024 10:19:51 -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 1sTj1w-0002nn-5p for emacs-devel@gnu.org; Tue, 16 Jul 2024 10:19:48 -0400 Original-Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTj1i-0006b0-9S; Tue, 16 Jul 2024 10:19:47 -0400 Original-Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-58be2b8b6b2so6940055a12.3; Tue, 16 Jul 2024 07:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721139572; x=1721744372; darn=gnu.org; h=content-transfer-encoding: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=rIQPqWNzBnuyynw4TrUJ1uXg5OTaR3NJVK8yR4rymwg=; b=ZxTVV9azMTljTLPfXxbTHUzYbVCqTEqo8/YUDgvzaHuxCol3QyEr489yyvy2uE8XsD SqRiiYBXC21KW6+jho+urV8m2aQLI6/TPj6H/8EHvwMxElm8BA1FapwC0Qf9SozaHJxF J3ub5satM0/YaLsGWzrj5OeRFYJ5A1dunp0+XjexQf+Ado3hBJSC77O/Cq5VLwlillZm WWo2yXJvKKSTvIhgPgbodk7TGwCNB7/9z9tNsBokMmz79B83qHcxdr3/HamnUa4v+AUG GZbuMLb4D6LR0Vf7KgCpxyf+D2S23qD7ZbngqEKYUJgLX89tFYxLSb2y1RTloXAHmNNZ D7Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721139572; x=1721744372; h=content-transfer-encoding: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=rIQPqWNzBnuyynw4TrUJ1uXg5OTaR3NJVK8yR4rymwg=; b=YFoXEAPaKoSEYPXOvkaKzTJEJO1Ip+DgJb3EptQn1ALSUVXtjSnX91qMnRA5FuDDcw pQnwLJmE6ffVLOcG+yr25gX7RqSBz3QkVw/n4m1ADplHU35v6SKIRBrFbulvJ7fxouc3 aHaX9jlU6tXs0P7INgSHdFqS8P+hs6jJIeUBNVTtrk0KNpjBrwARENAcYzsNT2xNuut+ 7AF5kwvL586Yd9EgHneaevsFrnEBg10O+QtG+W3WUpvJkKFLjpbFdLDIaHPniPWiTSdR mcLMvyqkhCzWKsFcPOIrCyrtTZ066j3hyHUQ8kQSSlCJrMnZHM8oBCTuGdyGYJSo2ZHW oI9g== X-Forwarded-Encrypted: i=1; AJvYcCVRFi6oEx8SAyEBWGHBFi09Bhy3eyrQwuXEc38HbmYno5Yx8GKNlEoIQf0gfzFT9BLBK87MQ6TYRrr2Hw+4TxF2lGQD X-Gm-Message-State: AOJu0Yz6cB+rfKsiqthh6eJwMFdfDYc01HDLrOu9JMK9FSHWl7f8KdCA EO8akRXlSkXkoilzD3rbBp8IaAexbChe0QZYxMPubNzcd4UJVWuwLNzCmg== X-Google-Smtp-Source: AGHT+IEs+1qkFhmVgXvPt3nWz3pB9RJGLOszNuiloxvecT2QXh7ZRMHOGQ71MreSpUB/I06N+u3qAA== X-Received: by 2002:a17:906:c56:b0:a77:daa9:401 with SMTP id a640c23a62f3a-a79ea5de716mr183186066b.35.1721139572038; Tue, 16 Jul 2024 07:19:32 -0700 (PDT) Original-Received: from caladan (dialin-234199.rol.raiffeisen.net. [195.254.234.199]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a79bc5e9e22sm326747666b.93.2024.07.16.07.19.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jul 2024 07:19:31 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Tue, 16 Jul 2024 15:47:26 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::52e; envelope-from=eller.helmut@gmail.com; helo=mail-ed1-x52e.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, 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:321708 Archived-At: On Tue, Jul 16 2024, Gerd M=C3=B6llmann wrote: > That's probably a misunderstanding. I'm thinking about a block of memory > containing references, and the alignment of these references, not the > alignment of the block. > > Example with sizeof(int) =3D 4, and sizeof(void *) =3D 8 > > struct x > { > int x; > struct Lisp_Symbol *s; > }; > > What about the offset of x::s? That's not a problem because offsetof(struct x, s) =3D 8. There are 4 bytes padding after x. A problem could be if an unaligned void* is cast to a struct Lisp_Symbol*; let's hope that nobody does that.