unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Call to `openssl` causes Emacs to freeze
@ 2015-08-17  2:39 Alexis
  2015-08-17  4:21 ` Jude DaShiell
  2015-08-17  6:26 ` tomas
  0 siblings, 2 replies; 7+ messages in thread
From: Alexis @ 2015-08-17  2:39 UTC (permalink / raw)
  To: help-gnu-emacs


Hi all,

Context: manually-compiled Emacs 24.5 on Debian Jessie x86_64.

For a while i'd been facing the problem that, when i opened an 
HTML email (erk) in mu4e, Emacs would freeze; my only recourse was 
to terminate the Emacs process.

Today i worked out that a call to `openssl` is the source of the 
problem: installing the `gnutls-bin` package and modifying the 
value of the variable `tls-program` to only call `gnutls-cli` 
fixed the issue.

Modifying `tls-program` to add the "-no_ssl3" switch to the 
`openssl` invocation had not helped.

Of course, OpenSSL's internals are apparently a wretched hive of 
scum, so i'm wondering if anyone else has faced this problem? Is 
this a known issue?


Alexis.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Call to `openssl` causes Emacs to freeze
  2015-08-17  2:39 Call to `openssl` causes Emacs to freeze Alexis
@ 2015-08-17  4:21 ` Jude DaShiell
  2015-08-17  6:26 ` tomas
  1 sibling, 0 replies; 7+ messages in thread
From: Jude DaShiell @ 2015-08-17  4:21 UTC (permalink / raw)
  To: Alexis, help-gnu-emacs

I think this explains why twittering-mode cannot create an auth key for 
twitter after username and password get entered.  This happened in 
earlier versions of emacs 24.x and I gave up on twittering-mode for that 
reason.

On Mon, 17 Aug 2015, Alexis wrote:

> Date: Sun, 16 Aug 2015 22:39:46
> From: Alexis <flexibeast@gmail.com>
> To: help-gnu-emacs <help-gnu-emacs@gnu.org>
> Subject: Call to `openssl` causes Emacs to freeze
> 
>
> Hi all,
>
> Context: manually-compiled Emacs 24.5 on Debian Jessie x86_64.
>
> For a while i'd been facing the problem that, when i opened an HTML email 
> (erk) in mu4e, Emacs would freeze; my only recourse was to terminate the 
> Emacs process.
>
> Today i worked out that a call to `openssl` is the source of the problem: 
> installing the `gnutls-bin` package and modifying the value of the variable 
> `tls-program` to only call `gnutls-cli` fixed the issue.
>
> Modifying `tls-program` to add the "-no_ssl3" switch to the `openssl` 
> invocation had not helped.
>
> Of course, OpenSSL's internals are apparently a wretched hive of scum, so i'm 
> wondering if anyone else has faced this problem? Is this a known issue?
>
>
> Alexis.
>
>

-- 




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Call to `openssl` causes Emacs to freeze
  2015-08-17  2:39 Call to `openssl` causes Emacs to freeze Alexis
  2015-08-17  4:21 ` Jude DaShiell
@ 2015-08-17  6:26 ` tomas
  2015-08-18 12:11   ` Alexis
  1 sibling, 1 reply; 7+ messages in thread
From: tomas @ 2015-08-17  6:26 UTC (permalink / raw)
  To: Alexis; +Cc: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Aug 17, 2015 at 12:39:46PM +1000, Alexis wrote:
> 
> Hi all,
> 
> Context: manually-compiled Emacs 24.5 on Debian Jessie x86_64.
> 
> For a while i'd been facing the problem that, when i opened an HTML
> email (erk) in mu4e, Emacs would freeze; my only recourse was to
> terminate the Emacs process.
> 
> Today i worked out that a call to `openssl` is the source of the
> problem: installing the `gnutls-bin` package and modifying the value
> of the variable `tls-program` to only call `gnutls-cli` fixed the
> issue.

Only indirectly related, but I had similar experiences accessing
https things. Gnutls-cli failed in my case, my best bet was compiled-in
TLS support. So if you are compiling your Emacs yourself anyway, I'd
strongly recommend using that: resorting to an external program
(openssl or gnutls-bin) makes some things difficult for the application.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlXRfn0ACgkQBcgs9XrR2kZ17gCfT2w4YEjYy1vlKBwDBUUGsT5U
8BkAn1eY3WyLZj8wrovWr8swlWBYri5K
=qIjs
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Call to `openssl` causes Emacs to freeze
  2015-08-17  6:26 ` tomas
@ 2015-08-18 12:11   ` Alexis
  2015-08-18 14:40     ` tomas
  0 siblings, 1 reply; 7+ messages in thread
From: Alexis @ 2015-08-18 12:11 UTC (permalink / raw)
  To: help-gnu-emacs


tomas@tuxteam.de writes:

> Only indirectly related, but I had similar experiences accessing 
> https things. Gnutls-cli failed in my case, my best bet was 
> compiled-in TLS support. So if you are compiling your Emacs 
> yourself anyway, I'd strongly recommend using that: resorting to 
> an external program (openssl or gnutls-bin) makes some things 
> difficult for the application.

Thanks for the suggestion! i've just recompiled after having 
installed the `gnutls-dev` package - will see how that goes. :-)


Alexis.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Call to `openssl` causes Emacs to freeze
  2015-08-18 12:11   ` Alexis
@ 2015-08-18 14:40     ` tomas
  2015-09-08 10:25       ` Alexis
  0 siblings, 1 reply; 7+ messages in thread
From: tomas @ 2015-08-18 14:40 UTC (permalink / raw)
  To: Alexis; +Cc: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Aug 18, 2015 at 10:11:17PM +1000, Alexis wrote:
> 
> tomas@tuxteam.de writes:
> 
> > [... try compiled-in TLS support]

> Thanks for the suggestion! i've just recompiled after having
> installed the `gnutls-dev` package - will see how that goes. :-)

You are welcome :-)

Let us know how it goes!

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlXTQ80ACgkQBcgs9XrR2kb4tACcC0tGAPpN+lwDA+nA8sYCzvdI
ZcwAn18zrqg1st4j5wK6vjYCQNE7R+Pr
=g3qF
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Call to `openssl` causes Emacs to freeze
  2015-08-18 14:40     ` tomas
@ 2015-09-08 10:25       ` Alexis
  2015-09-08 13:07         ` tomas
  0 siblings, 1 reply; 7+ messages in thread
From: Alexis @ 2015-09-08 10:25 UTC (permalink / raw)
  To: help-gnu-emacs


tomas@tuxteam.de writes:

>> Thanks for the suggestion! i've just recompiled after having 
>> installed the `gnutls-dev` package - will see how that 
>> goes. :-)
>
> You are welcome :-)
>
> Let us know how it goes!

Follow-up: i've been using the recompiled-with-gnutls-support 
version of Emacs for a few weeks now, and am yet to experience the 
sort of freezes i was experiencing before. :-)


Alexis.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Call to `openssl` causes Emacs to freeze
  2015-09-08 10:25       ` Alexis
@ 2015-09-08 13:07         ` tomas
  0 siblings, 0 replies; 7+ messages in thread
From: tomas @ 2015-09-08 13:07 UTC (permalink / raw)
  To: Alexis; +Cc: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Sep 08, 2015 at 08:25:51PM +1000, Alexis wrote:
> 
> tomas@tuxteam.de writes:
> 
> >>Thanks for the suggestion! i've just recompiled after having
> >>installed the `gnutls-dev` package - will see how that goes. :-)
> >
> >You are welcome :-)
> >
> >Let us know how it goes!
> 
> Follow-up: i've been using the recompiled-with-gnutls-support
> version of Emacs for a few weeks now, and am yet to experience the
> sort of freezes i was experiencing before. :-)

Thank you for the feedback. Yes, this confirms my experience too.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlXu3ZAACgkQBcgs9XrR2kYT8ACfQXUEa5S19KNu886SvmlQ0Ve/
dJEAn3PSZH4gtJEoYBdI9SAbFiqJ2N6M
=JMwl
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-09-08 13:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-17  2:39 Call to `openssl` causes Emacs to freeze Alexis
2015-08-17  4:21 ` Jude DaShiell
2015-08-17  6:26 ` tomas
2015-08-18 12:11   ` Alexis
2015-08-18 14:40     ` tomas
2015-09-08 10:25       ` Alexis
2015-09-08 13:07         ` tomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).