GNU bug report logs - #20089
Error in process filter big freeze

Previous Next

Package: emacs;

Reported by: Clément Miklarz <clement.miklarz <at> gmail.com>

Date: Wed, 11 Mar 2015 18:27:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

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 20089 in the body.
You can then email your comments to 20089 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#20089; Package emacs. (Wed, 11 Mar 2015 18:27:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Clément Miklarz <clement.miklarz <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 11 Mar 2015 18:27:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Clément Miklarz <clement.miklarz <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Error in process filter big freeze
Date: Wed, 11 Mar 2015 18:59:46 +0100
[Message part 1 (text/plain, inline)]
Hello,

I used emacs 24.4.1 (i686-pc-mingw32).

I went to Options -> Manage Emacs Packages.
Then it tries to connect to each host I specified in my .emacs.
And here are the logs :
Contacting host: elpa.gnu.org:80
Contacting host: tromey.com:80
Contacting host: marmalade-repo.org:80
Opening TLS connection to `marmalade-repo.org'...
Opening TLS connection with `gnutls-cli --insecure -p 443 marmalade-repo.org
'...failed
Opening TLS connection with `gnutls-cli --insecure -p 443 marmalade-repo.org
--protocols ssl3'...failed
Opening TLS connection with `openssl s_client -connect
marmalade-repo.org:443 -no_ssl2 -ign_eof'...failed
Opening TLS connection to `marmalade-repo.org'...failed
error in process filter: url-http: Could not create connection to
marmalade-repo.org:443
error in process filter: Could not create connection to
marmalade-repo.org:443
Failed to download `marmalade' archive.

When I get the first error, emacs freeze.
Meanwhile, there seems to be a heavy load on the CPU and the RAM for emacs
rise to 858 Mo.
If I tried again, it freezes again, the CPU is busy but the amount of RAM
does not change.

I changed a little thing in the .emacs :
(add-to-list 'package-archives '("marmalade" . "
http://marmalade-repo.org/packages/") t)
(add-to-list 'package-archives '("marmalade" . "
http://marmalade-repo.org/packages/")).
It still freezes but no big load on the CPU nor any peak of RAM.

I'll try to connect to marmalade later to see if it's related to a fault on
my side or on the host side.
But even if marmalde can't be contacted, it should not bug like this.

Regards,
Clément MIKLARZ
[Message part 2 (text/html, inline)]
[.emacs (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20089; Package emacs. (Wed, 11 Mar 2015 19:07:01 GMT) Full text and rfc822 format available.

Message #8 received at 20089 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Clément Miklarz <clement.miklarz <at> gmail.com>
Cc: 20089 <at> debbugs.gnu.org
Subject: Re: bug#20089: Error in process filter big freeze
Date: Wed, 11 Mar 2015 21:05:46 +0200
> From: Clément Miklarz <clement.miklarz <at> gmail.com>
> Date: Wed, 11 Mar 2015 18:59:46 +0100
> 
> I used emacs 24.4.1 (i686-pc-mingw32).
> 
> I went to Options -> Manage Emacs Packages.
> Then it tries to connect to each host I specified in my .emacs.
> And here are the logs :
> Contacting host: elpa.gnu.org:80
> Contacting host: tromey.com:80
> Contacting host: marmalade-repo.org:80
> Opening TLS connection to `marmalade-repo.org'...
> Opening TLS connection with `gnutls-cli --insecure -p 443
> marmalade-repo.org'...failed
> Opening TLS connection with `gnutls-cli --insecure -p 443 marmalade-repo.org -
> -protocols ssl3'...failed

Do you have gnutls-cli.exe on your system?  If so, is it per chance a
Cygwin build of gnutls-cli?

> Opening TLS connection with `openssl s_client -connect marmalade-repo.org:443 -
> no_ssl2 -ign_eof'...failed
> Opening TLS connection to `marmalade-repo.org'...failed
> error in process filter: url-http: Could not create connection to
> marmalade-repo.org:443
> error in process filter: Could not create connection to marmalade-repo.org:443
> Failed to download `marmalade' archive.
> 
> When I get the first error, emacs freeze.
> Meanwhile, there seems to be a heavy load on the CPU and the RAM for emacs rise
> to 858 Mo.
> If I tried again, it freezes again, the CPU is busy but the amount of RAM does
> not change.

Is your Emacs built with GnuTLS support, and if so, do you have the
GnuTLS DLL installed somewhere where Emacs can find it?

When Emacs uses the gnutls-cli program, it communicates with it via
signals, that don't work on Windows, so Emacs waits for gnutls-cli
indefinitely.  So on Windows, the only way to open TLS connection is
to have Emacs built with GnuTLS support.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 21 Mar 2015 10:15:02 GMT) Full text and rfc822 format available.

Notification sent to Clément Miklarz <clement.miklarz <at> gmail.com>:
bug acknowledged by developer. (Sat, 21 Mar 2015 10:15:03 GMT) Full text and rfc822 format available.

Message #13 received at 20089-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Clément Miklarz <clement.miklarz <at> gmail.com>
Cc: 20089-done <at> debbugs.gnu.org
Subject: Re: bug#20089: Error in process filter big freeze
Date: Sat, 21 Mar 2015 12:14:36 +0200
> From: Clément Miklarz <clement.miklarz <at> gmail.com>
> Date: Wed, 11 Mar 2015 22:18:03 +0100
> 
> It seems that was indeed the case and getting those DLL resolved my problem.
> There is just one thing I can't understand : I followed the advices here
> (http://חנוך.se/diary/how_to_enable_GnuTLS_for_Emacs_24_on_Windows/index.en.html)
> but I didn't do the " Configure trust files" part and it still works perfectly.
> Should that be a problem ?

The certificates are only needed for HTTPS URLs, and I think Emacs 24
will succeed with HTTPS even if you don't have certificates.  So it's
not a grave problem, but you are still advised to install the
certificates.

> Moreover, I used marmalade to get a package before and it worked
perfectly.
> However, I do not remember if it was with emacs-24.3-bin-i386 or
> emacs-24.4-bin-i686-pc-mingw32 (the one I currently use).

Not sure why this worked, perhaps something changed in your system's
setup or in the order of directories on PATH.

Anyway, I think this bug can be closed now.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 18 Apr 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 63 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.