From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gemini Lasswell Newsgroups: gmane.emacs.bugs Subject: bug#32537: 26.1.50; Tramp: Cursor jumps when typing during asynchronous find-file Date: Thu, 30 Aug 2018 11:49:27 -0700 Message-ID: <87sh2vwuyw.fsf@runbox.com> References: <875zzxowlw.fsf@runbox.com> <83mut9568l.fsf@gnu.org> <87r2ii1ddf.fsf@runbox.com> <83r2ih2poi.fsf@gnu.org> <87wos9vyzs.fsf@runbox.com> <83d0u12g7f.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1535655028 24729 195.159.176.226 (30 Aug 2018 18:50:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2018 18:50:28 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) Cc: 32537@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 30 20:50:24 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 1fvS1P-0006Kv-Rt for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Aug 2018 20:50:24 +0200 Original-Received: from localhost ([::1]:50389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvS3W-00036T-9S for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Aug 2018 14:52:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvS19-0001Xq-Nf for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 14:50:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvS15-0001bY-Fi for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 14:50:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34397) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fvS15-0001bP-9H for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 14:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fvS14-0007fF-V4 for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 14:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gemini Lasswell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Aug 2018 18:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32537 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32537-submit@debbugs.gnu.org id=B32537.153565498529432 (code B ref 32537); Thu, 30 Aug 2018 18:50:02 +0000 Original-Received: (at 32537) by debbugs.gnu.org; 30 Aug 2018 18:49:45 +0000 Original-Received: from localhost ([127.0.0.1]:39415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvS0m-0007ed-KV for submit@debbugs.gnu.org; Thu, 30 Aug 2018 14:49:45 -0400 Original-Received: from aibo.runbox.com ([91.220.196.211]:48176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvS0j-0007eT-FS for 32537@debbugs.gnu.org; Thu, 30 Aug 2018 14:49:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=rbselector1; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From; bh=eT0kxC247U86FlTHvdJ9cvX8sTsgRAdg+Xs8AkzaI/E=; b=l6WZe0q16pfP0Lr3vFRWDhuKJm 7juO1AnUvYb0MT8eSUNrWLhTjStAfRPWQdpC67lhAU2FftEGu60gqXVOtM53iv54xftHWf1cDdjbe +6UK1SwASzhSN17C/DgjyVh8uDYUinXMmWE3o1essG7P/FSPq/UUeBCrSu53D+xcklvWbNUZB2ryc pJQYkluFeMAvw0RixPBUPeJx+hy3F+pidWDjIo2rB6VObvzoRYs8o7eQIowC5grNYMUDafpISlORF MrCaciah6DRKnxD+o1RNlfa7sA/ULXUIO4g4XzPO0MgbAgsNWtFwA4JDcn1wCtv1XqdpCJ+GqGQbe 119L/h0w==; Original-Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1fvS0i-0003Xc-DO; Thu, 30 Aug 2018 20:49:40 +0200 Original-Received: by mailfront11.runbox.com with esmtpsa (uid:179284 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1fvS0X-0008O1-JE; Thu, 30 Aug 2018 20:49:31 +0200 In-Reply-To: <83d0u12g7f.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 29 Aug 2018 21:14:12 +0300") 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:149887 Archived-At: Eli Zaretskii writes: > So given this confusion over which thread is what, I think we need to > see the C-level backtrace of all the Lisp threads, to see which one(s) > of them really called temp_set_point_both. Printing the C-level backtraces on every breakpoint makes Emacs under gdb too slow to let me reproduce the bug, so I came up with this compromise: break set_point_both if current_thread->m_current_buffer == $1 commands p current_thread xbacktrace if current_thread != &main_thread thread apply 1 5-15 backtrace end cont end break temp_set_point_both if buffer == $1 commands p current_thread xbacktrace if current_thread != &main_thread thread apply 1 5-15 backtrace end cont end I also commented out hookpost-backtrace in .gdbinit to make the 'thread apply' work. Here's an excerpt from the log of the resulting gdb session, showing the set_point_both and temp_set_point_both calls that move point backwards, with the C-level backtraces of the Lisp threads: Thread 1 "find-file /scp:" hit Breakpoint 4, set_point_both (charpos=152, bytepos=152) at intervals.c:1826 1826 { $37 = (struct thread_state *) 0xd45600 "electric-indent-post-self-insert-function" (0xe407de80) "self-insert-command" (0xe407e080) "funcall-interactively" (0xe407e078) "call-interactively" (0xe407e350) "command-execute" (0xe407e668) [Switching to Thread 0x7f8722610700 (LWP 27981)] Thread 5 "emacs" hit Breakpoint 4, set_point_both (charpos=146, bytepos=146) at intervals.c:1826 1826 { $38 = (struct thread_state *) 0x3fd5080 "tramp-sh-handle-file-attributes" (0x2260a0b8) "apply" (0x2260a1f0) "tramp-sh-file-name-handler" (0x2260a498) "apply" (0x2260a648) "tramp-file-name-handler" (0x2260b688) "file-attributes" (0x2260b7e0) "tramp-check-cached-permissions" (0x2260bbb0) "tramp-sh-handle-file-readable-p" (0x2260bff8) "apply" (0x2260bff0) "tramp-sh-file-name-handler" (0x2260c420) "apply" (0x2260c418) "tramp-file-name-handler" (0x2260d458) "file-readable-p" (0x2260d578) "tramp-handle-file-accessible-directory-p" (0x2260d8f8) "apply" (0x2260d8f0) "tramp-sh-file-name-handler" (0x2260dd20) "apply" (0x2260dd18) "tramp-file-name-handler" (0x2260ed58) "file-accessible-directory-p" (0x2260eec8) "file-expand-wildcards" (0x2260f218) "find-file-noselect" (0x2260f7e0) 0x3fd4350 PVEC_COMPILED Thread 1 (Thread 0x7f873eb61b40 (LWP 27888)): #0 0x00007f87384808cc in __lll_lock_wait () from /nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/libpthread.so.0 #1 0x00007f8738479a45 in pthread_mutex_lock () from /nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/libpthread.so.0 #2 0x0000000000648df9 in sys_mutex_lock (mutex=mutex@entry=0xd455c0 ) at systhread.c:137 #3 0x0000000000647582 in acquire_global_lock (self=0xd45600 ) at thread.c:100 #4 really_call_select (arg=arg@entry=0x7ffce407d420) at thread.c:582 #5 0x00000000005aa698 in flush_stack_call_func (func=func@entry=0x6474f0 , arg=arg@entry=0x7ffce407d420) at alloc.c:5103 #6 0x00000000006489f9 in thread_select (func=, max_fds=max_fds@entry=11, rfds=rfds@entry=0x7ffce407d500, wfds=wfds@entry=0x7ffce407d580, efds=efds@entry=0x0, timeout=timeout@entry=0x7ffce407db60, sigmask=0x0) at thread.c:602 #7 0x000000000066ad16 in xg_select (fds_lim=11, rfds=rfds@entry=0x7ffce407dc60, wfds=wfds@entry=0x7ffce407dce0, efds=efds@entry=0x0, timeout=timeout@entry=0x7ffce407db60, sigmask=sigmask@entry=0x0) at xgselect.c:117 #8 0x0000000000622b61 in wait_reading_process_output (time_limit=time_limit@entry=30, nsecs=nsecs@entry=0, read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, wait_for_cell=..., wait_for_cell@entry=XIL(0), wait_proc=wait_proc@entry=0x0, just_wait_proc=0) at process.c:5384 #9 0x000000000042931b in sit_for (timeout=..., reading=reading@entry=true, display_option=display_option@entry=1) at dispnew.c:5801 #10 0x000000000054c241 in read_char (commandflag=commandflag@entry=1, map=..., map@entry=XIL(0x413a593), prev_event=..., used_mouse_menu=used_mouse_menu@entry=0x7ffce407e5bb, end_time=end_time@entry=0x0) at keyboard.c:2688 #11 0x000000000054de99 in read_key_sequence (keybuf=keybuf@entry=0x7ffce407e700, prompt=..., prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false) at keyboard.c:9108 #12 0x000000000054fc0e in command_loop_1 () at keyboard.c:1338 #13 0x00000000005cc4df in internal_condition_case (bfun=bfun@entry=0x54f9b0 , handlers=..., handlers@entry=XIL(0x5340), hfun=hfun@entry=0x542070 ) at eval.c:1349 #14 0x000000000053de38 in command_loop_2 (ignore=..., ignore@entry=XIL(0)) at keyboard.c:1079 #15 0x00000000005cc403 in internal_catch (tag=..., func=func@entry=0x53de10 , arg=..., arg@entry=XIL(0)) at eval.c:1114 #16 0x000000000053e06b in command_loop () at keyboard.c:1058 #17 0x0000000000541b74 in recursive_edit_1 () at keyboard.c:703 #18 0x0000000000541f3e in Frecursive_edit () at keyboard.c:774 #19 0x000000000041bfb2 in main (argc=, argv=) at emacs.c:1756 Thread 5 (Thread 0x7f8722610700 (LWP 27981)): #0 set_point_both (charpos=146, bytepos=146) at intervals.c:1826 #1 0x0000000000635f08 in set_point_from_marker (marker=..., marker@entry=XIL(0x3e59fc5)) at intervals.c:1771 #2 0x00000000005bbf32 in Fgoto_char (position=..., position@entry=XIL(0x3e59fc5)) at editfns.c:423 #3 0x00000000005c6920 in save_excursion_restore (marker=XIL(0x3e59fc5), window=...) at editfns.c:1023 #4 0x00000000005cce89 in unbind_to (count=, value=..., value@entry=XIL(0)) at eval.c:3593 #5 0x000000000061510f in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260a0b8) at bytecode.c:652 #6 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f8722609d30), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260a0b8) at eval.c:3023 #7 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=3, args=0x7f872260a0b0) at eval.c:2836 #8 0x00000000005cd755 in Fapply (nargs=2, args=) at eval.c:2442 #9 0x00000000005cd4af in Ffuncall (nargs=3, args=args@entry=0x7f872260a1e8) at eval.c:2822 #10 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=3, args=, args@entry=0x7f872260a498) at bytecode.c:632 #11 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260a218), nargs=nargs@entry=3, arg_vector=arg_vector@entry=0x7f872260a498) at eval.c:3023 #12 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=4, args=0x7f872260a490) at eval.c:2836 #13 0x00000000005cd755 in Fapply (nargs=3, args=) at eval.c:2442 #14 0x00000000005cd4af in Ffuncall (nargs=4, args=args@entry=0x7f872260a640) at eval.c:2822 #15 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=3, args=, args@entry=0x7f872260b688) at bytecode.c:632 #16 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260a6b8), nargs=nargs@entry=3, arg_vector=arg_vector@entry=0x7f872260b688) at eval.c:3023 #17 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7f872260b680) at eval.c:2836 #18 0x00000000005d1864 in call3 (fn=..., arg1=..., arg2=..., arg3=...) at eval.c:2689 #19 0x00000000005cf2f3 in funcall_subr (subr=0x900720 , numargs=numargs@entry=2, args=args@entry=0x7f872260b7e0) at eval.c:2899 #20 0x00000000005cd4af in Ffuncall (nargs=3, args=args@entry=0x7f872260b7d8) at eval.c:2822 #21 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260bbb0) at bytecode.c:632 #22 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260b818), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260bbb0) at eval.c:3023 #23 0x00000000005cd41d in Ffuncall (nargs=3, args=args@entry=0x7f872260bba8) at eval.c:2836 #24 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=1, args=, args@entry=0x7f872260bff8) at bytecode.c:632 #25 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260bbd0), nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7f872260bff8) at eval.c:3023 #26 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7f872260bff0) at eval.c:2836 #27 0x00000000005cd809 in Fapply (nargs=2, args=0x7f872260bff0) at eval.c:2399 #28 0x00000000005cd4af in Ffuncall (nargs=3, args=args@entry=0x7f872260bfe8) at eval.c:2822 #29 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260c420) at bytecode.c:632 #30 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260c018), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260c420) at eval.c:3023 #31 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7f872260c418) at eval.c:2836 #32 0x00000000005cd809 in Fapply (nargs=3, args=0x7f872260c418) at eval.c:2399 #33 0x00000000005cd4af in Ffuncall (nargs=4, args=args@entry=0x7f872260c410) at eval.c:2822 #34 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260d458) at bytecode.c:632 #35 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260c488), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260d458) at eval.c:3023 #36 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7f872260d450) at eval.c:2836 #37 0x00000000005cd5cf in call2 (fn=..., arg1=..., arg2=...) at eval.c:2681 #38 0x00000000005cf2fe in funcall_subr (subr=0x9000a0 , numargs=numargs@entry=1, args=args@entry=0x7f872260d578) at eval.c:2897 #39 0x00000000005cd4af in Ffuncall (nargs=2, args=args@entry=0x7f872260d570) at eval.c:2822 #40 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=1, args=, args@entry=0x7f872260d8f8) at bytecode.c:632 #41 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260d580), nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7f872260d8f8) at eval.c:3023 #42 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7f872260d8f0) at eval.c:2836 #43 0x00000000005cd809 in Fapply (nargs=2, args=0x7f872260d8f0) at eval.c:2399 #44 0x00000000005cd4af in Ffuncall (nargs=3, args=args@entry=0x7f872260d8e8) at eval.c:2822 #45 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260dd20) at bytecode.c:632 #46 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260d918), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260dd20) at eval.c:3023 #47 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7f872260dd18) at eval.c:2836 #48 0x00000000005cd809 in Fapply (nargs=3, args=0x7f872260dd18) at eval.c:2399 #49 0x00000000005cd4af in Ffuncall (nargs=4, args=args@entry=0x7f872260dd10) at eval.c:2822 #50 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260ed58) at bytecode.c:632 #51 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260dd88), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260ed58) at eval.c:3023 #52 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7f872260ed50) at eval.c:2836 #53 0x00000000005cd5cf in call2 (fn=..., arg1=..., arg1@entry=XIL(0x5940), arg2=..., arg2@entry=XIL(0x7f8718024484)) at eval.c:2681 #54 0x0000000000582b87 in Ffile_accessible_directory_p (filename=...) at fileio.c:2825 #55 0x00000000005cf2fe in funcall_subr (subr=0x8fff60 , numargs=numargs@entry=1, args=args@entry=0x7f872260eec8) at eval.c:2897 #56 0x00000000005cd4af in Ffuncall (nargs=2, args=args@entry=0x7f872260eec0) at eval.c:2822 #57 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260f218) at bytecode.c:632 #58 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260ef08), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260f218) at eval.c:3023 #59 0x00000000005cd41d in Ffuncall (nargs=3, args=args@entry=0x7f872260f210) at eval.c:2836 #60 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=5, args=, args@entry=0x7f872260f7e0) at bytecode.c:632 #61 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260f278), nargs=nargs@entry=5, arg_vector=arg_vector@entry=0x7f872260f7e0) at eval.c:3023 #62 0x00000000005cd41d in Ffuncall (nargs=6, args=args@entry=0x7f872260f7d8) at eval.c:2836 #63 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=0, args=, args@entry=0x3fd50a8) at bytecode.c:632 #64 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260f808), nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x3fd50a8) at eval.c:3023 #65 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=1, args=args@entry=0x3fd50a0) at eval.c:2836 #66 0x00000000006473db in invoke_thread_function () at thread.c:684 #67 0x00000000005cc4df in internal_condition_case (bfun=bfun@entry=0x6473a0 , handlers=..., handlers@entry=XIL(0xc330), hfun=hfun@entry=0x6472c0 ) at eval.c:1349 #68 0x0000000000647e01 in run_thread (state=0x3fd5080) at thread.c:723 #69 0x00007f87384772a7 in start_thread () from /nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/libpthread.so.0 #70 0x00007f8737b1457f in clone () from /nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/libc.so.6 warning: Unknown thread 6 warning: Unknown thread 7 warning: Unknown thread 8 warning: Unknown thread 9 warning: Unknown thread 10 warning: Unknown thread 11 warning: Unknown thread 12 warning: Unknown thread 13 warning: Unknown thread 14 warning: Unknown thread 15 Thread 5 "emacs" hit Breakpoint 5, temp_set_point_both ( buffer=0xdb5800 , charpos=charpos@entry=146, bytepos=bytepos@entry=146) at intervals.c:1729 1729 { $39 = (struct thread_state *) 0x3fd5080 "tramp-sh-handle-file-attributes" (0x2260a0b8) "apply" (0x2260a1f0) "tramp-sh-file-name-handler" (0x2260a498) "apply" (0x2260a648) "tramp-file-name-handler" (0x2260b688) "file-attributes" (0x2260b7e0) "tramp-check-cached-permissions" (0x2260bbb0) "tramp-sh-handle-file-readable-p" (0x2260bff8) "apply" (0x2260bff0) "tramp-sh-file-name-handler" (0x2260c420) "apply" (0x2260c418) "tramp-file-name-handler" (0x2260d458) "file-readable-p" (0x2260d578) "tramp-handle-file-accessible-directory-p" (0x2260d8f8) "apply" (0x2260d8f0) "tramp-sh-file-name-handler" (0x2260dd20) "apply" (0x2260dd18) "tramp-file-name-handler" (0x2260ed58) "file-accessible-directory-p" (0x2260eec8) "file-expand-wildcards" (0x2260f218) "find-file-noselect" (0x2260f7e0) 0x3fd4350 PVEC_COMPILED Thread 1 (Thread 0x7f873eb61b40 (LWP 27888)): #0 0x00007f87384808cc in __lll_lock_wait () from /nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/libpthread.so.0 #1 0x00007f8738479a45 in pthread_mutex_lock () from /nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/libpthread.so.0 #2 0x0000000000648df9 in sys_mutex_lock (mutex=mutex@entry=0xd455c0 ) at systhread.c:137 #3 0x0000000000647582 in acquire_global_lock (self=0xd45600 ) at thread.c:100 #4 really_call_select (arg=arg@entry=0x7ffce407d420) at thread.c:582 #5 0x00000000005aa698 in flush_stack_call_func (func=func@entry=0x6474f0 , arg=arg@entry=0x7ffce407d420) at alloc.c:5103 #6 0x00000000006489f9 in thread_select (func=, max_fds=max_fds@entry=11, rfds=rfds@entry=0x7ffce407d500, wfds=wfds@entry=0x7ffce407d580, efds=efds@entry=0x0, timeout=timeout@entry=0x7ffce407db60, sigmask=0x0) at thread.c:602 #7 0x000000000066ad16 in xg_select (fds_lim=11, rfds=rfds@entry=0x7ffce407dc60, wfds=wfds@entry=0x7ffce407dce0, efds=efds@entry=0x0, timeout=timeout@entry=0x7ffce407db60, sigmask=sigmask@entry=0x0) at xgselect.c:117 #8 0x0000000000622b61 in wait_reading_process_output (time_limit=time_limit@entry=30, nsecs=nsecs@entry=0, read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, wait_for_cell=..., wait_for_cell@entry=XIL(0), wait_proc=wait_proc@entry=0x0, just_wait_proc=0) at process.c:5384 #9 0x000000000042931b in sit_for (timeout=..., reading=reading@entry=true, display_option=display_option@entry=1) at dispnew.c:5801 #10 0x000000000054c241 in read_char (commandflag=commandflag@entry=1, map=..., map@entry=XIL(0x413a593), prev_event=..., used_mouse_menu=used_mouse_menu@entry=0x7ffce407e5bb, end_time=end_time@entry=0x0) at keyboard.c:2688 #11 0x000000000054de99 in read_key_sequence (keybuf=keybuf@entry=0x7ffce407e700, prompt=..., prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false) at keyboard.c:9108 #12 0x000000000054fc0e in command_loop_1 () at keyboard.c:1338 #13 0x00000000005cc4df in internal_condition_case (bfun=bfun@entry=0x54f9b0 , handlers=..., handlers@entry=XIL(0x5340), hfun=hfun@entry=0x542070 ) at eval.c:1349 #14 0x000000000053de38 in command_loop_2 (ignore=..., ignore@entry=XIL(0)) at keyboard.c:1079 #15 0x00000000005cc403 in internal_catch (tag=..., func=func@entry=0x53de10 , arg=..., arg@entry=XIL(0)) at eval.c:1114 #16 0x000000000053e06b in command_loop () at keyboard.c:1058 #17 0x0000000000541b74 in recursive_edit_1 () at keyboard.c:703 #18 0x0000000000541f3e in Frecursive_edit () at keyboard.c:774 #19 0x000000000041bfb2 in main (argc=, argv=) at emacs.c:1756 Thread 5 (Thread 0x7f8722610700 (LWP 27981)): #0 temp_set_point_both (buffer=0xdb5800 , charpos=charpos@entry=146, bytepos=bytepos@entry=146) at intervals.c:1729 #1 0x00000000006356ed in set_point_both (charpos=, bytepos=146) at intervals.c:1997 #2 0x0000000000635f08 in set_point_from_marker (marker=..., marker@entry=XIL(0x3e59fc5)) at intervals.c:1771 #3 0x00000000005bbf32 in Fgoto_char (position=..., position@entry=XIL(0x3e59fc5)) at editfns.c:423 #4 0x00000000005c6920 in save_excursion_restore (marker=XIL(0x3e59fc5), window=...) at editfns.c:1023 #5 0x00000000005cce89 in unbind_to (count=, value=..., value@entry=XIL(0)) at eval.c:3593 #6 0x000000000061510f in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260a0b8) at bytecode.c:652 #7 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f8722609d30), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260a0b8) at eval.c:3023 #8 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=3, args=0x7f872260a0b0) at eval.c:2836 #9 0x00000000005cd755 in Fapply (nargs=2, args=) at eval.c:2442 #10 0x00000000005cd4af in Ffuncall (nargs=3, args=args@entry=0x7f872260a1e8) at eval.c:2822 #11 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=3, args=, args@entry=0x7f872260a498) at bytecode.c:632 #12 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260a218), nargs=nargs@entry=3, arg_vector=arg_vector@entry=0x7f872260a498) at eval.c:3023 #13 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=4, args=0x7f872260a490) at eval.c:2836 #14 0x00000000005cd755 in Fapply (nargs=3, args=) at eval.c:2442 #15 0x00000000005cd4af in Ffuncall (nargs=4, args=args@entry=0x7f872260a640) at eval.c:2822 #16 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=3, args=, args@entry=0x7f872260b688) at bytecode.c:632 #17 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260a6b8), nargs=nargs@entry=3, arg_vector=arg_vector@entry=0x7f872260b688) at eval.c:3023 #18 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7f872260b680) at eval.c:2836 #19 0x00000000005d1864 in call3 (fn=..., arg1=..., arg2=..., arg3=...) at eval.c:2689 #20 0x00000000005cf2f3 in funcall_subr (subr=0x900720 , numargs=numargs@entry=2, args=args@entry=0x7f872260b7e0) at eval.c:2899 #21 0x00000000005cd4af in Ffuncall (nargs=3, args=args@entry=0x7f872260b7d8) at eval.c:2822 #22 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260bbb0) at bytecode.c:632 #23 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260b818), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260bbb0) at eval.c:3023 #24 0x00000000005cd41d in Ffuncall (nargs=3, args=args@entry=0x7f872260bba8) at eval.c:2836 #25 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=1, args=, args@entry=0x7f872260bff8) at bytecode.c:632 #26 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260bbd0), nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7f872260bff8) at eval.c:3023 #27 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7f872260bff0) at eval.c:2836 #28 0x00000000005cd809 in Fapply (nargs=2, args=0x7f872260bff0) at eval.c:2399 #29 0x00000000005cd4af in Ffuncall (nargs=3, args=args@entry=0x7f872260bfe8) at eval.c:2822 #30 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260c420) at bytecode.c:632 #31 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260c018), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260c420) at eval.c:3023 #32 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7f872260c418) at eval.c:2836 #33 0x00000000005cd809 in Fapply (nargs=3, args=0x7f872260c418) at eval.c:2399 #34 0x00000000005cd4af in Ffuncall (nargs=4, args=args@entry=0x7f872260c410) at eval.c:2822 #35 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260d458) at bytecode.c:632 #36 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260c488), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260d458) at eval.c:3023 #37 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7f872260d450) at eval.c:2836 #38 0x00000000005cd5cf in call2 (fn=..., arg1=..., arg2=...) at eval.c:2681 #39 0x00000000005cf2fe in funcall_subr (subr=0x9000a0 , numargs=numargs@entry=1, args=args@entry=0x7f872260d578) at eval.c:2897 #40 0x00000000005cd4af in Ffuncall (nargs=2, args=args@entry=0x7f872260d570) at eval.c:2822 #41 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=1, args=, args@entry=0x7f872260d8f8) at bytecode.c:632 #42 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260d580), nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x7f872260d8f8) at eval.c:3023 #43 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7f872260d8f0) at eval.c:2836 #44 0x00000000005cd809 in Fapply (nargs=2, args=0x7f872260d8f0) at eval.c:2399 #45 0x00000000005cd4af in Ffuncall (nargs=3, args=args@entry=0x7f872260d8e8) at eval.c:2822 #46 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260dd20) at bytecode.c:632 #47 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260d918), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260dd20) at eval.c:3023 #48 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7f872260dd18) at eval.c:2836 #49 0x00000000005cd809 in Fapply (nargs=3, args=0x7f872260dd18) at eval.c:2399 #50 0x00000000005cd4af in Ffuncall (nargs=4, args=args@entry=0x7f872260dd10) at eval.c:2822 #51 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260ed58) at bytecode.c:632 #52 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260dd88), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260ed58) at eval.c:3023 #53 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7f872260ed50) at eval.c:2836 #54 0x00000000005cd5cf in call2 (fn=..., arg1=..., arg1@entry=XIL(0x5940), arg2=..., arg2@entry=XIL(0x7f8718024484)) at eval.c:2681 #55 0x0000000000582b87 in Ffile_accessible_directory_p (filename=...) at fileio.c:2825 #56 0x00000000005cf2fe in funcall_subr (subr=0x8fff60 , numargs=numargs@entry=1, args=args@entry=0x7f872260eec8) at eval.c:2897 #57 0x00000000005cd4af in Ffuncall (nargs=2, args=args@entry=0x7f872260eec0) at eval.c:2822 #58 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=2, args=, args@entry=0x7f872260f218) at bytecode.c:632 #59 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260ef08), nargs=nargs@entry=2, arg_vector=arg_vector@entry=0x7f872260f218) at eval.c:3023 #60 0x00000000005cd41d in Ffuncall (nargs=3, args=args@entry=0x7f872260f210) at eval.c:2836 #61 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=5, args=, args@entry=0x7f872260f7e0) at bytecode.c:632 #62 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260f278), nargs=nargs@entry=5, arg_vector=arg_vector@entry=0x7f872260f7e0) at eval.c:3023 #63 0x00000000005cd41d in Ffuncall (nargs=6, args=args@entry=0x7f872260f7d8) at eval.c:2836 #64 0x0000000000615150 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., args_template=..., nargs=nargs@entry=0, args=, args@entry=0x3fd50a8) at bytecode.c:632 #65 0x00000000005d09fc in funcall_lambda (fun=XIL(0x7f872260f808), nargs=nargs@entry=0, arg_vector=arg_vector@entry=0x3fd50a8) at eval.c:3023 #66 0x00000000005cd41d in Ffuncall (nargs=nargs@entry=1, args=args@entry=0x3fd50a0) at eval.c:2836 #67 0x00000000006473db in invoke_thread_function () at thread.c:684 #68 0x00000000005cc4df in internal_condition_case (bfun=bfun@entry=0x6473a0 , handlers=..., handlers@entry=XIL(0xc330), hfun=hfun@entry=0x6472c0 ) at eval.c:1349 #69 0x0000000000647e01 in run_thread (state=0x3fd5080) at thread.c:723 #70 0x00007f87384772a7 in start_thread () from /nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/libpthread.so.0 #71 0x00007f8737b1457f in clone () from /nix/store/hwwqshlmazzjzj7yhrkyjydxamvvkfd3-glibc-2.26-131/lib/libc.so.6 warning: Unknown thread 6 warning: Unknown thread 7 warning: Unknown thread 8 warning: Unknown thread 9 warning: Unknown thread 10 warning: Unknown thread 11 warning: Unknown thread 12 warning: Unknown thread 13 warning: Unknown thread 14 warning: Unknown thread 15 [Switching to Thread 0x7f873eb61b40 (LWP 27888)] Thread 1 "find-file /scp:" hit Breakpoint 4, set_point_both (charpos=147, bytepos=147) at intervals.c:1826 1826 { $40 = (struct thread_state *) 0xd45600 "electric-indent-post-self-insert-function" (0xe407de80) "self-insert-command" (0xe407e080) "funcall-interactively" (0xe407e078) "call-interactively" (0xe407e350) "command-execute" (0xe407e668)