From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii 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 22:11:19 +0200 Message-ID: <83a9ha3di0.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1384200736 11034 80.91.229.3 (11 Nov 2013 20:12:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2013 20:12:16 +0000 (UTC) Cc: alptekin.aker@gmail.com, tzz@lifelogs.com, emacs@kosowsky.org, 15648-done@debbugs.gnu.org To: emacs@kosowsky.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 11 21:12:19 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 1VfxqN-0001qf-CG for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Nov 2013 21:12:19 +0100 Original-Received: from localhost ([::1]:39431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfxqM-000244-TB for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Nov 2013 15:12:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfxqD-00020a-5Y for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2013 15:12:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vfxq7-00086w-MO for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2013 15:12:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vfxq7-00086k-Hw for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2013 15:12:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vfxq7-0000fY-2o for bug-gnu-emacs@gnu.org; Mon, 11 Nov 2013 15:12:03 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Nov 2013 20:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 15648 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 15648@debbugs.gnu.org, eliz@gnu.org, emacs@kosowsky.org Original-Received: via spool by 15648-done@debbugs.gnu.org id=D15648.13842007052543 (code D ref 15648); Mon, 11 Nov 2013 20:12:02 +0000 Original-Received: (at 15648-done) by debbugs.gnu.org; 11 Nov 2013 20:11:45 +0000 Original-Received: from localhost ([127.0.0.1]:47428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vfxpo-0000ew-Lv for submit@debbugs.gnu.org; Mon, 11 Nov 2013 15:11:45 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:40285) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vfxpl-0000ee-QV for 15648-done@debbugs.gnu.org; Mon, 11 Nov 2013 15:11:42 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MW400D007ZXRX00@a-mtaout21.012.net.il> for 15648-done@debbugs.gnu.org; Mon, 11 Nov 2013 22:11:24 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MW400DCH830Q160@a-mtaout21.012.net.il>; Mon, 11 Nov 2013 22:11:24 +0200 (IST) In-reply-to: <21121.12973.425585.122543@consult.pretender> X-012-Sender: halo1@inter.net.il 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:80280 Archived-At: > 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. > 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. > 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. > 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.