From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.bugs Subject: bug#16166: 24.3.50; can't use news.gmane.org with gnus and gnutls since r115532 Date: Mon, 16 Dec 2013 17:19:23 +0100 Message-ID: <87txe8lqes.fsf@yahoo.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1387210816 23574 80.91.229.3 (16 Dec 2013 16:20:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Dec 2013 16:20:16 +0000 (UTC) To: 16166@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 16 17:20:22 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 1Vsau4-0007mb-S3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Dec 2013 17:20:21 +0100 Original-Received: from localhost ([::1]:56893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsau4-0006xX-A8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Dec 2013 11:20:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsatu-0006xC-Gw for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2013 11:20:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vsatn-00025k-C1 for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2013 11:20:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsatn-00025e-8s for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2013 11:20:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vsatm-0002aZ-QF for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2013 11:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Dec 2013 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16166 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13872107589878 (code B ref -1); Mon, 16 Dec 2013 16:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Dec 2013 16:19:18 +0000 Original-Received: from localhost ([127.0.0.1]:54083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vsat3-0002ZD-Aj for submit@debbugs.gnu.org; Mon, 16 Dec 2013 11:19:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48355) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vsat0-0002Z3-3g for submit@debbugs.gnu.org; Mon, 16 Dec 2013 11:19:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vsass-0001j1-Pg for submit@debbugs.gnu.org; Mon, 16 Dec 2013 11:19:14 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:55979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsass-0001is-Er for submit@debbugs.gnu.org; Mon, 16 Dec 2013 11:19:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsasm-000524-7u for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2013 11:19:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vsasg-0001gC-1E for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2013 11:19:00 -0500 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:8334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vsasf-0001fu-R0 for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2013 11:18:53 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnAMADcnr1KkD4Nx/2dsb2JhbABZg0KkOwKCPwGUBXSCXgFeJDQBeodVARSgd49gj3YBh2+IA4tTBJgWgTCEfotmgT2Bbjs Original-Received: from geodiff-mac3.ulb.ac.be (HELO geodiff-mac3) ([164.15.131.113]) by smtp.ulb.ac.be with ESMTP; 16 Dec 2013 17:18:52 +0100 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:82067 Archived-At: hello, Recipe: ./emacs -Q --batch --eval '(setq gnus-select-method (quote (nntp "news.gmane.org")))' --eval '(gnus)' Result: >>> (wrong-type-argument listp nil) nntp (news.gmane.org) open error: '>>> (wrong-type-argument listp nil)'. Continue? (y or n) Additionnaly, it took me some time to figure out how to obtain a backtrace, but it worked by evaluting these from -Q: ;; first try opening gnus, to autoload stuff (let ((gnus-select-method '(nntp "news.gmane.org"))) (gnus nil t)) ;; then get the backtrace (let ((gnus-opened-servers) ; forget that it just failed (debug-on-signal t)) ; force entering debugger (gnus-open-server (list 'nntp "news.gmane.org"))) the backtrace then is (byte code contains NUL, which will be stripped when I send this message): Debugger entered--Lisp error: (wrong-type-argument listp nil) gnutls-boot(# gnutls-x509pki (:priority "NORMAL" :hostname "news.gmane.org" :loglevel 0 :min-prime-bits 256 :trustfiles ("/etc/ssl/certs/ca-certificates.crt") :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)) gnutls-negotiate(:process # :hostname "news.gmane.org" :keylist nil) byte-code("\303\304\305 \306\n\205\f\nC&\207" [stream host cert gnutls-negotiate :process :hostname :keylist] 7) network-stream-open-starttls("nntpd" # "news.gmane.org" "nntp" (:type network :end-of-command "^\\([2345]\\|[.]\\).*\n" :capability-command "HELP\n" :success "^3" :starttls-function #[(capabilities) "\301\302\"\205\303\207" [capabilities string-match "STARTTLS" "STARTTLS\n"] 3])) open-protocol-stream("nntpd" # "news.gmane.org" "nntp" :type network :end-of-command "^\\([2345]\\|[.]\\).*\n" :capability-command "HELP\n" :success "^3" :starttls-function #[(capabilities) "\301\302\"\205\303\207" [capabilities string-match "STARTTLS" "STARTTLS\n"] 3]) byte-code("\306\211\307\310 \"\203*\311\312\f\313\310 \"\211A@\262\314\315\316\317\320\321\322\323&\202- \f!+\207" [map coding-system-for-write coding-system-for-read nntp-open-connection-function pbuffer nntp-address binary ((nntp-open-network-stream network) (network-only plain) (nntp-open-plain-stream plain) (nntp-open-ssl-stream tls) (nntp-open-tls-stream tls)) assoc open-protocol-stream "nntpd" :type :end-of-command "^\\([2345]\\|[.]\\).*\n" :capability-command "HELP\n" :success "^3" :starttls-function #[(capabilities) "\301\302\"\205\303\207" [capabilities string-match "STARTTLS" "STARTTLS\n"] 3] nntp-port-number] 15) nntp-open-connection(#) nntp-open-server("news.gmane.org" nil) byte-code(" A@ AA\"\207" [open-server-function gnus-command-method] 3) gnus-open-server((nntp "news.gmane.org")) (let ((gnus-opened-servers) (debug-on-signal t)) (gnus-open-server (list (quote nntp) "news.gmane.org"))) eval-region(141 302 t #[257 "\300\242b\210\301\207" [(302) (let ((gnus-opened-servers) (debug-on-signal t)) (gnus-open-server (list (quote nntp) "news.gmane.org")))] 2 "\n\n(fn IGNORE)"]) ; Reading at buffer position 200 eval-defun-2() eval-defun(nil) call-interactively(eval-defun nil nil) command-execute(eval-defun) the "problem" is that :verify-error is nil. -- Nico.