From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joe Corneli 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: Sun, 21 Aug 2022 10:57:56 +0100 Message-ID: <875yilc40r.fsf@Proteus> 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> <87a689wsdx.fsf@yahoo.com> <87pmh33wfu.fsf@Proteus> <87tu6d4ne8.fsf@Proteus> <87pmh1qa19.fsf@yahoo.com> <87r11g4hrv.fsf@Proteus> <87h72cqx2w.fsf@yahoo.com> <87r11g2r2b.fsf@Proteus> <8735dvx9r1.fsf@Proteus> <874jyap981.fsf@yahoo.com> <87a681663o.fsf@Proteus> <87edxdnh42.fsf@yahoo.com> Reply-To: Joe Corneli 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="27703"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56869@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 21 11:59:15 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 1oPhjf-00074x-2v for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Aug 2022 11:59:15 +0200 Original-Received: from localhost ([::1]:35004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPhje-0006DP-6f for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Aug 2022 05:59:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPhjS-000662-Ud for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 05:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44055) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPhjS-0000Qa-M3 for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 05:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oPhjS-00059M-60 for bug-gnu-emacs@gnu.org; Sun, 21 Aug 2022 05:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joe Corneli Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Aug 2022 09:59: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.166107588719734 (code B ref 56869); Sun, 21 Aug 2022 09:59:02 +0000 Original-Received: (at 56869) by debbugs.gnu.org; 21 Aug 2022 09:58:07 +0000 Original-Received: from localhost ([127.0.0.1]:33804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPhiZ-00058D-5A for submit@debbugs.gnu.org; Sun, 21 Aug 2022 05:58:07 -0400 Original-Received: from box.hyperreal.enterprises ([85.159.211.210]:37085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPhiX-00057j-92 for 56869@debbugs.gnu.org; Sun, 21 Aug 2022 05:58:06 -0400 Original-Received: from authenticated-user (box.hyperreal.enterprises [85.159.211.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.hyperreal.enterprises (Postfix) with ESMTPSA id E67A043F81; Sun, 21 Aug 2022 10:57:58 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hyperreal.enterprises; s=mail; t=1661075879; bh=/AoZ2MFyYc02hQ6Qe15EJbDxythjCboK62dZKi052hY=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=R9c0Ofnq0frLCkhXOJmgAWS5LnKcEuLIa2chRLxdWehskAqMg+PxkyX2CgFqQf/iJ gLh4980svzun6HQuiA/WFuDBXutEmCapcGPO09DCKKMVYftq+bpkxVhlEkLa41YEcG fHa6tZlh5u/lXkqwSH2rsdaESBppaAdzd7Ft9LIkqNME+d80Oi46TIAfzzQbhnvta8 bRv5PBGULZzXg9ePzNvzmgrC+vA66KxyMPmME23jgvvtgb97jVsJxbpUGfJoHrPO8s u/iyecB7REXLgLrB8tH7+cKteqEXjYezoCChf+YUkCT1eYtO8FXN6mAHYMbCnj3M6v O+2gpT28f6k5A== In-reply-to: <87edxdnh42.fsf@yahoo.com> 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:240290 Archived-At: Po Lu writes: > Joe Corneli writes: > >> Thank you! > > Thanks. That's pretty odd, I guess gdk_device_get_seat is what's > failing here, followed by the reference to source_device->last_tool > causing a segfault. > > When you next encounter this crash, please show the value of > "xev->sourceid" (p xev->sourceid in gdb) and the shell command "xinput > list-devices" immediately after it happens. OK, here=E2=80=99s the info: (gdb) p xev->sourceid $1 =3D 12 $ xinput list =E2=8E=A1 Virtual core pointer id=3D2 [master pointer = (3)] =E2=8E=9C =E2=86=B3 Virtual core XTEST pointer id=3D4 [slav= e pointer (2)] =E2=8E=9C =E2=86=B3 MSFT0001:01 06CB:CD64 Mouse id=3D11 [sla= ve pointer (2)] =E2=8E=9C =E2=86=B3 MSFT0001:01 06CB:CD64 Touchpad id=3D12 [sla= ve pointer (2)] =E2=8E=A3 Virtual core keyboard id=3D3 [master keyboard = (2)] =E2=86=B3 Virtual core XTEST keyboard id=3D5 [slave keybo= ard (3)] =E2=86=B3 Power Button id=3D6 [slave keybo= ard (3)] =E2=86=B3 Video Bus id=3D7 [slave keybo= ard (3)] =E2=86=B3 Power Button id=3D8 [slave keybo= ard (3)] =E2=86=B3 Sleep Button id=3D9 [slave keybo= ard (3)] =E2=86=B3 Intel HID events id=3D13 [slave keyb= oard (3)] =E2=86=B3 AT Translated Set 2 keyboard id=3D14 [slave keyb= oard (3)] =E2=86=B3 Chicony USB2.0 Camera: Chicony id=3D10 [slave keyb= oard (3)] ... and another possible clue, which is that I=E2=80=99m running Touchpad Indicator, https://github.com/atareao/Touchpad-Indicator and I have it set up to disable the trackpad _while typing_. Perhaps the way it enables and disables the trackpad is currently interacting with Emacs in a glitchy way. ... =3D=3D=3D=3D start set_touch_enabled =3D=3D=3D=3D=3D set_touch_enabled: True are_all_touchpad_enabled: False =3D=3D|=3D=3D =3D=3D|=3D=3D 1 =3D=3D=3D=3D start set_touch_enabled =3D=3D=3D=3D=3D set_touch_enabled: False are_all_touchpad_enabled: True ... --=20 Dr Joseph A. Corneli (https://github.com/holtzermann17) HYPERREAL ENTERPRISES LTD is a private company limited by shares, incorpora= ted 25th, June 2019 as Company Number 634284 on the Register of Companies for Scotland (https://beta.companieshouse.gov.uk/company/SC634284).