From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: emacs locked when internet connection is cut... [+ help-gnu-emacs: Invalid read syntax: ")" ] Date: Tue, 8 May 2018 12:16:00 +0900 Message-ID: <6BF1AE0B-E1BD-482B-9818-826AF45D03E0@gmail.com> References: <83r2mvqvaq.fsf@gnu.org> <4260C366-2B75-4501-BD7A-7D224C9C50A7@gmail.com> <83a7tbqr2k.fsf@gnu.org> <83sh72q3m3.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_24ACF3C0-8833-451A-95B7-D850CD46CEF7" X-Trace: blaine.gmane.org 1525749271 28544 195.159.176.226 (8 May 2018 03:14:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 8 May 2018 03:14:31 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 08 05:14:27 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fFt55-0007Hz-Ou for ged-emacs-devel@m.gmane.org; Tue, 08 May 2018 05:14:23 +0200 Original-Received: from localhost ([::1]:49138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFt7C-0006bg-L1 for ged-emacs-devel@m.gmane.org; Mon, 07 May 2018 23:16:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFt6y-0006bY-FY for emacs-devel@gnu.org; Mon, 07 May 2018 23:16:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFt6t-0004kB-DF for emacs-devel@gnu.org; Mon, 07 May 2018 23:16:20 -0400 Original-Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]:36157) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFt6t-0004jr-4a for emacs-devel@gnu.org; Mon, 07 May 2018 23:16:15 -0400 Original-Received: by mail-pf0-x232.google.com with SMTP id w129so17828240pfd.3 for ; Mon, 07 May 2018 20:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=IXgSAG4PLsWAEIst8Bx7YOeYarPBy42CoOQk46FhBF8=; b=J3o24oYtxnSTyzArIxK+RpjLFoycax8Jm7RewYlapbDUco2kGQtihRY+dduSJzjgd5 eTcES5WSOXacn6MFvMciTghNh13NXTt3pqvXaoNsar/o51VM9HWDh7kG5C0WdjqZgNTC 9DeITGgSJOuLC3YCyeUa0izGUJzvX2qDsnC3ZbB2zCBp8OwFFHuCANmeifxOJD3qMTgY ndq2PbbZ05bu4cppU7xSfxsc8jeBQLyfn2UzaO8Cq+99yRg0nQuXaODIgjD5NNzPVMNs GobzTxpLu/YPiNmpMDGW8Ld9eXJ4T+4Z/ZLPTiu56sgzJ+AWde8dHBhUPN68D0sL4xQF rBDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=IXgSAG4PLsWAEIst8Bx7YOeYarPBy42CoOQk46FhBF8=; b=G5KILJXG63rVYU11h30BZkWRVnAvZxhNPrBW46tLISNj0Tu70K5E+Dw3HT/Hh1RZqp y/T/aCPAw1ykJXfj1A64KPw5obhycP4lHkiu7LU/xCcEg7XEGw32JxtS5ZBqia6U9nmx hIypevcwcquBQTfyCce91BzC7ySDfJhidBmgqsbBi0Qd5Ztp9gP+7hXD0O8nZpbP2rfd y+eJBEwukGTAd6koYtEaA6dzyc4rx+rafsF377LhPMQLd9mkiJihrFnIPT0Y4obFDbTl 69Zup0i5zih8DTLx7U5Uh6sKuBN429qXh2RRr9wz6Hzflv7RLPLpOkTMqxdw+3isX2Uo WAFw== X-Gm-Message-State: ALQs6tDx1VLTBbYu3742IJ92qHa9B6Y25jt8U2T8LrBCie9CLKPAfPVK MUY69rfUbOejvDAjx8jX4tng6g== X-Google-Smtp-Source: AB8JxZoZra9SxG8bf6LT2IV4Xon6e2zj/xaSls7Hhvnhff/d14vnWNOCuT72elhoVTs1iW8XkPeXlg== X-Received: by 2002:a65:63cd:: with SMTP id n13-v6mr6474249pgv.251.1525749373879; Mon, 07 May 2018 20:16:13 -0700 (PDT) Original-Received: from [10.254.2.131] ([210.160.37.46]) by smtp.gmail.com with ESMTPSA id p11-v6sm29608681pgn.18.2018.05.07.20.16.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 20:16:12 -0700 (PDT) In-Reply-To: <83sh72q3m3.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.6.18) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:225146 Archived-At: --Apple-Mail=_24ACF3C0-8833-451A-95B7-D850CD46CEF7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On May 8, 2018, at 11:32, Eli Zaretskii wrote: >=20 >> From: Jean-Christophe Helary >> Date: Tue, 8 May 2018 09:43:56 +0900 >>=20 >> Put a breakpoint in Fsignal, and when it reports this error, show the = backtrace. >>=20 >> When I check the emacs manual, the only reference to Fsignal is: >>=20 >> "To make Lisp errors stop Emacs and return to GDB, put a breakpoint = at Fsignal." >>=20 >> Also, there is no reference to Fsignal in the GDB manual. >=20 > $ cd /path/to/emacs/src > $ gdb ./emacs > ... > (gdb) break Fsignal > (gdb) commands >> pp errror_symbol >> end > (gdb) run > Thread 1 hit Breakpoint 3, Fsignal (error_symbol=3DXIL(0x108b0), > data=3DXIL(0xc000000001976940)) at eval.c:1514 > 1514 signal_or_quit (error_symbol, data, false); > void-variable > (gdb) continue >=20 > Keep typing "continue" until error_symbol is invalid_syntax. Then: >=20 > (gdb) bt >=20 > OK? Thank you for the instructions. I'm on it. Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune --Apple-Mail=_24ACF3C0-8833-451A-95B7-D850CD46CEF7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On = May 8, 2018, at 11:32, Eli Zaretskii <eliz@gnu.org> wrote:

From: Jean-Christophe = Helary <jean.christophe.helary@gmail.com>
Date: = Tue, 8 May 2018 09:43:56 +0900

Put a = breakpoint in Fsignal, and when it reports this error, show the = backtrace.

When I check the emacs manual, = the only reference to Fsignal is:

"To make = Lisp errors stop Emacs and return to GDB, put a breakpoint at = Fsignal."

Also, there is no reference to = Fsignal in the GDB manual.

=  $ cd /path/to/emacs/src
 $ gdb ./emacs
 ...
 (gdb) break Fsignal
 (gdb) commands
pp errror_symbol
end
=  (gdb) run
 Thread 1 hit Breakpoint 3, Fsignal = (error_symbol=3DXIL(0x108b0),
=      data=3DXIL(0xc000000001976940)) at = eval.c:1514
 1514 =      signal_or_quit (error_symbol, data, = false);
 void-variable
 (gdb) = continue

Keep typing "continue" until = error_symbol is invalid_syntax.  Then:

=  (gdb) bt

OK?

Thank = you for the instructions. I'm on it.

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


= --Apple-Mail=_24ACF3C0-8833-451A-95B7-D850CD46CEF7--