From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#48629: 28.0.50; GUI emacsclient frames stop accepting keyboard input around recv Date: Wed, 26 May 2021 16:58:17 +0100 Message-ID: <87pmxd32sm.fsf@tcd.ie> References: <87y2c4rtvh.fsf@tcd.ie> <83wnroccmi.fsf@gnu.org> <8735ucnk93.fsf@tcd.ie> <875yz8gh4e.fsf@igel.home> <87fsyckmdm.fsf@tcd.ie> <87bl8x8ql0.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18204"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48629@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 26 17:59:18 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llvwE-0004WS-6M for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 May 2021 17:59:18 +0200 Original-Received: from localhost ([::1]:55638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llvwD-0006qC-0T for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 May 2021 11:59:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llvvz-0006pt-Sj for bug-gnu-emacs@gnu.org; Wed, 26 May 2021 11:59:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llvvy-0006oI-9B for bug-gnu-emacs@gnu.org; Wed, 26 May 2021 11:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1llvvy-00027d-7j for bug-gnu-emacs@gnu.org; Wed, 26 May 2021 11:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 May 2021 15:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48629 X-GNU-PR-Package: emacs Original-Received: via spool by 48629-submit@debbugs.gnu.org id=B48629.16220447078110 (code B ref 48629); Wed, 26 May 2021 15:59:02 +0000 Original-Received: (at 48629) by debbugs.gnu.org; 26 May 2021 15:58:27 +0000 Original-Received: from localhost ([127.0.0.1]:49767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llvvO-00026j-Lu for submit@debbugs.gnu.org; Wed, 26 May 2021 11:58:27 -0400 Original-Received: from mail-wr1-f42.google.com ([209.85.221.42]:46598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llvvN-00026X-Ku for 48629@debbugs.gnu.org; Wed, 26 May 2021 11:58:26 -0400 Original-Received: by mail-wr1-f42.google.com with SMTP id g17so1450616wrs.13 for <48629@debbugs.gnu.org>; Wed, 26 May 2021 08:58:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=fa0sFxSbifUENEa8EU3zgZqMdiaLA817GUAh7Vvwbl0=; b=cJf5PFb2RXjqnRGNu3Wp4Ob44Df0AiMj1uIlcwUd9iD5QqFkGWUqwKyWZ2gGdCix1p /Q/ZoF9p0Sm2MTBXZvi+GOzgVdo+MWukckeXQkOEz7Wi4FJU0p0CHV6PhGtECp4BJDEb 36EjFQ93ZSUm8PvgnVt4Qsi9gR3DqEZyreKq3D2QrocoWi1MXpgInj+ytr0cx9aNyQ+6 yT/hHX8jQJP0LKW8qZF/CuG9X+HvBsZWfk5kz5E/6k7mfDaOvYxXdZzSNZ7dPeSinLRJ XR8EqmiFIAkY4wVtciaN/h+dwjws6vFLP9flyiqqZZYrBAU5uPYP5eCz6/Z8WnjCfs5x KJfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=fa0sFxSbifUENEa8EU3zgZqMdiaLA817GUAh7Vvwbl0=; b=BU0kSg7qrpkeXt3tVgE65MaWuUD+H3E6JWYl3ox58YvZz9P1d/McnMXnge5M6fAJ6p E8eG46hbev6OLobksdgk/yyUFq4WcpD05qcpjqBlFNeiOaEL/gpbUrPe9yCMtIM6EEAj Mt7zG80Pxra1zVKyHlFmjRDwGtioxhrT4RksUmWq+eqZ1YuxODbj7BXwUCUyMTgf06UW J+DdHAN42+M5WnWUQVUa2aiRAEsqFbc7+GVpF774TaVzXLexoGvO9TuPtM1KitRRaNMR yvwldj0/74ojAUAFW7LMgVxBg4OE1YAiVbT2kYDsqiZZuAU4BXeXWInwVyRDaQZkAa6b CTeg== X-Gm-Message-State: AOAM5305y2tq6b2/m3gUPiGdUYa34MUeIJk+hgpkC4FcetS2xHz5R26t luA7qXnxxLDcDA06MG1GK3BTxw== X-Google-Smtp-Source: ABdhPJzTEnmWZUaldWDyN4JAcbW0fGzB1RUwYNUEF3VRIggUlPODQfoaJxbcgXrC0wIJkjL639YEkg== X-Received: by 2002:adf:dcd2:: with SMTP id x18mr32940285wrm.202.1622044699762; Wed, 26 May 2021 08:58:19 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id b8sm21595852wrx.15.2021.05.26.08.58.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 08:58:18 -0700 (PDT) In-Reply-To: <87bl8x8ql0.fsf@tcd.ie> (Basil L. Contovounesios's message of "Wed, 26 May 2021 16:25:31 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:207300 Archived-At: --=-=-= Content-Type: text/plain "Basil L. Contovounesios" writes: > I then entered 'n' a few times followed unfortunately by C-c, which > killed the process (I would have tried 'thread apply all bt full' next). > > So it looks like it's actually pselect that's blocking? It happened again, with the attached 'thread apply all bt full' output. I'll try to keep the session alive this time, in case anyone has any debugging suggestions. Thanks, -- Basil --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=gdb.txt $ gdb -p 46955 GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 46955 [New LWP 46956] [New LWP 46957] [New LWP 46958] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007fb2fa7ae9c6 in __pselect (nfds=24, readfds=0x7ffc492342e0, writefds=0x7ffc49234360, exceptfds=0x0, timeout=, sigmask=0x7ffc49234130) at ../sysdeps/unix/sysv/linux/pselect.c:48 48 ../sysdeps/unix/sysv/linux/pselect.c: No such file or directory. (gdb) set logging on Copying output to gdb.txt. Copying debug output to gdb.txt. (gdb) thread apply all bt full Thread 4 (Thread 0x7fb2f5b5a700 (LWP 46958) "gdbus"): #0 0x00007fb2fa7ac3ff in __GI___poll (fds=0x7fb2e8016990, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 resultvar = 18446744073709551100 sc_cancel_oldtype = 0 #1 0x00007fb2fb4ad0ae in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fb2fb4ad40b in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fb2fb727a36 in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0 #4 0x00007fb2fb4d60bd in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fb2faa3dea7 in start_thread (arg=) at pthread_create.c:477 ret = pd = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140406603228928, 6863267776147330063, 140406611616302, 140406611616303, 140406603224768, 8396800, -6891964528408030193, -6891970972744707057}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = 0 #6 0x00007fb2fa7b6def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7fb2f635b700 (LWP 46957) "dconf worker"): #0 0x00007fb2fa7ac3ff in __GI___poll (fds=0x55dfc862dac0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 resultvar = 18446744073709551100 sc_cancel_oldtype = 0 #1 0x00007fb2fb4ad0ae in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fb2fb4ad1cf in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fb2f636a38d in () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so #4 0x00007fb2fb4d60bd in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fb2faa3dea7 in start_thread (arg=) at pthread_create.c:477 ret = pd = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140406611621632, 6863267776147330063, 140721535523102, 140721535523103, 140406611617472, 8396800, -6891961230410017777, -6891970972744707057}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = 0 #6 0x00007fb2fa7b6def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7fb2f6b94700 (LWP 46956) "gmain"): #0 0x00007fb2fa7ac3ff in __GI___poll (fds=0x55dfc72bdf30, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 resultvar = 18446744073709551100 sc_cancel_oldtype = 0 #1 0x00007fb2fb4ad0ae in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fb2fb4ad1cf in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fb2fb4ad221 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007fb2fb4d60bd in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007fb2faa3dea7 in start_thread (arg=) at pthread_create.c:477 ret = pd = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140406620243712, 6863267776147330063, 140721535537518, 140721535537519, 140406620239552, 8396800, -6891962223084334065, -6891970972744707057}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = 0 #6 0x00007fb2fa7b6def in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7fb2f78e9040 (LWP 46955) "emacs"): #0 0x00007fb2fa7ae9c6 in __pselect (nfds=24, readfds=0x7ffc492342e0, writefds=0x7ffc49234360, exceptfds=0x0, timeout=, sigmask=0x7ffc49234130) at ../sysdeps/unix/sysv/linux/pselect.c:48 resultvar = 18446744073709551102 sc_cancel_oldtype = 0 tval = {tv_sec = 14, tv_nsec = 461936780} data = {ss = 0, ss_len = 8} #1 0x000055dfc63615b6 in really_call_select () #2 0x000055dfc6362320 in thread_select () #3 0x000055dfc637ef58 in xg_select () #4 0x000055dfc633f89d in wait_reading_process_output () #5 0x000055dfc62843e8 in read_char () #6 0x000055dfc6286822 in read_key_sequence () #7 0x000055dfc628822c in command_loop_1 () #8 0x000055dfc62f63d7 in internal_condition_case () #9 0x000055dfc62793e4 in command_loop_2 () #10 0x000055dfc62f89d3 in internal_catch () #11 0x000055dfc6279383 in command_loop () #12 0x000055dfc627e976 in recursive_edit_1 () #13 0x000055dfc627eca1 in Frecursive_edit () #14 0x000055dfc619409e in main () --=-=-=--