From: Jean-Christophe Helary <jean.christophe.helary@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>,
Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: emacs locked when internet connection is cut... [+ help-gnu-emacs: Invalid read syntax: ")" ]
Date: Mon, 7 May 2018 17:03:24 +0900 [thread overview]
Message-ID: <C66E38E4-8446-4160-A7DC-5EAACF3CECAC@gmail.com> (raw)
In-Reply-To: <4260C366-2B75-4501-BD7A-7D224C9C50A7@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2877 bytes --]
This must be a bug...
When I reconfigured emacs with --enable-checking='yes,glyphs' --enable-check-lisp-object-type CFLAGS='-O0 -g3', to attach gdb, I ended up with a build that generated an "Invalid read syntax ")" error every time I started emacs *even though I had not modified my init file* (~/.emacs.el).
Once I reverted to a normal configuration, that same init file was evaluated without any issues.
Also, When I was running emacs -q on that modified configuration the issue seemed to center on the (require 'package) line, but when I commented it out I still had the same error...
What can I do to investigate this ?
Jean-Christophe
> On May 2, 2018, at 15:56, Jean-Christophe Helary <jean.christophe.helary@gmail.com <mailto:jean.christophe.helary@gmail.com>> wrote:
>
> Eli,
>
> Thank you for the instructions.
>
> I've reconfigured emacs to make debugging easier (./configure --enable-checking='yes,glyphs' --enable-check-lisp-object-type CFLAGS='-O0 -g3') re-"make install"-ed it and launched gdb attached to its PID.
>
> I can't seem to be able to run gdb and attach emacs without getting a lot of error messages so I'm wondering if there is a better way to get what you need to investigate into this issue.
>
> JC
>
>
>> On May 1, 2018, at 23:56, Eli Zaretskii <eliz@gnu.org <mailto:eliz@gnu.org>> wrote:
>>
>>> From: Jean-Christophe Helary <jean.christophe.helary@gmail.com <mailto:jean.christophe.helary@gmail.com>>
>>> Date: Tue, 1 May 2018 17:37:48 +0900
>>>
>>> I was doing things with package.el when my connection got cut. Just when emacs was trying to contact melpa.org:80 <http://melpa.org/>...
>>>
>>> The UI is locked, and even when I'm back online (I'm sending this mail), emacs does not seem to notice...
>>>
>>> Shouldn't there be a timeout for any function that requires external ressources like an internet connection ? The current behavior is *extremely* inconvenient...
>>
>> We do have timeouts, and use async APIs where possible. Evidently, it
>> somehow doesn't work in your case. But you didn't give enough
>> information to start digging into the problem. Assuming this is
>> reproducible, please attach a debugger to Emacs when it hangs like
>> that and show the C-level backtrace. Please report the results as a
>> bug, using report-emacs-bug, which will also collect several important
>> aspects of your build and setup.
>>
>> Armed with that knowledge, we might be able to investigate this
>> problem.
>>
>> Thanks.
>
> Jean-Christophe Helary
> -----------------------------------------------
> http://mac4translators.blogspot.com <http://mac4translators.blogspot.com/> @brandelune
>
>
Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com <http://mac4translators.blogspot.com/> @brandelune
[-- Attachment #2: Type: text/html, Size: 6468 bytes --]
next prev parent reply other threads:[~2018-05-07 8:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-01 8:37 emacs locked when internet connection is cut Jean-Christophe Helary
2018-05-01 14:56 ` Eli Zaretskii
2018-05-02 6:56 ` Jean-Christophe Helary
2018-05-02 14:56 ` Eli Zaretskii
2018-05-02 15:06 ` Jean-Christophe Helary
2018-05-02 15:28 ` Eli Zaretskii
2018-05-03 18:14 ` Alan Third
2018-05-04 7:53 ` Jean-Christophe Helary
2018-05-05 11:03 ` Alexis
2018-05-07 8:03 ` Jean-Christophe Helary [this message]
2018-05-07 18:05 ` emacs locked when internet connection is cut... [+ help-gnu-emacs: Invalid read syntax: ")" ] Eli Zaretskii
2018-05-08 0:43 ` Jean-Christophe Helary
2018-05-08 2:32 ` Eli Zaretskii
2018-05-08 3:16 ` Jean-Christophe Helary
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C66E38E4-8446-4160-A7DC-5EAACF3CECAC@gmail.com \
--to=jean.christophe.helary@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.