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: Tue, 02 Aug 2022 09:17:59 +0800 Message-ID: <87a68nfnp4.fsf@yahoo.com> References: <87sfmgjelt.fsf@Proteus> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20372"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 56869@debbugs.gnu.org To: Joe Corneli Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 02 03:19:14 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 1oIgYy-00058k-Qv for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Aug 2022 03:19:12 +0200 Original-Received: from localhost ([::1]:40330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIgYx-0001ZA-6I for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Aug 2022 21:19:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIgYo-0001Z1-MW for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2022 21:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52158) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIgYo-0002cj-Bn for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2022 21:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oIgYo-0005UB-7q for bug-gnu-emacs@gnu.org; Mon, 01 Aug 2022 21:19: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: Tue, 02 Aug 2022 01:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56869 X-GNU-PR-Package: emacs Original-Received: via spool by 56869-submit@debbugs.gnu.org id=B56869.165940310021020 (code B ref 56869); Tue, 02 Aug 2022 01:19:02 +0000 Original-Received: (at 56869) by debbugs.gnu.org; 2 Aug 2022 01:18:20 +0000 Original-Received: from localhost ([127.0.0.1]:41907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIgY8-0005Sx-4y for submit@debbugs.gnu.org; Mon, 01 Aug 2022 21:18:20 -0400 Original-Received: from sonic317-33.consmr.mail.ne1.yahoo.com ([66.163.184.44]:42737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIgY5-0005Sf-Gp for 56869@debbugs.gnu.org; Mon, 01 Aug 2022 21:18:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659403090; bh=RaZiPomi/Lx9TQtNZFia4FxntrVsaBvd1FE3hjiV/6c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=FmRg7seLas7ukfElVdFXDI9n+xMrvTzZmng75s+Rsph6tCTLTQUe3tpj3taqqVK7hXtQSOebqDeSFKx9Q0MkgqUDI+W+0oyfisMvFlAXow5nQVPj0K5YnSDgdyPV9hVu2Rqv3GUKBPEl94cbd/t6r1FUOti5LFktGKKSc7hqANRwFQ32Jh/JQsfzPi5vAVklP5AMAhbzvaDe6QJ4rmdOBmuDNuCqg56yhewJ17SNJ09BKHl7pSS9fK3bhsYAnj6bAn8AALsl6hZvqfkn6OaIRXRk2bavSM4o2V1/cNtiBmrOlxWKiTfzLpZuCTN+X0/SBr1KObztBhrAEMWp2VbTvw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1659403090; bh=xJexq9aTmYWncpYS7za4CLCAEGC+rV2o+NCIP+ABkfY=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=tNurWIZvFzegnXrTy7+wnOA0WyD9RwFtnFiSlKef+1DHTkJ4zTjPBXrPEtl97/pv2oex97TRoLbvM+Dru86hDC8xtlSMqAXUlWxIv/yAKAyDR1GuFoWKN/C/Ls2IQjk5bWMTTKhcxbrAmp1SPe5h6D4larVbcuAUzOw2MkZswMxAQKr3ext5m7OP89fYq84A2uORcJ2DhOdzVE5kM7NUpnyW3TcZ0RZ4t+B/UB7LycdQ3jqxZSr9SndtXwi9ZDJuNJNV96awZPazRTHoDqmxk4g2zJbs3zyUnHAkacEUqAYmi3cyraWva6ev4ke0UiiFPXnIzcld0m9pPkBpcQVSdg== X-YMail-OSG: pFrAjukVM1leDqh3qBMZkQYYqmrZwsiBu3NV006TruQ9iz3p90CijAk1IPGv3pG wZLhDhYoHE7cAjgn1pPuysf8rE_IKm2L88ZjKFCsQI.LJGVnnreD7AQzjUksormKKoy96w_7N2XN beclMBVpwf9_rk_CY7aHABYNnrvUixSstRsMxftbA6RDeBKK.Qtw7XvHgi5gh3k85o31IFOytYgU Ntz3ZdZdqgVD0tqhPYUxucf.b1muR.Z2NfwkKsmNmtxAZ_.VKbNb6yVzcTMZomOVc42lgDq9DLz2 JvbV.s8yNxoNeGEmYtTKqtKIYbLaoauQTQujoLJKO.ug8Fy7.6t0ruSLNoODOmHsv_ggMj9e6vjZ Le8helkFEtXE7WXx1.jQxxMI2MT.jDbwrJqERpvChPcVMWarnCet_u7tf.QRpAJpOWD8qNArOlY0 6mkiOHPfSzJtMAY0XtPg2gk0XZ3hkPahmIcXBs8ye7PkP2XtL5vMCix9oaZoOzumgZOajf9AWGL0 5sVmHsvzPVymbPv8ZTaZ2FtV7jO1bxzyTweKd_nTGVFvHmQK39no69i.Y4CsZV_snpmpW7YLPyPo 4lLmO_TWlyItCpXTFyXXt7aVVetZoflnqWK1lNlBtLWLVkRUR0l3E57EDvnfcwi6_AJQfIW_VvaU yMI7dnIzUJOub.9RvqtS6LccP7bdbdNxdPTC9ytr62Ihqd78UfUlBujXkZLwveyET7OK2whvEEHi 0PG1kFlMY2LxGzD7GIbZsZENCZbV.6NhrtiDdSSPt1IXFo7k4b6i9MfxmRzVW.zR_oYvnT1.lAEH AvlubwfGlTgMoYqtCF4V9VRGGmqr_9aQgo_wWIWbpi X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Tue, 2 Aug 2022 01:18:10 +0000 Original-Received: by hermes--canary-production-sg3-854c886654-ngznc (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d1914a45d6a227a6d74b809dd88869e9; Tue, 02 Aug 2022 01:18:04 +0000 (UTC) In-Reply-To: <87sfmgjelt.fsf@Proteus> (Joe Corneli's message of "Mon, 01 Aug 2022 14:08:30 +0100") X-Mailer: WebService/1.1.20447 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:238480 Archived-At: Joe Corneli writes: > If I can provide further useful information please let me know. Note > that xbacktrace doesn=E2=80=99t print anything. I=E2=80=99m running Emac= s under the > regolith WM (2.123-1focal), in case that=E2=80=99s relevant. Thanks,=20 > joe@Proteus:~/emacs/src$ gdb emacs > GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2 > ... > (gdb) source /home/joe/emacs/src/.gdbinit > SIGINT is used by the debugger. > Are you sure you want to change it? (y or n) [answered Y; input not from = terminal] > DISPLAY =3D :0 > TERM =3D xterm-256color > Breakpoint 1 at 0x55555573899d: file emacs.c, line 420. > Breakpoint 2 at 0x5555556f4c86: file xterm.c, line 23862. > ... > (gdb) run > The program being debugged has been started already. > Start it from the beginning? (y or n) y > Starting program: /home/joe/emacs/src/emacs=20 > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > [New Thread 0x7ffff1406700 (LWP 2218237)] > [New Thread 0x7ffff09fb700 (LWP 2218325)] > [New Thread 0x7fffebf10700 (LWP 2218328)] > [Detaching after vfork from child process 2218469] > > ... > > (emacs:2218133): Gdk-CRITICAL **: 13:45:08.589: gdk_device_get_n_axes: as= sertion 'GDK_IS_DEVICE (device)' failed > > (emacs:2218133): Gdk-CRITICAL **: 13:45:08.589: gdk_event_set_source_devi= ce: assertion 'GDK_IS_DEVICE (device)' failed > > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. > 0x00007ffff757464d in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > (gdb) bt full > #0 0x00007ffff757464d in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #1 0x00007ffff757e989 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #2 0x00007ffff757e4cc in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #3 0x00007ffff75460e4 in gdk_display_get_event () at /usr/lib/x86_64-lin= ux-gnu/libgdk-3.so.0 > #4 0x00007ffff757e0e6 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 > #5 0x00007ffff6f5617d in g_main_context_dispatch () at /usr/lib/x86_64-l= inux-gnu/libglib-2.0.so.0 > #6 0x00007ffff6f56400 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so= .0 > #7 0x00007ffff6f564a3 in g_main_context_iteration () at /usr/lib/x86_64-= linux-gnu/libglib-2.0.so.0 > #8 0x00007ffff78611d9 in gtk_main_iteration () at /usr/lib/x86_64-linux-= gnu/libgtk-3.so.0 > #9 0x00005555556f27eb in XTread_socket (terminal=3D0x55555627f368, hold_= quit=3D0x7fffffffcb80) at xterm.c:22621 I suspect this is either a bug in GDK, or we're not passing through an XI device hierarchy-related event somewhere, which has happened before. Could you please install debuginfo for GDK and see where in GDK the crash happens? Thanks in advance.