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 07:03:10 +0100 Message-ID: References: <20181024105344.GB40431@breton.holly.idiocy.org> <871s8fd2e3.fsf@gmx.de> <87d0ryqv9a.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1541397729 28142 195.159.176.226 (5 Nov 2018 06:02:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2018 06:02:09 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 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 07:02:04 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 1gJXxa-0007CD-ET for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Nov 2018 07:02:02 +0100 Original-Received: from localhost ([::1]:33326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJXzg-0007UL-Qu for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Nov 2018 01:04:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJXzb-0007UF-4F for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 01:04:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJXzX-0004ux-TJ for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 01:04:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58493) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJXzX-0004uk-Fz for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 01:04:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJXzX-0004Wq-73 for bug-gnu-emacs@gnu.org; Mon, 05 Nov 2018 01:04:03 -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 06:04:03 +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.154139780117359 (code B ref 33135); Mon, 05 Nov 2018 06:04:03 +0000 Original-Received: (at 33135) by debbugs.gnu.org; 5 Nov 2018 06:03:21 +0000 Original-Received: from localhost ([127.0.0.1]:34518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJXyr-0004Vv-DH for submit@debbugs.gnu.org; Mon, 05 Nov 2018 01:03:21 -0500 Original-Received: from cvj.se ([31.192.230.63]:55534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJXyp-0004Vm-A1 for 33135@debbugs.gnu.org; Mon, 05 Nov 2018 01:03:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cvj.se; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=YdTe9ccDxwYh65bD+UV7ZcAHwjXsq238OoLO8g0WtAU=; b=DIgwlgOSsmSnBCf7YQmvQLII8sopNFcTKBFhZ4SizoGw+tnGnQGrvegjiFQ2D686cvoHTke+S0Cq+X3YtNML97jIQ9oO3bkDz/u/fF1/3KfHfJt1QkzF/aZsVqikWpf31FWIBtu4PJ+HVnwifB5hQFQPJ7gFPQa76jJ3teASsVU=; Original-Received: from m77-218-241-137.cust.tele2.se ([77.218.241.137] helo=Christians-MacBook-Air.local) by cvj.se with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1gJXyn-0001yV-Oc; Mon, 05 Nov 2018 07:03:18 +0100 In-Reply-To: <87d0ryqv9a.fsf@gmx.de> Content-Language: en-US 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:152042 Archived-At: Hi Michael 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 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) 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 Regards Christian On 2018-10-25 10:35, Michael Albinus wrote: > Christian Johansson writes: > >> Hi Michael > Hi Christian, > >> Alright, I'll check out that branch and continue testing >> here. Asynchronous TRAMP via FTP/SSH without user-interaction seems to >> work on master branch most of the time > The simple case: yes. It will be more interesting if you visit several > (many!) files in parallel. My usual test case is "C-x & C-x C-f > /ssh::~/src/emacs-test/admin/*.el" ("~/src/emacs" is the location of the > Emacs repository on my machine). > > You might also open a second frame in parallel, and run "M-x list-threads" > there. This will show you how threads evolve. > > If you want to know more about asynchronous file visiting, you might > consult (info "(emacs) Visiting") in the feature/tramp-thread-safe branch. > >> but I have experienced some occasional crashes that you don't get when >> running synchronously. Will start Emacs from my terminal to see if I >> get any errors there if it crashes > Yes, pls report. > >> Regards >> Christian > Best regards, Michael.