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, bug#15648: 24.2.50; gnutls SSL connection to IMAP server causes emacs to crash completely Date: Wed, 23 Oct 2013 21:00:21 +0300 Message-ID: <83hac7j2a2.fsf@gnu.org> References: <21089.32240.198931.971000@consult.pretender> <87fvrun1pw.fsf@flea.lifelogs.com> <21093.32992.278229.646703@consult.pretender> <877gd5mo5x.fsf@flea.lifelogs.com> <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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1382551273 31806 80.91.229.3 (23 Oct 2013 18:01:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2013 18:01:13 +0000 (UTC) Cc: tzz@lifelogs.com, 15648@debbugs.gnu.org To: emacs@kosowsky.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 23 20:01:16 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 1VZ2k7-0003f6-5H for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Oct 2013 20:01:15 +0200 Original-Received: from localhost ([::1]:50816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ2k6-0007Xy-Ry for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Oct 2013 14:01:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ2jz-0007Xd-98 for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 14:01:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZ2ju-0003rl-9f for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 14:01:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ2ju-0003rd-6m for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 14:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VZ2jt-0004wz-JD for bug-gnu-emacs@gnu.org; Wed, 23 Oct 2013 14:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Oct 2013 18:01:01 +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: moreinfo Original-Received: via spool by 15648-submit@debbugs.gnu.org id=B15648.138255123318995 (code B ref 15648); Wed, 23 Oct 2013 18:01:01 +0000 Original-Received: (at 15648) by debbugs.gnu.org; 23 Oct 2013 18:00:33 +0000 Original-Received: from localhost ([127.0.0.1]:38352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZ2jQ-0004wI-Ni for submit@debbugs.gnu.org; Wed, 23 Oct 2013 14:00:33 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:37172) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZ2jN-0004w3-Si for 15648@debbugs.gnu.org; Wed, 23 Oct 2013 14:00:31 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MV400200V87V900@a-mtaout20.012.net.il> for 15648@debbugs.gnu.org; Wed, 23 Oct 2013 21:00:23 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MV4002S1VCMOC80@a-mtaout20.012.net.il>; Wed, 23 Oct 2013 21:00:23 +0300 (IDT) In-reply-to: <21096.920.835718.562924@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:79546 Archived-At: > From: > Date: Wed, 23 Oct 2013 13:12:56 -0400 > Cc: emacs@kosowsky.org, tzz@lifelogs.com, 15648@debbugs.gnu.org > > 4. This small patch to gnutls.el will fix the problem by expanding the > file name to a full, valid path: Sorry, but I cannot accept this. There's absolutely no reason to run the file through expand-file-name at that place. More importantly, there's no reason to believe this is the only place where the same problem could surface. > > Windows supports Unix-style file names. The problem is that the file > > "/usr/ssl/certs/ca-bundle.crt" cannot be found by starting from the > > root directory of the current drive. > > The above proposed patch would fix that problem. Only by sheer luck. > > > that being said the C-code should be better behaved than that... at > > > a minimum the code should check to make sure the certificate file > > > path is well-formed and exists. > > > > See above: unless you present the backtrace from the crash, no one can > > know where the offending code is, or what it does wrong. Please > > provide that data. > > What do I need to do to get a backtrace? Run Emacs under GDB, like this: gdb ./emacs.exe When GDB finishes displaying its startup blurbs, just type "run", and do whatever you do in Emacs to reproduce the problem. When the problem does happen, GDB will kick in, and you should type this at the GDB prompt: (gdb) thread apply all bt > I don't have any C-debugging software on my Windows laptop... and have > never done C-code debugging in a Windows environment... A Windows build of GDB suitable for this is available from the MinGW site: http://sourceforge.net/projects/mingw/files/MinGW/Extension/gdb/gdb-7.6.1-1/gdb-7.6.1-1-mingw32-bin.tar.lzma/download