[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24811: 26.0.50; backtrace

From: Lars Ingebrigtsen
Subject: bug#24811: 26.0.50; backtrace
Date: Tue, 01 Nov 2016 19:39:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Mark Oteiza <address@hidden> writes:

> 1. M-x eww RET https://marmalade-repo.org RET
> The certificate is signed by Comodo, which is an untrusted CA on my
> system.  At this point, NSM pops up asking how I want to proceed.
> 2. Wait for a while. A minute here is sufficient.
> 3. Hit s to allow the cert for the session only.
> Emacs has now crashed:

I'm unable to reproduce this problem.  Can you test the following patch
and see whether it fixes the bug?

diff --git a/src/process.c b/src/process.c
index 8cf045c..3078c01 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3082,6 +3082,11 @@ finish_after_tls_connection (Lisp_Object proc)
   Lisp_Object contact = p->childp;
   Lisp_Object result = Qt;
+  if (p->outfd < 0) {
+    pset_status (p, Qfailed);
+    deactivate_process (proc);
+  }
   if (!NILP (Ffboundp (Qnsm_verify_connection)))
     result = call3 (Qnsm_verify_connection,

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]