From Reiner.Steib@gmx.de Fri Feb 20 10:03:50 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Feb 2009 18:03:50 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.uni-ulm.de (mail.uni-ulm.de [134.60.1.11]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KI3k1f031740 for ; Fri, 20 Feb 2009 10:03:48 -0800 Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id n1KI3iKG013732 for ; Fri, 20 Feb 2009 19:03:44 +0100 (MET) Date: Fri, 20 Feb 2009 19:03:44 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 44B8F1CA19 for ; Fri, 20 Feb 2009 19:03:44 +0100 (CET) Resent-To: submit@debbugs.gnu.org Resent-From: Reiner Steib Resent-Date: Fri, 20 Feb 2009 12:59:45 +0100 Resent-Message-ID: <873ae9b9ou.fsf@marauder.physik.uni-ulm.de> From: Sven Joachim Subject: spurious "Sign failed" errors Organization: Gnus News User Services Message-ID: <877i6gng5o.fsf@turtle.gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Original-Received: from mail.gmx.net ([213.165.64.20]) by quimby.gnus.org with smtp (Exim 3.36 #1 (Debian)) id 1L8Fd6-0002Yf-00 for ; Thu, 04 Dec 2008 15:56:36 +0100 Original-Received: (qmail invoked by alias); 04 Dec 2008 14:55:52 -0000 Original-Received: from p54865841.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.88.65] by mail.gmx.net (mp021) with SMTP; 04 Dec 2008 15:55:52 +0100 Original-Received: by turtle.gmx.de (Postfix, from userid 1000) id 93DB4354AF; Thu, 4 Dec 2008 15:55:47 +0100 (CET) Original-To: bugs@gnus.org (The Gnus Bugfixing Girls + Boys) X-DCC-HP_X86_64_4CPU-Metrics: poseidon 1245; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new To: undisclosed-recipients:; Package: emacs,gnus ------------------ Original report follows ------------------ --=-=-= Gnus v5.13 GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-30 on turtle, modified by Debian 200 news.motzarella.org InterNetNews NNRP server INN 2.4.5 ready (posting ok). I'm experiencing painful, but not always reproducible problems with sending or previewing signed mails. Often I get an error "Sign failed" and a backtrace like this: ,---- | Debugger entered--Lisp error: (error "Sign failed") | signal(error ("Sign failed")) | byte-code("" [mml2015-epg-secret-key-id-list error password-cache-remove signal] 4) | mml2015-epg-sign((part (sign . "pgpmime") (tag-location . 186) (contents . "Nur ein Test.\n"))) | mml2015-sign((part (sign . "pgpmime") (tag-location . 186) (contents . "Nur ein Test.\n"))) | mml-pgpmime-sign-buffer((part (sign . "pgpmime") (tag-location . 186) (contents . "Nur ein Test.\n"))) | mml-generate-mime-1((part (sign . "pgpmime") (tag-location . 186) (contents . "Nur ein Test.\n"))) | mml-generate-mime() | message-encode-message-body() | mml-to-mime() | mml-preview(nil) | call-interactively(mml-preview nil nil) `---- If this happens during sending, the message actually is signed and sent, but no copy lands in my archive folder. :-( I'm using gpg-agent with pinentry-gtk2 for the passphrase. --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Description: User settings ------------------ Environment follows ------------------ (setq gnus-default-nntp-server "") (setq gnus-select-method '(nntp "news.gmane.org")) (setq gnus-update-message-archive-method t) (setq gnus-message-archive-group '((if (message-news-p) "news" "mail-2008"))) (setq gnus-secondary-select-methods '((nnfolder ""))) (setq gnus-novice-user nil) (setq gnus-summary-mode-hook '(gnus-agent-mode)) (setq gnus-newsgroup-maximum-articles 20000) (setq gnus-exit-gnus-hook '(gnus-agent-expire mm-destroy-postponed-undisplay-list)) (setq gnus-visible-headers "^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^F= ollowup-To:\\|^Reply-To:\\|^Organization:\\|^Summary:\\|^Keywords:\\|^To:\\= |^[BGF]?Cc:\\|^Posted-To:\\|^Mail-Copies-To:\\|^Mail-Followup-To:\\|^Appare= ntly-To:\\|^Gnus-Warning:\\|^Resent-From:\\|^X-Sent:\\|^User-Agent:\\|^X-Ma= iler:\\|Newsreader:\\|X-Newsreader:") (setq gnus-buttonized-mime-types '("multipart/alternative")) (setq gnus-treat-hide-boring-headers 'head) (setq gnus-treat-strip-trailing-blank-lines 'last) (setq gnus-init-file "~/.emacs.d/gnus-init.el") (setq gnus-setup-news-hook '(gnus-agent-queue-setup gnus-fixup-nnimap-unread-after-getting-new-n= ews)) (setq gnus-group-mode-hook '(gnus-agent-mode)) (setq gnus-message-setup-hook '((lambda nil (define-key (current-local-map) "\0304x" 'select-xface)))) (setq gnus-gcc-mark-as-read t) ;; (makeunbound 'gnus-topic-mode) ;; (makeunbound 'gnus-topic-mode-hook) ;; (makeunbound 'gnus-topic-line-format) ;; (makeunbound 'gnus-topic-indent-level) ;; (makeunbound 'gnus-topic-display-empty-topics) (setq gnus-server-mode-hook '(gnus-agent-mode)) (setq mm-charset-synonym-alist '((shift-jis . shift_jis) (ansi_x3\.4-1968 . us-ascii) (utf8 . utf-8) (ibm866 . cp866) (unicode . utf-16-le) (ks_c_5601-1987 . cp949) (windows-31j . cp932) (iso8859-1 . iso-8859-1))) (setq mm-auto-save-coding-system 'emacs-mule) (setq mm-coding-system-priorities '(iso-8859-1 utf-8 iso-2022-jp iso-2022-jp-2 shift_jis)) (setq mm-discouraged-alternatives '("image/.*" "text/html" "text/richtext" "text/enriched")) (setq nnmail-split-methods 'nnmail-split-fancy) (setq message-from-style 'angles) (setq message-subject-re-regexp "^[ ]*\\(\\([Rr][Ee]\\|[Aa][Ww]\\)\\(\\[[0= -9]*\\]\\)*:[ ]*\\)*[ ]*") (setq message-use-followup-to t) (setq message-subscribed-address-functions '(gnus-find-subscribed-addresses)) (setq message-subscribed-addresses '("debian-devel@lists.debian.org" "debian-dpkg@lists.debian.org" "deb= ian-emacsen@lists.debian.org" "debian-i18n@lists.debian.org" "debian-l10n-g= erman@lists.debian.org" "debian-legal@lists.debian.org" "debian-project@lis= ts.debian.org" "debian-user-german@lists.debian.org" "debian-user@lists.deb= ian.org")) (setq message-post-method '(nntp "news")) (setq message-setup-hook '(sj-message-switch-ispell-dictionary)) (setq message-mode-hook '(#[nil "\302\030\303 !)\207" [gnus-article-copy gnus-setup-message-group nil gnus-configure-posti= ng-styles] 2] #[nil "\302 \211\020\211\021\207" [message-mailer message-newsreader gnus-extended-version] 2])) (setq message-header-setup-hook '(gnus-inews-insert-archive-gcc gnus-inews-insert-gcc)) (setq message-citation-line-function 'message-insert-formatted-citation-lin= e) (setq message-citation-line-format "On %Y-%m-%d %R %z, %N wrote:\n") (setq message-cite-function 'message-cite-original) --=-=-=-- From cyd@stupidchicken.com Sat Feb 21 09:24:55 2009 Received: (at 2412) by emacsbugs.donarmstrong.com; 21 Feb 2009 17:24:55 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LHOnE8032466 for <2412@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 09:24:50 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 886B557E21A; Sat, 21 Feb 2009 12:25:46 -0500 (EST) From: Chong Yidong To: Daiki Ueno Cc: 2412@debbugs.gnu.org, Sven Joachim Subject: Re: spurious "Sign failed" errors Date: Sat, 21 Feb 2009 12:25:46 -0500 Message-ID: <87ab8fog6d.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi Daiki, This may be a bug in epg, could you take a look? This is Bug#2412 in the Emacs bug tracker. Thanks. Sven Joachim wrote: > Gnus v5.13 > GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) > of 2008-11-30 on turtle, modified by Debian > 200 news.motzarella.org InterNetNews NNRP server INN 2.4.5 ready > (posting ok). > I'm experiencing painful, but not always reproducible problems with > sending or previewing signed mails. Often I get an error "Sign failed" > and a backtrace like this: > ,---- > | Debugger entered--Lisp error: (error "Sign failed") > | signal(error ("Sign failed")) > | byte-code("" [mml2015-epg-secret-key-id-list error password-cache-remove signal] 4) > | mml2015-epg-sign((part (sign . "pgpmime") (tag-location . 186) (contents . "Nur ein Test.\n"))) > | mml2015-sign((part (sign . "pgpmime") (tag-location . 186) (contents . "Nur ein Test.\n"))) > | mml-pgpmime-sign-buffer((part (sign . "pgpmime") (tag-location . 186) (contents . "Nur ein Test.\n"))) > | mml-generate-mime-1((part (sign . "pgpmime") (tag-location . 186) (contents . "Nur ein Test.\n"))) > | mml-generate-mime() > | message-encode-message-body() > | mml-to-mime() > | mml-preview(nil) > | call-interactively(mml-preview nil nil) > `---- > > If this happens during sending, the message actually is signed and sent, > but no copy lands in my archive folder. :-( > > I'm using gpg-agent with pinentry-gtk2 for the passphrase. From daiki.ueno@gmail.com Sat Feb 21 12:40:27 2009 Received: (at 2412) by emacsbugs.donarmstrong.com; 21 Feb 2009 20:40:27 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.191]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LKeOJk018388 for <2412@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 12:40:25 -0800 Received: by ti-out-0910.google.com with SMTP id 28so1151664tif.1 for <2412@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 12:40:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :references:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=ImpgdpZIXtm3Ztq+MQzNqt99Aza183HP8u6ZtVRPODg=; b=G8rM00UeAs88T4nc5BWPlkIaZmSj3pKg9xrjfOadTBnUiWbku+HGnQOjqIQBgaAPGm o4AA/ddznmdzEodKHV1ILBoH1XnWXo+cASEJN8A5QZ/Bzw6zVMSsaNZnGBR9xn0F0jKJ 93bAtCnTiuLwUvISXNr1Zo9AfsJhQ4L3utrHo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=Fwl6eGJwcpwL3P9npoks9+TLkNfo3++bO9b55w1/GrogkkyojNwp3trXl1wkRTNJKW idjZv2EetsDsAonqfbJiMSeydXYQXQ/CbjAAWw1md9YI1MiJoaNBkSywqcEsT0BLGmvX JyW3CTPB05GdVv46zrO9+KZ5HVVFkGsHiubb4= Received: by 10.110.90.9 with SMTP id n9mr3128742tib.25.1235248823520; Sat, 21 Feb 2009 12:40:23 -0800 (PST) Received: from broken (g187018.scn-net.ne.jp [202.83.187.18]) by mx.google.com with ESMTPS id y3sm2324992tia.3.2009.02.21.12.40.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Feb 2009 12:40:22 -0800 (PST) Sender: Daiki Ueno From: Daiki Ueno To: Chong Yidong Cc: 2412@debbugs.gnu.org, Sven Joachim Subject: Re: bug#2412: spurious "Sign failed" errors References: <87ab8fog6d.fsf@cyd.mit.edu> Date: Sun, 22 Feb 2009 05:40:18 +0900 In-Reply-To: <87ab8fog6d.fsf@cyd.mit.edu> (Chong Yidong's message of "Sat, 21 Feb 2009 12:25:46 -0500") Message-ID: <87bpsva5hp.fsf@broken.deisui.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Chong Yidong writes: > Hi Daiki, > > This may be a bug in epg, could you take a look? This is Bug#2412 in > the Emacs bug tracker. Thanks. Thanks for noticing this. > Sven Joachim wrote: >> | Debugger entered--Lisp error: (error "Sign failed") >> | signal(error ("Sign failed")) >> | byte-code("" [mml2015-epg-secret-key-id-list error password-cache-remove signal] 4) >> | mml2015-epg-sign((part (sign . "pgpmime") (tag-location . 186) (contents . "Nur ein Test.\n"))) It looks like epg is signalling the error. Sven, could you please try (setq epg-debug t) and show me the contents of " *epg-debug*" buffer next time you see the error? Regards, -- Daiki Ueno From cyd@stupidchicken.com Wed Apr 15 21:25:44 2009 Received: (at 2412) by emacsbugs.donarmstrong.com; 16 Apr 2009 04:25:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3G4PfH7022958 for <2412@emacsbugs.donarmstrong.com>; Wed, 15 Apr 2009 21:25:42 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id F322557E245; Thu, 16 Apr 2009 00:27:29 -0400 (EDT) From: Chong Yidong To: Sven Joachim Cc: 2412@debbugs.gnu.org Subject: Re: spurious "Sign failed" errors Date: Thu, 16 Apr 2009 00:27:29 -0400 Message-ID: <87fxg9xlxq.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi Sven, Are you still experiencing these problems? If so, please do as Daiki requested: > could you please try (setq epg-debug t) and show me the contents of > " *epg-debug*" buffer next time you see the error? From svenjoac@gmx.de Thu Apr 16 11:57:00 2009 Received: (at 2412) by emacsbugs.donarmstrong.com; 16 Apr 2009 18:57:00 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n3GIuq8w008026 for <2412@emacsbugs.donarmstrong.com>; Thu, 16 Apr 2009 11:56:54 -0700 Received: (qmail invoked by alias); 16 Apr 2009 18:56:46 -0000 Received: from p54864843.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.72.67] by mail.gmx.net (mp008) with SMTP; 16 Apr 2009 20:56:46 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1/8TYhXpQj8Ie0FkrDDLn4hOKtNLHnw3NRIgXYAdH ljdgMffZCKfInr Received: by turtle.gmx.de (Postfix, from userid 1000) id C2388354AF; Thu, 16 Apr 2009 20:56:50 +0200 (CEST) From: Sven Joachim To: Chong Yidong Cc: 2412@debbugs.gnu.org, Daiki Ueno Subject: Re: spurious "Sign failed" errors References: <87fxg9xlxq.fsf@cyd.mit.edu> Date: Thu, 16 Apr 2009 20:56:50 +0200 In-Reply-To: <87fxg9xlxq.fsf@cyd.mit.edu> (Chong Yidong's message of "Thu, 16 Apr 2009 00:27:29 -0400") Message-ID: <87r5zsbf65.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53 On 2009-04-16 06:27 +0200, Chong Yidong wrote: > Hi Sven, > > Are you still experiencing these problems? Sorry for not replying sooner. Yes, they still persist. :-( > If so, please do as Daiki requested: > >> could you please try (setq epg-debug t) and show me the contents of >> " *epg-debug*" buffer next time you see the error? Looks innocent enough to me: ,---- | gpg --no-tty --status-fd 1 --yes --use-agent --command-fd 0 --armor --textmode --output /tmp/epg-output2077H-b --detach-sign | [GNUPG:] USERID_HINT ECB679C787E9AABE Sven Joachim (Debian User) | [GNUPG:] NEED_PASSPHRASE ECB679C787E9AABE ECB679C787E9AABE 17 0 | [GNUPG:] GOOD_PASSPHRASE | [GNUPG:] BEGIN_SIGNING | [GNUPG:] SIG_CREATED D 17 2 01 1239906974 9AACBC0C69283380715D3788ECB679C787E9AABE | gpg --no-tty --status-fd 1 --yes --use-agent --command-fd 0 --armor --textmode --output /tmp/epg-output2077UIi --detach-sign | [GNUPG:] USERID_HINT ECB679C787E9AABE Sven Joachim (Debian User) | [GNUPG:] NEED_PASSPHRASE ECB679C787E9AABE ECB679C787E9AABE 17 0 | [GNUPG:] GOOD_PASSPHRASE | [GNUPG:] BEGIN_SIGNING | [GNUPG:] SIG_CREATED D 17 2 01 1239906984 9AACBC0C69283380715D3788ECB679C787E9AABE `---- IIRC, the first try did show the preview of the test mail, the second one gave the "Sign failed" error. Sven From daiki.ueno@gmail.com Sat May 2 22:43:47 2009 Received: (at 2412) by emacsbugs.donarmstrong.com; 3 May 2009 05:43:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=HAS_BUG_NUMBER, IMPRONONCABLE_2,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n435hiGp022218 for <2412@emacsbugs.donarmstrong.com>; Sat, 2 May 2009 22:43:45 -0700 Received: by wf-out-1314.google.com with SMTP id 28so2522489wfa.13 for <2412@emacsbugs.donarmstrong.com>; Sat, 02 May 2009 22:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :references:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=LEbn+iHvkHsZqjpKKpiy/TU2LqZSI0WqLVr/MXe9p4s=; b=K97364dGRShtzjIxpL61uum9cwBU8+14pPM9Y4l117AuGKjqP/Ppqq5cu3JAN8MatH /jr1z0YD4ccH/k/XX1cCvS44Nz16G0Aqaxd5L35uqYK+DXinvE3EFFv7Kf/AjNkDHnbg HxsAVOJ5Y6go/SBQfvQ1OEXFd6itWBM5HqQXw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=JelOUreH02TqI9xEzvodLQ7KvVmzfp0lQyrv2zE6EktTVXsFLnplFyxEdUOCiM+D6M h6yUnPpraWDZ5IfVfLGw5qR5Jyd2+896bSxmxeO2GjPUQTdKfprsr43YWn83ScTRVjKJ HpDw4nB/nOlxSqnDhWkEDWkRd/M2Vhl2MjDSQ= Received: by 10.142.222.19 with SMTP id u19mr1710536wfg.87.1241329423619; Sat, 02 May 2009 22:43:43 -0700 (PDT) Received: from broken (g187018.scn-net.ne.jp [202.83.187.18]) by mx.google.com with ESMTPS id 30sm9731335wfc.38.2009.05.02.22.43.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 02 May 2009 22:43:42 -0700 (PDT) Sender: Daiki Ueno From: Daiki Ueno To: Sven Joachim Cc: 2412@debbugs.gnu.org, Chong Yidong Subject: Re: bug#2412: spurious "Sign failed" errors References: <87fxg9xlxq.fsf@cyd.mit.edu> <87r5zsbf65.fsf@turtle.gmx.de> Date: Sun, 03 May 2009 14:43:42 +0900 In-Reply-To: <87r5zsbf65.fsf@turtle.gmx.de> (Sven Joachim's message of "Thu, 16 Apr 2009 20:56:50 +0200") Message-ID: <87ab5uspv5.fsf@broken.deisui.org> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Hi, Sven Joachim writes: >>> could you please try (setq epg-debug t) and show me the contents of >>> " *epg-debug*" buffer next time you see the error? > Looks innocent enough to me: > | [GNUPG:] SIG_CREATED D 17 2 01 1239906974 9AACBC0C69283380715D3788ECB679C787E9AABE > | [GNUPG:] SIG_CREATED D 17 2 01 1239906984 9AACBC0C69283380715D3788ECB679C787E9AABE Thanks. It looks innocent for me too, but now I can suspect a timing problem. Could you please try the patch attached below? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=epg.el.diff diff --git a/lisp/epg.el b/lisp/epg.el index e96258f..3c80ef9 100644 --- a/lisp/epg.el +++ b/lisp/epg.el @@ -1175,7 +1175,8 @@ This function is for internal use only." (defun epg-wait-for-completion (context) "Wait until the `epg-gpg-program' process completes." (while (eq (process-status (epg-context-process context)) 'run) - (accept-process-output (epg-context-process context) 1))) + (accept-process-output (epg-context-process context) 1)) + (sleep-for 0.1)) (defun epg-reset (context) "Reset the CONTEXT." --=-=-= Regards, -- Daiki Ueno --=-=-=-- From svenjoac@gmx.de Sun May 3 03:33:39 2009 Received: (at 2412) by emacsbugs.donarmstrong.com; 3 May 2009 10:33:39 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=HAS_BUG_NUMBER, IMPRONONCABLE_2,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n43AXY2S008911 for <2412@emacsbugs.donarmstrong.com>; Sun, 3 May 2009 03:33:36 -0700 Received: (qmail invoked by alias); 03 May 2009 10:33:28 -0000 Received: from p5486780B.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.120.11] by mail.gmx.net (mp015) with SMTP; 03 May 2009 12:33:28 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1+8phNcN5G8Og0iBXN3K5SShupLzBGeJoQZYTOWQt xHbrBkapF37qvV Received: by turtle.gmx.de (Postfix, from userid 1000) id A0E8E354AF; Sun, 3 May 2009 12:33:30 +0200 (CEST) From: Sven Joachim To: Daiki Ueno Cc: 2412@debbugs.gnu.org, Chong Yidong Subject: Re: bug#2412: spurious "Sign failed" errors References: <87fxg9xlxq.fsf@cyd.mit.edu> <87r5zsbf65.fsf@turtle.gmx.de> <87ab5uspv5.fsf@broken.deisui.org> Date: Sun, 03 May 2009 12:33:30 +0200 In-Reply-To: <87ab5uspv5.fsf@broken.deisui.org> (Daiki Ueno's message of "Sun, 03 May 2009 14:43:42 +0900") Message-ID: <87eiv6pjb9.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 On 2009-05-03 07:43 +0200, Daiki Ueno wrote: > Sven Joachim writes: > >>>> could you please try (setq epg-debug t) and show me the contents of >>>> " *epg-debug*" buffer next time you see the error? > >> Looks innocent enough to me: > >> | [GNUPG:] SIG_CREATED D 17 2 01 1239906974 9AACBC0C69283380715D3788ECB679C787E9AABE >> | [GNUPG:] SIG_CREATED D 17 2 01 1239906984 9AACBC0C69283380715D3788ECB679C787E9AABE > > Thanks. It looks innocent for me too, but now I can suspect a timing > problem. Could you please try the patch attached below? > > > diff --git a/lisp/epg.el b/lisp/epg.el > index e96258f..3c80ef9 100644 > --- a/lisp/epg.el > +++ b/lisp/epg.el > @@ -1175,7 +1175,8 @@ This function is for internal use only." > (defun epg-wait-for-completion (context) > "Wait until the `epg-gpg-program' process completes." > (while (eq (process-status (epg-context-process context)) 'run) > - (accept-process-output (epg-context-process context) 1))) > + (accept-process-output (epg-context-process context) 1)) > + (sleep-for 0.1)) > > (defun epg-reset (context) > "Reset the CONTEXT." That seems to do the trick. At least, I had no problem in ~15 attempts to preview/send signed messages, whereas without your patch the "Sign failed" error would happen about every second time. Cheers, Sven From daiki.ueno@gmail.com Sun May 3 15:36:55 2009 Received: (at 2412-done) by emacsbugs.donarmstrong.com; 3 May 2009 22:36:55 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n43Maowf030907 for <2412-done@emacsbugs.donarmstrong.com>; Sun, 3 May 2009 15:36:51 -0700 Received: by wf-out-1314.google.com with SMTP id 28so2810430wfa.13 for <2412-done@emacsbugs.donarmstrong.com>; Sun, 03 May 2009 15:36:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :references:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=LpjRlM9J+k/B72ehz4l5uqpW2CNCs/BXC1uE4GG9UD0=; b=EIzjI47BWapgq7bfX+JlPZIfUDZupIagJJmlpsGVoKEYpdSeg4ErcTMS9YADTbHJ8r bva/oJfS0BfVqp3kvkTpG40mxFhjWjtfsM4gWbj/l1hFOYzmmYUw2z+cR38iPxgN+tL5 Ac3l9iw0SWHAfdyo1FbEDZ8l8G4c5veBe6YGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=Ea7BO+Uy3YINEn6BRoJ/9nbtcscElNdWbAJ5/PGc01BdLzALA4RgwX4Zm7PlVfdsZx lEaNjku62XZcBmEstnuCiqRHArc/zysAUMq6yM8O27u7ISNcy4i/C5m6kw+uFaWbZ596 F/V8OGhTxCi0Ef142XE/wiG8WYa2BGfif7d9Y= Received: by 10.142.88.4 with SMTP id l4mr1824410wfb.334.1241390210276; Sun, 03 May 2009 15:36:50 -0700 (PDT) Received: from broken (g187018.scn-net.ne.jp [202.83.187.18]) by mx.google.com with ESMTPS id 24sm11478664wfc.17.2009.05.03.15.36.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 03 May 2009 15:36:49 -0700 (PDT) Sender: Daiki Ueno From: Daiki Ueno To: Sven Joachim Cc: 2412-done@debbugs.gnu.org, Chong Yidong Subject: Re: bug#2412: spurious "Sign failed" errors References: <87fxg9xlxq.fsf@cyd.mit.edu> <87r5zsbf65.fsf@turtle.gmx.de> <87ab5uspv5.fsf@broken.deisui.org> <87eiv6pjb9.fsf@turtle.gmx.de> Date: Mon, 04 May 2009 07:36:48 +0900 In-Reply-To: <87eiv6pjb9.fsf@turtle.gmx.de> (Sven Joachim's message of "Sun, 03 May 2009 12:33:30 +0200") Message-ID: <87zldt4xvj.fsf@broken.deisui.org> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sven Joachim writes: >> - (accept-process-output (epg-context-process context) 1))) >> + (accept-process-output (epg-context-process context) 1)) >> + (sleep-for 0.1)) > > That seems to do the trick. At least, I had no problem in ~15 attempts > to preview/send signed messages, whereas without your patch the "Sign > failed" error would happen about every second time. Thanks for testing. I've checked in the patch. Regards, -- Daiki Ueno From cyd@stupidchicken.com Sun May 3 18:02:55 2009 Received: (at 2412-done) by emacsbugs.donarmstrong.com; 4 May 2009 01:02:55 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4412q7I007034 for <2412-done@emacsbugs.donarmstrong.com>; Sun, 3 May 2009 18:02:53 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id CD0CB57E246; Sun, 3 May 2009 21:02:58 -0400 (EDT) From: Chong Yidong To: Daiki Ueno Cc: Sven Joachim , 2412-done@debbugs.gnu.org Subject: Re: bug#2412: spurious "Sign failed" errors References: <87fxg9xlxq.fsf@cyd.mit.edu> <87r5zsbf65.fsf@turtle.gmx.de> <87ab5uspv5.fsf@broken.deisui.org> <87eiv6pjb9.fsf@turtle.gmx.de> <87zldt4xvj.fsf@broken.deisui.org> Date: Sun, 03 May 2009 21:02:58 -0400 In-Reply-To: <87zldt4xvj.fsf@broken.deisui.org> (Daiki Ueno's message of "Mon, 04 May 2009 07:36:48 +0900") Message-ID: <877i0xptml.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Daiki Ueno writes: > Thanks for testing. I've checked in the patch. Please add a prominent comment about why this change was done. Future changes to accept-process-output may make it unnecessary. Thanks. From unknown Sun Jun 22 08:11:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Mon, 01 Jun 2009 14:24:10 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From ueno@unixuser.org Tue Jul 28 04:17:59 2009 Received: (at control) by emacsbugs.donarmstrong.com; 28 Jul 2009 11:18:00 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.4 required=4.0 tests=AWL,MISSING_SUBJECT,NOSUBJECT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from ivory4.scn-net.ne.jp (ivory4.scn-net.ne.jp [219.117.176.192]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n6SBHtdd020539 for ; Tue, 28 Jul 2009 04:17:57 -0700 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Tue, 28 Jul 2009 20:17:53 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id n6SBHr8l025399 for ; Tue, 28 Jul 2009 20:17:53 +0900 Received: from 221x255x76x222.ap221.ftth.ucom.ne.jp ([221.255.76.222] helo=chilled) by well-done.deisui.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1MVkgr-0000yy-Ad for control@emacsbugs.donarmstrong.com; Tue, 28 Jul 2009 20:17:53 +0900 From: Daiki Ueno To: control@debbugs.gnu.org Date: Tue, 28 Jul 2009 20:17:46 +0900 Message-ID: <172c4c98-6731-465d-a96f-9b2e3a1ad4f2@broken.deisui.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.96 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii unarchive 2412 reopen 2412 merge 2412 3953 thanks From cyd@stupidchicken.com Mon Aug 10 21:47:57 2009 Received: (at control) by emacsbugs.donarmstrong.com; 11 Aug 2009 04:47:57 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.7 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7B4luGu016127 for ; Mon, 10 Aug 2009 21:47:57 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 3285457E275; Tue, 11 Aug 2009 00:48:50 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: process bugs Date: Tue, 11 Aug 2009 00:48:50 -0400 Message-ID: <878whrarbh.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii close 535 tags 850 + unreproducible moreinfo close 882 close 1124 tags 1490 + wontfix close 1493 close 1583 tags 1591 + unreproducible moreinfo tags 1642 + unreproducible moreinfo close 2412 close 2445 close 2614 reassign 4098 spam reassign 4099 spam reassign 4104 spam reassign 4105 spam reassign 4106 spam reassign 4111 spam thanks From unknown Sun Jun 22 08:11:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Wed, 26 Aug 2009 12:00:06 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From cyd@stupidchicken.com Sat Nov 7 10:39:29 2009 Received: (at control) by emacsbugs.donarmstrong.com; 7 Nov 2009 18:39:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.4 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po27.its.yale.edu (pantheon-po27.its.yale.edu [130.132.50.122]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA7IdRqv025180 for ; Sat, 7 Nov 2009 10:39:28 -0800 Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po27.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id nA7IdLdS032765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 7 Nov 2009 13:39:22 -0500 Received: by furry (Postfix, from userid 1000) id D7182C070; Sat, 7 Nov 2009 13:39:21 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 2412 Date: Sat, 07 Nov 2009 13:39:21 -0500 Message-ID: <87hbt6ch7q.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) close 2412 thanks From unknown Sun Jun 22 08:11:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 06 Dec 2009 15:24:13 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator