emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debug wedged Emacs


From: Devon Sean McCullough
Subject: Debug wedged Emacs
Date: Tue, 12 Dec 2017 17:30:06 -0500

Emacs 26.0.90 unresponsive, 100% CPU, I would like to find the name and 
contents of the current buffer.

(lldb) version
lldb-310.2.37
(lldb) bt
### The backtrace seems to show a sit-for leading to an infinite fontify loop 
or something.
…
(lldb) expression --gdb-format x -- (long)Fcurrent_buffer()
(long) $24 = 0x000000010a499125
…
(lldb) expression --gdb-format x --show-types -- 
(long)Fbuffer_name((long)Fcurrent_buffer())
(long) $30 = 0x000000010a58e9b4
…
(lldb) expression --gdb-format x --show-types -- (long)VALMASK
(long) $40 = 0xfffffffffffffff8
…
(lldb) expression --gdb-format x --show-types -- (long)GCTYPEBITS
(long) $44 = 0x0000000100000003
…
(lldb) expression --gdb-format x --show-types -- 
(long)Fbuffer_name((long)Fcurrent_buffer()) & (long)VALMASK
(long) $45 = 0x000000010a58e9b0
…
(lldb) memory read --gdb-format xb --count 64 0x000000010A58E9B0
0x10a58e9b0: 0x0d 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x10a58e9b8: 0x0d 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x10a58e9c0: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x10a58e9c8: 0xe0 0x16 0x30 0x51 0x01 0x00 0x00 0x00
0x10a58e9d0: 0x5c 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x10a58e9d8: 0x5c 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x10a58e9e0: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x10a58e9e8: 0x40 0xb3 0xc1 0x4f 0x01 0x00 0x00 0x00

Now what?

                Peace
                        —Devon

P.S. This is the Emacs binary at
https://EmacsForMacOSX.com/download/emacs-builds/Emacs-pretest-26.0.90-universal.dmg


reply via email to

[Prev in Thread] Current Thread [Next in Thread]