GNU bug report logs -
#65843
28.2; Too many iconified frames in .emacs.desktop -> crash (macOS)
Previous Next
Reported by: tanzer <at> gg32.com
Date: Sat, 9 Sep 2023 16:37:02 UTC
Severity: normal
Found in version 28.2
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
Message #62 received at 65843 <at> debbugs.gnu.org (full text, mbox):
Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:
> Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:
>
>> Christian Tanzer <tanzer <at> gg32.com> writes:
>>
>>> Weirder and weirder …
>>
>> Wait a moment... I just got this
>>
>> [emacs-29] gerd <at> Mini 2023-09-10 17:24
>> ~/emacs/29/src/ > ~/emacs/29/src/emacs -Q --eval '(desktop-read "~/bug-sowieso")'
>> objc[88769]: autorelease pool page 0x11b4a5000 corrupted
>> magic 0x00000000 0x00000000 0x00000000 0x00000000
>> should be 0xa1a1a1a1 0x4f545541 0x454c4552 0x21455341
>> pthread 0x201892080
>> should be 0x201892080
>>
>> Fatal error 6: Aborted
>>
>> It doesn't seem to happen everytime, and to make things weirder,
>> I didn't get it to abort under lldb.
>>
>> Guess I'll build an emacs-29 with all checking bells and whistles now.
>>
>> I come back to you when I find something out.
>
> That's gonna be a bit more difficult than I thought. With ASAN,
>
> CFLAGS = -g -O0 -fsanitize=address -fno-omit-frame-pointer
>
> the abort does not happen when run 100 times, like so
>
> #! /usr/bin/env zsh
>
> for i in {1..100}; do
> ~/emacs/29/src/emacs -Q --eval '(desktop-read "~/bug-sowieso")' --eval '(kill-emacs)'
> done
>
> I'll have to let that sink in a bit, to get an idea how to preceed.
Cool: If a build with ASAN, but with -O2 and leave out
omit-frame-pointer, the abort happens, with enough tries, but ASAN isn't
triggered. So, I guess it's not something in Emacs' code.
This bug report was last modified 1 year and 249 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.