From unknown Fri Aug 15 04:08:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Resent-From: michal panoch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Dec 2020 21:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45515@debbugs.gnu.org Cc: mp@maya.cz X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160919147428609 (code B ref -1); Mon, 28 Dec 2020 21:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Dec 2020 21:37:54 +0000 Received: from localhost ([127.0.0.1]:37103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku0DB-0007RM-6E for submit@debbugs.gnu.org; Mon, 28 Dec 2020 16:37:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:44184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktzae-0006Nn-JO for submit@debbugs.gnu.org; Mon, 28 Dec 2020 15:58:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktzae-0003e8-B2 for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 15:58:04 -0500 Received: from ms1.panoch.net ([89.22.65.5]:56975) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1ktzab-0001z6-7Q for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 15:58:03 -0500 Received: from [192.168.1.108] (unknown [10.19.249.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ms1.panoch.net (Postfix) with ESMTP id 908A45903D9E3; Mon, 28 Dec 2020 21:57:46 +0100 (CET) From: michal panoch Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Message-Id: Date: Mon, 28 Dec 2020 21:57:44 +0100 X-Mailer: Apple Mail (2.3654.40.0.2.32) Received-SPF: pass client-ip=89.22.65.5; envelope-from=michal@panoch.net; helo=ms1.panoch.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Mon, 28 Dec 2020 16:37:52 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) hi, i'm on the new Apple Silicon M1 architecture and using nix emacs-overlay = - https://github.com/nix-community/emacs-overlay/ like this: ~/.config/nixpkgs/overlays/emacs.nix import (builtins.fetchTarball { url =3D = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz; }) install whith: $ nix-env -iA nixpkgs.emacsGcc it compiles no problem. it runs and bytecompiles everything no problem, = but after a while it crashes with: Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, = VM_FLAGS_ANYWHERE | VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), = port, 0, false, prot, prot, VM_INHERIT_SHARE) =3D=3D KERN_SUCCESS), = function backing_map, file = /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/Sky= Light-569.6/SkyLight/Services/Windows/CGSBackingStore.c, line 192. Fatal = error 6: Aborted [1] 2319 abort emacs --fg-daemon any idea how to investigate? uname -a: Darwin mpm.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 = 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64 In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.2.0, NS = appkit-2022.20 Version 10.16 (Build 20C69)) Repository revision: 87f6e937995c433825173fb0473a801791d5beac Repository branch: master Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.1 Configured using: 'configure = --prefix=3D/nix/store/9rsfjqclzwgsh63szkdb6mn2572pv9zi-emacs-gcc-20201217.= 0 --disable-build-details --with-modules --with-ns --disable-ns-self-contained --with-nativecomp CFLAGS=3D-DMAC_OS_X_VERSION_MAX_ALLOWED=3D101200' Configured features: JPEG TIFF PNG RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES NATIVE_COMP THREADS JSON PDUMPER Important settings: value of $LC_CTYPE: UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache json map text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp comp-cstr warnings subr-x rx cl-extra help-mode easymenu seq cl-seq byte-opt cl-macs gv jka-compr cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face pcase macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process nativecomp emacs) Memory information: ((conses 16 85548 8869) (symbols 48 7929 1) (strings 32 23659 2908) (string-bytes 1 870425) (vectors 16 15702) (vector-slots 8 305764 19876) (floats 8 31 37) (intervals 56 198 0) (buffers 984 11)) From unknown Fri Aug 15 04:08:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Dec 2020 09:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: michal panoch Cc: mp@maya.cz, 45515@debbugs.gnu.org Received: via spool by 45515-submit@debbugs.gnu.org id=B45515.160923249510938 (code B ref 45515); Tue, 29 Dec 2020 09:02:02 +0000 Received: (at 45515) by debbugs.gnu.org; 29 Dec 2020 09:01:35 +0000 Received: from localhost ([127.0.0.1]:37562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuAsp-0002qM-J3 for submit@debbugs.gnu.org; Tue, 29 Dec 2020 04:01:35 -0500 Received: from mab.sdf.org ([205.166.94.33]:60630 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuAsl-0002qB-O5 for 45515@debbugs.gnu.org; Tue, 29 Dec 2020 04:01:33 -0500 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kuAsi-00040h-8l; Tue, 29 Dec 2020 09:01:28 +0000 From: Andrea Corallo References: Date: Tue, 29 Dec 2020 09:01:28 +0000 In-Reply-To: (michal panoch's message of "Mon, 28 Dec 2020 21:57:44 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) michal panoch writes: > hi, > > i'm on the new Apple Silicon M1 architecture and using nix emacs-overlay - https://github.com/nix-community/emacs-overlay/ > > like this: ~/.config/nixpkgs/overlays/emacs.nix > > import (builtins.fetchTarball { > url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz; > }) > > install whith: > > $ nix-env -iA nixpkgs.emacsGcc > > it compiles no problem. it runs and bytecompiles everything no problem, but after a while it crashes with: > > Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, VM_FLAGS_ANYWHERE | VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), port, 0, false, prot, prot, VM_INHERIT_SHARE) == KERN_SUCCESS), function backing_map, file /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/SkyLight-569.6/SkyLight/Services/Windows/CGSBackingStore.c, line 192. Fatal error 6: Aborted [1] 2319 abort emacs --fg-daemon > > any idea how to investigate? > > uname -a: > Darwin mpm.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64 Hi Michal, this assertion is out of our code so doesn't ring any bell to me. Running under a debugger to have a back-trace of the crash might give more information. Thanks Andrea From unknown Fri Aug 15 04:08:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Resent-From: mp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Dec 2020 15:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45515@debbugs.gnu.org Received: via spool by 45515-submit@debbugs.gnu.org id=B45515.160925443525573 (code B ref 45515); Tue, 29 Dec 2020 15:08:01 +0000 Received: (at 45515) by debbugs.gnu.org; 29 Dec 2020 15:07:15 +0000 Received: from localhost ([127.0.0.1]:39929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuGah-0006eO-4L for submit@debbugs.gnu.org; Tue, 29 Dec 2020 10:07:15 -0500 Received: from ms1.panoch.net ([89.22.65.5]:48642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuGae-0006eD-EV for 45515@debbugs.gnu.org; Tue, 29 Dec 2020 10:07:14 -0500 Received: from mpm.local (unknown [10.19.249.102]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ms1.panoch.net (Postfix) with ESMTP id C6E87580B7F03 for <45515@debbugs.gnu.org>; Tue, 29 Dec 2020 16:07:09 +0100 (CET) References: From: mp Message-ID: <0c66af66-ff95-a198-67de-b62269bee0c9@panoch.net> Date: Tue, 29 Dec 2020 16:07:08 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On 29.12.2020 10:01, Andrea Corallo wrote: > michal panoch writes: > >> hi, >> >> i'm on the new Apple Silicon M1 architecture and using nix emacs-overlay - https://github.com/nix-community/emacs-overlay/ >> >> like this: ~/.config/nixpkgs/overlays/emacs.nix >> >> import (builtins.fetchTarball { >> url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz; >> }) >> >> install whith: >> >> $ nix-env -iA nixpkgs.emacsGcc >> >> it compiles no problem. it runs and bytecompiles everything no problem, but after a while it crashes with: >> >> Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, VM_FLAGS_ANYWHERE | VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), port, 0, false, prot, prot, VM_INHERIT_SHARE) == KERN_SUCCESS), function backing_map, file /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/SkyLight-569.6/SkyLight/Services/Windows/CGSBackingStore.c, line 192. Fatal error 6: Aborted [1] 2319 abort emacs --fg-daemon >> >> any idea how to investigate? >> >> uname -a: >> Darwin mpm.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64 > Hi Michal, > > this assertion is out of our code so doesn't ring any bell to me. > Running under a debugger to have a back-trace of the crash might give > more information. > > Thanks > > Andrea trying to run with gbd, but it doesn't seem to be working: mp@mpm:~ :$ gdb /Users/mp/.nix-profile/bin/emacs GNU gdb (GDB) 10.1 Copyright (C) 2020 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-apple-darwin". 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 /Users/mp/.nix-profile/bin/emacs... (No debugging symbols found in /Users/mp/.nix-profile/bin/emacs) (gdb) r --fg-daemon Starting program: /nix/store/2y79kkpvkbjdd2jzdxx2w3p3mxdqpagf-user-environment/bin/emacs --fg-daemon [New Thread 0x2a03 of process 54326] [New Thread 0x2b03 of process 54326] ../../gdb/target.c:2149: internal-error: void target_mourn_inferior(ptid_t): Assertion `ptid == inferior_ptid' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) n This is a bug, please report it.  For instructions, see: . ../../gdb/target.c:2149: internal-error: void target_mourn_inferior(ptid_t): Assertion `ptid == inferior_ptid' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) n Command aborted. Error calling thread_get_state for GP registers for thread 0x2a03 warning: Mach error at "../../gdb/i386-darwin-nat.c:83" in function "virtual void i386_darwin_nat_target::fetch_registers(struct regcache *, int)": (ipc/send) invalid destination port (0x10000003) any idea how to proceed? -mp- From unknown Fri Aug 15 04:08:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Dec 2020 15:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: mp Cc: 45515@debbugs.gnu.org Received: via spool by 45515-submit@debbugs.gnu.org id=B45515.160925603228296 (code B ref 45515); Tue, 29 Dec 2020 15:34:01 +0000 Received: (at 45515) by debbugs.gnu.org; 29 Dec 2020 15:33:52 +0000 Received: from localhost ([127.0.0.1]:39955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuH0R-0007MK-NC for submit@debbugs.gnu.org; Tue, 29 Dec 2020 10:33:52 -0500 Received: from mab.sdf.org ([205.166.94.33]:43632 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuH0M-0007M6-Ou for 45515@debbugs.gnu.org; Tue, 29 Dec 2020 10:33:50 -0500 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kuH0K-0004Xs-0t; Tue, 29 Dec 2020 15:33:44 +0000 From: Andrea Corallo References: <0c66af66-ff95-a198-67de-b62269bee0c9@panoch.net> Date: Tue, 29 Dec 2020 15:33:44 +0000 In-Reply-To: <0c66af66-ff95-a198-67de-b62269bee0c9@panoch.net> (mp's message of "Tue, 29 Dec 2020 16:07:08 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) mp writes: > On 29.12.2020 10:01, Andrea Corallo wrote: > >> michal panoch writes: >> >>> hi, >>> >>> i'm on the new Apple Silicon M1 architecture and using nix emacs-overla= y - https://github.com/nix-community/emacs-overlay/ >>> >>> like this: ~/.config/nixpkgs/overlays/emacs.nix >>> >>> import (builtins.fetchTarball { >>> url =3D https://github.com/nix-community/emacs-overlay/archive/maste= r.tar.gz; >>> }) >>> >>> install whith: >>> >>> $ nix-env -iA nixpkgs.emacsGcc >>> >>> it compiles no problem. it runs and bytecompiles everything no problem,= but after a while it crashes with: >>> >>> Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, >>> VM_FLAGS_ANYWHERE | >>> VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), port, 0, false, >>> prot, prot, VM_INHERIT_SHARE) =3D=3D KERN_SUCCESS), function >>> backing_map, file >>> /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/= SkyLight-569.6/SkyLight/Services/Windows/CGSBackingStore.c, >>> line 192. Fatal error 6: Aborted [1] 2319 abort emacs --fg-daemon >>> >>> any idea how to investigate? >>> >>> uname -a: >>> Darwin mpm.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:40:= 21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64 >> Hi Michal, >> >> this assertion is out of our code so doesn't ring any bell to me. >> Running under a debugger to have a back-trace of the crash might give >> more information. >> >> Thanks >> >> Andrea > > trying to run with gbd, but it doesn't seem to be working: > > mp@mpm:~ :$ gdb /Users/mp/.nix-profile/bin/emacs > GNU gdb (GDB) 10.1 > Copyright (C) 2020 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-apple-darwin". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > . > Find the GDB manual and other documentation resources online at: > =C2=A0=C2=A0=C2=A0 . > > For help, type "help". > Type "apropos word" to search for commands related to "word"... > Reading symbols from /Users/mp/.nix-profile/bin/emacs... > (No debugging symbols found in /Users/mp/.nix-profile/bin/emacs) This build is stripped (no debug symbols). I'd build manually from source to have 100% control leaving a side a layer (not a Nix expert of user). > (gdb) r --fg-daemon > Starting program: > /nix/store/2y79kkpvkbjdd2jzdxx2w3p3mxdqpagf-user-environment/bin/emacs > --fg-daemon > [New Thread 0x2a03 of process 54326] > [New Thread 0x2b03 of process 54326] > ../../gdb/target.c:2149: internal-error: void > target_mourn_inferior(ptid_t): Assertion `ptid =3D=3D inferior_ptid' > failed. > A problem internal to GDB has been detected, Looks like an internal problem of gdb? Perhaps gdb doesn't like to run under rosetta? Is this an X86 gdb build correct? You might be more lucky with lldb. That said I think to have native-comp running native on M1 GCC will have to be ported and AFAIK this has still not be done (at list in GCC trunk). Hope it helps Andrea From unknown Fri Aug 15 04:08:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Resent-From: mp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Dec 2020 15:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45515@debbugs.gnu.org Received: via spool by 45515-submit@debbugs.gnu.org id=B45515.160925671229440 (code B ref 45515); Tue, 29 Dec 2020 15:46:01 +0000 Received: (at 45515) by debbugs.gnu.org; 29 Dec 2020 15:45:12 +0000 Received: from localhost ([127.0.0.1]:39971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuHBP-0007em-HQ for submit@debbugs.gnu.org; Tue, 29 Dec 2020 10:45:11 -0500 Received: from ms1.panoch.net ([89.22.65.5]:48702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuHBL-0007eY-Ut for 45515@debbugs.gnu.org; Tue, 29 Dec 2020 10:45:09 -0500 Received: from mpm.local (unknown [10.19.249.102]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ms1.panoch.net (Postfix) with ESMTP id 91C87580B7F01 for <45515@debbugs.gnu.org>; Tue, 29 Dec 2020 16:45:05 +0100 (CET) References: <0c66af66-ff95-a198-67de-b62269bee0c9@panoch.net> From: mp Message-ID: Date: Tue, 29 Dec 2020 16:45:05 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On 29.12.2020 16:33, Andrea Corallo wrote: > mp writes: > >> On 29.12.2020 10:01, Andrea Corallo wrote: >> >>> michal panoch writes: >>> >>>> hi, >>>> >>>> i'm on the new Apple Silicon M1 architecture and using nix emacs-overlay - https://github.com/nix-community/emacs-overlay/ >>>> >>>> like this: ~/.config/nixpkgs/overlays/emacs.nix >>>> >>>> import (builtins.fetchTarball { >>>> url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz; >>>> }) >>>> >>>> install whith: >>>> >>>> $ nix-env -iA nixpkgs.emacsGcc >>>> >>>> it compiles no problem. it runs and bytecompiles everything no problem, but after a while it crashes with: >>>> >>>> Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, >>>> VM_FLAGS_ANYWHERE | >>>> VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), port, 0, false, >>>> prot, prot, VM_INHERIT_SHARE) == KERN_SUCCESS), function >>>> backing_map, file >>>> /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/SkyLight-569.6/SkyLight/Services/Windows/CGSBackingStore.c, >>>> line 192. Fatal error 6: Aborted [1] 2319 abort emacs --fg-daemon >>>> >>>> any idea how to investigate? >>>> >>>> uname -a: >>>> Darwin mpm.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64 >>> Hi Michal, >>> >>> this assertion is out of our code so doesn't ring any bell to me. >>> Running under a debugger to have a back-trace of the crash might give >>> more information. >>> >>> Thanks >>> >>> Andrea >> trying to run with gbd, but it doesn't seem to be working: >> >> mp@mpm:~ :$ gdb /Users/mp/.nix-profile/bin/emacs >> GNU gdb (GDB) 10.1 >> Copyright (C) 2020 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-apple-darwin". >> 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 /Users/mp/.nix-profile/bin/emacs... >> (No debugging symbols found in /Users/mp/.nix-profile/bin/emacs) > This build is stripped (no debug symbols). I'd build manually from > source to have 100% control leaving a side a layer (not a Nix expert of > user). > >> (gdb) r --fg-daemon >> Starting program: >> /nix/store/2y79kkpvkbjdd2jzdxx2w3p3mxdqpagf-user-environment/bin/emacs >> --fg-daemon >> [New Thread 0x2a03 of process 54326] >> [New Thread 0x2b03 of process 54326] >> ../../gdb/target.c:2149: internal-error: void >> target_mourn_inferior(ptid_t): Assertion `ptid == inferior_ptid' >> failed. >> A problem internal to GDB has been detected, > Looks like an internal problem of gdb? Perhaps gdb doesn't like to run > under rosetta? Is this an X86 gdb build correct? yep. its an X86 build.. the arm build fails for some reason.. > You might be more > lucky with lldb. tried lldb, but it doesn't help much i guess: 2020-12-29 16:38:51.737315+0100 emacs[85147:7251664] [emacs] CGContextSetStrokeColorWithColor: invalid context 0x0. Backtrace:                            <-[EmacsView windowDidResignKey:]+162> <__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__+12>          <___CFXRegistrationPost_block_invoke+49>           <_CFXRegistrationPost+454>            <_CFXNotificationPost+787>             <-[NSNotificationCenter postNotificationName:object:userInfo:]+59>              <-[NSWindow resignKeyWindow]+725>               <_NXEndKeyAndMain+162>                <-[NSApplication _handleDeactivateEvent:]+756>                 <-[NSApplication(NSEvent) sendEvent:]+2742>                  <-[EmacsApp sendEvent:]+484>                   <-[NSApplication _handleEvent:]+65>                    <-[NSApplication run]+623>                     <-[EmacsApp run]+404>                                                                                                                                                                                                                                                                                                                                                                                                          2 Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, VM_FLAGS_ANYWHERE | VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), port, 0, false, prot, prot, VM_INHERIT_SHARE) == KERN_SUCCESS), function backing_map, file /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/SkyLight-569.6/SkyLight/Services/Windows/CGSBackingStore.c, line 192. Process 85147 exited with status = 0 (0x00000000) Terminated due to signal 6 (lldb) > That said I think to have native-comp running native on M1 GCC will have > to be ported and AFAIK this has still not be done (at list in GCC > trunk). i see, so there is not much to be done at this point../ -mp- From unknown Fri Aug 15 04:08:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Dec 2020 16:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: mp Cc: 45515@debbugs.gnu.org Received: via spool by 45515-submit@debbugs.gnu.org id=B45515.160925764831257 (code B ref 45515); Tue, 29 Dec 2020 16:01:01 +0000 Received: (at 45515) by debbugs.gnu.org; 29 Dec 2020 16:00:48 +0000 Received: from localhost ([127.0.0.1]:39996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuHQW-000885-HS for submit@debbugs.gnu.org; Tue, 29 Dec 2020 11:00:48 -0500 Received: from outbound.soverin.net ([116.202.65.218]:34519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuHQV-00087m-6n for 45515@debbugs.gnu.org; Tue, 29 Dec 2020 11:00:47 -0500 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id C96AA6008F; Tue, 29 Dec 2020 16:00:40 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1609257640; bh=L4/gKaAPGkJE3i5JMYFMHrl1IrB45qunDEDT46E82yU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ojy/Sk8CE6+prJR9mpa5l/ZZBi5XXJ44lU+2HtsRtDL09KYeQV+xgUKNwlJcUF8kL Mzy2aLXH0IpEH1a7cbqLt90BBkhTSdAr1up1k+cVLBtL5AlWuA4p90kdBmmKizKDAY rlSZxq3B0/siNnxpVz8HZaeUpEzW7kCviDNIimx1T0lTA+1kx/33v9J9SMifnO9hZz tjW3CxqkGnVZxGwQWorI7gam5uEZjUGP06sqG/xx91ARZXFTh009/B9najwQhQHSEw S88FgkOteBXSOfitkl+A1QWORKZj9HC1mhmqetjd+YG73oirOAW99Uc8B1K29j0v2/ C6o0w19cifGQg== Received: by breton.holly.idiocy.org (Postfix, from userid 501) id DEE5220294EFAB; Tue, 29 Dec 2020 16:00:38 +0000 (GMT) Date: Tue, 29 Dec 2020 16:00:38 +0000 From: Alan Third Message-ID: Mail-Followup-To: Alan Third , mp , 45515@debbugs.gnu.org References: <0c66af66-ff95-a198-67de-b62269bee0c9@panoch.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Dec 29, 2020 at 04:45:05PM +0100, mp wrote: > tried lldb, but it doesn't help much i guess: > > 2020-12-29 16:38:51.737315+0100 emacs[85147:7251664] [emacs] > CGContextSetStrokeColorWithColor: invalid context 0x0. Backtrace: >   >    >     >      >       >        <-[EmacsView windowDidResignKey:]+162> > <__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__+12> Looks like it's trying to draw when the destination hasn't been set... What was going on when it crashed? Were you changing to another application? It may be worth trying a more up to date merge from master as there's been a wee bit of work on the NS port recently. -- Alan Third From unknown Fri Aug 15 04:08:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Resent-From: mp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Dec 2020 16:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45515@debbugs.gnu.org Received: via spool by 45515-submit@debbugs.gnu.org id=B45515.16092604046166 (code B ref 45515); Tue, 29 Dec 2020 16:47:02 +0000 Received: (at 45515) by debbugs.gnu.org; 29 Dec 2020 16:46:44 +0000 Received: from localhost ([127.0.0.1]:40038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuI8y-0001bM-LW for submit@debbugs.gnu.org; Tue, 29 Dec 2020 11:46:44 -0500 Received: from ms1.panoch.net ([89.22.65.5]:48804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuI8x-0001bA-6D for 45515@debbugs.gnu.org; Tue, 29 Dec 2020 11:46:44 -0500 Received: from mpm.local (unknown [10.19.249.102]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ms1.panoch.net (Postfix) with ESMTP id A27CF580B7F01 for <45515@debbugs.gnu.org>; Tue, 29 Dec 2020 17:46:40 +0100 (CET) References: <0c66af66-ff95-a198-67de-b62269bee0c9@panoch.net> From: mp Message-ID: <09c66675-02d0-3f69-10d8-5599da574df2@panoch.net> Date: Tue, 29 Dec 2020 17:46:39 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On 29.12.2020 17:00, Alan Third wrote: > On Tue, Dec 29, 2020 at 04:45:05PM +0100, mp wrote: >> tried lldb, but it doesn't help much i guess: >> >> 2020-12-29 16:38:51.737315+0100 emacs[85147:7251664] [emacs] >> CGContextSetStrokeColorWithColor: invalid context 0x0. Backtrace: >>   >>    >>     >>      >>       >>        <-[EmacsView windowDidResignKey:]+162> >> <__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__+12> > Looks like it's trying to draw when the destination hasn't been set... > What was going on when it crashed? Were you changing to another > application? not really, it was just sitting there and then crashed.. > It may be worth trying a more up to date merge from master as there's > been a wee bit of work on the NS port recently. recompiling now, will try and report back.. -mp- From unknown Fri Aug 15 04:08:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Resent-From: mp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Dec 2020 00:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45515@debbugs.gnu.org Received: via spool by 45515-submit@debbugs.gnu.org id=B45515.16092889857778 (code B ref 45515); Wed, 30 Dec 2020 00:44:01 +0000 Received: (at 45515) by debbugs.gnu.org; 30 Dec 2020 00:43:05 +0000 Received: from localhost ([127.0.0.1]:40531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuPZw-00021N-Th for submit@debbugs.gnu.org; Tue, 29 Dec 2020 19:43:05 -0500 Received: from ms1.panoch.net ([89.22.65.5]:49994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuPZt-00020t-6i for 45515@debbugs.gnu.org; Tue, 29 Dec 2020 19:43:03 -0500 Received: from mpm.local (unknown [10.19.249.102]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ms1.panoch.net (Postfix) with ESMTP id 06646580B7F0D for <45515@debbugs.gnu.org>; Wed, 30 Dec 2020 01:42:59 +0100 (CET) References: <0c66af66-ff95-a198-67de-b62269bee0c9@panoch.net> From: mp Message-ID: <75419913-88e6-c40a-c2aa-f5fa77f0b480@panoch.net> Date: Wed, 30 Dec 2020 01:42:58 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On 29.12.2020 16:33, Andrea Corallo wrote: > mp writes: > >> On 29.12.2020 10:01, Andrea Corallo wrote: >> >>> michal panoch writes: >>> >>>> hi, >>>> >>>> i'm on the new Apple Silicon M1 architecture and using nix emacs-overlay - https://github.com/nix-community/emacs-overlay/ >>>> >>>> like this: ~/.config/nixpkgs/overlays/emacs.nix >>>> >>>> import (builtins.fetchTarball { >>>> url = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz; >>>> }) >>>> >>>> install whith: >>>> >>>> $ nix-env -iA nixpkgs.emacsGcc >>>> >>>> it compiles no problem. it runs and bytecompiles everything no problem, but after a while it crashes with: >>>> >>>> Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, >>>> VM_FLAGS_ANYWHERE | >>>> VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), port, 0, false, >>>> prot, prot, VM_INHERIT_SHARE) == KERN_SUCCESS), function >>>> backing_map, file >>>> /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/SkyLight-569.6/SkyLight/Services/Windows/CGSBackingStore.c, >>>> line 192. Fatal error 6: Aborted [1] 2319 abort emacs --fg-daemon >>>> >>>> any idea how to investigate? >>>> >>>> uname -a: >>>> Darwin mpm.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64 >>> Hi Michal, >>> >>> this assertion is out of our code so doesn't ring any bell to me. >>> Running under a debugger to have a back-trace of the crash might give >>> more information. >>> >>> Thanks >>> >>> Andrea >> trying to run with gbd, but it doesn't seem to be working: >> >> mp@mpm:~ :$ gdb /Users/mp/.nix-profile/bin/emacs >> GNU gdb (GDB) 10.1 >> Copyright (C) 2020 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-apple-darwin". >> 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 /Users/mp/.nix-profile/bin/emacs... >> (No debugging symbols found in /Users/mp/.nix-profile/bin/emacs) > This build is stripped (no debug symbols). I'd build manually from > source to have 100% control leaving a side a layer (not a Nix expert of > user). > >> (gdb) r --fg-daemon >> Starting program: >> /nix/store/2y79kkpvkbjdd2jzdxx2w3p3mxdqpagf-user-environment/bin/emacs >> --fg-daemon >> [New Thread 0x2a03 of process 54326] >> [New Thread 0x2b03 of process 54326] >> ../../gdb/target.c:2149: internal-error: void >> target_mourn_inferior(ptid_t): Assertion `ptid == inferior_ptid' >> failed. >> A problem internal to GDB has been detected, > Looks like an internal problem of gdb? Perhaps gdb doesn't like to run > under rosetta? Is this an X86 gdb build correct? You might be more > lucky with lldb. > > That said I think to have native-comp running native on M1 GCC will have > to be ported and AFAIK this has still not be done (at list in GCC > trunk). > > Hope it helps > > Andrea looks like it has been fixed.. after installing new nix package emacs-gcc-20201229.0 it hasn't crashed yet.. -mp- From unknown Fri Aug 15 04:08:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Resent-From: mp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Dec 2020 20:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45515@debbugs.gnu.org Received: via spool by 45515-submit@debbugs.gnu.org id=B45515.160935995921337 (code B ref 45515); Wed, 30 Dec 2020 20:26:02 +0000 Received: (at 45515) by debbugs.gnu.org; 30 Dec 2020 20:25:59 +0000 Received: from localhost ([127.0.0.1]:51133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kui2h-0005Y5-DC for submit@debbugs.gnu.org; Wed, 30 Dec 2020 15:25:59 -0500 Received: from ms1.panoch.net ([89.22.65.5]:52960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kui2f-0005Xu-BX for 45515@debbugs.gnu.org; Wed, 30 Dec 2020 15:25:58 -0500 Received: from mpm.local (unknown [10.19.249.102]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ms1.panoch.net (Postfix) with ESMTP id DD771580B7F47 for <45515@debbugs.gnu.org>; Wed, 30 Dec 2020 21:25:54 +0100 (CET) References: <0c66af66-ff95-a198-67de-b62269bee0c9@panoch.net> From: mp Message-ID: <8cdbdb3b-0b6c-1f01-d696-877cd2f2a732@panoch.net> Date: Wed, 30 Dec 2020 21:25:54 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) Ok, so the problem persists, now it takes longer for emacs daemon to crash.. Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, VM_FLAGS_ANYWHERE | VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), port, 0, false, prot, prot, VM_INHERIT_SHARE) == KERN_SUCCESS), function backing_map, file /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/SkyLight-569.6/SkyLight/Services/Windows/CGSBackingStore.c, line 192. Fatal error 6: Aborted [1]    6134 abort      emacs --fg-daemon emacs --fg-daemon  528.80s user 46.86s system 36% cpu 26:32.46 total -mp- From unknown Fri Aug 15 04:08:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Dec 2020 14:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: mp Cc: 45515@debbugs.gnu.org Received: via spool by 45515-submit@debbugs.gnu.org id=B45515.160942314822925 (code B ref 45515); Thu, 31 Dec 2020 14:00:02 +0000 Received: (at 45515) by debbugs.gnu.org; 31 Dec 2020 13:59:08 +0000 Received: from localhost ([127.0.0.1]:39565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuyTr-0005xh-Tr for submit@debbugs.gnu.org; Thu, 31 Dec 2020 08:59:08 -0500 Received: from mx.sdf.org ([205.166.94.24]:62694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuyTq-0005xY-0l for 45515@debbugs.gnu.org; Thu, 31 Dec 2020 08:59:06 -0500 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 0BVDx4RO001763; Thu, 31 Dec 2020 13:59:04 GMT From: Andrea Corallo References: <0c66af66-ff95-a198-67de-b62269bee0c9@panoch.net> <8cdbdb3b-0b6c-1f01-d696-877cd2f2a732@panoch.net> Date: Thu, 31 Dec 2020 13:59:04 +0000 In-Reply-To: <8cdbdb3b-0b6c-1f01-d696-877cd2f2a732@panoch.net> (mp's message of "Wed, 30 Dec 2020 21:25:54 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) mp writes: > Ok, so the problem persists, now it takes longer for emacs daemon to cras= h.. > > Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, > VM_FLAGS_ANYWHERE | VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), > port, 0, false, prot, prot, VM_INHERIT_SHARE) =3D=3D KERN_SUCCESS), > function backing_map, file > /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/Sk= yLight-569.6/SkyLight/Services/Windows/CGSBackingStore.c, > line 192. > Fatal error 6: Aborted > [1]=C2=A0=C2=A0=C2=A0 6134 abort=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 emacs --fg= -daemon > emacs --fg-daemon=C2=A0 528.80s user 46.86s system 36% cpu 26:32.46 total > > -mp- Hi mp, is this after having merged from latest master as Alan suggested? I suspect this might be not related to native compilation but to the NS port. Thanks Andrea From unknown Fri Aug 15 04:08:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jan 2021 10:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45515@debbugs.gnu.org Cc: michal@panoch.net X-Debbugs-Original-To: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: 45515@debbugs.gnu.org, mp Received: via spool by submit@debbugs.gnu.org id=B.160958336920721 (code B ref -1); Sat, 02 Jan 2021 10:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jan 2021 10:29:29 +0000 Received: from localhost ([127.0.0.1]:52199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kveA5-0005O8-Kw for submit@debbugs.gnu.org; Sat, 02 Jan 2021 05:29:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:48272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kveA4-0005O1-4f for submit@debbugs.gnu.org; Sat, 02 Jan 2021 05:29:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kveA3-0006fi-VH for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2021 05:29:27 -0500 Received: from mx.sdf.org ([205.166.94.24]:56926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kveA0-0002GX-U5 for bug-gnu-emacs@gnu.org; Sat, 02 Jan 2021 05:29:27 -0500 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 102ATKw6015978; Sat, 2 Jan 2021 10:29:20 GMT From: Andrea Corallo References: <0c66af66-ff95-a198-67de-b62269bee0c9@panoch.net> <8cdbdb3b-0b6c-1f01-d696-877cd2f2a732@panoch.net> Date: Sat, 02 Jan 2021 10:29:20 +0000 In-Reply-To: (Andrea Corallo via's message of "Thu, 31 Dec 2020 13:59:04 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > mp writes: > >> Ok, so the problem persists, now it takes longer for emacs daemon to cra= sh.. >> >> Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, >> VM_FLAGS_ANYWHERE | VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), >> port, 0, false, prot, prot, VM_INHERIT_SHARE) =3D=3D KERN_SUCCESS), >> function backing_map, file >> /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/S= kyLight-569.6/SkyLight/Services/Windows/CGSBackingStore.c, >> line 192. >> Fatal error 6: Aborted >> [1]=C2=A0=C2=A0=C2=A0 6134 abort=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 emacs --f= g-daemon >> emacs --fg-daemon=C2=A0 528.80s user 46.86s system 36% cpu 26:32.46 total >> >> -mp- > > Hi mp, > > is this after having merged from latest master as Alan suggested? > > I suspect this might be not related to native compilation but to the NS > port. > > Thanks > > Andrea Hi Michal, I've merged latest master into native-comp. Do you still see this issue on 5db5064395? Andrea From unknown Fri Aug 15 04:08:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Resent-From: mp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jan 2021 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45515@debbugs.gnu.org Received: via spool by 45515-submit@debbugs.gnu.org id=B45515.160961377027159 (code B ref 45515); Sat, 02 Jan 2021 18:57:02 +0000 Received: (at 45515) by debbugs.gnu.org; 2 Jan 2021 18:56:10 +0000 Received: from localhost ([127.0.0.1]:60906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvm4Q-00073y-5V for submit@debbugs.gnu.org; Sat, 02 Jan 2021 13:56:10 -0500 Received: from ms1.panoch.net ([89.22.65.5]:59524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvm4K-00073h-Ru for 45515@debbugs.gnu.org; Sat, 02 Jan 2021 13:56:08 -0500 Received: from mpm.local (unknown [10.19.249.102]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ms1.panoch.net (Postfix) with ESMTP id 9C86A58167DD2 for <45515@debbugs.gnu.org>; Sat, 2 Jan 2021 19:56:02 +0100 (CET) References: <0c66af66-ff95-a198-67de-b62269bee0c9@panoch.net> <8cdbdb3b-0b6c-1f01-d696-877cd2f2a732@panoch.net> From: mp Message-ID: <287d9ca0-8fa3-4d34-4c88-92c4df5c9104@panoch.net> Date: Sat, 2 Jan 2021 19:56:02 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On 02.01.2021 11:29, Andrea Corallo wrote: > Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of > text editors" writes: > >> mp writes: >> >>> Ok, so the problem persists, now it takes longer for emacs daemon to crash.. >>> >>> Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, >>> VM_FLAGS_ANYWHERE | VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), >>> port, 0, false, prot, prot, VM_INHERIT_SHARE) == KERN_SUCCESS), >>> function backing_map, file >>> /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/SkyLight-569.6/SkyLight/Services/Windows/CGSBackingStore.c, >>> line 192. >>> Fatal error 6: Aborted >>> [1]    6134 abort      emacs --fg-daemon >>> emacs --fg-daemon  528.80s user 46.86s system 36% cpu 26:32.46 total >>> >>> -mp- >> Hi mp, >> >> is this after having merged from latest master as Alan suggested? >> >> I suspect this might be not related to native compilation but to the NS >> port. >> >> Thanks >> >> Andrea > Hi Michal, > > I've merged latest master into native-comp. Do you still see this > issue on 5db5064395? > > Andrea > Hi Andrea, After merging the latest master, it looks good so far. It also appears to be running faster, but not as fast as a regular emacs (non native-comp) compiled for Apple architecture. Which runs about 10x faster! Not sure if it is possible to compile the native-comp for Apple at this point..? -mp- From unknown Fri Aug 15 04:08:28 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: michal panoch Subject: bug#45515: closed (Re: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1) Message-ID: References: X-Gnu-PR-Message: they-closed 45515 X-Gnu-PR-Package: emacs Reply-To: 45515@debbugs.gnu.org Date: Sat, 02 Jan 2021 21:12:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1609621922-8337-1" This is a multi-part message in MIME format... ------------=_1609621922-8337-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 45515@debbugs.gnu.org. --=20 45515: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45515 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1609621922-8337-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 45515-done) by debbugs.gnu.org; 2 Jan 2021 21:11:19 +0000 Received: from localhost ([127.0.0.1]:32796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvoBD-00029Y-J4 for submit@debbugs.gnu.org; Sat, 02 Jan 2021 16:11:19 -0500 Received: from mx.sdf.org ([205.166.94.24]:59121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvoBC-00029R-1K for 45515-done@debbugs.gnu.org; Sat, 02 Jan 2021 16:11:18 -0500 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 102LBGZ1009615; Sat, 2 Jan 2021 21:11:17 GMT From: Andrea Corallo To: mp Subject: Re: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 References: <0c66af66-ff95-a198-67de-b62269bee0c9@panoch.net> <8cdbdb3b-0b6c-1f01-d696-877cd2f2a732@panoch.net> <287d9ca0-8fa3-4d34-4c88-92c4df5c9104@panoch.net> Date: Sat, 02 Jan 2021 21:11:16 +0000 In-Reply-To: <287d9ca0-8fa3-4d34-4c88-92c4df5c9104@panoch.net> (mp's message of "Sat, 2 Jan 2021 19:56:02 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 45515-done Cc: 45515-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) mp writes: >> Hi Michal, >> >> I've merged latest master into native-comp. Do you still see this >> issue on 5db5064395? >> >> Andrea >> > Hi Andrea, > > After merging the latest master, it looks good so far. Nice, I'm closing this for now, we can always reopen in case. > It also appears to be running faster, but not as fast as a regular > emacs (non native-comp) compiled for Apple architecture. Which runs > about 10x faster! > > Not sure if it is possible to compile the native-comp for Apple at > this point..? I think we'll probably have to wait GCC 12. Andrea ------------=_1609621922-8337-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Dec 2020 21:37:54 +0000 Received: from localhost ([127.0.0.1]:37103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku0DB-0007RM-6E for submit@debbugs.gnu.org; Mon, 28 Dec 2020 16:37:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:44184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktzae-0006Nn-JO for submit@debbugs.gnu.org; Mon, 28 Dec 2020 15:58:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktzae-0003e8-B2 for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 15:58:04 -0500 Received: from ms1.panoch.net ([89.22.65.5]:56975) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1ktzab-0001z6-7Q for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 15:58:03 -0500 Received: from [192.168.1.108] (unknown [10.19.249.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ms1.panoch.net (Postfix) with ESMTP id 908A45903D9E3; Mon, 28 Dec 2020 21:57:46 +0100 (CET) From: michal panoch Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1 Message-Id: Date: Mon, 28 Dec 2020 21:57:44 +0100 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3654.40.0.2.32) Received-SPF: pass client-ip=89.22.65.5; envelope-from=michal@panoch.net; helo=ms1.panoch.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 28 Dec 2020 16:37:52 -0500 Cc: mp@maya.cz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) hi, i'm on the new Apple Silicon M1 architecture and using nix emacs-overlay = - https://github.com/nix-community/emacs-overlay/ like this: ~/.config/nixpkgs/overlays/emacs.nix import (builtins.fetchTarball { url =3D = https://github.com/nix-community/emacs-overlay/archive/master.tar.gz; }) install whith: $ nix-env -iA nixpkgs.emacsGcc it compiles no problem. it runs and bytecompiles everything no problem, = but after a while it crashes with: Assertion failed: (mach_vm_map(mach_task_self(), &address, size, 0, = VM_FLAGS_ANYWHERE | VM_MAKE_TAG(VM_MEMORY_COREGRAPHICS_BACKINGSTORES), = port, 0, false, prot, prot, VM_INHERIT_SHARE) =3D=3D KERN_SUCCESS), = function backing_map, file = /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/SkyLight/Sky= Light-569.6/SkyLight/Services/Windows/CGSBackingStore.c, line 192. Fatal = error 6: Aborted [1] 2319 abort emacs --fg-daemon any idea how to investigate? uname -a: Darwin mpm.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec 2 = 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64 In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.2.0, NS = appkit-2022.20 Version 10.16 (Build 20C69)) Repository revision: 87f6e937995c433825173fb0473a801791d5beac Repository branch: master Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.1 Configured using: 'configure = --prefix=3D/nix/store/9rsfjqclzwgsh63szkdb6mn2572pv9zi-emacs-gcc-20201217.= 0 --disable-build-details --with-modules --with-ns --disable-ns-self-contained --with-nativecomp CFLAGS=3D-DMAC_OS_X_VERSION_MAX_ALLOWED=3D101200' Configured features: JPEG TIFF PNG RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES NATIVE_COMP THREADS JSON PDUMPER Important settings: value of $LC_CTYPE: UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache json map text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp comp-cstr warnings subr-x rx cl-extra help-mode easymenu seq cl-seq byte-opt cl-macs gv jka-compr cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face pcase macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process nativecomp emacs) Memory information: ((conses 16 85548 8869) (symbols 48 7929 1) (strings 32 23659 2908) (string-bytes 1 870425) (vectors 16 15702) (vector-slots 8 305764 19876) (floats 8 31 37) (intervals 56 198 0) (buffers 984 11)) ------------=_1609621922-8337-1--