GNU bug report logs - #45515
28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1

Previous Next

Package: emacs;

Reported by: michal panoch <michal <at> panoch.net>

Date: Mon, 28 Dec 2020 21:38:01 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: mp <michal <at> panoch.net>
To: 45515 <at> debbugs.gnu.org
Subject: bug#45515: 28.0.50; [feature/native-comp] emacsGcc crash on Apple Silicon M1
Date: Sat, 2 Jan 2021 19:56:02 +0100
On 02.01.2021 11:29, Andrea Corallo wrote:

> Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs <at> gnu.org> writes:
>
>> mp <michal <at> panoch.net> 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-






This bug report was last modified 4 years and 195 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.