From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.bugs Subject: bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely Date: Mon, 11 Nov 2013 16:56:41 -0500 Message-ID: <21121.21145.78183.968876@consult.pretender> References: <21089.32240.198931.971000@consult.pretender> <21094.39055.449629.706850@consult.pretender> <21094.40085.664080.69561@consult.pretender> <21094.52645.645440.977584@consult.pretender> <21094.64459.131668.849138@consult.pretender> <21095.19949.639350.970770@consult.pretender> <83wql4hvam.fsf@gnu.org> <21096.920.835718.562924@consult.pretender> <83hac7j2a2.fsf@gnu.org> <21097.58066.940940.323995@consult.pretender> <83iowlh27q.fsf@gnu.org> <87eh79ico2.fsf_-_@flea.lifelogs.com> <83a9hxgpt1.fsf@gnu.org> <8738ncru9y.fsf@flea.lifelogs.com> <83ppqg85av.fsf@gnu.org> <87r4awqbyj.fsf@flea.lifelogs.com> <21112.7243.280084.910310@consult.pretender> <87eh6vpokt.fsf@flea.lifelogs.com> <21113.31504.667278.227022@consult.pretender> <21113.34121.522223.876292@consult.pretender> <87iovzhr4w.fsf@flea.lifelogs.com> <21121.12973.425585.122543@consult.pretender> <83a9ha3di0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1384207094 18642 80.91.229.3 (11 Nov 2013 21:58:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2013 21:58:14 +0000 (UTC) Cc: alptekin.aker@gmail.com, tzz@lifelogs.com, emacs@kosowsky.org, 15648-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 11 22:58:17 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VfzUv-0007Xf-FU for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Nov 2013 22:58:17 +0100 Original-Received: from localhost ([::1]:39794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfzUv-0006Fk-1o for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Nov 2013 16:58:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfzUm-0006Fd-VH for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2013 16:58:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfzUg-0001tN-TK for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2013 16:58:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfzUg-0001tJ-Pg for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2013 16:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VfzUg-0003Fp-I3 for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2013 16:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Nov 2013 21:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15648 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15648-done@debbugs.gnu.org id=D15648.138420704312459 (code D ref 15648); Mon, 11 Nov 2013 21:58:02 +0000 Original-Received: (at 15648-done) by debbugs.gnu.org; 11 Nov 2013 21:57:23 +0000 Original-Received: from localhost ([127.0.0.1]:47514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VfzU2-0003Er-H0 for submit@debbugs.gnu.org; Mon, 11 Nov 2013 16:57:23 -0500 Original-Received: from vms173011pub.verizon.net ([206.46.173.11]:39936) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VfzTz-0003Ee-OU for 15648-done@debbugs.gnu.org; Mon, 11 Nov 2013 16:57:20 -0500 Original-Received: from consult.pretender ([unknown] [72.93.211.153]) by vms173011.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MW40049NCYIHA30@vms173011.mailsrvcs.net> for 15648-done@debbugs.gnu.org; Mon, 11 Nov 2013 15:56:52 -0600 (CST) Original-Received: from consult.pretender (consult.pretender [127.0.0.1]) by consult.pretender (8.14.4/8.14.4) with ESMTP id rABLufom023404; Mon, 11 Nov 2013 16:56:41 -0500 In-reply-to: <83a9ha3di0.fsf@gnu.org> X-Mailer: VM 8.2.0b under 23.1.1 (i386-redhat-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:80287 Archived-At: Eli Zaretskii wrote at about 22:11:19 +0200 on Monday, November 11, 2013: > > From: > > Date: Mon, 11 Nov 2013 14:40:29 -0500 > > Cc: Alp Aker , emacs@kosowsky.org, > > 15648@debbugs.gnu.org > > > > I tested it against the November 6th build. > > > > It seems to work in the sense that now instead of crashing emacs, > > gnutls just throws me into the emacs debugger: > > > > Debugger entered--Lisp error: (gnutls-error # -64) > > signal(gnutls-error (# -64)) > > gnutls-negotiate(:process # :type gnutls-x509pki > > :hostname "imap.gmail.com") > > open-gnutls-stream("tls" "tls-buffer" "imap.gmail.com" "imaps") > > eval-region(19 83 t #[257 "\300\242b\210\301\207" [(83) > > (open-gnutls-stream "tls" "tls-buffer" "imap.gmail.com" "imaps")] 2 > > "\n\n(fn IGNORE)"]) ; Reading at buffer position 83 > > eval-defun-2() > > eval-defun(nil) > > call-interactively(eval-defun nil nil) > > command-execute(eval-defun) > > Thank you. So I consider this bug resolved, and I'm closing it. IT IS NOT RESOLVED - all you did was remove the problem from being one of emacs crashing to the slightly less severe instance of gnutls itself crashing! > > Presumably, this error is due to the fact that > > "/usr/ssl/certs/ca-bundle.crt" is not a valid file on Cygwin (despite > > the comment in gnutls.el implying that it is!) > > No, this is because "/usr/ssl/certs/ca-bundle.crt" _is_ a valid Cygwin > file name, but you are not running a Cygwin build of Emacs, where it > would be valid. Why should I be required to only run a Cygwin build of Emacs? Is that documented anywhere? > > > Of course, it all works fine with the elisp patch that I had > > previously submitted. > > You are free to use that patch, if it suits your needs. This is Free > Software. And you are free to be obstinate and not admit your mistakes... > > > So, now that the bug that crashes the emacs process has been fixed, > > perhaps it's time to make gnutls-trustfiles actually work under > > cygwin. > > They already work under Cygwin. You probably mean cygwin-mount.el, > which is an incomplete and imperfect way of sneaking Cygwin file names > into a native Windows build of Emacs and pretending they work. > > > So, there remains a fundamental incompatibility between cygwin-mount > > and gnutls.el. > > Actually, there's a fundamental incompatibility between cygwin-mount > and a native build of Emacs. Just say no. Cygwin-mount works perfectly for me... it always has... Plus, the problem is more general than cygwin-mount. The problem potentially lies with any magic file handler.