GNU logs - #29735, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29735: 27.0.50; It must be possible to suspend all timers
Resent-From: Michael Albinus <michael.albinus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 16 Dec 2017 15:32:02 +0000
Resent-Message-ID: <handler.29735.B.15134383187449 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 29735
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 29735 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.15134383187449
          (code B ref -1); Sat, 16 Dec 2017 15:32:02 +0000
Received: (at submit) by debbugs.gnu.org; 16 Dec 2017 15:31:58 +0000
Received: from localhost ([127.0.0.1]:37504 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eQERN-0001vx-Ar
	for submit <at> debbugs.gnu.org; Sat, 16 Dec 2017 10:31:57 -0500
Received: from eggs.gnu.org ([208.118.235.92]:54949)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1eQERK-0001vk-Nw
 for submit <at> debbugs.gnu.org; Sat, 16 Dec 2017 10:31:51 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <michael.albinus@HIDDEN>) id 1eQERD-0007mU-Rj
 for submit <at> debbugs.gnu.org; Sat, 16 Dec 2017 10:31:45 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:55654)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <michael.albinus@HIDDEN>)
 id 1eQERD-0007m1-Ni
 for submit <at> debbugs.gnu.org; Sat, 16 Dec 2017 10:31:43 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45903)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <michael.albinus@HIDDEN>) id 1eQERB-0006Vm-Sa
 for bug-gnu-emacs@HIDDEN; Sat, 16 Dec 2017 10:31:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <michael.albinus@HIDDEN>) id 1eQER7-0007WX-QT
 for bug-gnu-emacs@HIDDEN; Sat, 16 Dec 2017 10:31:41 -0500
Received: from mout.gmx.net ([212.227.17.20]:61880)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <michael.albinus@HIDDEN>)
 id 1eQER7-0007R2-Fd
 for bug-gnu-emacs@HIDDEN; Sat, 16 Dec 2017 10:31:37 -0500
Received: from detlef.gmx.de ([212.86.40.135]) by mail.gmx.com (mrgmx102
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MZwYd-1ejGSP1L4B-00Lnnq for
 <bug-gnu-emacs@HIDDEN>; Sat, 16 Dec 2017 16:31:34 +0100
From: Michael Albinus <michael.albinus@HIDDEN>
Date: Sat, 16 Dec 2017 16:31:23 +0100
Message-ID: <878te28zas.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:NDnQa98frEj4jfGmrOJ3Bd9zUKaIux4Cd+ittnPXI8iX5BZNtIb
 WZSfaeADs5xi47TUcGOdd2ryjdiF2/m9uP2+FI05QN3wWe9DAFfXth5x+1azejKUu2cC4SQ
 Q9JfWkcJ6L8J9MRpwjgaPkN2qmslRsD/arRqGoz3SmYDfJnm/kmC1jm80tb9PO9qltoQRmX
 6PlwYiZxDCHnIuKAkI1DA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:XJZFC3zaKVQ=:P+RwjGVmfp2bvEqzqOI2po
 I9m31XPVeGqUh39U6Jsdx15+RiTP9fOK5RFtb+By+KFMuA9am1XVF6Z/kF9JB2UkFUzEUeH0H
 8dDWaHsLMUEx5t2AQAdG7LXND2zPpj25bAOtcfElhhC8w1r1NfEr1fLkO7oaD3sWe1MrfsoVg
 JmCMW6REjgOJNLB8Ep+Er6rKnCYfwSVO1A6S9qQe0tsiSN4DlVKguhQdK387xFM3oxi/pft4o
 V5kVxBidPL6sxiLEQtg7k5lCGh+hpggIfDO+C5x5ss/TtRwGkzhXHJWSOMmug7aJ4N3NpmQZs
 2hLxUlm8Qnk9Xhytci3lLEHQDxjOVvrvS/nnHNzJcG7lU9B/FmQY6KoNxje6z6DmXKOB/ev47
 vf/HyFCYkj8gApe8/LBWU0/OQNZ5eYs4O7x0eztgX9hNiKLv2+f9BOlHurtsQ9fIk2vJRg3BB
 RFC58grIRE9/zNpAjDeN1FKbZaR/1aLhxelv8/XhHA0jsfP2jyTQG+EH0cJDk/XqHysI0CcDG
 CsZNnV+ueSVDcMN/Rrdf9Z6yGHycjESSMU1AhVdKjfweEx4x4vYAVaQUWmgQIgSR7Ui8vL+r0
 dQ2BM/LgB+eUeaxFT9ITbu5YXrhmQL0LLNJOjHMbp4rOnTDHrOdee3reUbIAf48Zm++NB9ctF
 LLPsvVcwEyWxgWk2hYTPuJYF9mM6HigW08HfKPT0xDfSNnPAU+Kp5vysu0kugJzblWdnAQpt4
 DQDkObYQ7KSGMJfkPoFFbjK5fTlkYzYn/j690ZLzkwPoOk8Du/K48wpuJcO5OMQp2pAzQwoHs
 UdIfuRBHdGCf4SjNHQIeCDOFTMXTjwUFHHiCOpARtBqBA39m3ypkmWO7VZ7ocz/6oSpTEAr
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)


In Tramp's start-file-process implementations, there are code segments
which must be guaranteed not to be interrupted by timers. Tramp
implements this as

(let (timer-list timer-idle-list) ...)

but this is just a hack. Inside these code segments, it must still be
possible for Tramp to activate own timers, in order to handle process
output from remote side robustly.


In GNU Emacs 27.0.50 (build 41, x86_64-pc-linux-gnu, GTK+ Version 3.22.25)
 of 2017-12-16 built on detlef
Repository revision: f63d9f86b5688ac84ec6e7eecdbb6cac103dbcf2
Windowing system distributor 'The X.Org Foundation', version 11.0.11905000
System Description: Ubuntu 17.10

Recent messages:
Opening nntp server on news...done
Opening connection to imap.gmx.net via tls...
Opening connection to imap.gmx.net...done
Opening connection to outlook.office365.com via tls...
Reading active file via nnml...
Reading incoming mail from pop...
nnml: Reading incoming mail (no new mail)...done
Reading active file via nnml...done
Reading active file via nndraft...done
Checking new news...done

Configured using:
 'configure --with-file-notification=inotify'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 LCMS2

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  erc-notify-mode: t
  erc-notifications-mode: t
  display-time-mode: t
  shell-dirtrack-mode: t
  icomplete-mode: t
  show-paren-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-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-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/albinus/src/elpa/packages/debbugs/debbugs-org hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-org
/home/albinus/src/elpa/packages/debbugs/debbugs-gnu hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-gnu
/home/albinus/src/elpa/packages/debbugs/debbugs hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs
/home/albinus/src/elpa/packages/debbugs/debbugs-autoloads hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-autoloads
/home/albinus/src/elpa/packages/debbugs/debbugs-pkg hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-pkg
/home/albinus/src/elpa/packages/debbugs/debbugs-browse hides /home/albinus/.emacs.d/elpa/debbugs-0.14/debbugs-browse
/home/albinus/src/elpa/packages/tramp-theme/tramp-theme hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme
/home/albinus/src/elpa/packages/tramp-theme/tramp-theme-autoloads hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme-autoloads
/home/albinus/src/elpa/packages/tramp-theme/tramp-theme-pkg hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme-pkg
/home/albinus/.emacs.d/elpa/telepathy-20131209.458/telepathy hides ~/lisp/telepathy
~/src/tramp/lisp/tramp-smb hides /usr/local/src/emacs/lisp/net/tramp-smb
~/src/tramp/lisp/tramp-uu hides /usr/local/src/emacs/lisp/net/tramp-uu
~/src/tramp/lisp/tramp-adb hides /usr/local/src/emacs/lisp/net/tramp-adb
~/src/tramp/lisp/tramp-archive hides /usr/local/src/emacs/lisp/net/tramp-archive
~/src/tramp/lisp/tramp-cmds hides /usr/local/src/emacs/lisp/net/tramp-cmds
~/src/tramp/lisp/tramp-cache hides /usr/local/src/emacs/lisp/net/tramp-cache
~/src/tramp/lisp/trampver hides /usr/local/src/emacs/lisp/net/trampver
~/src/tramp/lisp/tramp-ftp hides /usr/local/src/emacs/lisp/net/tramp-ftp
~/src/tramp/lisp/tramp-sh hides /usr/local/src/emacs/lisp/net/tramp-sh
~/src/tramp/lisp/tramp hides /usr/local/src/emacs/lisp/net/tramp
~/src/tramp/lisp/tramp-loaddefs hides /usr/local/src/emacs/lisp/net/tramp-loaddefs
~/lisp/dbus hides /usr/local/src/emacs/lisp/net/dbus
~/src/tramp/lisp/tramp-gvfs hides /usr/local/src/emacs/lisp/net/tramp-gvfs
~/src/tramp/lisp/tramp-compat hides /usr/local/src/emacs/lisp/net/tramp-compat

Features:
(shadow sort mail-extr warnings emacsbug pop3 utf-7 nndraft nnmh nnml
network-stream nsm starttls gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig
mailcap gnus-cache gnus-sum time-stamp nnnil smtpmail sendmail
gnus-demon nntp gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail
mail-source tls gnutls utf7 netrc nnoo gnus-spec gnus-int gnus-range
message rmc puny rfc822 mml mml-sec epa derived epg mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win
gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
mail-utils mm-util mail-prsvr wid-edit elec-pair erc-notify erc-networks
erc-desktop-notifications erc-match notifications dbus xml erc-goodies
erc erc-backend erc-compat thingatpt pp erc-loaddefs cperl-mode
tramp-theme em-dirs esh-var esh-io esh-cmd esh-opt esh-ext esh-proc
esh-arg esh-groups eshell esh-module esh-mode esh-util finder-inf rx
docker-tramp tramp-cache slime-autoloads vagrant-tramp dash term
disp-table ehelp info package easymenu epg-config url-handlers url-parse
url-vars time tramp-sh tramp tramp-compat tramp-loaddefs trampver
ucs-normalize shell pcomplete comint ansi-color ring parse-time
format-spec advice auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache ido seq byte-opt gv bytecomp byte-compile
cconv jka-compr icomplete paren vc cl-loaddefs cl-lib vc-dispatcher
dired dired-loaddefs time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 441838 21208)
 (symbols 48 40807 7)
 (miscs 40 76 245)
 (strings 32 102294 5183)
 (string-bytes 1 3103750)
 (vectors 16 59999)
 (vector-slots 8 1042537 16452)
 (floats 8 259 295)
 (intervals 56 361 0)
 (buffers 992 23))




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Michael Albinus <michael.albinus@HIDDEN>
Subject: bug#29735: Acknowledgement (27.0.50; It must be possible to
 suspend all timers)
Message-ID: <handler.29735.B.15134383187449.ack <at> debbugs.gnu.org>
References: <878te28zas.fsf@HIDDEN>
X-Gnu-PR-Message: ack 29735
X-Gnu-PR-Package: emacs
Reply-To: 29735 <at> debbugs.gnu.org
Date: Sat, 16 Dec 2017 15:32:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 29735 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
29735: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29735
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 16 Dec 2017 15:33:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 16 10:33:39 2017
Received: from localhost ([127.0.0.1]:37509 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eQET4-0001zE-Te
	for submit <at> debbugs.gnu.org; Sat, 16 Dec 2017 10:33:39 -0500
Received: from mout.gmx.net ([212.227.17.20]:60778)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1eQET3-0001z1-LF
 for control <at> debbugs.gnu.org; Sat, 16 Dec 2017 10:33:38 -0500
Received: from detlef.gmx.de ([212.86.40.135]) by mail.gmx.com (mrgmx103
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M5tzh-1fEjch41az-00xta5 for
 <control <at> debbugs.gnu.org>; Sat, 16 Dec 2017 16:33:31 +0100
Date: Sat, 16 Dec 2017 16:33:21 +0100
Message-Id: <877etm8z7i.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Michael Albinus <michael.albinus@HIDDEN>
Subject: control message for bug #29735
X-Provags-ID: V03:K0:vxWYrPkn8eI2nhdXJ8AX6RwVI3JximjOmZVheqT4vtnWPbDlzGe
 MaLiSQM5nYVyPBaiFfmNa7fuwPUP+QRHEAI7cbDH6eMrQ6h/qjNABZsqB/gJVJC2gQkvhXm
 kkUa99n8jDwfEAdCTY/7aM+Gv6WZ3lz4hSXLC+Ors8Smd33sWWYwldgc0pmcYnV3pS2ozlg
 Bdbk9QwiFLOoBp4BkftBg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:fRtfHbFbsRo=:4MxarLczuhvAVXTjfxk98r
 t5zj0nwDspOCZYCAQHDlTD+quA1M+QnZZTpojevITbKeb7TOCHtvRKN5E5tUF8DIikqcDK+8F
 GrStw7J3EtuNGhF31xNdbMte1iHgwlPU6iyKqfd1l9/hXOgagld8NOgSOYoFZ1rd6D6NR82zj
 MxNOJcIqQI3LKvTNZqYtLwDNjnM4SMOPjPCkE2ygO4hzTaCkCKe8RWexmw5s5/hG8rS8KFEoH
 ATjR8Iu6nIhjkUZGb+sRFTb1Hg3+aoO1o9DNqNhqZqI0p/3AKoEY6FssJMvEcZmTMerHqRAW0
 grn2cK3q9tTqsZdhM1kdAYXWbxAd2sJqEf2pOgfMt1gwW2ggg9JSyQsiOBy1PJb46PcuK3570
 lxXHNjdO1MJph0aMd3wn3stTZ+KYjHw4CNAamtEE2ufBXx8QC9uk3w2/K5vWuY+IKJtiBHLD9
 fOC+xmXB1t6IKBpR4UGdCAwzD01epAlfrm3UJIyIc+Ts0KAAjVb9c+XQPVPNDNmenlBSS0LF+
 Ca9Kw2OLv114klMtPttY4G3NogTTdDdf7YbsqiS+zZFd4vMeYO5Qbu+ZRgdiKx1Xk6L9o9ZYx
 DjGFW/rAywlm6iEZFXGa35Rq4ntm9OxGZQURDFk8HeJKqJ8zZTkL7IYLrYb5b4o+aD4/9VZr3
 rnfDxyJn9tDeJQxbWdx4/YfahmQLZo8hCMDekVmWoNhlh8jQlnfhGB90VICGuNUKlLiuStPsK
 Rzy1KVreIQZLVcGGYWe2IWDkhSjkQngQAttJhAqCWQl6imJj7fQUk60p+1mvBH+dZy0WAVq3r
 Hi/WLwQrYkkw+xpFGGWI/jJd16A6iIfYDVXYTduaek/WfJqO1U=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

severity 29735 wishlist




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29735: 27.0.50; It must be possible to suspend all timers
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 16 Dec 2017 16:23:02 +0000
Resent-Message-ID: <handler.29735.B29735.151344138119325 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29735
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Albinus <michael.albinus@HIDDEN>
Cc: 29735 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 29735-submit <at> debbugs.gnu.org id=B29735.151344138119325
          (code B ref 29735); Sat, 16 Dec 2017 16:23:02 +0000
Received: (at 29735) by debbugs.gnu.org; 16 Dec 2017 16:23:01 +0000
Received: from localhost ([127.0.0.1]:37541 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eQFEq-00051d-NZ
	for submit <at> debbugs.gnu.org; Sat, 16 Dec 2017 11:23:00 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37524)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1eQFEn-00051I-Uu
 for 29735 <at> debbugs.gnu.org; Sat, 16 Dec 2017 11:22:59 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1eQFEe-00052g-0B
 for 29735 <at> debbugs.gnu.org; Sat, 16 Dec 2017 11:22:52 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35585)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1eQFEd-00052Z-Sz; Sat, 16 Dec 2017 11:22:47 -0500
Received: from [176.228.60.248] (port=3524 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1eQFEb-0005Ll-Vz; Sat, 16 Dec 2017 11:22:47 -0500
Date: Sat, 16 Dec 2017 18:22:41 +0200
Message-Id: <837etmskvi.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <878te28zas.fsf@HIDDEN> (message from Michael Albinus on Sat, 16
 Dec 2017 16:31:23 +0100)
References: <878te28zas.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Michael Albinus <michael.albinus@HIDDEN>
> Date: Sat, 16 Dec 2017 16:31:23 +0100
> 
> In Tramp's start-file-process implementations, there are code segments
> which must be guaranteed not to be interrupted by timers.

Can you explain why is that?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29735: 27.0.50; It must be possible to suspend all timers
Resent-From: Michael Albinus <michael.albinus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 17 Dec 2017 09:09:02 +0000
Resent-Message-ID: <handler.29735.B29735.151350169110846 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29735
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 29735 <at> debbugs.gnu.org
Received: via spool by 29735-submit <at> debbugs.gnu.org id=B29735.151350169110846
          (code B ref 29735); Sun, 17 Dec 2017 09:09:02 +0000
Received: (at 29735) by debbugs.gnu.org; 17 Dec 2017 09:08:11 +0000
Received: from localhost ([127.0.0.1]:38050 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eQUvb-0002os-61
	for submit <at> debbugs.gnu.org; Sun, 17 Dec 2017 04:08:11 -0500
Received: from mout.gmx.net ([212.227.17.21]:53714)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1eQUvZ-0002of-Q4
 for 29735 <at> debbugs.gnu.org; Sun, 17 Dec 2017 04:08:10 -0500
Received: from detlef.gmx.de ([212.86.37.161]) by mail.gmx.com (mrgmx103
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LnxVE-1exckc3vaK-00fxwo; Sun, 17
 Dec 2017 10:08:03 +0100
From: Michael Albinus <michael.albinus@HIDDEN>
References: <878te28zas.fsf@HIDDEN> <837etmskvi.fsf@HIDDEN>
Date: Sun, 17 Dec 2017 10:08:01 +0100
In-Reply-To: <837etmskvi.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 16 Dec
 2017 18:22:41 +0200")
Message-ID: <871sjt3eoe.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:LqUNawtknLc1Fm3q0wWkdgEOtLVOrJ+ylN4+mkr5btwnLWPjfnR
 rYpzS6I7QPUieSA0mMRhXRZp6+rEGFw0kaqeDFHWRUZaA9w08TWgOjIhoH4cwvZVplc2k/Y
 h3nlsMEHA3Gx43a6JHAZYVZ69Yr5q12Wk/58SG2AFrLg441AyrpaNAvR4o+VaWahiREPD0v
 Mv5y4XS5MBftOQPffeZxQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:zsSfto17L84=:sJS83llo/W4XigNRL68+0s
 HpF3UtGWUfq0i1Xx7SOAqmM+8Zn4xPj9YOJgCztSInHHSaqAYWid97CRhEQzfN7qu7lLm4npE
 GqtMqXgxSNAuwx626+XU8f7NZ6ZE0CM5u39JeLMRE3vQD8ezPa8kx9yCGTciCITeNuaUttunH
 SbeLbrJw+hgocIUms8REw1csBOKoMU/T66RkVyNo1narpPv+KbW9QAHBoRV96lAcAmBnzEPR5
 CaEn42fQVaVr/jcskKlhjG6UY3VtEqZGGtrDfSXV4bXtnoDciBqJq5NnDtIwPhKsaTcQ7rN8f
 HR1wbpvFoHMe98yVOUwLNDuGgbf5hwqjKEzR9HE7voJ/0885o+xxXjIzT4BQh40Ki1K31eGx1
 UuPHWhnuSb9WTGdixs4AXYlN0p+pVjtU+l7kfuTNJGs8SHQSfBzGQuYl0zTWUrwjTbK3SITrY
 d9z1djBad6cNv58rRIzus9Y/tvaBgVb53P3x0/mlwdpm+Rcu+RhHAlroNhaaTHIO+qbgCUA8y
 FOEvwQmLPfY0xfObiSNPRaEWqoaA23dr4AHHBRcnvcdw9DDh5K2y1JHlzXi2vUE5sh52+m7IP
 Gcg3hVbk9pJ+3Au8Wl8tiTKW+P2atLJzE1qz0TUUDDRp4Vyx6+HhdCwc9noVu3pA9VhZrvCzh
 jWkTxP83jkBOuxDtIxPC3W5WxEgzq5V/qdNKAvBetP8oUX9fhEw/3QbZI9GPzSXUIqjkRCwMt
 qVYyE+/F8Cq5fU2anAItRToZV5/RWiKlS0BwUcqw4ssj8fQ7WvHjTcPROgDbwV5/7+9tycMv6
 cC5Dh7XGdSrFQNsHhxJhcP/BDJ6T3xZpsZzXrxi7FJ2tONxURA=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

Hi Eli,

>> In Tramp's start-file-process implementations, there are code segments
>> which must be guaranteed not to be interrupted by timers.
>
> Can you explain why is that?

Tramp must handle several asynchronous processes in parallel for a given
remote host. The main process is the working horse, sending all the remote
commands for the several file operations, and interpreting the received
output. This is performed via the connection buffer *tramp/method host*.

When another asynchronous process is needed, for example due to the call
of `start-file-process', Tramp starts that asynchronous process calling
ssh (for example). After that, initialization happens, including
password handling, setting the remote shell, cd'ing to the working
directory, calling the indicated command, and so on. During that time,
Tramp is instructed to use another process buffer. See for example
`tramp-sh-handle-start-file-process', where you find the lines

      ;; Set the new process properties.
      (tramp-set-connection-property v "process-name" name)
      (tramp-set-connection-property v "process-buffer" buffer)

All further low level process communication functions use from now on
that process. Until the initialization work is done, and the settings
are set back:

	  (tramp-flush-connection-property v "process-name")
	  (tramp-flush-connection-property v "process-buffer"))))))

If during that time a timer starts, which wants to apply a regular file
operation (let's say `file-attributes'), the corresponding commands are
sent to the process related to the just started asynchronous process,
instead to the working horse *tramp/method host*. This fails, of
course. Therefore, the start of timers between the both code samples
must be suppressed.

Best regards, Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29735: 27.0.50; It must be possible to suspend all timers
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 17 Dec 2017 15:25:01 +0000
Resent-Message-ID: <handler.29735.B29735.151352428222964 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29735
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Albinus <michael.albinus@HIDDEN>
Cc: 29735 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 29735-submit <at> debbugs.gnu.org id=B29735.151352428222964
          (code B ref 29735); Sun, 17 Dec 2017 15:25:01 +0000
Received: (at 29735) by debbugs.gnu.org; 17 Dec 2017 15:24:42 +0000
Received: from localhost ([127.0.0.1]:39212 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eQanx-0005yK-PH
	for submit <at> debbugs.gnu.org; Sun, 17 Dec 2017 10:24:41 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40770)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1eQanv-0005y7-SO
 for 29735 <at> debbugs.gnu.org; Sun, 17 Dec 2017 10:24:40 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1eQann-00045U-Eb
 for 29735 <at> debbugs.gnu.org; Sun, 17 Dec 2017 10:24:34 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49397)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1eQann-00045G-BF; Sun, 17 Dec 2017 10:24:31 -0500
Received: from [176.228.60.248] (port=4314 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1eQanm-0004k3-MP; Sun, 17 Dec 2017 10:24:31 -0500
Date: Sun, 17 Dec 2017 17:24:35 +0200
Message-Id: <83efntqswc.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <871sjt3eoe.fsf@HIDDEN> (message from Michael Albinus on Sun, 17
 Dec 2017 10:08:01 +0100)
References: <878te28zas.fsf@HIDDEN> <837etmskvi.fsf@HIDDEN>
 <871sjt3eoe.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Michael Albinus <michael.albinus@HIDDEN>
> Cc: 29735 <at> debbugs.gnu.org
> Date: Sun, 17 Dec 2017 10:08:01 +0100
> 
> When another asynchronous process is needed, for example due to the call
> of `start-file-process', Tramp starts that asynchronous process calling
> ssh (for example). After that, initialization happens, including
> password handling, setting the remote shell, cd'ing to the working
> directory, calling the indicated command, and so on. During that time,
> Tramp is instructed to use another process buffer. See for example
> `tramp-sh-handle-start-file-process', where you find the lines
> 
>       ;; Set the new process properties.
>       (tramp-set-connection-property v "process-name" name)
>       (tramp-set-connection-property v "process-buffer" buffer)

Not sure I follow: are you changing process-buffer of a process, or do
you have more than one process sharing the same process-buffer?  Or
something else?

I guess I don't know how to interpret "Tramp is instructed to use
another process buffer".  Who in this context is "Tramp", if there are
multiple async processes involved, each one with its own buffer?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29735: 27.0.50; It must be possible to suspend all timers
Resent-From: Michael Albinus <michael.albinus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 17 Dec 2017 18:44:02 +0000
Resent-Message-ID: <handler.29735.B29735.15135362418326 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29735
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 29735 <at> debbugs.gnu.org
Received: via spool by 29735-submit <at> debbugs.gnu.org id=B29735.15135362418326
          (code B ref 29735); Sun, 17 Dec 2017 18:44:02 +0000
Received: (at 29735) by debbugs.gnu.org; 17 Dec 2017 18:44:01 +0000
Received: from localhost ([127.0.0.1]:39323 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eQduq-0002AE-Qu
	for submit <at> debbugs.gnu.org; Sun, 17 Dec 2017 13:44:01 -0500
Received: from mout.gmx.net ([212.227.15.15]:65002)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1eQdul-00029x-Sb
 for 29735 <at> debbugs.gnu.org; Sun, 17 Dec 2017 13:43:59 -0500
Received: from detlef.gmx.de ([212.86.37.161]) by mail.gmx.com (mrgmx002
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MSv6D-1eYelk1pEz-00Rsm6; Sun, 17
 Dec 2017 19:43:49 +0100
From: Michael Albinus <michael.albinus@HIDDEN>
References: <878te28zas.fsf@HIDDEN> <837etmskvi.fsf@HIDDEN>
 <871sjt3eoe.fsf@HIDDEN> <83efntqswc.fsf@HIDDEN>
Date: Sun, 17 Dec 2017 19:43:48 +0100
In-Reply-To: <83efntqswc.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 17 Dec
 2017 17:24:35 +0200")
Message-ID: <87r2rtqjob.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:VGP1G+rf+ORZOV4AseZpKAUVtxa5YpfC5p6EEJQP128cIaAhnAa
 6kedsC/0H0GGRLPtolTd/khGZV7c+AfOeRAUgiwohkpYT++fAfxay9xYPkTCCzniunzcz0f
 9K6OnP8WIju4EHNXvQZCMickxg1uoGrcKhNlHr7Fx3LjsdX6OAL892ql9yE+jT6CvYqC5z1
 yOTC1LdSrJXkH8jNRjeLQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:Lo6Z0vJufSg=:pyKF5Cz0c8sDCPssraJrdA
 1XQe4glQW27uLjsTuA9PDZZz/ItdDYvE+bMINmIOB5JU9Tq8o/y7iW7iJv+9a7u4Gf+smSLwr
 2zk86SWOvSHCdMogtVLUX0mfM6D7gVPCI4dmy5Q1Mw5zJEpUe8Z3qPm6KOOt3ehnwoSR/+y7P
 MWxyohybwpTXVTmBJbOUy4bpHYZO60ehJ3hbP8TAfEsTHauRMh5TZNaJKcgcpKOJyi/5JNE2H
 bpUiomCq+R6cmmpjdXeiSCM6DET55l8kEhtMBC+XaHLBYJyJ1WA6oMz4efnv1AgL6/Mf7jCQw
 xFVkI5cc8mTOjtbwjoXM46eFEtkCPWnkYG1nAACtoHPgLH9Skq0tXjeEKdKZXGUjApyumKFKS
 +1aewBmZImPgN9n/c62TYqIPa24vbthufMcKrWdxba0ajv0ganracYzzfQnsYnAkWXHKLH9cc
 SHA2S7/j8Ia98SELu2JeMHmYsVhKf6LOoUXxzD2Cozul2L05RP1jp9KCL6Eq8DQaqliCgkWBo
 Wro6Lz9xgw6rya5CHhj+q0brqVnMzzQz7la8q17LW0wSw8XZS+vQbFBEiiWIaJ/JuoeKRmkS7
 hHefCBwAkAdWMKOiVrXPZmBUZmCNoYpT4lkAZADbr5T73iNSfUK6kPfUWr8YcIy2oMGEIEoZp
 BgLH+pDCTHxbkbgj0zjT4Kb4OEIKKLiofyEBjcKxLSgk+y3AIgsTHF/mXP67ah/ku6X8Z3KBX
 OjwfrmaplKJpVZtD1hgeuwbucoY8PH+zUk0pk5XJxxNSSjJW1wNPcImtAlCmzQjvg0VPZR1kA
 c3t4Hi6l2zdKNSP23Eo9n1szFmOiUveah77xwUO12CrOa5D0m8=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

Hi Eli,

>> When another asynchronous process is needed, for example due to the call
>> of `start-file-process', Tramp starts that asynchronous process calling
>> ssh (for example). After that, initialization happens, including
>> password handling, setting the remote shell, cd'ing to the working
>> directory, calling the indicated command, and so on. During that time,
>> Tramp is instructed to use another process buffer. See for example
>> `tramp-sh-handle-start-file-process', where you find the lines
>> 
>>       ;; Set the new process properties.
>>       (tramp-set-connection-property v "process-name" name)
>>       (tramp-set-connection-property v "process-buffer" buffer)
>
> Not sure I follow: are you changing process-buffer of a process, or do
> you have more than one process sharing the same process-buffer?  Or
> something else?

Several processes, every one owns a separate process buffer. But the
basic Tramp operations don't know which process is involved, therefore
the actual process is kept via the process connections "process-name"
and "process-buffer".

> I guess I don't know how to interpret "Tramp is instructed to use
> another process buffer".  Who in this context is "Tramp", if there are
> multiple async processes involved, each one with its own buffer?

"Tramp" means the low level functions which communicate with
processes. Something like `tramp-send-command', `tramp-send-string' or
`tramp-maybe-open-connection'.

Best regards, Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29735: 27.0.50; It must be possible to suspend all timers
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 19 Dec 2017 15:59:01 +0000
Resent-Message-ID: <handler.29735.B29735.151369913024545 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29735
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Albinus <michael.albinus@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 29735 <at> debbugs.gnu.org
Received: via spool by 29735-submit <at> debbugs.gnu.org id=B29735.151369913024545
          (code B ref 29735); Tue, 19 Dec 2017 15:59:01 +0000
Received: (at 29735) by debbugs.gnu.org; 19 Dec 2017 15:58:50 +0000
Received: from localhost ([127.0.0.1]:42482 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eRKI6-0006Np-2H
	for submit <at> debbugs.gnu.org; Tue, 19 Dec 2017 10:58:50 -0500
Received: from pmta31.teksavvy.com ([76.10.157.38]:1770)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1eRKI2-0006Na-Mh
 for 29735 <at> debbugs.gnu.org; Tue, 19 Dec 2017 10:58:47 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2HZDgAYNjla/1WCxEVcHQEBBQELAYM+gVqJRYYHjhgBggEUIAGZBAqFNQQCAoUNRBQBAQEBAQEBAQEDaCiFJQEEAScvIwULCzQSFBgNJIo2CKsjOopwAQEBAQYCASWDboVRgyyLFwEEkhyBFJASoTOHcJZpEIE7NiOBTzIaCDCCZoR0I4g5KoIfAQEB
X-IPAS-Result: A2HZDgAYNjla/1WCxEVcHQEBBQELAYM+gVqJRYYHjhgBggEUIAGZBAqFNQQCAoUNRBQBAQEBAQEBAQEDaCiFJQEEAScvIwULCzQSFBgNJIo2CKsjOopwAQEBAQYCASWDboVRgyyLFwEEkhyBFJASoTOHcJZpEIE7NiOBTzIaCDCCZoR0I4g5KoIfAQEB
X-IronPort-AV: E=Sophos;i="5.45,427,1508817600"; d="scan'208";a="14308403"
Received: from 69-196-130-85.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net)
 ([69.196.130.85])
 by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 19 Dec 2017 10:58:40 -0500
Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848)
 id 617BEAE352; Tue, 19 Dec 2017 10:58:40 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwvzi6eag5f.fsf-monnier+bug#29735@HIDDEN>
References: <878te28zas.fsf@HIDDEN> <837etmskvi.fsf@HIDDEN>
 <871sjt3eoe.fsf@HIDDEN>
Date: Tue, 19 Dec 2017 10:58:40 -0500
In-Reply-To: <871sjt3eoe.fsf@HIDDEN> (Michael Albinus's message of "Sun, 17
 Dec 2017 10:08:01 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

> If during that time a timer starts, which wants to apply a regular file
> operation (let's say `file-attributes'), the corresponding commands are
> sent to the process related to the just started asynchronous process,
> instead to the working horse *tramp/method host*. This fails, of
> course. Therefore, the start of timers between the both code samples
> must be suppressed.

Hmm... but IIUC the same problem shows up if some random process-filter
or process-sentinel uses, say, file-attributes on that same host, right?
So it's not specific to timers?

From the description you give, I understand that:
- start-file-process causes the creation of a new underlying ssh process
  (that makes sense).
- so from then on, we have 2 (or more) ssh processes on the same host
  and the issue is to know which process to use when.
So the problem is to somehow get the "context" of a given call to Tramp,
so as to know which process to use.
Do I understand correctly?

Currently you store which process to use as a "connection-property"
(and it defaults to the "main" process), so basically the "context" is
store in a kind of global variable.

Would it make sense to try and pass that "context" information as
additional arguments instead?  Or via dynamically-coped variable?

E.g. any call to file-attributes (or any other file-name-operation)
should always use the main process, right?  So the mapping from
connection->process could be stored in a dynamically-scoped var, and
tramp-file-name-handler could let-bind this var to nil?


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29735: 27.0.50; It must be possible to suspend all timers
Resent-From: Michael Albinus <michael.albinus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 19 Dec 2017 18:48:02 +0000
Resent-Message-ID: <handler.29735.B29735.151370925514989 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29735
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Monnier <monnier@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 29735 <at> debbugs.gnu.org
Received: via spool by 29735-submit <at> debbugs.gnu.org id=B29735.151370925514989
          (code B ref 29735); Tue, 19 Dec 2017 18:48:02 +0000
Received: (at 29735) by debbugs.gnu.org; 19 Dec 2017 18:47:35 +0000
Received: from localhost ([127.0.0.1]:42630 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eRMvP-0003th-IF
	for submit <at> debbugs.gnu.org; Tue, 19 Dec 2017 13:47:35 -0500
Received: from mout.gmx.net ([212.227.17.22]:64303)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1eRMvN-0003tT-Pg
 for 29735 <at> debbugs.gnu.org; Tue, 19 Dec 2017 13:47:34 -0500
Received: from detlef.gmx.de ([212.86.37.160]) by mail.gmx.com (mrgmx103
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MI5rO-1eQntH0DzK-003rEz; Tue, 19
 Dec 2017 19:47:21 +0100
From: Michael Albinus <michael.albinus@HIDDEN>
References: <878te28zas.fsf@HIDDEN> <837etmskvi.fsf@HIDDEN>
 <871sjt3eoe.fsf@HIDDEN> <jwvzi6eag5f.fsf-monnier+bug#29735@HIDDEN>
Date: Tue, 19 Dec 2017 19:47:08 +0100
In-Reply-To: <jwvzi6eag5f.fsf-monnier+bug#29735@HIDDEN> (Stefan Monnier's
 message of "Tue, 19 Dec 2017 10:58:40 -0500")
Message-ID: <87y3lya72r.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:ncKMN4sEyXPTbE9rt+z0GOuULeeP/jTDtALPn0QFx8EVIwllcLB
 SrQVJR4ulzDeok3zPnMmDwBVWo3CbybgGA0DEX+IOH5uY3VbPpGAYncbM2gjFwmei6D4c22
 XaZZAuJ9IGaxEwehJ9zH7ZOjP5RolDvI92W5VgP5EfK7iQ6TYgeLsa4ClV0YeBy/XaMRxBN
 HYmJfNy+iyB5fGtU+O4VA==
X-UI-Out-Filterresults: notjunk:1;V01:K0:mnz8ouRCAeE=:DDs/hswtkOJQTRlr1DTEX+
 VHHWRjaUkei95M0cKeGs1nqSCKMQSXIkqYOcVDtyHkM4vxWx6SCAWfdcYJhnJAOFk37w7uYnk
 K44xR4/0By9M9cOwPcIkH2xyeVgMwFdip9jJtIme3AnKntlyR5i2SJMa58IL2Igd5qczLExLR
 Hc9OfV/j+272C8S+fsL0NWULVKkp11chBAnJu/7ux8zW85CyPKuIBRVN45XJXxMPp5xMTF8+Y
 ImxptM7BHDXS0xMGHHDlkL7O0CiW1Ew7Vr7ACd0OOQXtsT98sYB4bWnFJ/XQw9oPraYQCcaXR
 BO1QXUBqDbIRaq5oFCfG+tWFIBYOnLw6hfd+XlOT9vIh8IjqVfBn91pQUSH24oCqT5WREWcPW
 8yoOL77z5bvNhrQeAkp9hpXXPt43tsTl7QzrQjy/6imbeHh2WCJe/UGnY6nxCmqFBlW7gIDW2
 XmukHhaPutoJg2pNrL6LHAsUEwsXCILH5eY8cQVfnFkXzny4OYCo94Z0CxEdFq52RoyOmFgMr
 MTbFZVcEALlx7wIqHiS5Nc+xxwPbLqfZ1mRfHgr491bnRU/C3Se4crGHKln9R5sSwwobI8qiG
 7/1X4LWfrisQjovTlfbvHtCk/2QeqW2PGBnjo0NuKbjMZjH/X0HeVtRkyrCRQajpMZ07ZJfE+
 eNB4RimE6wqdN8JME4wVOlew6YS1saUcvpoxaJnV5GrrRcMCAWiUlvZS4t0zt/cwp3h3fSx8O
 YpMgx01hRya9i/2bC4Wc4NwVg9nuO0uK4mpZqS427KAgYP8El2xbo3Kb6gW0cJVrKhLGwLmN0
 nGRlutjlXqS2HkZym7DuBlYf+tbE94oeg1IZI756bBYdXrVym0=
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Stefan Monnier <monnier@HIDDEN> writes:

Hi Stefan,

>> If during that time a timer starts, which wants to apply a regular file
>> operation (let's say `file-attributes'), the corresponding commands are
>> sent to the process related to the just started asynchronous process,
>> instead to the working horse *tramp/method host*. This fails, of
>> course. Therefore, the start of timers between the both code samples
>> must be suppressed.
>
> Hmm... but IIUC the same problem shows up if some random process-filter
> or process-sentinel uses, say, file-attributes on that same host, right?
> So it's not specific to timers?

In theory, yes. But I haven't seen it yet. During the initialization
process of Tramp's asynchronous processes, in
`tramp-sh-handle-start-file-process', no process-sentinel or
process-filter shall run. Tramp itself tries to avoid this, by calling
(accept-process-output proc timeout nil 0)
See `tramp-accept-process-output'.

The other situations process output could arrive are `sit-for' and
`sleep-for'. I'm not aware that these functions are called inside the
process initialization of `tramp-sh-handle-start-file-process'.

> From the description you give, I understand that:
> - start-file-process causes the creation of a new underlying ssh process
>   (that makes sense).

yes

> - so from then on, we have 2 (or more) ssh processes on the same host
>   and the issue is to know which process to use when.

yes

> So the problem is to somehow get the "context" of a given call to Tramp,
> so as to know which process to use.
> Do I understand correctly?

yes

> Currently you store which process to use as a "connection-property"
> (and it defaults to the "main" process), so basically the "context" is
> store in a kind of global variable.

yes

> Would it make sense to try and pass that "context" information as
> additional arguments instead?  Or via dynamically-coped variable?
>
> E.g. any call to file-attributes (or any other file-name-operation)
> should always use the main process, right?  So the mapping from
> connection->process could be stored in a dynamically-scoped var, and
> tramp-file-name-handler could let-bind this var to nil?

That's exactly what I've tried prior the current implementation.
`tramp-file-name-handler' is the main door all file name handler
operations must pass. Inside this, I've stored the setting of the
process connection-property somewhere, and I've set it to the "main
process". After the respective handler function returned, I've restored
the process connection property to its saved value.

Unfortunately, this is not sufficient. I've still seen errors in
`tramp-test41-asynchronous-requests' from time to time. And as I said
already, it is almost impossible to debug this. It happens rarely only,
and debugging changes time conditions.

>         Stefan

Best regards, Michael.





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.