GNU bug report logs -
#25221
[WSL] emacs 24.4+ in console suspends itself on M-x list-packages
Previous Next
Reported by: Angelo Graziosi <angelo.graziosi <at> alice.it>
Date: Sun, 18 Dec 2016 13:09:02 UTC
Severity: normal
Tags: notabug
Merged with 27804
Found in version 26.0.50
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25221 in the body.
You can then email your comments to 25221 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25221
; Package
emacs
.
(Sun, 18 Dec 2016 13:09:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Angelo Graziosi <angelo.graziosi <at> alice.it>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 18 Dec 2016 13:09:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I recently enabled and installed WSL (Windows Subsystem for Linux) in
Windows 10 [1] and so tried to build Emacs.
Building Emacs master hangs [2]. So tried emacs-25 branch (+release and
testing). This branch builds if one adopts the work around suggested in
/et/PROBLEMS and from the WEB [3]:
echo 0 | sudo tee /proc/sys/kernel/randomize_va_space
./autogen.sh
./configure --prefix=/opt/emacs --without-x
make...
It also seems to work but trying to install packages from MELPA/ELPA fails.
More precisely, in emacs25:
M-x package-list-packages
After the "Package refresh done" I cannot type anything nor I can quit
(C-x C-c). If I do, for example pressing the down arrow key, in the
packages buffer I see something like this
[...]
[1]+ Stopped emacs25ailable melpa No description
available...
angelo <at> MYPC~ 20151026.1233 available melpa play 2048 in Emacs..
$ 4clojure 20131014.1507 available melpa..
[...]
At this point I can only try to kill Emacs. It is as if Emacs were
reduced to background (C-z), and a 'fg' seems to resurrect it but is
unusable (I have to close the WSL bash window).
Now, at the moment, enabling and installing WSL installs Ubuntu 14.04
and one can install other Ubuntu packages with apt-get. So I installed
the emacs24-nox packages which works without this Packages manager issue!
Then for sanity check I did a build of emacs-24.3.tar.gz (the same
version offered by WSL-Ubuntu) and it works as expected (also the
packages Manager).
So the issue seems to regards only emacs-25 branch.
Ciao,
Angelo.
-----
[1] https://msdn.microsoft.com/it-it/commandline/wsl/install_guide
https://msdn.microsoft.com/it-it/commandline/wsl/faq
[2] http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00427.html
[3]
http://stackoverflow.com/questions/38905344/windows-bash-emacs-build-fail-memory-protection-enabled
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Sun, 25 Dec 2016 01:15:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Angelo Graziosi <angelo.graziosi <at> alice.it>
:
bug acknowledged by developer.
(Sun, 25 Dec 2016 01:15:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 25221-done <at> debbugs.gnu.org (full text, mbox):
> So the issue seems to regards only emacs-25 branch.
Yes, and in that case let's declare victory and close out this bug report, as
the bug is fixed in master and we're not likely to port Emacs 25 to WSL.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25221
; Package
emacs
.
(Sun, 25 Dec 2016 01:37:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 25221-done <at> debbugs.gnu.org (full text, mbox):
I don't understand. Have you commit something to master that fixes this?
Maybe I wasn't clear but the issue regards Emacs > 24.X or, if you
prefer, Emacs >= 25.X. Also master is affected, at least the build I did
from master on 20161221_095705 (commit cf6ce9a1fe320ebe5b): this commit
fixes the issue with the hanging of temacs but not that regarding the
Packages Manager...
When I opened this bug report the build of master under WSL were not
fixed, yet. And I didn't expect it would be fixed soon, so I wrote only
about 25-branch.
I am afraid I wasn't so clear...
Angelo
Il 25/12/2016 02:14, Paul Eggert ha scritto:
>> So the issue seems to regards only emacs-25 branch.
>
> Yes, and in that case let's declare victory and close out this bug
> report, as the bug is fixed in master and we're not likely to port Emacs
> 25 to WSL.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25221
; Package
emacs
.
(Sun, 25 Dec 2016 03:35:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 25221 <at> debbugs.gnu.org (full text, mbox):
> From: Angelo Graziosi <angelo.graziosi <at> alice.it>
> Date: Sun, 25 Dec 2016 02:35:52 +0100
> Cc: 25221-done <at> debbugs.gnu.org
>
> Maybe I wasn't clear but the issue regards Emacs > 24.X or, if you
> prefer, Emacs >= 25.X. Also master is affected, at least the build I did
> from master on 20161221_095705 (commit cf6ce9a1fe320ebe5b): this commit
> fixes the issue with the hanging of temacs but not that regarding the
> Packages Manager...
>
> When I opened this bug report the build of master under WSL were not
> fixed, yet. And I didn't expect it would be fixed soon, so I wrote only
> about 25-branch.
IMO, WSL is still a moving target, not yet stabilized enough for us to
attempt to support it on the release branch.
Did not alter fixed versions and reopened.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 25 Dec 2016 08:02:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25221
; Package
emacs
.
(Sun, 25 Dec 2016 08:04:01 GMT)
Full text and
rfc822 format available.
Message #21 received at 25221 <at> debbugs.gnu.org (full text, mbox):
Angelo Graziosi wrote:
> I am afraid I wasn't so clear...
Apparently not. I understood your remark "the issue seems to regards only
emacs-25 branch" as meaning that the bug occurs only in the emacs-25 branch. If
the bug (whatever it is) is also present in the master branch, then I will
reopen the bug report. As Eli says, we don't care about the bug in the emacs-25
branch.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25221
; Package
emacs
.
(Sun, 25 Dec 2016 12:48:02 GMT)
Full text and
rfc822 format available.
Message #24 received at 25221 <at> debbugs.gnu.org (full text, mbox):
I have built the last master (e5ef59b87da5) but it has the same packages
manager issue.
Notice the issue occurs only when Emacs is run in a console. See:
http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00813.html
(notice, also, that, for the moment, WSL does not support GUI apps but
one can works around this installing and running Xming or vcXSrv)
In any case,
Happy Holidays!
Angelo
Il 25/12/2016 09:03, Paul Eggert ha scritto:
> Angelo Graziosi wrote:
>> I am afraid I wasn't so clear...
>
> Apparently not. I understood your remark "the issue seems to regards
> only emacs-25 branch" as meaning that the bug occurs only in the
> emacs-25 branch. If the bug (whatever it is) is also present in the
> master branch, then I will reopen the bug report. As Eli says, we don't
> care about the bug in the emacs-25 branch.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25221
; Package
emacs
.
(Fri, 14 Apr 2017 22:34:01 GMT)
Full text and
rfc822 format available.
Message #27 received at submit <at> debbugs.gnu.org (full text, mbox):
Just for the record..
After the upgrade to Win10 Creators Update (clean Reset from
Anniversary). I reinstalled WSL that now is Ubuntu 16.04 and so Emacs.
The package installed is 24.5.1.
While with previous installation (WSL-Ubuntu 14.04, Emacs-24.3), Emacs
worked fine, also with the package manager, now it shows the same issues
I had with Emacs-25 branch or Emacs-master.. It seems I can't
install/upgrade Elpa/Melpa packages any more...
The only good news is that it seems that Emacs can be built without the
"echo 0 | sudo tee /proc/sys/kernel/randomize_va_space" workaround..
Any suggestion about how to upgrade Elpa/Melpa packages? I am using
~/.emacs.d from previous installation and M-x package-list-packages
shows that there are packages to be upgraded but trying to type "Ux"
breaks Emacs.
TIA,
Angelo.
Il 18/12/2016 14:07, Angelo Graziosi ha scritto:
> I recently enabled and installed WSL (Windows Subsystem for Linux) in
> Windows 10 [1] and so tried to build Emacs.
>
> Building Emacs master hangs [2]. So tried emacs-25 branch (+release and
> testing). This branch builds if one adopts the work around suggested in
> /et/PROBLEMS and from the WEB [3]:
>
> echo 0 | sudo tee /proc/sys/kernel/randomize_va_space
> ./autogen.sh
> ./configure --prefix=/opt/emacs --without-x
> make...
>
> It also seems to work but trying to install packages from MELPA/ELPA fails.
>
> More precisely, in emacs25:
>
> M-x package-list-packages
>
> After the "Package refresh done" I cannot type anything nor I can quit
> (C-x C-c). If I do, for example pressing the down arrow key, in the
> packages buffer I see something like this
>
> [...]
> [1]+ Stopped emacs25ailable melpa No description
> available...
> angelo <at> MYPC~ 20151026.1233 available melpa play 2048 in Emacs..
> $ 4clojure 20131014.1507 available melpa..
> [...]
>
> At this point I can only try to kill Emacs. It is as if Emacs were
> reduced to background (C-z), and a 'fg' seems to resurrect it but is
> unusable (I have to close the WSL bash window).
>
> Now, at the moment, enabling and installing WSL installs Ubuntu 14.04
> and one can install other Ubuntu packages with apt-get. So I installed
> the emacs24-nox packages which works without this Packages manager issue!
>
> Then for sanity check I did a build of emacs-24.3.tar.gz (the same
> version offered by WSL-Ubuntu) and it works as expected (also the
> packages Manager).
>
> So the issue seems to regards only emacs-25 branch.
>
>
> Ciao,
> Angelo.
>
>
> -----
> [1] https://msdn.microsoft.com/it-it/commandline/wsl/install_guide
> https://msdn.microsoft.com/it-it/commandline/wsl/faq
>
> [2] http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00427.html
>
> [3]
> http://stackoverflow.com/questions/38905344/windows-bash-emacs-build-fail-memory-protection-enabled
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25221
; Package
emacs
.
(Mon, 17 Jul 2017 02:09:02 GMT)
Full text and
rfc822 format available.
Message #30 received at 25221 <at> debbugs.gnu.org (full text, mbox):
Angelo Graziosi <angelo.graziosi <at> alice.it> writes:
> I have built the last master (e5ef59b87da5) but it has the same
> packages manager issue.
>
> Notice the issue occurs only when Emacs is run in a console. See:
>
> http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00813.html
>
> (notice, also, that, for the moment, WSL does not support GUI apps but
> one can works around this installing and running Xming or vcXSrv)
Lorenzo reports that the package manager is functional on WSL now. Can
you confirm?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25221
; Package
emacs
.
(Mon, 17 Jul 2017 12:42:01 GMT)
Full text and
rfc822 format available.
Message #33 received at 25221 <at> debbugs.gnu.org (full text, mbox):
Il 17/07/2017 04:09, npostavs <at> users.sourceforge.net ha scritto:
> Angelo Graziosi <angelo.graziosi <at> alice.it> writes:
>
>> I have built the last master (e5ef59b87da5) but it has the same
>> packages manager issue.
>>
>> Notice the issue occurs only when Emacs is run in a console. See:
>>
>> http://lists.gnu.org/archive/html/emacs-devel/2016-12/msg00813.html
>>
>> (notice, also, that, for the moment, WSL does not support GUI apps but
>> one can works around this installing and running Xming or vcXSrv)
>
> Lorenzo reports that the package manager is functional on WSL now. Can
> you confirm?
>
NO, I can't.
Here I always see the same issue with Emacs > 24.3.
But has Lorenzo a recipe to get his results? What Emacs version? How is
this version built? etc..
*Remember* I am speaking of Emacs running in a console, without X...
Ciao,
Angelo.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25221
; Package
emacs
.
(Wed, 19 Jul 2017 15:11:02 GMT)
Full text and
rfc822 format available.
Message #36 received at 25221 <at> debbugs.gnu.org (full text, mbox):
Il 19/07/2017 15:15, Lorenzo ha scritto:
> Hi,
>
> WSL:
>
> I am also running Emacs on console, but haven't built it myself. Using
> the one from the debian repositories, which is version 24.3.1
Indeed, 24.3 works as expected! I installed sr-speedbar etc.
In the versions greater than that [*], the packages manager does not work!
Please, reread my post..
Angelo
---
[*] For example, in current WSL (Win10 CU, Ubunto 16.04),
apt install emacs[-nox]
installs (from debian repos) 24.5.1 (> 24.3), and here the packages
manager does not work... the same with the builds of master..
The last version I find it works, in console, is 24.3!
Merged 25221 27804.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Mon, 24 Jul 2017 18:04:02 GMT)
Full text and
rfc822 format available.
Changed bug title to '[WSL] emacs 24.4+ in console suspends itself on M-x list-packages' from 'Packages manager not working in WSL emacs-25 build'
Request was from
Noam Postavsky <npostavs <at> users.sourceforge.net>
to
control <at> debbugs.gnu.org
.
(Tue, 14 Nov 2017 00:17:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#25221
; Package
emacs
.
(Fri, 11 Oct 2019 14:30:02 GMT)
Full text and
rfc822 format available.
Message #43 received at 25221 <at> debbugs.gnu.org (full text, mbox):
tags 27804 + notabug
close 27804
quit
Eli Zaretskii <eliz <at> gnu.org> writes:
> Emacs gets a signal that causes it to background. The problem is why
> the signal is delivered, and its cause is outside Emacs, could be the
> WSL itself, could be ncurses when it runs on WSL, could be something
> else. But definitely not Emacs.
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Eli Zaretskii wrote:
>> > Definitely not an Emacs problem.
[...]
> And even if some change in Emacs exposed that bug, it doesn't yet mean
> the bug is in Emacs.
Josh Howard <jraitch <at> outlook.com> writes:
>> From: Eli Zaretskii <eliz <at> gnu.org>
>> Sent: Tuesday, July 25, 2017 11:34 AM
[...]
>> OK, but meanwhile I understand that a later build of WSL fixed some
>> terminal-related bugs, and the problem is now gone.
>
> Both of these appear to be true. The WSL has a fix which seems to
> address the problem and 24.3 does not display the issue. Something
> happened between 24.3 and now which causes Emacs to tickle this bug,
> but it may not be relevant.
From the above, this doesn't seem to be a bug in Emacs, and has been
fixed in later versions of WSL. I'm therefore closing this as notabug.
If that's incorrect, please reopen the bug report.
Best regards,
Stefan Kangas
Added tag(s) notabug.
Request was from
Stefan Kangas <stefan <at> marxist.se>
to
control <at> debbugs.gnu.org
.
(Fri, 11 Oct 2019 14:30:03 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
27804 <at> debbugs.gnu.org and Josh Howard <jraitch <at> outlook.com>
Request was from
Stefan Kangas <stefan <at> marxist.se>
to
control <at> debbugs.gnu.org
.
(Fri, 11 Oct 2019 14:30:04 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 09 Nov 2019 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 274 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.