From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Christian Johansson Newsgroups: gmane.emacs.bugs Subject: bug#33135: 27.0.50; (make-thread) TRAMP interactive freeze macOS 10.14 Date: Mon, 5 Nov 2018 16:39:40 +0100 Message-ID: <22698038-514D-48FF-89AA-EDB24984BEB0@cvj.se> References: <20181024105344.GB40431@breton.holly.idiocy.org> <871s8fd2e3.fsf@gmx.de> <87d0ryqv9a.fsf@gmx.de> <874lcv1vo4.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1541433103 19834 195.159.176.226 (5 Nov 2018 15:51:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2018 15:51:43 +0000 (UTC) Cc: 33135@debbugs.gnu.org, Alan Third To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 05 16:51:39 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJhAA-00053J-Pz for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Nov 2018 16:51:38 +0100 Original-Received: from localhost ([::1]:35886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJhCG-0006lR-Ub for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Nov 2018 10:53:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJh5v-0004FN-1J for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 10:47:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJgyy-0002sf-94 for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 10:40:10 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59431) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJgyw-0002p9-Fr for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 10:40:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJgyw-0003nx-9U for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 10:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Christian Johansson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Nov 2018 15:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33135-submit@debbugs.gnu.org id=B33135.154143239314600 (code B ref 33135); Mon, 05 Nov 2018 15:40:02 +0000 Original-Received: (at 33135) by debbugs.gnu.org; 5 Nov 2018 15:39:53 +0000 Original-Received: from localhost ([127.0.0.1]:35456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJgyn-0003nP-0e for submit@debbugs.gnu.org; Mon, 05 Nov 2018 10:39:53 -0500 Original-Received: from cvj.se ([31.192.230.63]:48255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJgyj-0003nE-Rz for 33135@debbugs.gnu.org; Mon, 05 Nov 2018 10:39:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cvj.se; s=x; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=id87vfJzo+e2nbhdA5BDq1U31dWiLH1hLSPN/ITojvI=; b=XSA2dV+neeyr9l3LZdVR4m4fY3YxzXIHGQ3Sbr/vOUuRes5rAqCyApugm25PM3wt1DNMtq+wTWm6ze3N8PP5TiSyMqYBS9cz68Y1P2SEGhHIt07KQ38u0m44Oz1zxfu4T/uEvZvVmiCTMdfP7ZH76jLHgUwa5x4FFQMniiWNLuY=; Original-Received: from m77-218-249-95.cust.tele2.se ([77.218.249.95] helo=[100.84.249.95]) by cvj.se with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1gJgyh-00026W-Tl; Mon, 05 Nov 2018 16:39:48 +0100 X-Mailer: iPhone Mail (16A404) In-Reply-To: <874lcv1vo4.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:152055 Archived-At: Alright, I=E2=80=99ll see if I can get the error again. I only got it like 2= times in 8 hours so it=E2=80=99s not frequent. I tried user-interaction via threaded ange-ftp tramp on macOS and it seems t= o work on your branch. I will try it a bit more this week. Regards Christian > 5 nov. 2018 kl. 14:49 skrev Michael Albinus : >=20 > Christian Johansson writes: >=20 >> Hi Michael >=20 > Hi Christian, >=20 >> I haven't experienced a single crash since I started using your >> threaded tramp branch but I sometimes get errors like this, but it >> doesn't make Emacs crash, I can just retry same operation and it will >> work. It seems like sometimes a thread is busy and Emacs tries to >> access it in some way and this error occurs, I have replaced sensitive >> information with --- below >>=20 >> Debugger entered--Lisp error: (error "Attempt to accept output from >> process *ftp ---...") >> accept-process-output(#) >> ange-ftp-wait-not-busy(#) >> ange-ftp-raw-send-cmd(# "type ascii" nil >> (#f(compiled-function (result line host user cmd msg cont nowait) >> #) "---" "---" "type ascii" nil nil nil) nil) >=20 > Looks like the ange-ftp process is not assigned to the proper thread. As > said, ange-ftp is a special case, it wasn't handled yet. >=20 > I've pushed a fix to the feature/tramp-thread-safe branch; should work > now. Could you pls retest? >=20 >> I haven't tried threaded tramp that requires user-interaction yet >> though since I got ~/.authinfo.gpg working with ange-ftp, I'll see if >> I can test that this week >=20 > Likely, this won't work. Nobody has provided a fix for this problem, yet. >=20 >> Regards >> Christian >=20 > Best regards, Michael.