emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs locked when internet connection is cut...


From: Jean-Christophe Helary
Subject: Re: emacs locked when internet connection is cut...
Date: Fri, 4 May 2018 16:53:24 +0900



On May 4, 2018, at 3:14, Alan Third <address@hidden> wrote:

On Thu, May 03, 2018 at 12:06:07AM +0900, Jean-Christophe Helary wrote:

When I attach emacs to gdb from Emacs I get this:

Attaching to process 42692
Unable to find Mach task port for process-id 42692: (os/kern) failure (0x5).
(please check gdb is codesigned - see taskgated(8))
(gdb) thread.c:1555: internal-error: scoped_restore_current_thread::scoped_restore_current_thread(): Assertion `tp != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

When I start gdb from the command line and attach emacs there I get this:
Attaching to process 42692
Unable to find Mach task port for process-id 42692: (os/kern) failure (0x5).
(please check gdb is codesigned - see taskgated(8))


To run gdb on macOS you need to follow instructions like the following:

https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d

Thank you Alan,

I actually had found a similar page and followed similar instruction to get a weird error message:
Unkown error = -2,147,414,007

I'm not online at the time of this writing so I can't investigate more but I will.

Jean-Christophe 


otherwise it’s simply not allowed to attach to another process. (I’ve
not tried these specific instructions.)

lldb should already be signed so will work, but you’ll miss out on
some gdb specific settings in the emacs source.
--
Alan Third

Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune



reply via email to

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