From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#9017: 24.0.50; gnutls.c: [0] (Emacs) fatal error: Key usage violation in certificate has been detected. Date: Mon, 11 Jul 2011 16:12:20 +0200 Message-ID: References: <87ei22yzz3.fsf@niu.edu> <19990.21514.711483.515100@gargle.gargle.HOWL> <19995.450.645561.299970@gargle.gargle.HOWL> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310396057 30944 80.91.229.12 (11 Jul 2011 14:54:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jul 2011 14:54:17 +0000 (UTC) Cc: 9017@debbugs.gnu.org To: "Roland Winkler" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 11 16:54:13 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QgHsC-0004xs-Uh for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jul 2011 16:54:13 +0200 Original-Received: from localhost ([::1]:45369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgHsB-0008IH-Sz for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Jul 2011 10:54:11 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgHEP-00067W-Vi for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2011 10:13:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgHEN-0001KO-Ql for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2011 10:13:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgHEN-0001KF-9n for bug-gnu-emacs@gnu.org; Mon, 11 Jul 2011 10:13:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QgHEM-0000F2-PD; Mon, 11 Jul 2011 10:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Jul 2011 14:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9017 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9017-submit@debbugs.gnu.org id=B9017.1310393558880 (code B ref 9017); Mon, 11 Jul 2011 14:13:02 +0000 Original-Received: (at 9017) by debbugs.gnu.org; 11 Jul 2011 14:12:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgHDx-0000E9-JM for submit@debbugs.gnu.org; Mon, 11 Jul 2011 10:12:37 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgHDu-0000Dt-K7 for 9017@debbugs.gnu.org; Mon, 11 Jul 2011 10:12:35 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QgHDj-0001aD-1p; Mon, 11 Jul 2011 16:12:23 +0200 In-Reply-To: <19995.450.645561.299970@gargle.gargle.HOWL> (Roland Winkler's message of "Mon, 11 Jul 2011 08:59:30 -0500") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEUbFxchHR4MCQkUEBBV UlJjwIk7AAACMklEQVQ4jXWUbZarIAyGQVwAARagSRdAiAuo0+5/TfcNOp25P8bznmrz5IMQNLz/ uAJRSDavSESJOWZms0cINnA3ljjNEgaLWV9xx78hnSjjsYN1T3EE9ut2Zxvi1h5CczBgd3f4htRR lTJqwA1pphkYRgqGPwCmM0t3G+VZkzk8gkVkkRkf0mWl0ekRaJmlc7LLqkOIN4DhOcJt3rEOGEYC iIQe7eqGDwdGbABudufBe5FjbOuQxtYelxnWL9ayrQtAb5B3Lry/WF+iRQDa0tsSHOwn708H65e0 srXSna2BHycfTz5+g9LfLQjACj339qXvou9KrhbsOKWdm8sj+pR+gLSntJe8y+ZBJTromXvlUCWW LS5bHJui+QOT9a7xU2xfbMcQMAixdY6cubq2gi1kxUaidY8gGVV71pqVSt6tPqx4RNEtZQ2kmSJV 0lQPq8cEO0B3FuM3WP8DeYIK8GofYFm1Rq20/0TQ3iusDmLNMVVK1SM64dhiwFCawoO20JM6MPqR g3ewpG3RNiIxRKdMdaQybZVaJrwRrkinQg62Y+k+abaT08nBIzYHOBuYv91AIoQZOJgHA6cpTZAn WC+AU9npTvUBwvEGHoGFPfkG13EFCGAkOQvlH8DfgC+A4oIxK7FOABF9AHnbOjv/BYaov3pp7mPA EE/M8YwA8EWENFrc9zTfq7xhExk1emSNd42UfWFzrxw481ayK/hy8cp2EZNu+F5YT6nXkhJG+9dn 6R8VbZGvvyRo0gAAAABJRU5ErkJggg== X-Now-Playing: Wire's _Red Barked Tree_: "Smash" X-Hashcash: 1:23:110711:winkler@gnu.org::irDUd5MdekwVB63H:00MLvj X-Hashcash: 1:23:110711:9017@debbugs.gnu.org::S6lw5BrsLCcpB9BG:00000000000000000000000000000000000000001Aq/x X-MailScanner-ID: 1QgHDj-0001aD-1p MailScanner-NULL-Check: 1310998343.22693@6ue+YM02GlmZqGr/DaKLiw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 11 Jul 2011 10:13:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:48565 Archived-At: "Roland Winkler" writes: > I recompiled emacs from the trunk today. Unfortunately, emacs simply > hangs now. So I set debug-on-quit to t, which gave me the first > backtrace attached below. > Debugger entered--Lisp error: (quit) > make-network-process(:name "smtpmail" :buffer # :host "foo.bar.com" :service 465) Hm. It's hanging in the connect call itself to the SMTP server? That's rather odd. If you eval the following (make-network-process :name "smtpmail" :buffer (get-buffer-create "foo") :host "foo.bar.com" :service 465) does it hang? > Then I also tried your other suggestion > > (setq smtpmail-stream-type 'plain) > > which resulted in the error > > Sending failed: 530 Must issue a STARTTLS command first > > see the second backtrace. Yes, your SMTP server apparently requires STARTTLS, but the built-in GnuTLS support isn't able to negotiate a connection -- I'm guessing because of a buggy SMTP server certificate. But that doesn't explain the apparent hanging in `make-network-process' itself, which is just bizarre. Try evaluating this: (defun gnutls-available-p () nil) If you have gnutls-cli installed (and you apparently have since it works in Emacs 23), that should disable the built-in GnuTLS library. Are you able to send mail then? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/