From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#56553: 29.0.50; ASAN error with fringe bitmaps on NS Date: Fri, 15 Jul 2022 15:57:40 +0200 Message-ID: <87v8ryeawb.fsf@gmail.com> References: <83cze7u7b7.fsf@gnu.org> <8569ECF9-6D19-4DCB-854C-2755D182F8AF@gmail.com> <8335f3tz02.fsf@gnu.org> <87cze6okcy.fsf@yahoo.com> <83mtdaslv6.fsf@gnu.org> <12E0397A-F443-4A1F-88F2-D3C8EA6D279C@gmail.com> 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="4244"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , 56553@debbugs.gnu.org, Eli Zaretskii To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 15 15:58:11 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oCLpb-0000xW-0R for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Jul 2022 15:58:11 +0200 Original-Received: from localhost ([::1]:46186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCLpa-0007kL-5H for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Jul 2022 09:58:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCLpS-0007kC-6U for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2022 09:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCLpR-0007DK-UN for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2022 09:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCLpR-0002Ib-QR for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2022 09:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jul 2022 13:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56553 X-GNU-PR-Package: emacs Original-Received: via spool by 56553-submit@debbugs.gnu.org id=B56553.16578934718820 (code B ref 56553); Fri, 15 Jul 2022 13:58:01 +0000 Original-Received: (at 56553) by debbugs.gnu.org; 15 Jul 2022 13:57:51 +0000 Original-Received: from localhost ([127.0.0.1]:41861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCLpG-0002IC-TC for submit@debbugs.gnu.org; Fri, 15 Jul 2022 09:57:51 -0400 Original-Received: from mail-wr1-f49.google.com ([209.85.221.49]:45816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCLpE-0002Hx-7l for 56553@debbugs.gnu.org; Fri, 15 Jul 2022 09:57:50 -0400 Original-Received: by mail-wr1-f49.google.com with SMTP id a5so6820066wrx.12 for <56553@debbugs.gnu.org>; Fri, 15 Jul 2022 06:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=/D51kS+RvFX0Qxt7jeRoZtol8/S/se11H1E6bRVLgQ0=; b=BzyJt2Z396AspH0gatkLrgJbXEj3LsQJLXGIuPkwc6oHnqy4ET6q/ZvmfG0iH0rO5T hpT+/81fsEL2y7yXcnpC5MRv99NPoRlLi6GpRBzZLkh0TrxB31bFhQZzViC7CMyF49rJ VD3BMIyqhvypK7yfIpnR57zwfVx5figCEHOP9BG5QoxzXteK0d/sbrZQFbrGy3xGi1Be npK3JNBws3IYHPPlCrk+Rt4eFFMq2iKasPMSa2bl17x0kp01jY3NrDvzXO6ye8zY5VKa puB/+1qqsqTH0joDctIf/1tkTSEY+0v9v/dGtTi+hmiHv2zyWlr9a/OPqGUpNcz/SEzs CK2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=/D51kS+RvFX0Qxt7jeRoZtol8/S/se11H1E6bRVLgQ0=; b=FA05dA37PlODdV2mO9zkEVp/9W27A8mt7uvTTvJ/aUkfmupmkh1mK8O4+A9EWFF576 cFbdTvWqrblwI6k8rR6aw64V+pSWWqARfR4sfwfipoTAHbAvcQN2IvsppJukZ8x4IfHA XN5cM9I/yWViUwrxd1iK8xHlra4FJ3MjZ74D6pycfcfhQaZyUnHKeCVHb+wAhV51dsLN OyfbJ2CKEh0xmNZTCMog4Ryco0O9BrDl51QCNsqjK9mQkW7V0CmW8Nr4+VBeGy+lAy4L djOFI57Nzr/4HjAL5YDxgmjByuZwPK2kbPdM+qW8+SXkmf/iw9TG86d+l9Er1HYGnu4x SlAg== X-Gm-Message-State: AJIora//QOpDIQ5BrIgMH536DaXc+l8HDTPleTdsaLrJ+OgkF593fhZO QCUhkiFC67m9QGbvEJxOHaLzAWazeLw= X-Google-Smtp-Source: AGRyM1sGmPfV2fCuXJKSs7qdqlruvstmKgKvjSq+BlrtTjoaMcT1DzOwrucsX6u1Bn7C7HZ8JYV3Bw== X-Received: by 2002:adf:f1d0:0:b0:21d:9c0d:9b5 with SMTP id z16-20020adff1d0000000b0021d9c0d09b5mr12335149wro.689.1657893461827; Fri, 15 Jul 2022 06:57:41 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:8153:b151:c2f5:ed2f]) by smtp.gmail.com with ESMTPSA id s15-20020a5d4ecf000000b0021b9416fa13sm4679589wrv.90.2022.07.15.06.57.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jul 2022 06:57:41 -0700 (PDT) In-Reply-To: <12E0397A-F443-4A1F-88F2-D3C8EA6D279C@gmail.com> ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Fri, 15 Jul 2022 15:55:40 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237102 Archived-At: >>>>> On Fri, 15 Jul 2022 15:55:40 +0200, Gerd M=C3=B6llmann said: >> On 2022-07-15,, at 12:37 , Eli Zaretskii wrote: >>=20 >>> From: Gerd M=C3=B6llmann >>> Date: Fri, 15 Jul 2022 11:14:02 +0200 >>> Cc: Eli Zaretskii , >>> 56553@debbugs.gnu.org >>>=20 >>>=20 >>>> On 2022-07-15,, at 10:23 , Po Lu wrote: >>>=20 >>>> Yes, you're right here. I think that code does want to access the >>>> individual bytes. >>>=20 >>> Interestingly, just doing >>>=20 >>> const char *bitmap_bytes =3D (const char *) bits; >>> bool bit =3D bitmap_bytes[byte] & (0x80 >> x % 8); >>>=20 >>> here results in garbage fringe bitmaps beign displayed. I'm stumpe= d. >>=20 >> Is the machine little-endian or big-endian? Gerd> Good question! I think it's little-endian, but I'm not 100% sure= .=20 Both Intel and Arm based macs are little-endian Robert --=20