From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56869: 29.0.50; segfault, "assertion 'GDK_IS_DEVICE (device)' failed" Date: Fri, 12 Aug 2022 21:23:38 +0800 Message-ID: <875yixwq79.fsf@yahoo.com> References: <87sfmgjelt.fsf@Proteus> <87a68nfnp4.fsf@yahoo.com> <87bkt24tng.fsf@Proteus> <87zggmcxpb.fsf@Proteus> <875yjadt7j.fsf@yahoo.com> <87y1vvaysh.fsf@Proteus> <87r11nvw44.fsf@yahoo.com> <87h72ihpk7.fsf@Proteus> <87edxmw98w.fsf@yahoo.com> <87edxlfzwz.fsf@Proteus> <83bkspod15.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27949"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Joe Corneli , 56869@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 12 15:25:43 2022 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 1oMUfW-00076O-3f for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Aug 2022 15:25:42 +0200 Original-Received: from localhost ([::1]:50266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMUfV-0006l8-6M for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Aug 2022 09:25:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMUdu-00053Z-QF for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 09:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37950) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMUdu-0003Xf-GG for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 09:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMUdu-0006bx-1U for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 09:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Aug 2022 13:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56869 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56869-submit@debbugs.gnu.org id=B56869.166031063925404 (code B ref 56869); Fri, 12 Aug 2022 13:24:02 +0000 Original-Received: (at 56869) by debbugs.gnu.org; 12 Aug 2022 13:23:59 +0000 Original-Received: from localhost ([127.0.0.1]:55932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMUdq-0006bg-P1 for submit@debbugs.gnu.org; Fri, 12 Aug 2022 09:23:59 -0400 Original-Received: from sonic314-20.consmr.mail.ne1.yahoo.com ([66.163.189.146]:37961) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMUdo-0006bR-Eq for 56869@debbugs.gnu.org; Fri, 12 Aug 2022 09:23:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1660310630; bh=CcGwnN3ErJbcglKfZ6+0b81lpQmoz4WCQjeSPvBzNZI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=hfhNo89AA0wYpbm+KyXK/MQwMqKx84nOT8uUPSCjFICz0KCyp6MaPAIGlpQcWgl4tp6RsOl1uHp92FDHpZC7G8oYp/6Ed4dkvs6Na1AiNdQiNeMZ0dMUpx73nUAsTWZt/mFX/68UTIwPER07qOK6npUy3MkZKuf2vfxMPXmfm01tdRgfYwM4EwUxV5EWHYwERAbv/QjzJ09EahpXJMRHTKYEZeAcipSYJ5A+9q5JHMBBQ1nknpZhAEfOVQ5jgf04GMy6yFbM2ATC91XkTlsLq5SZAZvEZh0iaHR54/zR3WnX13qeW9s9Rh0FkdT7LXeTalqXqnOHuHZCBBC/zomP/Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1660310630; bh=MzA8H5zhYsEuCtT/lIUH2rRCS2TguysnIMh1a6VzRLI=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=tISufCI2eVtrVDZkfgUb9VWyWUxpJLCaZy407PeBvisUfpaONjgRLdqUznZlgk/ptLlf4Q4P0OIJvzoj6+6Ftq3OeMpwYF9RVrjfdhGe6dq4nBbjmHg+kTbVoY0BFc3KkIGigOf9J5iG7QGanF8U13QIRnv0Iis/X5Ie31QRy4qhTN+3OxiXud6uw7BYhLoCQf1cvNXPWTVcLq0Bx0+hVsCWuYvlhOcNUkE2YO5e27PHTmd0iee2ibmO7JmZ21V1BXNxh1jqSSbvOcNNwP9FDmNrvR4KdexBAkhKEYY8LV45Co11xwPgQkkckRQD1Es6Fy3T+wuQy7HUySYY3qZWEQ== X-YMail-OSG: vzD0l1AVM1kFGp8z.glaCZR_glnUBJOm_K8cKdTS23bT_qZb_yfP0sNZg2w.dQ9 zlf4ArvQZsvORCPew.fYK64.xJ4keA9fm7QQeImZDOFTAqvpxY1O2KYc1l9Br1yV9cbSLO27IO3q N19HEZ73j1vFHg0aNXzoikbl5vb4TJxNVTOLG9CY69C7hvIyMOmbKx6kSL.1UXH_4OwrNcGgdpvJ k9UsbZ2NpvNjcUI5uY8wX5TL2H.VRt.jjSMFpCeu4HiMIVduxMV7xAA1FN.QcIa8plqbeZgVrFwe Wu7ZIWXZWpxpTGV3TgVMjx7Xp.2ZjvSTNxQbpdlzUmaRsaoJ.7wkmgIV5BmFcxBuqOaz33sgntN_ S8XZC1v.ctAnZAL0lyVzH1hfJEY4HoOGNppRiKFyF656Dcaj3dwPeLpSYp00bYkwTK1Y6iimtXLR GBqZHF7_T.eBzD4B9hz_ACxLiR1DAUE57cROh8KPXx6d0ez6_AzTRRO4biNZajOlpvMnpH3jYjg. Q6IFEU9b_RlsBKTSwphyUW5EYdA1IvPq8xgHOrT1sNhbup4.PRCvFpgSNEajI8VtUoJLIR_VQY0f 706OM.x1MqK.vx.z1wQE2qS3YN8THRrxsgROTZbZ045WraT0CiPxgrAIeEv2wUM72lh0qvztcjiC oeY0H39ErCc9kwgQsGEulwZNvUlKL8ZfAp9c2q0AwZ_vGLQsF0B02GvPfe87AGQ0.VFoDcKC9UD0 Ukt0YO0zu4tZuGFdxpt78ce.JNjTPS94q.hZU2BB761m3NkRS5xlrYWTxJmVSBpV97jftrD5DVel eaIGRXzLffyugV3SoIi6l0lkiXiXLfuWlY3Lgzqan4 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Fri, 12 Aug 2022 13:23:50 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-jrp6f (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 74a9303ac52c8fd0ce8afb05c7468d77; Fri, 12 Aug 2022 13:23:45 +0000 (UTC) In-Reply-To: <83bkspod15.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Aug 2022 15:35:18 +0300") X-Mailer: WebService/1.1.20531 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:239413 Archived-At: Eli Zaretskii writes: > The backtrace says: > > . the main loop called some command > . that command signaled an error > . the error caused the Lisp debugger to be called > . the debugger was invoked and entered recursive-edit > . while waiting for user input, a timer fired > . the timer function called write-region > . write-region called lock-file > . lock-file called a Lisp function, probably to report some conflict > with another process(??) locking the file > . Emacs prompted the user, probably about the lock > . while waiting for user response, Emacs checked timers, and as > result called process_pending_signals > . one of the pending signals was SIGIO, so Emacs called read-socket, > which segfaulted inside GTK > > Does the above sound reasonable for your Emacs sessions? It seems plausible, GTK aborted because it received an X event that it couldn't find a corresponding device for. So to really figure out what event is causing the problem, you have to look inside GTK, because on GTK builds it's reading events and not XTread_socket (which just calls gtk_main_iteration.)