From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: DekuDekuplex@Yahoo.com (Benjamin L. Russell) Newsgroups: gmane.emacs.bugs Subject: bug#8689: 23.3; Gnus v5.13 freezes upon invocation of default STARTTLS in SMTP in GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) on Windows XP Professional, Service Pack 3 Date: Wed, 18 May 2011 10:15:14 +0900 Message-ID: <82liy4erml.fsf@Yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1305681374 2490 80.91.229.12 (18 May 2011 01:16:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 May 2011 01:16:14 +0000 (UTC) To: 8689@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 18 03:16:10 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 1QMVMv-0002M3-Qd for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 May 2011 03:16:10 +0200 Original-Received: from localhost ([::1]:60633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMVMv-0006aN-95 for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 May 2011 21:16:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMVMq-0006Wl-C9 for bug-gnu-emacs@gnu.org; Tue, 17 May 2011 21:16:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMVMo-0001YT-RQ for bug-gnu-emacs@gnu.org; Tue, 17 May 2011 21:16:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMVMo-0001YP-OP for bug-gnu-emacs@gnu.org; Tue, 17 May 2011 21:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QMVMo-0007IV-8L; Tue, 17 May 2011 21:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: DekuDekuplex@Yahoo.com (Benjamin L. Russell) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 May 2011 01:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8689 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.130568136128044 (code B ref -1); Wed, 18 May 2011 01:16:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 May 2011 01:16:01 +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 1QMVMm-0007ID-R4 for submit@debbugs.gnu.org; Tue, 17 May 2011 21:16:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QMVMj-0007I2-Tw for submit@debbugs.gnu.org; Tue, 17 May 2011 21:15:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMVMd-0001Xs-3z for submit@debbugs.gnu.org; Tue, 17 May 2011 21:15:52 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:56218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMVMd-0001Xo-1f for submit@debbugs.gnu.org; Tue, 17 May 2011 21:15:51 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMVMb-0006WX-GP for bug-gnu-emacs@gnu.org; Tue, 17 May 2011 21:15:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMVMW-0001WP-Mr for bug-gnu-emacs@gnu.org; Tue, 17 May 2011 21:15:49 -0400 Original-Received: from smtp104.prem.mail.sp1.yahoo.com ([98.136.44.59]:23463) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QMVMW-0001Vu-Ag for bug-gnu-emacs@gnu.org; Tue, 17 May 2011 21:15:44 -0400 Original-Received: (qmail 58431 invoked from network); 18 May 2011 01:15:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1305681343; bh=uZ5u7K88CR8UUXFjDetBXrj+h4n50g5xpEKeLR20uf0=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Zs047mjsqNJCefUrZ47MJbRmMlXY500pWV6e9LImO6XsZGpccrEovNC+TpoVN3sJKqkDMiyClXT5kWXq11++P0EIjqj3bReCdaDO1zro0G04q5QQH4IVqossdMaGPN0AJqHmc7o7nUF2rrMRLEJJBPsAzFod8WpwZuigtcr6o4U= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=Yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=qOZzXgwmTH3DmUlQK8T4l4cYql5y84Olry1ORXyEFeGX2FAUf+L7Cc7gnCuosmr1rzVfVK0QT62OUg/05iKiszsIxjlyUM01t2WRfoicVSWEREFHCooIivdwQVdMQzcvHAog2omXdDX1G3KE+W9Z38JuPbFXUdq7Oh2p4KkIOoA= ; Original-Received: from KENSYUU10 (DekuDekuplex@114.164.163.107 with plain) by smtp104.prem.mail.sp1.yahoo.com with SMTP; 17 May 2011 18:15:42 -0700 PDT X-Yahoo-SMTP: joEOOleswBDhV4Y3RgA0f3E9Tsta5wNyRw-- X-YMail-OSG: ovRP2_8VM1m5TXPLs9OZsIJXYwcjMujVZ.sj8gqI1Z1W36C W2nmqelyd1pS.9rmo8qsnt_0X7cqXSVmuExjcGjsXB4NzZlrYCYt7H0futP9 Kfoi79Xil_lTmgNMv1WdSIMkno2tZCN8bwYjGShMr4JaG_GZMseBOvE1uvr0 S9K9pyeMW9HmLk1.juqfAEZd4YejtnWCHPI1pPKJOkKUmODfygYpRDcmoKJs lvB0vBMJ6eo8ud3B_HR5JENOftWpSjMlyMVzTEtnQ9xBdLLcac7fgDMW0Gpn lgv7ZPfx9audt7UFZLSZyy5hXrFskG2Lw6jwybUBKK8SRm5ZZVLBCsswcpMb ATfewPUzTgpPS9E3K6NVpYqVvFZ7XCwTIVCWraO6oQPGXRrQM8kQ59pHoxWo fFGpgQ6iogw3cYj2ECSNd8eZM_5JC01MAK0JK62bnk3D0kTnCrGhr2x2uv9A XSRS0INCDqREiAmYLhqpYfAewqO57J40pwltIPq.UON63EhTwWjX6tqbaX2u FBjGscUODwxgkYr7j6YnKwUaSIWU6mHme4hNhw2Dd0on9SeIVrO5Q0i3AdAl cRiKRLKqAYqQQIcg4.kRZhwHtH_V7xams0.CrV_lDLvzdWma5yQqUoXi.utL AOM0nFwQjCHnDBKm_yVtPbXV4ZEnXf3t9yZehfNUDvSEzMIhYabak7rD5B_Q eWZ6vDG8vFu9Vtwg7kTHuBjWQ_Gldxwp7X2vG8BPYbTZc.1oWI9HfWR8JkPZ 2KYpAoKd5 X-Yahoo-Newman-Property: ymail-3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 17 May 2011 21:16: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:46536 Archived-At: Previously, I had thought that the default STARTTLS configuration file (C:\emacs\emacs-23.3\lisp\gnus\starttls.el) worked when invoking the STARTTLS file in sending a message via the SMTP protocol; however, yesterday I discovered that apparently my GNU Emacs 23.3.1 installation had been using a modified STARTTLS configuration file from the older GNU Emacs 23.2.1 version within the same C:\emacs directory when Gnus started freezing every time in SMTP upon invocation of STARTTLS immediately after I moved the older versions of Emacs to a different directory. The bug itself was partially resolved when I followed the following steps (modified with the portions in brackets added by myself) by Uday Reddy on 2010-04-26 on "Question #108267 : Questions : VM" (see https://answers.launchpad.net/vm/+question/108267) in editing my C:\emacs\emacs-23.3\lisp\gnus\starttls.el file: 1. Added [immediately before the (defun starttls-negotiate-gnutls ...) command in my C:\emacs\emacs-23.3\lisp\gnus\starttls.el file]: (defcustom starttls-kill-program "c:\\cygwin\\bin\\kill" "External kill command to send SIGALRM to starttls." :group 'starttls) 2. Replaced all three instances of: (signal-process (process-id process) 'SIGALRM) with (call-process starttls-kill-program nil nil nil "-ALRM" (format "%d" (process-id process))) [3. Byte-compiled the modified C:\emacs\emacs-23.3\lisp\gnus\starttls.el file with the B (i.e., SHIFT-b) command.] Now Gnus sometimes seems to invoke STARTTLS successfully upon sending a copy of a post via SMTP without freezing; however, when I first tried to send this bug report, Gnus again froze upon invocation of STARTTLS in SMTP again, and I had to unfreeze Gnus with C-g. This freezing phenomenon apparently happens, on average, approximately once in every five SMTP invocation attempts when sending a copy of an NNTP post to myself via SMTP. I downloaded my copy of GNU Emacs 23.3.1 from http://ftp.gnu.org/gnu/windows/emacs/emacs-23.3-bin-i386.zip. It is extremely inconvenient to have to re-send my SMTP message once in every few attempts because of a freeze during the STARTTLS protocol. Here is the corresponding output of my *Messages* buffer: > Sending... > Sending via mail... > Opening STARTTLS connection to `plus.smtp.mail.yahoo.com:587'...done > Quit As can be seen in the above, Gnus occasionally freezes immediately after displaying "Opening STARTTLS connection to `plus.smtp.mail.yahoo.com:587'...done" in the minibuffer. Normally, at this stage, Gnus proceeds to the next step and requests my SMTP password, but occasionally freezes immediately before this step; when this happens, the only way to escape is to type C-g. The following procedure reproduces this bug: 1. Invoke Emacs in Windows XP Professional, Service Pack 3, by double-clicking on C:\emacs\emacs-23.3\bin\runemacs.exe. 2. Within Emacs, type the following command: > M-x gnus RET 3. Within Gnus, subscribe (if not already subscribed) to the news.test newsgroup. 4. Within Gnus, type the following command to post a new message: > a 5. Compose a test message, with subject, say, "test," and subject body, say "test." 6. Send the message with the following command: > C-c C-c 7. Once in approximately every five attempts, Gnus will freeze immediately after displaying "Opening STARTTLS connection to `plus.smtp.mail.yahoo.com:587'...done" in the minibuffer. Normally, at this stage, Gnus will proceed to the next step and request an SMTP password (if one is required and not specified in the ~/.authinfo file); however, Gnus occasionally freezes immediately before then; when this happens, the only way to escape is to type C-g. In GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/imagesupport/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: JPN value of $XMODIFIERS: nil locale-coding-system: cp932 default enable-multibyte-characters: t Major mode: Message Minor modes in effect: mml-mode: t show-paren-mode: t recentf-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: r SPC C-e SPC C-d v e r s i o n SPC C-e SPC C-d C-e SPC C-d C-e SPC . 1 C-c C-c y e s C-a C-SPC C-v C-v C-v w C-g < C-SPC C-e w Recent messages: Auto-saving...done Auto-saving...done Sending... Sending via mail... Opening STARTTLS connection to `plus.smtp.mail.yahoo.com:587'...done Quit Mark set Saved text from "Previously, I had thought that the defau" Quit Mark set [2 times] Load-path shadows: None found. Features: (apropos help-mode view shadow emacsbug gnus-fun starttls mailalias smtpmail newcomment nnfolder sort gnus-cite smiley ansi-color mail-extr gnus-bcklg gnus-async gnus-ml multi-isearch gnus-salt gnus-topic nndoc parse-time timezone byte-opt bytecomp byte-compile nnml nndraft nnmh auth-source gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime dig nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source format-spec gnus-start gnus-spec gnus-int gnus-range message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev gmm-utils mailheader canlock sha1 hex-util hashcash gnus-win gnus gnus-ems nnheader gnus-util netrc time-date mail-utils mm-util mail-prsvr eldoc palette eyedropper derived hexrgb paren advice help-fns advice-preload color-theme edmacro kmacro sendmail reporter browse-url hippie-exp comint ring mouse-sel thingatpt recentf tree-widget wid-edit easymenu dired regexp-opt cl cl-19 japan-util tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) -- Benjamin L. Russell / DekuDekuplex at Yahoo dot com http://dekudekuplex.wordpress.com/ Translator/Interpreter / Mobile: +011 81 90-6526-1406 "Furuike ya, kawazu tobikomu mizu no oto." -- Matsuo Basho^