GNU bug report logs - #33135
27.0.50; (make-thread) TRAMP interactive freeze macOS 10.14

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Christian Johansson <christian@HIDDEN>; dated Wed, 24 Oct 2018 10:17:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 33135) by debbugs.gnu.org; 6 Nov 2018 17:50:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 06 12:50:44 2018
Received: from localhost ([127.0.0.1]:37641 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gK5Ux-0002PB-UN
	for submit <at> debbugs.gnu.org; Tue, 06 Nov 2018 12:50:44 -0500
Received: from cvj.se ([31.192.230.63]:48093)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <christian@HIDDEN>) id 1gK5Uv-0002P2-NX
 for 33135 <at> debbugs.gnu.org; Tue, 06 Nov 2018 12:50:42 -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=GAcA9XwARa3+GocUl0aMfKvITFYG+e4iXYC0JiAPftA=; 
 b=SskMhXnpKomdHI6I8TgcEQtBmx9VHIn180RnEHQRqJ1791S5mnZJ7uTSrk4tYxLha1Frw7E3gueGugZ27JsN2dqqlQNc+Q3yCiGUfCzU8TLmft1/96QJgGpumyScspKsy40YIm61JG+2bQcaEEuqX1cSc61cYqwoOTa6sUrGxKc=;
Received: from m77-218-242-15.cust.tele2.se ([77.218.242.15]
 helo=[100.90.146.15])
 by cvj.se with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <christian@HIDDEN>)
 id 1gK5Ut-00038d-PC; Tue, 06 Nov 2018 18:50:40 +0100
Content-Type: multipart/alternative;
 boundary=Apple-Mail-E13DD021-9FAE-40F3-ACF3-4669E23A2C9D
Mime-Version: 1.0 (1.0)
Subject: Re: bug#33135: 27.0.50;
 (make-thread) TRAMP interactive freeze macOS 10.14
From: Christian Johansson <christian@HIDDEN>
X-Mailer: iPhone Mail (16A404)
In-Reply-To: <22698038-514D-48FF-89AA-EDB24984BEB0@HIDDEN>
Date: Tue, 6 Nov 2018 18:50:30 +0100
Content-Transfer-Encoding: 7bit
Message-Id: <112C9286-C8BE-4869-ACFC-07905FFD6A44@HIDDEN>
References: <a6406957-5102-7de8-e33a-3cf2286f3baa@HIDDEN>
 <20181024105344.GB40431@HIDDEN> <871s8fd2e3.fsf@HIDDEN>
 <c4c3c1f2-9cc3-f5a0-89f3-c9110f35682a@HIDDEN> <87d0ryqv9a.fsf@HIDDEN>
 <a374dd9b-d3b3-1f06-78d9-4f6d8a25c12e@HIDDEN> <874lcv1vo4.fsf@HIDDEN>
 <22698038-514D-48FF-89AA-EDB24984BEB0@HIDDEN>
To: Michael Albinus <michael.albinus@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 33135
Cc: 33135 <at> debbugs.gnu.org, Alan Third <alan@HIDDEN>
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: -1.0 (-)


--Apple-Mail-E13DD021-9FAE-40F3-ACF3-4669E23A2C9D
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

I was wrong, interactive threaded tramp over ange-ftp on macos doesn=E2=80=99=
t work. I have got more crashes lately after I updated branch, not sure if e=
rrors help but here are some:


 ;; Opening remote file=20
emacs(16737,0x700004306000) malloc: *** error for object 0x11cb50885: pointe=
r being freed was not allocated emacs(16737,0x111d105c0) malloc: *** error f=
or object 0x7ffeefbfb610: pointer being freed was not allocated emacs(16737,=
0x700004306000) malloc: *** set a breakpoint in malloc_error_break to debug e=
macs(16737,0x111d105c0) malloc: *** set a breakpoint in malloc_error_break t=
o debug Fatal error 6: Abort trapAbort trap: 6 logout Saving session... ...s=
aving history...truncating history files... ...completed.

;; Renaming file over SSH via tramp=20
objc[40791]: Invalid or prematurely-freed autorelease pool 0x10200b1c0. Fata=
l error 6: Abort trapAbort trap: 6=20

 ;; another local sudo
emacs(41111,0x70000c892000) malloc: *** error for object 0x70000d093530: poi=
nter being freed was not allocated emacs(41111,0x70000c892000) malloc: *** s=
et a breakpoint in malloc_error_break to debug Fatal error 4: Illegal instru=
ctionAbort trap: 6=20

;; another remote dired over SSH
emacs(40323,0x1181f95c0) malloc: *** error for object 0x103337305: pointer b=
eing freed was not allocated emacs(40323,0x1181f95c0) malloc: *** set a brea=
kpoint in malloc_error_break to debug

> 5 nov. 2018 kl. 16:39 skrev Christian Johansson <christian@HIDDEN>:
>=20
> 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.
>=20
> I tried user-interaction via threaded ange-ftp  tramp on macOS and it seem=
s to work on your branch. I will try it a bit more this week.
>=20
> Regards
> Christian
>=20
>> 5 nov. 2018 kl. 14:49 skrev Michael Albinus <michael.albinus@HIDDEN>:
>>=20
>> Christian Johansson <christian@HIDDEN> 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(#<process *ftp ---@---*>)
>>>  ange-ftp-wait-not-busy(#<process *ftp ---@---*>)
>>>  ange-ftp-raw-send-cmd(#<process *ftp ---@---*> "type ascii" nil
>>> (#f(compiled-function (result line host user cmd msg cont nowait)
>>> #<bytecode 0x4ffee879>) "---" "---" "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.

--Apple-Mail-E13DD021-9FAE-40F3-ACF3-4669E23A2C9D
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div dir=3D"ltr"></div><div dir=3D"ltr">I w=
as wrong, interactive threaded tramp over ange-ftp on macos doesn=E2=80=99t w=
ork. I have got more crashes lately after I updated branch, not sure if erro=
rs help but here are some:</div><div dir=3D"ltr"><br></div><div dir=3D"ltr">=
<span style=3D"background-color: rgba(255, 255, 255, 0);"><br></span></div><=
div dir=3D"ltr"><span style=3D"background-color: rgba(255, 255, 255, 0);">&n=
bsp;;; Opening remote file&nbsp;</span></div><div dir=3D"ltr"><span style=3D=
"background-color: rgba(255, 255, 255, 0);">emacs(<span class=3D"number">167=
37</span>,<span class=3D"number">0x700004306000</span>) malloc: *** <span cl=
ass=3D"built_in" style=3D"font-weight: bold;">error</span> <span class=3D"ke=
yword" style=3D"font-weight: bold;">for</span> object <span class=3D"number"=
>0x11cb50885</span>: pointer being freed was <span class=3D"keyword" style=3D=
"font-weight: bold;">not</span> allocated
emacs(<span class=3D"number">16737</span>,<span class=3D"number">0x111d105c0=
</span>) malloc: *** <span class=3D"built_in" style=3D"font-weight: bold;">e=
rror</span> <span class=3D"keyword" style=3D"font-weight: bold;">for</span> o=
bject <span class=3D"number">0x7ffeefbfb610</span>: pointer being freed was <=
span class=3D"keyword" style=3D"font-weight: bold;">not</span> allocated
emacs(<span class=3D"number">16737</span>,<span class=3D"number">0x700004306=
000</span>) malloc: *** set a breakpoint <span class=3D"keyword" style=3D"fo=
nt-weight: bold;">in</span> malloc_error_break to <span class=3D"built_in" s=
tyle=3D"font-weight: bold;">debug</span>
emacs(<span class=3D"number">16737</span>,<span class=3D"number">0x111d105c0=
</span>) malloc: *** set a breakpoint <span class=3D"keyword" style=3D"font-=
weight: bold;">in</span> malloc_error_break to <span class=3D"built_in" styl=
e=3D"font-weight: bold;">debug</span>
Fatal <span class=3D"built_in" style=3D"font-weight: bold;">error</span> <sp=
an class=3D"number">6</span>: Abort trapAbort trap: <span class=3D"number">6=
</span>
logout
Saving session...
...saving history...truncating history files...
...completed.</span></div><div dir=3D"ltr"><span style=3D"background-color: r=
gba(255, 255, 255, 0);"><br></span></div><div dir=3D"ltr"><span style=3D"bac=
kground-color: rgba(255, 255, 255, 0);">;; Renaming file over SSH via tramp&=
nbsp;</span></div><div dir=3D"ltr"><span style=3D"background-color: rgba(255=
, 255, 255, 0);">objc[<span class=3D"number">40791</span>]: Invalid <span cl=
ass=3D"keyword" style=3D"font-weight: bold;">or</span> prematurely-freed aut=
orelease pool <span class=3D"number">0x10200b1c0</span>.
Fatal <span class=3D"built_in" style=3D"font-weight: bold;">error</span> <sp=
an class=3D"number">6</span>: Abort trapAbort trap: <span class=3D"number">6=
</span>&nbsp;</span></div><div dir=3D"ltr"><span style=3D"background-color: r=
gba(255, 255, 255, 0);"><br></span></div><div dir=3D"ltr"><span style=3D"bac=
kground-color: rgba(255, 255, 255, 0);">&nbsp;;; another local sudo</span></=
div><div dir=3D"ltr"><span style=3D"background-color: rgba(255, 255, 255, 0)=
;">emacs(<span class=3D"number">41111</span>,<span class=3D"number">0x70000c=
892000</span>) malloc: *** <span class=3D"built_in" style=3D"font-weight: bo=
ld;">error</span> <span class=3D"keyword" style=3D"font-weight: bold;">for</=
span> object <span class=3D"number">0x70000d093530</span>: pointer being fre=
ed was <span class=3D"keyword" style=3D"font-weight: bold;">not</span> alloc=
ated
emacs(<span class=3D"number">41111</span>,<span class=3D"number">0x70000c892=
000</span>) malloc: *** set a breakpoint <span class=3D"keyword" style=3D"fo=
nt-weight: bold;">in</span> malloc_error_break to <span class=3D"built_in" s=
tyle=3D"font-weight: bold;">debug</span>
Fatal <span class=3D"built_in" style=3D"font-weight: bold;">error</span> <sp=
an class=3D"number">4</span>: Illegal instructionAbort trap: <span class=3D"=
number">6</span>&nbsp;
</span></div><div dir=3D"ltr"><span style=3D"background-color: rgba(255, 255=
, 255, 0);"><br></span></div><div dir=3D"ltr"><span style=3D"background-colo=
r: rgba(255, 255, 255, 0);">;; another remote dired over SSH</span></div><di=
v dir=3D"ltr"><span style=3D"background-color: rgba(255, 255, 255, 0);">emac=
s(<span class=3D"number">40323</span>,<span class=3D"number">0x1181f95c0</sp=
an>) malloc: *** <span class=3D"built_in" style=3D"font-weight: bold;">error=
</span> <span class=3D"keyword" style=3D"font-weight: bold;">for</span> obje=
ct <span class=3D"number">0x103337305</span>: pointer being freed was <span c=
lass=3D"keyword" style=3D"font-weight: bold;">not</span> allocated
emacs(<span class=3D"number">40323</span>,<span class=3D"number">0x1181f95c0=
</span>) malloc: *** set a breakpoint <span class=3D"keyword" style=3D"font-=
weight: bold;">in</span> malloc_error_break to <span class=3D"built_in" styl=
e=3D"font-weight: bold;">debug</span></span></div><div dir=3D"ltr"><br>5 nov=
. 2018 kl. 16:39 skrev Christian Johansson &lt;<a href=3D"mailto:christian@c=
vj.se">christian@HIDDEN</a>&gt;:<br><br></div><blockquote type=3D"cite"><div=
 dir=3D"ltr"><span>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.</span><br=
><span></span><br><span>I tried user-interaction via threaded ange-ftp &nbsp=
;tramp on macOS and it seems to work on your branch. I will try it a bit mor=
e this week.</span><br><span></span><br><span>Regards</span><br><span>Christ=
ian</span><br><span></span><br><blockquote type=3D"cite"><span>5 nov. 2018 k=
l. 14:49 skrev Michael Albinus &lt;<a href=3D"mailto:michael.albinus@HIDDEN"=
>michael.albinus@HIDDEN</a>&gt;:</span><br></blockquote><blockquote type=3D"=
cite"><span></span><br></blockquote><blockquote type=3D"cite"><span>Christia=
n Johansson &lt;<a href=3D"mailto:christian@HIDDEN">christian@HIDDEN</a>&gt;=
 writes:</span><br></blockquote><blockquote type=3D"cite"><span></span><br><=
/blockquote><blockquote type=3D"cite"><blockquote type=3D"cite"><span>Hi Mic=
hael</span><br></blockquote></blockquote><blockquote type=3D"cite"><span></s=
pan><br></blockquote><blockquote type=3D"cite"><span>Hi Christian,</span><br=
></blockquote><blockquote type=3D"cite"><span></span><br></blockquote><block=
quote type=3D"cite"><blockquote type=3D"cite"><span>I haven't experienced a s=
ingle crash since I started using your</span><br></blockquote></blockquote><=
blockquote type=3D"cite"><blockquote type=3D"cite"><span>threaded tramp bran=
ch but I sometimes get errors like this, but it</span><br></blockquote></blo=
ckquote><blockquote type=3D"cite"><blockquote type=3D"cite"><span>doesn't ma=
ke Emacs crash, I can just retry same operation and it will</span><br></bloc=
kquote></blockquote><blockquote type=3D"cite"><blockquote type=3D"cite"><spa=
n>work. It seems like sometimes a thread is busy and Emacs tries to</span><b=
r></blockquote></blockquote><blockquote type=3D"cite"><blockquote type=3D"ci=
te"><span>access it in some way and this error occurs, I have replaced sensi=
tive</span><br></blockquote></blockquote><blockquote type=3D"cite"><blockquo=
te type=3D"cite"><span>information with --- below</span><br></blockquote></b=
lockquote><blockquote type=3D"cite"><blockquote type=3D"cite"><span></span><=
br></blockquote></blockquote><blockquote type=3D"cite"><blockquote type=3D"c=
ite"><span>Debugger entered--Lisp error: (error "Attempt to accept output fr=
om</span><br></blockquote></blockquote><blockquote type=3D"cite"><blockquote=
 type=3D"cite"><span>process *ftp ---...")</span><br></blockquote></blockquo=
te><blockquote type=3D"cite"><blockquote type=3D"cite"><span> &nbsp;accept-p=
rocess-output(#&lt;process *ftp ---@---*&gt;)</span><br></blockquote></block=
quote><blockquote type=3D"cite"><blockquote type=3D"cite"><span> &nbsp;ange-=
ftp-wait-not-busy(#&lt;process *ftp ---@---*&gt;)</span><br></blockquote></b=
lockquote><blockquote type=3D"cite"><blockquote type=3D"cite"><span> &nbsp;a=
nge-ftp-raw-send-cmd(#&lt;process *ftp ---@---*&gt; "type ascii" nil</span><=
br></blockquote></blockquote><blockquote type=3D"cite"><blockquote type=3D"c=
ite"><span>(#f(compiled-function (result line host user cmd msg cont nowait)=
</span><br></blockquote></blockquote><blockquote type=3D"cite"><blockquote t=
ype=3D"cite"><span>#&lt;bytecode 0x4ffee879&gt;) "---" "---" "type ascii" ni=
l nil nil) nil)</span><br></blockquote></blockquote><blockquote type=3D"cite=
"><span></span><br></blockquote><blockquote type=3D"cite"><span>Looks like t=
he ange-ftp process is not assigned to the proper thread. As</span><br></blo=
ckquote><blockquote type=3D"cite"><span>said, ange-ftp is a special case, it=
 wasn't handled yet.</span><br></blockquote><blockquote type=3D"cite"><span>=
</span><br></blockquote><blockquote type=3D"cite"><span>I've pushed a fix to=
 the feature/tramp-thread-safe branch; should work</span><br></blockquote><b=
lockquote type=3D"cite"><span>now. Could you pls retest?</span><br></blockqu=
ote><blockquote type=3D"cite"><span></span><br></blockquote><blockquote type=
=3D"cite"><blockquote type=3D"cite"><span>I haven't tried threaded tramp tha=
t requires user-interaction yet</span><br></blockquote></blockquote><blockqu=
ote type=3D"cite"><blockquote type=3D"cite"><span>though since I got ~/.auth=
info.gpg working with ange-ftp, I'll see if</span><br></blockquote></blockqu=
ote><blockquote type=3D"cite"><blockquote type=3D"cite"><span>I can test tha=
t this week</span><br></blockquote></blockquote><blockquote type=3D"cite"><s=
pan></span><br></blockquote><blockquote type=3D"cite"><span>Likely, this won=
't work. Nobody has provided a fix for this problem, yet.</span><br></blockq=
uote><blockquote type=3D"cite"><span></span><br></blockquote><blockquote typ=
e=3D"cite"><blockquote type=3D"cite"><span>Regards</span><br></blockquote></=
blockquote><blockquote type=3D"cite"><blockquote type=3D"cite"><span>Christi=
an</span><br></blockquote></blockquote><blockquote type=3D"cite"><span></spa=
n><br></blockquote><blockquote type=3D"cite"><span>Best regards, Michael.</s=
pan><br></blockquote></div></blockquote></body></html>=

--Apple-Mail-E13DD021-9FAE-40F3-ACF3-4669E23A2C9D--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33135; Package emacs. Full text available.

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


Received: (at 33135) by debbugs.gnu.org; 5 Nov 2018 15:39:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 05 10:39:53 2018
Received: from localhost ([127.0.0.1]:35456 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gJgyn-0003nP-0e
	for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 10:39:53 -0500
Received: from cvj.se ([31.192.230.63]:48255)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <christian@HIDDEN>) id 1gJgyj-0003nE-Rz
 for 33135 <at> 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=;
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 <christian@HIDDEN>)
 id 1gJgyh-00026W-Tl; Mon, 05 Nov 2018 16:39:48 +0100
Content-Type: text/plain;
	charset=utf-8
Mime-Version: 1.0 (1.0)
Subject: Re: bug#33135: 27.0.50;
 (make-thread) TRAMP interactive freeze macOS 10.14
From: Christian Johansson <christian@HIDDEN>
X-Mailer: iPhone Mail (16A404)
In-Reply-To: <874lcv1vo4.fsf@HIDDEN>
Date: Mon, 5 Nov 2018 16:39:40 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <22698038-514D-48FF-89AA-EDB24984BEB0@HIDDEN>
References: <a6406957-5102-7de8-e33a-3cf2286f3baa@HIDDEN>
 <20181024105344.GB40431@HIDDEN> <871s8fd2e3.fsf@HIDDEN>
 <c4c3c1f2-9cc3-f5a0-89f3-c9110f35682a@HIDDEN> <87d0ryqv9a.fsf@HIDDEN>
 <a374dd9b-d3b3-1f06-78d9-4f6d8a25c12e@HIDDEN> <874lcv1vo4.fsf@HIDDEN>
To: Michael Albinus <michael.albinus@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 33135
Cc: 33135 <at> debbugs.gnu.org, Alan Third <alan@HIDDEN>
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: -1.0 (-)

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 <michael.albinus@HIDDEN>:
>=20
> Christian Johansson <christian@HIDDEN> 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(#<process *ftp ---@---*>)
>>   ange-ftp-wait-not-busy(#<process *ftp ---@---*>)
>>   ange-ftp-raw-send-cmd(#<process *ftp ---@---*> "type ascii" nil
>> (#f(compiled-function (result line host user cmd msg cont nowait)
>> #<bytecode 0x4ffee879>) "---" "---" "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.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33135; Package emacs. Full text available.

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


Received: (at 33135) by debbugs.gnu.org; 5 Nov 2018 13:49:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 05 08:49:51 2018
Received: from localhost ([127.0.0.1]:34698 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gJfGJ-00011M-Ev
	for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 08:49:51 -0500
Received: from mout.gmx.net ([212.227.15.19]:43797)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1gJfGI-000119-38
 for 33135 <at> debbugs.gnu.org; Mon, 05 Nov 2018 08:49:50 -0500
Received: from detlef.gmx.de ([212.86.62.173]) by mail.gmx.com (mrgmx002
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M3AzH-1fUrgh2JhX-00swlO; Mon, 05
 Nov 2018 14:49:32 +0100
Received: from detlef.gmx.de ([212.86.62.173]) by mail.gmx.com (mrgmx002
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M3AzH-1fUrgh2JhX-00swlO; Mon, 05
 Nov 2018 14:49:32 +0100
From: Michael Albinus <michael.albinus@HIDDEN>
To: Christian Johansson <christian@HIDDEN>
Subject: Re: bug#33135: 27.0.50;
 (make-thread) TRAMP interactive freeze macOS 10.14
References: <a6406957-5102-7de8-e33a-3cf2286f3baa@HIDDEN>
 <20181024105344.GB40431@HIDDEN>
 <871s8fd2e3.fsf@HIDDEN> <c4c3c1f2-9cc3-f5a0-89f3-c9110f35682a@HIDDEN>
 <87d0ryqv9a.fsf@HIDDEN> <a374dd9b-d3b3-1f06-78d9-4f6d8a25c12e@HIDDEN>
Date: Mon, 05 Nov 2018 14:49:31 +0100
In-Reply-To: <a374dd9b-d3b3-1f06-78d9-4f6d8a25c12e@HIDDEN> (Christian
 Johansson's message of "Mon, 5 Nov 2018 07:03:10 +0100")
Message-ID: <874lcv1vo4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:HNy+8OaZIdaCb4cmtLFfBN3OqfBDzBVSztXV2lKfRwSRPTG7b/d
 Xbw/NQRcZRBFvOL2V8eNbCGCIBsIXPayeYctDql8Y60Lh9dAX3PLr9mk/JJ86sYa2B1XTUq
 bqtuG+TNIYZlMLsIFJFMf55F0tkgLqZjkzP4gq+mig4PoAqZzSsXGK8VoS6UyJpuihNeHtj
 TG4r+tPY0xU3WXrn9EQHA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V01:K0:6/zK+UfpsZQ=:3srH0gglCiCVVh8TUOToLb
 dUNuMIJxslRu9fviFsOWIkk9P3CUm82D8APrY4+WgR6iYOnjyeulC9H69dx9Jg4pY/Nz1wwOP
 CxHjoxqKssUKpq9/r+FH9JY+N6/nDj1LhkISul/rrWDlmu5qXrFHzAx3F6E7Bx0dZTYBD7Wvh
 AuCm21y0VJBDa+0Z+OBlG03IgpumEi+yPfMDyDjUWgnUlzNecrZznHyvIXcR83EWqWl5NabDJ
 QQfarrZ5Mca83RwxHs1oMt8P1bwTEzQffGVUDrqEFR1XZ6FHarO2an9RYzP9nDU4Ca8tfSadM
 qr8Y/KUku2RN3XIXC6CJwPPoQfxvkvnJOgWcUcgR/cVL2QD6P/p7aShjC6sgqjjZ/qNfI4OVE
 68yrT8fAtL3+tLMT8Vwmm/FJwrAuGVGEllH+xmm3hLC70vKlZmIxM/izopMI6fOJPXNM78NRW
 CxvSs030vHK3Wjn0zjRLJn2R8qoZsYhw2SdK/ehu8p8hUhBdlc2ERgX40hI7HvatDIiFuX+d8
 ombEAS0cb8QqTkbbmhmm/X5QBCKAKW81NoqOTiVqm+UTsal1Uk+6NsT7b4fs0janABtuu+fcS
 yTseITTMZnrUbHgSREfKqCzc19UEftYPsjvZ+iGauAkXuYl1fCZDdDri5KLKFA3z+AaS9z08n
 wvDh2dEtYMLJLRjFhUXwJQfEH6JaUsUL2cK9KOdbxGG0rqleBNSHJYAEvlyoc81OTnX/aFjzW
 UzephFjOzYNVtUy5zxdKGpTJXOKiyeo55uES32eI6Adxpm94W5rz45jqY/ZFSAuKsDHZa0KRR
 ibyX8zg14rlANIv8rHgNOhtnoyUmimGUuGFur0LcZ40Gyg/hNI=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 33135
Cc: 33135 <at> debbugs.gnu.org, Alan Third <alan@HIDDEN>
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: -1.7 (-)

Christian Johansson <christian@HIDDEN> writes:

> Hi Michael

Hi Christian,

> 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 ---...")
> =C2=A0 accept-process-output(#<process *ftp ---@---*>)
> =C2=A0 ange-ftp-wait-not-busy(#<process *ftp ---@---*>)
> =C2=A0 ange-ftp-raw-send-cmd(#<process *ftp ---@---*> "type ascii" nil
> (#f(compiled-function (result line host user cmd msg cont nowait)
> #<bytecode 0x4ffee879>) "---" "---" "type ascii" nil nil nil) nil)

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.

I've pushed a fix to the feature/tramp-thread-safe branch; should work
now. Could you pls retest?

> 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

Likely, this won't work. Nobody has provided a fix for this problem, yet.

> Regards
> Christian

Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33135; Package emacs. Full text available.

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


Received: (at 33135) by debbugs.gnu.org; 5 Nov 2018 06:03:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 05 01:03:21 2018
Received: from localhost ([127.0.0.1]:34518 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gJXyr-0004Vv-DH
	for submit <at> debbugs.gnu.org; Mon, 05 Nov 2018 01:03:21 -0500
Received: from cvj.se ([31.192.230.63]:55534)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <christian@HIDDEN>) id 1gJXyp-0004Vm-A1
 for 33135 <at> 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=;
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 <christian@HIDDEN>)
 id 1gJXyn-0001yV-Oc; Mon, 05 Nov 2018 07:03:18 +0100
Subject: Re: bug#33135: 27.0.50; (make-thread) TRAMP interactive freeze macOS
 10.14
To: Michael Albinus <michael.albinus@HIDDEN>
References: <a6406957-5102-7de8-e33a-3cf2286f3baa@HIDDEN>
 <20181024105344.GB40431@HIDDEN> <871s8fd2e3.fsf@HIDDEN>
 <c4c3c1f2-9cc3-f5a0-89f3-c9110f35682a@HIDDEN> <87d0ryqv9a.fsf@HIDDEN>
From: Christian Johansson <christian@HIDDEN>
Message-ID: <a374dd9b-d3b3-1f06-78d9-4f6d8a25c12e@HIDDEN>
Date: Mon, 5 Nov 2018 07:03:10 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0)
 Gecko/20100101 Thunderbird/60.2.1
MIME-Version: 1.0
In-Reply-To: <87d0ryqv9a.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 33135
Cc: 33135 <at> debbugs.gnu.org, Alan Third <alan@HIDDEN>
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: -1.0 (-)

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(#<process *ftp ---@---*>)
   ange-ftp-wait-not-busy(#<process *ftp ---@---*>)
   ange-ftp-raw-send-cmd(#<process *ftp ---@---*> "type ascii" nil 
(#f(compiled-function (result line host user cmd msg cont nowait) 
#<bytecode 0x4ffee879>) "---" "---" "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 <christian@HIDDEN> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33135; Package emacs. Full text available.

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


Received: (at 33135) by debbugs.gnu.org; 25 Oct 2018 08:35:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 25 04:35:32 2018
Received: from localhost ([127.0.0.1]:41195 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gFb76-00027I-N4
	for submit <at> debbugs.gnu.org; Thu, 25 Oct 2018 04:35:32 -0400
Received: from mout.gmx.net ([212.227.15.19]:51383)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1gFb75-000273-Jf
 for 33135 <at> debbugs.gnu.org; Thu, 25 Oct 2018 04:35:32 -0400
Received: from detlef.gmx.de ([212.91.243.74]) by mail.gmx.com (mrgmx002
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MZCUG-1g1Nc613Lo-00KvLJ; Thu, 25
 Oct 2018 10:35:14 +0200
Received: from detlef.gmx.de ([212.91.243.74]) by mail.gmx.com (mrgmx002
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MZCUG-1g1Nc613Lo-00KvLJ; Thu, 25
 Oct 2018 10:35:14 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Christian Johansson <christian@HIDDEN>
Subject: Re: bug#33135: 27.0.50;
 (make-thread) TRAMP interactive freeze macOS 10.14
References: <a6406957-5102-7de8-e33a-3cf2286f3baa@HIDDEN>
 <20181024105344.GB40431@HIDDEN>
 <871s8fd2e3.fsf@HIDDEN> <c4c3c1f2-9cc3-f5a0-89f3-c9110f35682a@HIDDEN>
Date: Thu, 25 Oct 2018 10:35:13 +0200
In-Reply-To: <c4c3c1f2-9cc3-f5a0-89f3-c9110f35682a@HIDDEN> (Christian
 Johansson's message of "Thu, 25 Oct 2018 07:08:58 +0200")
Message-ID: <87d0ryqv9a.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:FZ4xhLsNwWJthfGCtEPkYW6YX7zZxEDD4QcHoLanNRrFQCfoTrv
 bYlR516pbhNySMlku8fP0GljtBUlC9ab1z6waR9wPkIZ1/YpwLrPteAKENJ/v25DM2111VH
 ZLgjyYToCvl+rLC0aJsqnvlKUtFLKz8lkyP6y8MzWsdT0XG89eqsw7RJVmi/uaFJJq4dzR0
 vGtY7Mvn7NdTDVXtROlaA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V01:K0:G2hxuj2oRzs=:gzB/s+Ho9PgOVEuaQaIX4Y
 MxqdFkIYGHYGN+0C2s/DWhkCTU6srpzBzIJiIzdHR121Mqq2wytAlptoS9vcNIZPq6+jqZTO1
 LwtaPnvsoKA9jNZ1SAnSxWc1z8YQ7A4qcIdXbLE3L9/g0jIaB0IAdsXXBmjF3e6AmVXBSRVD3
 TNA9m8XQQN3UNF2IUNFzIGbG8hdx4/RRXn4UW0o68A8WJFjSoAbw3ZZwAWiZ1CASu6gR3oCAu
 PyT0uNm5SzbtQ/h7nhjK9RXYGw8F7RF98PQQa3b2c9SLL6Yu9zu7fesj17JwrT1Zu70dpkJER
 KsFFS684b5np8/B8j+WRC3WQwgLc/ZIkSCxjxbDm4G9DLI9SPh901WmvsYdBbh6rujkINiKzE
 yzLe8T8KNIop+DBqocXkNMlOsjfwU0UiSZdBw5Jg85wiG/YcOhsVQ3luvQAgPseVJE9RsWw+a
 8CqeLxdZENr/00pduC58KCDMmNVnB/j+hytziExKd77jvoJCP4PtcYwHp4kLfr7SiSpzthQ4e
 gkzwVeLO5KuVQRaulRS2uAKvJ+v/gozGBDPq0/YzGB4JORqo0Cwq6Vlq1FzJAfcZ6G+auXOAD
 AaS1uwmuOeUyiNuRA1FFZXQlwlzBHy6h5aNYOTAd0f0yqx5UJT2XXJYrg8p0bN9GepI5kvk54
 /ZWQ9Bh/ka7yP+UfLKZ0w7aff6tmaETSVR7ZFT6TNIPJ9iz5jkzMUmZVqQlgZqKcy5YHxzVrq
 +NrDUPHthGkKSt23HG1R/V57/FARXJZZRMAHyNoC7DOeLaNy24d23ocTOj/7s0RZjgSUooV0x
 nwsmLQbgQ/xdq3EbXRJh+xE3aGY9w6E10IPb0JC+BTFon1xuZo=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 33135
Cc: 33135 <at> debbugs.gnu.org, Alan Third <alan@HIDDEN>
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: -1.7 (-)

Christian Johansson <christian@HIDDEN> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33135; Package emacs. Full text available.

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


Received: (at 33135) by debbugs.gnu.org; 25 Oct 2018 05:09:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 25 01:09:10 2018
Received: from localhost ([127.0.0.1]:41132 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gFXtN-0005Wm-WF
	for submit <at> debbugs.gnu.org; Thu, 25 Oct 2018 01:09:10 -0400
Received: from cvj.se ([31.192.230.63]:48381)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <christian@HIDDEN>) id 1gFXtM-0005We-Eq
 for 33135 <at> debbugs.gnu.org; Thu, 25 Oct 2018 01:09:08 -0400
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=J4zpzVrVRIj6QL8M24NL8VFpI0Td0y3Ju7NY8xAFIpk=; 
 b=hirh/kn/mP+IYHKJopFm9SDV4s1jyzqBzF6IF4YUgINx9rKGC6DfvQ6BUPT/LNHHGwAm1B1q8XUdYodNZQq8L+HynL16jlS/mSQ0sgmtQTVnrl9GBCKrIKrqVnpfll3YBupnNURwgr+I1BYhG19vOFvAdMmKni6q4OrESF2Py6w=;
Received: from m77-218-242-231.cust.tele2.se ([77.218.242.231]
 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 <christian@HIDDEN>)
 id 1gFXtK-0000OU-1f; Thu, 25 Oct 2018 07:09:07 +0200
Subject: Re: bug#33135: 27.0.50; (make-thread) TRAMP interactive freeze macOS
 10.14
To: Michael Albinus <michael.albinus@HIDDEN>, Alan Third <alan@HIDDEN>
References: <a6406957-5102-7de8-e33a-3cf2286f3baa@HIDDEN>
 <20181024105344.GB40431@HIDDEN> <871s8fd2e3.fsf@HIDDEN>
From: Christian Johansson <christian@HIDDEN>
Message-ID: <c4c3c1f2-9cc3-f5a0-89f3-c9110f35682a@HIDDEN>
Date: Thu, 25 Oct 2018 07:08:58 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0)
 Gecko/20100101 Thunderbird/60.2.1
MIME-Version: 1.0
In-Reply-To: <871s8fd2e3.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 33135
Cc: 33135 <at> debbugs.gnu.org
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: -1.0 (-)

Hi Michael

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 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

Regards
Christian

On 2018-10-24 13:12, Michael Albinus wrote:
> Alan Third <alan@HIDDEN> writes:
>
>>> Hi!
> Hi,
>
>>> Steps to reproduce:
>>> 1. Open Emacs without any configuration: src/emacs -Q
>>> 2. Make sure you are in *scratch* buffer
>>> 3. Paste following Emacs Lisp code:
>>>
>>> ;; FTP URL: ftp.dlptest.com or ftp://ftp.dlptest.com/
>>> ;; FTP User: dlpuser@HIDDEN
>>> ;; Password: e73jzTRTNqCN9PYAAjjn
>>> (make-thread (lambda()
>>>                 (message "Listing directory files..")
>>>                 (let ((files (directory-files
>>> "/ftp:dlpuser@HIDDEN@ftp.dlptest.com:/")))
>>>                   (message "Opened directory")
>>>                   (message "Directory files: %s" files))))
>>>
>>> 4. Run M-x eval-buffer
>>> 5. Emacs asks for FTP password, paste in mini-buffer: e73jzTRTNqCN9PYAAjjn
>>> 6. Emacs now hangs, asks for password again and you can't stop it using C-g.
>>> You get error in terminal:
>> The NS port currently doesn’t handle interactive functions from
>> threads very well. I suspect the problem is being caused by displaying
>> a message from the background thread.
> It's not only the NS port. There is a git branch
> feature/tramp-thread-safe dedicated to make Tramp thread-safe. However,
> this doesn't work well yet, see for example bug#25214 / bug#32426.
>
> Furthermore, the "ftp" method navigates from Tramp to Ange-FTP. I
> haven't tested this for being thread-safe; given that nobody has worked
> on this I would expect even more problems.
>
> Anyway, if you intend to continue to test this functionality, I
> recommend you to use the said branch. There are changes which make file
> visiting commands async aware, via a prefix command.  "C-x & C-x C-f ..."
> is supposed to visit files asynchronously. This works for both local
> files and remote files; but for local files you'll see the difference
> for large files only.
>
> Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33135; Package emacs. Full text available.

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


Received: (at 33135) by debbugs.gnu.org; 25 Oct 2018 05:03:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 25 01:03:15 2018
Received: from localhost ([127.0.0.1]:41128 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gFXnf-0005Ic-5N
	for submit <at> debbugs.gnu.org; Thu, 25 Oct 2018 01:03:15 -0400
Received: from cvj.se ([31.192.230.63]:46113)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <christian@HIDDEN>) id 1gFXnc-0005IT-Ox
 for 33135 <at> debbugs.gnu.org; Thu, 25 Oct 2018 01:03:13 -0400
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=SIt4te1cm25fFfLNmecblJZn48SyS8Z3cmnrwJP0pqc=; 
 b=AfAWi2EHzqI1c4R3fYd+6jK/TrWMBJ1tUNVsRMUOJ2ncCkU4sGE3dsh1JB5GKF8ZvAnFziZW/on4xkEOFKjRxV7yCFfKOho9j638I02merSjwQkJxGXIYJFEoiLWMkVq1Wl8g9SD3IHHjUKFWzHZUG6MMG9NJ0kkxMww6MGTOYs=;
Received: from m77-218-242-231.cust.tele2.se ([77.218.242.231]
 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 <christian@HIDDEN>)
 id 1gFXna-0000BN-Re; Thu, 25 Oct 2018 07:03:11 +0200
Subject: Re: bug#33135: 27.0.50; (make-thread) TRAMP interactive freeze macOS
 10.14
To: Alan Third <alan@HIDDEN>
References: <a6406957-5102-7de8-e33a-3cf2286f3baa@HIDDEN>
 <20181024105344.GB40431@HIDDEN>
From: Christian Johansson <christian@HIDDEN>
Message-ID: <e898741e-569e-3144-d3ec-40c51bfe1dcb@HIDDEN>
Date: Thu, 25 Oct 2018 07:03:02 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0)
 Gecko/20100101 Thunderbird/60.2.1
MIME-Version: 1.0
In-Reply-To: <20181024105344.GB40431@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 33135
Cc: 33135 <at> debbugs.gnu.org
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: -1.0 (-)

Alright, I guessed that the threaded user-interaction wasn't completed 
yet, TRAMP without user-interaction seems to work however. Keep up the 
good work. At least it should be easy to test it once it's finished with 
my test. If you access my example without the treading and Emacs saves 
the password it will work inside the thread too I think because there 
will be no need for user-interaction

Regards
Christian

On 2018-10-24 12:53, Alan Third wrote:
> On Wed, Oct 24, 2018 at 12:15:22PM +0200, Christian Johansson wrote:
>> Hi!
>>
>> I am able to reproduce this on two different computers using macOS 10.14 but
>> I haven't tested this on any other system.
>>
>> Steps to reproduce:
>> 1. Open Emacs without any configuration: src/emacs -Q
>> 2. Make sure you are in *scratch* buffer
>> 3. Paste following Emacs Lisp code:
>>
>> ;; FTP URL: ftp.dlptest.com or ftp://ftp.dlptest.com/
>> ;; FTP User: dlpuser@HIDDEN
>> ;; Password: e73jzTRTNqCN9PYAAjjn
>> (make-thread (lambda()
>>                 (message "Listing directory files..")
>>                 (let ((files (directory-files
>> "/ftp:dlpuser@HIDDEN@ftp.dlptest.com:/")))
>>                   (message "Opened directory")
>>                   (message "Directory files: %s" files))))
>>
>> 4. Run M-x eval-buffer
>> 5. Emacs asks for FTP password, paste in mini-buffer: e73jzTRTNqCN9PYAAjjn
>> 6. Emacs now hangs, asks for password again and you can't stop it using C-g.
>> You get error in terminal:
> The NS port currently doesn’t handle interactive functions from
> threads very well. I suspect the problem is being caused by displaying
> a message from the background thread.
>
>> Christians-Air:emacs christianjohansson$ src/emacs -Q
>> 2018-10-24 12:07:58.383 emacs[627:14815] Failed to initialize color list
>> unarchiver: Error Domain=NSCocoaErrorDomain Code=4864 "***
>> -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]:
>> non-keyed archive cannot be decoded by NSKeyedUnarchiver"
>> UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver
>> _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive
>> cannot be decoded by NSKeyedUnarchiver}
> This error will be fixed in Emacs 26.2.
>
>> 2018-10-24 12:08:28.515 emacs[627:15311] WARNING: NSWindow drag regions
>> should only be invalidated on the Main Thread! This will throw an exception
>> in the future. Called from (
>>      0   AppKit                              0x00007fff334132e3
>> -[NSWindow(NSWindow_Theme)
>> _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 386
>>      1   AppKit                              0x00007fff33435422
>> -[NSThemeFrame _tileTitlebarAndRedisplay:] + 98
>>      2   AppKit                              0x00007fff334604dd
>> -[NSTitledFrame _titleDidChange] + 217
>>      3   AppKit                              0x00007fff3345ff89
>> -[NSTitledFrame setTitle:] + 730
>>      4   AppKit                              0x00007fff3345fc00
>> -[NSThemeFrame setTitle:] + 50
>>      5   AppKit                              0x00007fff33423082 -[NSWindow
>> _dosetTitle:andDefeatWrap:] + 211
>>      6   emacs                               0x00000001001e7371
>> ns_set_name_internal + 161
>>      7   emacs                               0x000000010004f640
>> x_consider_frame_title + 784
>>      8   emacs                               0x0000000100028ad5
>> redisplay_internal + 2949
> <snip>
>>      73  emacs                               0x00000001001b624a run_thread +
>> 138
>>      74  libsystem_pthread.dylib             0x00007fff6316d33d _pthread_body
>> + 126
>>      75  libsystem_pthread.dylib             0x00007fff631702a7
>> _pthread_start + 70
>>      76  libsystem_pthread.dylib             0x00007fff6316c425 thread_start
>> + 13
>> )
> Yes, we can see redisplay is being called from within the thread, and
> that just won’t work currently, I’m afraid.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33135; Package emacs. Full text available.

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


Received: (at 33135) by debbugs.gnu.org; 24 Oct 2018 11:12:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 24 07:12:58 2018
Received: from localhost ([127.0.0.1]:39121 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gFH5u-00047W-1w
	for submit <at> debbugs.gnu.org; Wed, 24 Oct 2018 07:12:58 -0400
Received: from mout.gmx.net ([212.227.15.15]:59293)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael.albinus@HIDDEN>) id 1gFH5r-00047I-Uj
 for 33135 <at> debbugs.gnu.org; Wed, 24 Oct 2018 07:12:56 -0400
Received: from detlef.gmx.de ([79.140.120.250]) by mail.gmx.com (mrgmx003
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M4WNA-1fNRUI2kXs-00yk72; Wed, 24
 Oct 2018 13:12:38 +0200
Received: from detlef.gmx.de ([79.140.120.250]) by mail.gmx.com (mrgmx003
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M4WNA-1fNRUI2kXs-00yk72; Wed, 24
 Oct 2018 13:12:38 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
To: Alan Third <alan@HIDDEN>
Subject: Re: bug#33135: 27.0.50;
 (make-thread) TRAMP interactive freeze macOS 10.14
References: <a6406957-5102-7de8-e33a-3cf2286f3baa@HIDDEN>
 <20181024105344.GB40431@HIDDEN>
Date: Wed, 24 Oct 2018 13:12:36 +0200
In-Reply-To: <20181024105344.GB40431@HIDDEN> (Alan Third's
 message of "Wed, 24 Oct 2018 11:53:44 +0100")
Message-ID: <871s8fd2e3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:MIJY9BA2WiCwdSJVklD1LRalSZLJEQcfsqJhGPJstkspHncvkKU
 NogF9yc0WznNLHFjYnprV/lhWT9IGZ1vZHDAZKybQDRUgwR5dFHD0BQ3oZrAW0NLQGnpwKN
 6cQZ4Jc8YjqD1TSab5oW+YUObiQja/3yoRv5WbEwa02Pot4rkP+RRSfyUFxNw9suRkLQOfa
 JHnEJa4zuQfQUwLNReNYg==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V01:K0:VnDSDQFP02Y=:jS9PYxPdjcRBr9p3IZgUDy
 Jix9h8t1UhT+B8+m0OnzGgsbHtZ+JmK5uqmDzp4kTOHp96J3okDKZF6Us7nWBOmtiqLv4Ops4
 /g4mvQHtkXL1zLlyZOgVWLL6tvCyrtSTBZQTxssel/Kp3+RYLo5HWiYxQ9Y/RTVe1NBI5O8nR
 dpFP2NqwkKpLJ+es1+vO22kumrwosr3CEotBCmWrkxplGIWLoup9TmmC6N1WEIDtpNuRkwPeY
 Rx6+GqvSU9R0h615BruysMweH4xTgxqTt/EzBEP0LplDnoIdAgWKJ10zNX+gTcYYWL0uTAHeb
 o9MP2VlQRFljbG3ZUaoC1xXanfuc52oCIljSk0j5Q7o5LFBzLGDdGLS4mrIRZvlvweByB/S+x
 BQIiAM76+o4OUorrNu/Qlq/c6/Bm5qd36R5idAkom/2QC4I4245y3UkRUGZ2vd9BZol1KTitj
 6OQ1r9Sby6Y7JuMlKB0CKzE11frInHyP0OCIfa1UgCnIie0e0wfyFkkAYufPJa40Zwx0ZF8lW
 a5LOfyjPDRSPzYrXniFXWGAVw9XGFj2MDajNKIHM3xUW0zfuAhPz56zUXEWN6h8Av1qPRcfJ2
 tGEB4PgLCOiuokAWU4RRLxWEwuy833Mf/eYi2IQ+mFtW17LobzbWz+8r7wRICsKa+vzK6nv8S
 gRVdsQajcokdJ05uclTIUTlqheSnGIOJjr7QntCHn6Md06GiG4hfoL6OuWf0rauxD00ng6WrT
 MaLDxRpq0dyIakRE3PpU2J9mGvKWu2iwSGckGiBnNBeKz38pyE1fwtYAuIo6YL1WvyRPdl+hI
 gitzHFO45ltihWlKjGKpMvIaaVBXJlLUWOLspFrymbCuOBbWJ0=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 33135
Cc: Christian Johansson <christian@HIDDEN>, 33135 <at> debbugs.gnu.org
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: -1.7 (-)

Alan Third <alan@HIDDEN> writes:

>> Hi!

Hi,

>> Steps to reproduce:
>> 1. Open Emacs without any configuration: src/emacs -Q
>> 2. Make sure you are in *scratch* buffer
>> 3. Paste following Emacs Lisp code:
>>=20
>> ;; FTP URL: ftp.dlptest.com or ftp://ftp.dlptest.com/
>> ;; FTP User: dlpuser@HIDDEN
>> ;; Password: e73jzTRTNqCN9PYAAjjn
>> (make-thread (lambda()
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 (message "Listing directory files..")
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 (let ((files (directory-files
>> "/ftp:dlpuser@HIDDEN@ftp.dlptest.com:/")))
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 (message "Opened directory")
>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 (message "Directory files: %s" files))))
>>=20
>> 4. Run M-x eval-buffer
>> 5. Emacs asks for FTP password, paste in mini-buffer: e73jzTRTNqCN9PYAAj=
jn
>> 6. Emacs now hangs, asks for password again and you can't stop it using =
C-g.
>> You get error in terminal:
>
> The NS port currently doesn=E2=80=99t handle interactive functions from
> threads very well. I suspect the problem is being caused by displaying
> a message from the background thread.

It's not only the NS port. There is a git branch
feature/tramp-thread-safe dedicated to make Tramp thread-safe. However,
this doesn't work well yet, see for example bug#25214 / bug#32426.

Furthermore, the "ftp" method navigates from Tramp to Ange-FTP. I
haven't tested this for being thread-safe; given that nobody has worked
on this I would expect even more problems.

Anyway, if you intend to continue to test this functionality, I
recommend you to use the said branch. There are changes which make file
visiting commands async aware, via a prefix command.  "C-x & C-x C-f ..."
is supposed to visit files asynchronously. This works for both local
files and remote files; but for local files you'll see the difference
for large files only.

Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33135; Package emacs. Full text available.

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


Received: (at 33135) by debbugs.gnu.org; 24 Oct 2018 10:53:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 24 06:53:55 2018
Received: from localhost ([127.0.0.1]:39104 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gFGnT-0003dS-CQ
	for submit <at> debbugs.gnu.org; Wed, 24 Oct 2018 06:53:55 -0400
Received: from mail-wr1-f46.google.com ([209.85.221.46]:35083)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <athird@HIDDEN>) id 1gFGnR-0003dB-67
 for 33135 <at> debbugs.gnu.org; Wed, 24 Oct 2018 06:53:53 -0400
Received: by mail-wr1-f46.google.com with SMTP id w5-v6so5075001wrt.2
 for <33135 <at> debbugs.gnu.org>; Wed, 24 Oct 2018 03:53:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20161025;
 h=sender:date:from:to:cc:subject:message-id:references:mime-version
 :content-disposition:content-transfer-encoding:in-reply-to
 :user-agent; bh=rYBYBi0K6JtKSPnfT+++FzALj4Z6DmPnp8p+w48Mv1k=;
 b=GHj+OEJt7Yc6rR4icx2rYlVYKOcXumc5QzT299TSttVXVF8MXybkVjjVojRkkW6SCq
 8D7jM0IWJqW87T4o2WouazPPFsRWQElNKDbBFUEMqq+w6PrbziKJQKG8BZVs4bKJcRRv
 k25tjWl1YbGWrURUcLma7sN1cNcqjVmgfDU/6YdeIWO2T8PLaDOXPRK+CKi80bnn2wHs
 a1gbhW/l8qvs1UFzLwrDIPkquY54wrtOcEX5/r8pwU2Z7hlIwpUs4Lj4XNaXTttbp5hj
 VMFkzBn8KjcSMeBe6HEWl7Gl1Yaz7GhT9ymIacWRftj8KUSIwx6JixPVfqqaasd+vAzv
 Pbgw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:date:from:to:cc:subject:message-id
 :references:mime-version:content-disposition
 :content-transfer-encoding:in-reply-to:user-agent;
 bh=rYBYBi0K6JtKSPnfT+++FzALj4Z6DmPnp8p+w48Mv1k=;
 b=APLLwHYsEMhGn2oXQadvXtu89eyPblHIXMdYuRQJPbaAIbgQbyGZSzms5/U5K6Ud4n
 wTBdrhYlET2XEsl9xx1YldF99ce/kWRciBOWLAHJ/eljWOmopWckshr/dR5SZw+bSYAL
 Mq6ljXuHkmUSparRgbXeWJHPRld3NtFOBEaAqibq2qnOyhqwWDDKUKQFDpiSXjEvr9kD
 BHTQtJUyA5th9/rufeOSxVs4ycMTJ5kWYGYEV+YtFzM7VzptyHNZlMRXmmqMFks6637m
 LbHuHC/QVm6tLIR04323T1UCz98uChr1/6uy5Vi5MPe3GHoH8ztHq2zjJEHbrLCRBZdY
 J8AA==
X-Gm-Message-State: AGRZ1gLhDO1S7bfRwcU7sCUdIcbzA/6yA/R8+Z5T392+iCjcujfjExHh
 oI3aIKRziAHmF27zVpFE8NTO3XPv
X-Google-Smtp-Source: AJdET5ctcyw7HEw2XRxAE96Y76Fj9HCpH6KBExYO975Lw1btZIxONno+j8UyN/GyiHcI6+efYMvYzg==
X-Received: by 2002:a5d:410d:: with SMTP id l13-v6mr766045wrp.61.1540378427266; 
 Wed, 24 Oct 2018 03:53:47 -0700 (PDT)
Received: from breton.holly.idiocy.org
 (ip6-2001-08b0-03f8-8129-a9a7-73e3-89ce-d96b.holly.idiocy.org.
 [2001:8b0:3f8:8129:a9a7:73e3:89ce:d96b])
 by smtp.gmail.com with ESMTPSA id 191-v6sm5553236wmk.30.2018.10.24.03.53.45
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 24 Oct 2018 03:53:46 -0700 (PDT)
Date: Wed, 24 Oct 2018 11:53:44 +0100
From: Alan Third <alan@HIDDEN>
To: Christian Johansson <christian@HIDDEN>
Subject: Re: bug#33135: 27.0.50; (make-thread) TRAMP interactive freeze macOS
 10.14
Message-ID: <20181024105344.GB40431@HIDDEN>
References: <a6406957-5102-7de8-e33a-3cf2286f3baa@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <a6406957-5102-7de8-e33a-3cf2286f3baa@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 33135
Cc: 33135 <at> debbugs.gnu.org
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.5 (/)

On Wed, Oct 24, 2018 at 12:15:22PM +0200, Christian Johansson wrote:
> Hi!
> 
> I am able to reproduce this on two different computers using macOS 10.14 but
> I haven't tested this on any other system.
> 
> Steps to reproduce:
> 1. Open Emacs without any configuration: src/emacs -Q
> 2. Make sure you are in *scratch* buffer
> 3. Paste following Emacs Lisp code:
> 
> ;; FTP URL: ftp.dlptest.com or ftp://ftp.dlptest.com/
> ;; FTP User: dlpuser@HIDDEN
> ;; Password: e73jzTRTNqCN9PYAAjjn
> (make-thread (lambda()
>                (message "Listing directory files..")
>                (let ((files (directory-files
> "/ftp:dlpuser@HIDDEN@ftp.dlptest.com:/")))
>                  (message "Opened directory")
>                  (message "Directory files: %s" files))))
> 
> 4. Run M-x eval-buffer
> 5. Emacs asks for FTP password, paste in mini-buffer: e73jzTRTNqCN9PYAAjjn
> 6. Emacs now hangs, asks for password again and you can't stop it using C-g.
> You get error in terminal:

The NS port currently doesn’t handle interactive functions from
threads very well. I suspect the problem is being caused by displaying
a message from the background thread.

> Christians-Air:emacs christianjohansson$ src/emacs -Q
> 2018-10-24 12:07:58.383 emacs[627:14815] Failed to initialize color list
> unarchiver: Error Domain=NSCocoaErrorDomain Code=4864 "***
> -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]:
> non-keyed archive cannot be decoded by NSKeyedUnarchiver"
> UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver
> _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive
> cannot be decoded by NSKeyedUnarchiver}

This error will be fixed in Emacs 26.2.

> 2018-10-24 12:08:28.515 emacs[627:15311] WARNING: NSWindow drag regions
> should only be invalidated on the Main Thread! This will throw an exception
> in the future. Called from (
>     0   AppKit                              0x00007fff334132e3
> -[NSWindow(NSWindow_Theme)
> _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 386
>     1   AppKit                              0x00007fff33435422
> -[NSThemeFrame _tileTitlebarAndRedisplay:] + 98
>     2   AppKit                              0x00007fff334604dd
> -[NSTitledFrame _titleDidChange] + 217
>     3   AppKit                              0x00007fff3345ff89
> -[NSTitledFrame setTitle:] + 730
>     4   AppKit                              0x00007fff3345fc00
> -[NSThemeFrame setTitle:] + 50
>     5   AppKit                              0x00007fff33423082 -[NSWindow
> _dosetTitle:andDefeatWrap:] + 211
>     6   emacs                               0x00000001001e7371
> ns_set_name_internal + 161
>     7   emacs                               0x000000010004f640
> x_consider_frame_title + 784
>     8   emacs                               0x0000000100028ad5
> redisplay_internal + 2949
<snip>
>     73  emacs                               0x00000001001b624a run_thread +
> 138
>     74  libsystem_pthread.dylib             0x00007fff6316d33d _pthread_body
> + 126
>     75  libsystem_pthread.dylib             0x00007fff631702a7
> _pthread_start + 70
>     76  libsystem_pthread.dylib             0x00007fff6316c425 thread_start
> + 13
> )

Yes, we can see redisplay is being called from within the thread, and
that just won’t work currently, I’m afraid.
-- 
Alan Third




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#33135; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 24 Oct 2018 10:16:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 24 06:16:58 2018
Received: from localhost ([127.0.0.1]:39080 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gFGDh-0002ig-4q
	for submit <at> debbugs.gnu.org; Wed, 24 Oct 2018 06:16:58 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40602)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <christian@HIDDEN>) id 1gFGDe-0002iT-T3
 for submit <at> debbugs.gnu.org; Wed, 24 Oct 2018 06:16:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <christian@HIDDEN>) id 1gFGDY-0006iK-1o
 for submit <at> debbugs.gnu.org; Wed, 24 Oct 2018 06:16:49 -0400
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 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:40321)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <christian@HIDDEN>) id 1gFGDX-0006iG-UL
 for submit <at> debbugs.gnu.org; Wed, 24 Oct 2018 06:16:47 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50170)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <christian@HIDDEN>) id 1gFGDV-0002XD-VH
 for bug-gnu-emacs@HIDDEN; Wed, 24 Oct 2018 06:16:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <christian@HIDDEN>) id 1gFGDS-0006fH-O9
 for bug-gnu-emacs@HIDDEN; Wed, 24 Oct 2018 06:16:45 -0400
Received: from cvj.se ([31.192.230.63]:58298)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <christian@HIDDEN>) id 1gFGDS-0006YD-7U
 for bug-gnu-emacs@HIDDEN; Wed, 24 Oct 2018 06:16:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cvj.se; s=x;
 h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID:Subject:From:To;
 bh=7P95RcwN609ZN2K5YTO0CmaCLHwKN3I8ZMikwndsm4Q=; 
 b=nZNjzfxpQFyXKP7vi63iDPrHibGfroBMQfJdC+BTbmOhvA9UEzRc5nTmtUa8D4OPaZmeUT6EXD2Xy5xHqHrhWEdkXiIH+dCVVTJw44nY+AqgxjmVKr104YoPo8vhqStSPZqv/JKCz2qlYTMxDk26Ra8JLfvQpib0X7bVlc+Zat8=;
Received: from g238.broadband3.quicknet.se ([46.17.190.238]
 helo=[192.168.1.160])
 by cvj.se with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <christian@HIDDEN>) id 1gFGCH-0004fU-Pn
 for bug-gnu-emacs@HIDDEN; Wed, 24 Oct 2018 12:15:30 +0200
To: bug-gnu-emacs@HIDDEN
From: Christian Johansson <christian@HIDDEN>
Subject: 27.0.50; (make-thread) TRAMP interactive freeze macOS 10.14
Message-ID: <a6406957-5102-7de8-e33a-3cf2286f3baa@HIDDEN>
Date: Wed, 24 Oct 2018 12:15:22 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0)
 Gecko/20100101 Thunderbird/60.2.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
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-Debbugs-Envelope-To: submit
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.1 (-----)

Hi!

I am able to reproduce this on two different computers using macOS 10.14 
but I haven't tested this on any other system.

Steps to reproduce:
1. Open Emacs without any configuration: src/emacs -Q
2. Make sure you are in *scratch* buffer
3. Paste following Emacs Lisp code:

;; FTP URL: ftp.dlptest.com or ftp://ftp.dlptest.com/
;; FTP User: dlpuser@HIDDEN
;; Password: e73jzTRTNqCN9PYAAjjn
(make-thread (lambda()
                (message "Listing directory files..")
                (let ((files (directory-files 
"/ftp:dlpuser@HIDDEN@ftp.dlptest.com:/")))
                  (message "Opened directory")
                  (message "Directory files: %s" files))))

4. Run M-x eval-buffer
5. Emacs asks for FTP password, paste in mini-buffer: e73jzTRTNqCN9PYAAjjn
6. Emacs now hangs, asks for password again and you can't stop it using 
C-g. You get error in terminal:

Christians-Air:emacs christianjohansson$ src/emacs -Q
2018-10-24 12:07:58.383 emacs[627:14815] Failed to initialize color list 
unarchiver: Error Domain=NSCocoaErrorDomain Code=4864 "*** 
-[NSKeyedUnarchiver 
_initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive 
cannot be decoded by NSKeyedUnarchiver" UserInfo={NSDebugDescription=*** 
-[NSKeyedUnarchiver 
_initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive 
cannot be decoded by NSKeyedUnarchiver}
2018-10-24 12:08:28.515 emacs[627:15311] WARNING: NSWindow drag regions 
should only be invalidated on the Main Thread! This will throw an 
exception in the future. Called from (
     0   AppKit                              0x00007fff334132e3 
-[NSWindow(NSWindow_Theme) 
_postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 386
     1   AppKit                              0x00007fff33435422 
-[NSThemeFrame _tileTitlebarAndRedisplay:] + 98
     2   AppKit                              0x00007fff334604dd 
-[NSTitledFrame _titleDidChange] + 217
     3   AppKit                              0x00007fff3345ff89 
-[NSTitledFrame setTitle:] + 730
     4   AppKit                              0x00007fff3345fc00 
-[NSThemeFrame setTitle:] + 50
     5   AppKit                              0x00007fff33423082 
-[NSWindow _dosetTitle:andDefeatWrap:] + 211
     6   emacs                               0x00000001001e7371 
ns_set_name_internal + 161
     7   emacs                               0x000000010004f640 
x_consider_frame_title + 784
     8   emacs                               0x0000000100028ad5 
redisplay_internal + 2949
     9   emacs                               0x00000001000d1e71 
read_char + 2097
     10  emacs                               0x00000001000cfc1d 
read_key_sequence + 1997
     11  emacs                               0x00000001000ce30c 
command_loop_1 + 1228
     12  emacs                               0x000000010014d103 
internal_condition_case + 259
     13  emacs                               0x00000001000dd400 
command_loop_2 + 48
     14  emacs                               0x000000010014c727 
internal_catch + 263
     15  emacs                               0x00000001000cd338 
command_loop + 200
     16  emacs                               0x00000001000cd220 
recursive_edit_1 + 112
     17  emacs                               0x00000001000fbc33 
read_minibuf + 2179
     18  emacs                               0x00000001000fc0ca 
Fread_string + 250
     19  emacs                               0x000000010014f831 
funcall_subr + 353
     20  emacs                               0x000000010014ebc8 Ffuncall 
+ 792
     21  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     22  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     23  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     24  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     25  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     26  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     27  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     28  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     29  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     30  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     31  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     32  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     33  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     34  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     35  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     36  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     37  emacs                               0x000000010014ebc8 Ffuncall 
+ 792
     38  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     39  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     40  emacs                               0x000000010014ebc8 Ffuncall 
+ 792
     41  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     42  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     43  emacs                               0x000000010014ebc8 Ffuncall 
+ 792
     44  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     45  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     46  emacs                               0x000000010014b270 call2 + 48
     47  emacs                               0x000000010014f7e7 
funcall_subr + 279
     48  emacs                               0x000000010014ebc8 Ffuncall 
+ 792
     49  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     50  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     51  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     52  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     53  emacs                               0x000000010014e740 Fapply + 512
     54  emacs                               0x000000010014ebc8 Ffuncall 
+ 792
     55  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     56  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     57  emacs                               0x000000010014e740 Fapply + 512
     58  emacs                               0x000000010014ebc8 Ffuncall 
+ 792
     59  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     60  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     61  emacs                               0x000000010014e740 Fapply + 512
     62  emacs                               0x000000010014ebc8 Ffuncall 
+ 792
     63  emacs                               0x000000010018ebf6 
exec_byte_code + 1814
     64  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     65  emacs                               0x000000010014f53c call5 + 60
     66  emacs                               0x000000010014a921 eval_sub 
+ 2049
     67  emacs                               0x000000010014bc8f Flet + 463
     68  emacs                               0x000000010014a723 eval_sub 
+ 1539
     69  emacs                               0x000000010014fc1d 
funcall_lambda + 813
     70  emacs                               0x000000010014eb2a Ffuncall 
+ 634
     71  emacs                               0x00000001001b69c5 
invoke_thread_function + 53
     72  emacs                               0x000000010014d103 
internal_condition_case + 259
     73  emacs                               0x00000001001b624a 
run_thread + 138
     74  libsystem_pthread.dylib             0x00007fff6316d33d 
_pthread_body + 126
     75  libsystem_pthread.dylib             0x00007fff631702a7 
_pthread_start + 70
     76  libsystem_pthread.dylib             0x00007fff6316c425 
thread_start + 13
)




In GNU Emacs 27.0.50 (build 3, x86_64-apple-darwin17.6.0, NS 
appkit-1561.40 Version 10.13.5 (Build 17F77))
  of 2018-06-30 built on Christians-MacBook-Air.local
Repository revision: ed65ea18152636500399a7b6b75c87bac7d4ef2b
Windowing system distributor 'Apple', version 10.3.1671
System Description:  Mac OS X 10.14

Recent messages:
Source file 
‘/Users/christianjohansson/Documents/emacs/lisp/mail/sendmail.el’ newer 
than byte-compiled file
Source file 
‘/Users/christianjohansson/Documents/emacs/lisp/gnus/message.el’ newer 
than byte-compiled file
Source file 
‘/Users/christianjohansson/Documents/emacs/lisp/mail/mailabbrev.el’ 
newer than byte-compiled file
Source file 
‘/Users/christianjohansson/Documents/emacs/lisp/gnus/gnus-util.el’ newer 
than byte-compiled file
Source file 
‘/Users/christianjohansson/Documents/emacs/lisp/mail/rmail.el’ newer 
than byte-compiled file
Source file ‘/Users/christianjohansson/Documents/emacs/lisp/epg.el’ 
newer than byte-compiled file
Source file 
‘/Users/christianjohansson/Documents/emacs/lisp/epg-config.el’ newer 
than byte-compiled file
Source file ‘/Users/christianjohansson/Documents/emacs/lisp/dired.el’ 
newer than byte-compiled file
Source file 
‘/Users/christianjohansson/Documents/emacs/lisp/emacs-lisp/bytecomp.el’ 
newer than byte-compiled file
Source file 
‘/Users/christianjohansson/Documents/emacs/lisp/emacs-lisp/byte-opt.el’ 
newer than byte-compiled file

Configured features:
RSVG IMAGEMAGICK DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS
NS THREADS

Important settings:
   value of $LC_CTYPE: UTF-8
   value of $LANG: en_SE.UTF-8
   locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
   tooltip-mode: t
   global-eldoc-mode: t
   eldoc-mode: t
   electric-indent-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-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml
mml-sec password-cache epa derived epg epg-config gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils help-mode easymenu cl-loaddefs cl-lib
apropos elec-pair time-date tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize
mule-util term/common-win 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 kqueue cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 206501 10044)
  (symbols 48 20198 2)
  (miscs 40 35 169)
  (strings 32 29396 1914)
  (string-bytes 1 776758)
  (vectors 16 35414)
  (vector-slots 8 727972 11800)
  (floats 8 48 68)
  (intervals 56 372 0)
  (buffers 992 13))





Acknowledgement sent to Christian Johansson <christian@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#33135; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 6 Nov 2018 18:00:02 UTC

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