GNU logs - #76239, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76239: crash with "gdk_device_get_name: assertion 'GDK_IS_DEVICE (device)' failed" error on kde 6.3, fedora 41
Resent-From: =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh <lumarzeli30@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 12 Feb 2025 20:52:01 +0000
Resent-Message-ID: <handler.76239.B.173939349121324 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 76239
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 76239 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.173939349121324
          (code B ref -1); Wed, 12 Feb 2025 20:52:01 +0000
Received: (at submit) by debbugs.gnu.org; 12 Feb 2025 20:51:31 +0000
Received: from localhost ([127.0.0.1]:38618 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiJhh-0005Xm-F9
	for submit <at> debbugs.gnu.org; Wed, 12 Feb 2025 15:51:31 -0500
Received: from lists.gnu.org ([2001:470:142::17]:54076)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lumarzeli30@HIDDEN>)
 id 1tiJhd-0005XQ-HC
 for submit <at> debbugs.gnu.org; Wed, 12 Feb 2025 15:51:27 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lumarzeli30@HIDDEN>)
 id 1tiJhY-0002ud-2R
 for bug-gnu-emacs@HIDDEN; Wed, 12 Feb 2025 15:51:20 -0500
Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <lumarzeli30@HIDDEN>)
 id 1tiJhU-00044f-Iu
 for bug-gnu-emacs@HIDDEN; Wed, 12 Feb 2025 15:51:19 -0500
Received: by mail-pj1-x1029.google.com with SMTP id
 98e67ed59e1d1-2fa48404207so438224a91.1
 for <bug-gnu-emacs@HIDDEN>; Wed, 12 Feb 2025 12:51:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739393474; x=1739998274; darn=gnu.org;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=Lvwjpyyw2loOi2X26G3WP50Rwojin1d6a5XvLzb0ph8=;
 b=NVP4HlovmbHTTSfsDoil0Dn5yoF8jfHki5IS3Dwd33ztsqz8oTNw2EdJjOtzznJKcq
 V90jqHP8LGHsz2u+T8IffKO6md22/u08BiwL2ozBzKzw9h2GMeIuEuXqAH+6szgqCebh
 j691n0J414Ta2clAB16LP8mRpO2JFxZhoa0ZSX7Fkx2VissYxM3p8VcKG2L0W6IYzUul
 qgm4O4wfARh5zMlWtnq1GRyaNnc+H1IwNqqi96eCoBUEnSBui8Y5HOvDJ57cwb6NLPbJ
 4bQu6+Sunivu1t60kbH03nxr1KsBuNYFMp7Cfqs3V458uhb0JeYRh8WuqsNjKeldWZ+D
 //PQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739393474; x=1739998274;
 h=content-transfer-encoding:to:subject:message-id:date:from
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=Lvwjpyyw2loOi2X26G3WP50Rwojin1d6a5XvLzb0ph8=;
 b=F+nFbQBrTrNvnUtAhCw0dE7OsIC2MEBvKmt22Rw4huwsM8WPGRkJ2wGwpBr7oK7bkU
 fS3HO+GYI6LfYSNWjI3/86R6WkpYssgvpTar558onCFyXDRvyUUyosQ+DDCbmeM220wQ
 myvYXzRhP9hyA+RKFMdVmpMscs5dRQ6eiCARvT9yyFELtwqJ182BlpJAjtdTVXI28Cqj
 3iosgGW9QD1KHDOZoCMKHzX7PqDVxfhdhzy5TjDfS3urRL55kvy5X53qfE+jahbAg91S
 e1vlpSmc/iCq5WNpLAWT7C+j1/ohpBKWQK3xILkIJDhtMrQPYd37GRjmuHNscY8GWhPw
 BleQ==
X-Gm-Message-State: AOJu0Yy5lwIDb4zdOeWRTtDx3ben60RhI1/KtxQoMKs4se5FsvXz1+H7
 5/X0qeduuFKwhb2WxM+SJVBn8cM+nbgFaeyhHueUuVF5/3LE1k6j452dbaDutODRxnj09JgQ3Wu
 rdF0TtxJkopJfZzs8LdUjaq1esRON4nrE
X-Gm-Gg: ASbGnct4tgTwT+7sVVH9YvBLGbrxLX8ExUiTXd7P7QujwF+/hUiAUx35UtjZ13dybJ9
 KH6EdWV52zz19zJVCamwlPap08JTB3hY8w80HyCHmwUUsFu/Y50QBy3MpFyesipIXVll4xmG9A9
 4FyInM6syQYle0u3PMyJQX1HU3vR3HY6I=
X-Google-Smtp-Source: AGHT+IGbf97fMIla6XcblixN4nQlGSSrcXBguqCNzENRyXyc2BMyfh1LBQ7Wpcy556jqWeiU8FVwsKdt771hWbP89kI=
X-Received: by 2002:a17:90b:4c47:b0:2ea:83a0:47a5 with SMTP id
 98e67ed59e1d1-2fc0dfc657emr918893a91.4.1739393473673; Wed, 12 Feb 2025
 12:51:13 -0800 (PST)
MIME-Version: 1.0
From: =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh
 <lumarzeli30@HIDDEN>
Date: Thu, 13 Feb 2025 02:21:00 +0530
X-Gm-Features: AWEUYZkKfh9sxkv8SvbtLoVp5vS3bQ9kFEDOU7-lAlUxbm5Hdw123Z2RjyU8OjY
Message-ID: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::1029;
 envelope-from=lumarzeli30@HIDDEN; helo=mail-pj1-x1029.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  after upgrading to kde 6.3 on my fedora 41 machine, emacs
 fails to start with the following error [...] 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (lumarzeli30[at]gmail.com)
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (lumarzeli30[at]gmail.com)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

after upgrading to kde 6.3 on my fedora 41 machine, emacs fails to
start with the following error
---------------------------------------------------------------------------=
------------------------------------
(emacs:84925): Gdk-CRITICAL **: 02:00:31.252: gdk_device_get_name:
assertion 'GDK_IS_DEVICE (device)' failed

(emacs:84925): Gdk-CRITICAL **: 02:00:31.252: gdk_device_get_source:
assertion 'GDK_IS_DEVICE (device)' failed
Fatal error 11: Segmentation fault
Backtrace:
./src/emacs() [0x597900]
./src/emacs() [0x561cb6]
./src/emacs() [0x5971b3]
./src/emacs() [0x597188]
./src/emacs() [0x5971ea]
./src/emacs() [0x597384]
/lib64/libc.so.6(+0x1a050) [0x7f42c5227050]
/lib64/libc.so.6(+0x14c405) [0x7f42c5359405]
./src/emacs() [0x6dea8a]
./src/emacs() [0x6df067]
./src/emacs() [0x60426f]
./src/emacs() [0x748c4b]
./src/emacs() [0x75d6b6]
./src/emacs() [0x7420d2]
./src/emacs() [0x646448]
./src/emacs() [0x6a2436]
./src/emacs() [0x646a3f]
./src/emacs() [0x645e3b]
./src/emacs() [0x6460ee]
./src/emacs() [0x6451e5]
./src/emacs() [0x64663e]
./src/emacs() [0x6a2436]
./src/emacs() [0x646a3f]
./src/emacs() [0x645e3b]
./src/emacs() [0x6460ee]
/home/ss141309/code/emacs/src/../native-lisp/31.0.50-f92e8814/preloaded/sta=
rtup-bbc6ea72-51eb976c.eln(F636f6d6d616e642d6c696e65_command_line_0+0x131d)
[0x7f42c28a4d4d]
./src/emacs() [0x6463d5]
./src/emacs() [0x645def]
./src/emacs() [0x6460ee]
/home/ss141309/code/emacs/src/../native-lisp/31.0.50-f92e8814/preloaded/sta=
rtup-bbc6ea72-51eb976c.eln(F6e6f726d616c2d746f702d6c6576656c_normal_top_lev=
el_0+0xf46)
[0x7f42c28a1396]
./src/emacs() [0x644b86]
./src/emacs() [0x64432e]
./src/emacs() [0x569dbc]
./src/emacs() [0x64236f]
./src/emacs() [0x569e17]
./src/emacs() [0x641821]
./src/emacs() [0x569c9d]
./src/emacs() [0x569100]
./src/emacs() [0x569313]
./src/emacs() [0x564e52]
/lib64/libc.so.6(+0x3248) [0x7f42c5210248]
...
Segmentation fault (core dumped)
---------------------------------------------------------------------------=
------------------------------------

the output of bt full is
---------------------------------------------------------------------------=
------------------------------------
(gdb) bt full
#0  __strnlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76
#1  0x00000000006dea8a in doprnt (buffer=3D0x7fffffff8060
"0:\377\377\377\177", bufsize=3D16381, format=3D0x7e91e6 "%u:%s",
format_end=3D0x0, ap=3D0x7fffffff7ff0)
    at doprnt.c:405
        mlen =3D 0
        charbuf =3D "\377\377\377\177\000"
        prec =3D -1
        zeroflag =3D false
        size_bound =3D 358
        width =3D 1
        modifier_len =3D "\000\001\001\001\001"
        wid =3D 0
        string =3D 0x0
        spaceflag =3D false
        fmtstar =3D "%*.*s\000\000\000\000\000"
        plusflag =3D false
        length_modifier =3D no_modifier
        minusflag =3D false
        minlen =3D 0
        tem =3D 1
        fmt0 =3D 0x7e91e9 "%s"
        fmtchar =3D 37 '%'
        src =3D 0x7fffffff7f90 "@}\377\377\377\177"
        srclen =3D 14320368
        fmt =3D 0x7e91eb ""
        bufptr =3D 0x7fffffff8062 "\377\377\377\177"
        tembuf =3D
"0\000\003\000\000\000\000\000\300j\337\363\377\177\000\000\000\000\000\000=
\000\000\000\000
\227\332\000\000\000\000\000\320\a\246\000\000\000\000\000\370\356\003\000\=
000\000\000\000\260}\377\377\377\177\000\000\242\307\310\363\377\177\000\00=
0\200\314\332\367\377\177\000\000x\375\377\377\377\377\377\377\000\000\000\=
000\000\000\000\000x\375\377\377\377\377\377\377\000\000\000\000\000\000\00=
0\000\360\351\331\000\000\000\000\000\360}\377\377\377\177\000\000\016\360\=
310\363\377\177\000\0002\000\000\000\000\000\000\000\200\226\332\000\000\00=
0\000\000\030\000\000\000\000\000\000\000\000\352\331\000\000\000\000\000`\=
000\000\000\000\000\000\000\370\356\003\000\000\000\000\000\020~\377\377\37=
7\177\000\000\005\361\003\367\377\177\000\000@~\377\377\377\177\000\000"...
        size_allocated =3D 408
        sprintf_buffer =3D 0x7fffffff7d40 "0"
        big_buffer =3D 0x0
        quoting_style =3D {i =3D 0x61e0}
#2  0x00000000006df067 in evxprintf
    (buf=3D0x7fffffff8058, bufsize=3D0x7fffffff8050,
nonheapbuf=3D0x7fffffff8060 "0:\377\377\377\177", bufsize_max=3D-1,
format=3D0x7e91e6 "%u:%s", ap=3D0x7fffffff8038)
    at doprnt.c:597
        nbytes =3D 257384
        ap_copy =3D {{gp_offset =3D 24, fp_offset =3D 48, overflow_arg_area
=3D 0x7fffffffc130, reg_save_area =3D 0x7fffffffc070}}
#3  0x000000000060426f in make_formatted_string (format=3D0x7e91e6
"%u:%s") at alloc.c:2485
        buf =3D "0:\377\377\377\177\000\000\n\304\310\363\377\177\000\000h\=
355\003\000\000\000\000\000\300j\337\363\377\177\000\000\000\000\000\000\00=
0\000\000\000Pu\332\000\000\000\000\000\320\a\246\000\000\000\000\000H\354\=
003\000\000\000\000\000\340\200\377\377\377\177\000\000\242\307\310\363\377=
\177\000\000\240\302\332\367\377\177\000\000x\375\377\377\377\377\377\377\0=
00\000\000\000\000\000\000\000x\375\377\377\377\377\377\377\000\000\000\000=
\000\000\000\000@@\332\000\000\000\000\000
\201\377\377\377\177\000\000\016\360\310\363\377\177\000\0006\000\000\000\0=
00\000\000\000\260t\332\000\000\000\000\000\030\000\000\000\000\000\000\000=
P@\332\000\000\000\000\000`\000\000\000\000\000\000\000H\354\003\000\000\00=
0\000\000@\201\377\377\377\177\000\000"...
        cstr =3D 0x7fffffff8060 "0:\377\377\377\177"
        bufsize =3D 16384
        ap =3D {{gp_offset =3D 8, fp_offset =3D 48, overflow_arg_area =3D
0x7fffffffc130, reg_save_area =3D 0x7fffffffc070}}
        length =3D 140737353400752
        ret =3D {i =3D 0x7fffffff8050}
#4  0x0000000000748c4b in pgtk_enumerate_devices (dpyinfo=3D0xb3a100,
initial_p=3Dtrue) at pgtkterm.c:188
        rec =3D 0xc8a6f0
        all_seats =3D 0xba6c30 =3D {0xa57ec0}
        devices_on_seat =3D 0xba6c50 =3D {0x0, 0xa41920, 0x9e9800,
0xb05da0, 0xa8b210}
        tem =3D 0xba6c30 =3D {0xa57ec0}
        t1 =3D 0xba6c50 =3D {0x0, 0xa41920, 0x9e9800, 0xb05da0, 0xa8b210}
        seat =3D 0xa57ec0 [GdkWaylandSeat]
#5  0x000000000075d6b6 in pgtk_term_init (display_name=3D...,
resource_name=3D0xa34008 "emacs") at pgtkterm.c:7234
        dpy =3D 0xa276b0 [GdkWaylandDisplay]
        terminal =3D 0xb67058
        dpyinfo =3D 0xb3a100
        x_initialized =3D true
        x_display_id =3D 1
        initial_display =3D 0xbaf5f0 "wayland-0"
        dpy_name =3D 0xbaf5f0 "wayland-0"
        handle =3D 0x7ffff7ffe2f0
        lisp_dpy_name =3D {i =3D 0x9c2ba4}
        gscr =3D 0xb66820 [GdkWaylandScreen]
        dpi =3D 96
        was_initialized =3D false
        system_name =3D {i =3D 0x7ffff1a6bcbc}
        nbytes =3D 13
        nametail =3D 0xbaf6a6 "fedora"
#6  0x00000000007420d2 in Fx_open_connection (display=3D...,
resource_string=3D..., must_succeed=3D...) at pgtkfns.c:2169
        dpyinfo =3D 0x64c695 <CHECK_LIST_END+34>
#7  0x0000000000646448 in funcall_subr (subr=3D0x885460
<Sx_open_connection>, numargs=3D3, args=3D0x7fffe2bff0d0) at eval.c:3142
        argbuf =3D {{i =3D 0x6a070b <builtin_lisp_symbol+44>}, {i =3D
0x885465 <Sx_open_connection+5>}, {i =3D 0x7fffffffc370}, {i =3D 0x6a132a
<NATIVE_COMP_FUNCTIONP+58>}, {i =3D 0x7fffffffc360}, {i =3D 0x1200885465},
{i =3D 0x885465 <Sx_open_connection+5>}, {i =3D 0x7fffffffc380}}
        a =3D 0x7fffe2bff0d0
        maxargs =3D 3
        fun =3D {i =3D 0x6a0d26 <SUBRP+29>}
#8  0x00000000006a2436 in exec_byte_code (fun=3D..., args_template=3D256,
nargs=3D0, args=3D0x7fffe2bff050) at bytecode.c:812
        call_nargs =3D 3
        call_fun =3D {i =3D 0x885465 <Sx_open_connection+5>}
        count1 =3D {bytes =3D 352}
        val =3D {i =3D 0x7ffff197f3a3}
        call_args =3D 0x7fffe2bff0d0
        original_fun =3D {i =3D 0x7ffff11a4418}
        op =3D 3
        type =3D CONDITION_CASE
        targets =3D {0x6a5df6 <exec_byte_code+18192>, 0x6a5e19
<exec_byte_code+18227>, 0x6a5e1b <exec_byte_code+18229>, 0x6a5e1d
<exec_byte_code+18231>, 0x6a5e1f <exec_byte_code+18233>, 0x6a5e1f
<exec_byte_code+18233>, 0x6a5e79 <exec_byte_code+18323>, 0x6a5ee2
<exec_byte_code+18428>, 0x6a1bdc <exec_byte_code+1270>, 0x6a1bde
<exec_byte_code+1272>, 0x6a1be0 <exec_byte_code+1274>, 0x6a1be2
<exec_byte_code+1276>, 0x6a1be4 <exec_byte_code+1278>, 0x6a1be4
<exec_byte_code+1278>, 0x6a1bea <exec_byte_code+1284>, 0x6a1bab
<exec_byte_code+1221>, 0x6a1f7d <exec_byte_code+2199>, 0x6a1f7f
<exec_byte_code+2201>, 0x6a1f81 <exec_byte_code+2203>, 0x6a1f83
<exec_byte_code+2205>, 0x6a1f85 <exec_byte_code+2207>, 0x6a1f85
<exec_byte_code+2207>, 0x6a1fba <exec_byte_code+2260>, 0x6a1f8b
<exec_byte_code+2213>, 0x6a2151 <exec_byte_code+2667>, 0x6a2153
<exec_byte_code+2669>, 0x6a2155 <exec_byte_code+2671>, 0x6a2157
<exec_byte_code+2673>, 0x6a2159 <exec_byte_code+2675>, 0x6a2159
<exec_byte_code+2675>, 0x6a210b <exec_byte_code+2597>, 0x6a2122
<exec_byte_code+2620>, 0x6a21fc <exec_byte_code+2838>, 0x6a21fe
<exec_byte_code+2840>, 0x6a2200 <exec_byte_code+2842>, 0x6a2202
<exec_byte_code+2844>, 0x6a2204 <exec_byte_code+2846>, 0x6a2204
<exec_byte_code+2846>, 0x6a21b6 <exec_byte_code+2768>, 0x6a21cd
<exec_byte_code+2791>, 0x6a255f <exec_byte_code+3705>, 0x6a2561
<exec_byte_code+3707>, 0x6a2563 <exec_byte_code+3709>, 0x6a2565
<exec_byte_code+3711>, 0x6a2567 <exec_byte_code+3713>, 0x6a2567
<exec_byte_code+3713>, 0x6a2519 <exec_byte_code+3635>, 0x6a2530
<exec_byte_code+3658>, 0x6a2d57 <exec_byte_code+5745>, 0x6a2b6a
<exec_byte_code+5252>, 0x6a2b61 <exec_byte_code+5243>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a2f64 <exec_byte_code+6270>, 0x6a30dd
<exec_byte_code+6647>, 0x6a3141 <exec_byte_code+6747>, 0x6a31a3
<exec_byte_code+6845>, 0x6a3207 <exec_byte_code+6945>, 0x6a1dec
<exec_byte_code+1798>, 0x6a1e70 <exec_byte_code+1930>, 0x6a3282
<exec_byte_code+7068>, 0x6a1d40 <exec_byte_code+1626>, 0x6a1ed0
<exec_byte_code+2026>, 0x6a32ec <exec_byte_code+7174>, 0x6a334c
<exec_byte_code+7270>, 0x6a338c <exec_byte_code+7334>, 0x6a33ec
<exec_byte_code+7430>, 0x6a344a <exec_byte_code+7524>, 0x6a3523
<exec_byte_code+7741>, 0x6a3563 <exec_byte_code+7805>, 0x6a3701
<exec_byte_code+8219>, 0x6a38c6 <exec_byte_code+8672>, 0x6a3906
<exec_byte_code+8736>, 0x6a3946 <exec_byte_code+8800>, 0x6a39a6
<exec_byte_code+8896>, 0x6a3a06 <exec_byte_code+8992>, 0x6a3a66
<exec_byte_code+9088>, 0x6a3ae3 <exec_byte_code+9213>, 0x6a3b2a
<exec_byte_code+9284>, 0x6a3b71 <exec_byte_code+9355>, 0x6a3c2b
<exec_byte_code+9541>, 0x6a3d26 <exec_byte_code+9792>, 0x6a3e21
<exec_byte_code+10043>, 0x6a3f1a <exec_byte_code+10292>, 0x6a4023
<exec_byte_code+10557>, 0x6a412c <exec_byte_code+10822>, 0x6a4235
<exec_byte_code+11087>, 0x6a433e <exec_byte_code+11352>, 0x6a44b7
<exec_byte_code+11729>, 0x6a45b3 <exec_byte_code+11981>, 0x6a4729
<exec_byte_code+12355>, 0x6a47e7 <exec_byte_code+12545>, 0x6a48a5
<exec_byte_code+12735>, 0x6a4d15 <exec_byte_code+13871>, 0x6a2a16
<exec_byte_code+4912>, 0x6a4d68 <exec_byte_code+13954>, 0x6a4da8
<exec_byte_code+14018>, 0x6a4e5d <exec_byte_code+14199>, 0x6a4eb0
<exec_byte_code+14282>, 0x6a4f03 <exec_byte_code+14365>, 0x6a4f43
<exec_byte_code+14429>, 0x6a4f7e <exec_byte_code+14488>, 0x6a4fb9
<exec_byte_code+14547>, 0x6a4ffc <exec_byte_code+14614>, 0x6a5df6
<exec_byte_code+18192>, 0x6a504c <exec_byte_code+14694>, 0x6a5087
<exec_byte_code+14753>, 0x6a50c2 <exec_byte_code+14812>, 0x6a50fd
<exec_byte_code+14871>, 0x6a5138 <exec_byte_code+14930>, 0x6a5173
<exec_byte_code+14989>, 0x6a2a16 <exec_byte_code+4912>, 0x6a5df6
<exec_byte_code+18192>, 0x6a51b3 <exec_byte_code+15053>, 0x6a51fb
<exec_byte_code+15125>, 0x6a523b <exec_byte_code+15189>, 0x6a527b
<exec_byte_code+15253>, 0x6a52db <exec_byte_code+15349>, 0x6a533b
<exec_byte_code+15445>, 0x6a537b <exec_byte_code+15509>, 0x6a53bb
<exec_byte_code+15573>, 0x6a541b <exec_byte_code+15669>, 0x6a547b
<exec_byte_code+15765>, 0x6a54db <exec_byte_code+15861>, 0x6a5516
<exec_byte_code+15920>, 0x6a5df6 <exec_byte_code+18192>, 0x6a2976
<exec_byte_code+4752>, 0x6a25c2 <exec_byte_code+3804>, 0x6a1cb9
<exec_byte_code+1491>, 0x6a2659 <exec_byte_code+3955>, 0x6a26d2
<exec_byte_code+4076>, 0x6a2748 <exec_byte_code+4194>, 0x6a27be
<exec_byte_code+4312>, 0x6a294a <exec_byte_code+4708>, 0x6a20c3
<exec_byte_code+2525>, 0x6a29ea <exec_byte_code+4868>, 0x6a2a42
<exec_byte_code+4956>, 0x6a2ac6 <exec_byte_code+5088>, 0x6a2aff
<exec_byte_code+5145>, 0x6a2d98 <exec_byte_code+5810>, 0x6a2e06
<exec_byte_code+5920>, 0x6a2e83 <exec_byte_code+6045>, 0x6a2ede
<exec_byte_code+6136>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5556
<exec_byte_code+15984>, 0x6a55d3 <exec_byte_code+16109>, 0x6a5613
<exec_byte_code+16173>, 0x6a5653 <exec_byte_code+16237>, 0x6a5693
<exec_byte_code+16301>, 0x6a56d3 <exec_byte_code+16365>, 0x6a5733
<exec_byte_code+16461>, 0x6a5793 <exec_byte_code+16557>, 0x6a57f3
<exec_byte_code+16653>, 0x6a5853 <exec_byte_code+16749>, 0x6a59e1
<exec_byte_code+17147>, 0x6a5a41 <exec_byte_code+17243>, 0x6a5aa1
<exec_byte_code+17339>, 0x6a5ae1 <exec_byte_code+17403>, 0x6a5ba4
<exec_byte_code+17598>, 0x6a5c67 <exec_byte_code+17793>, 0x6a5ca7
<exec_byte_code+17857>, 0x6a5ce7 <exec_byte_code+17921>, 0x6a4a32
<exec_byte_code+13132>, 0x6a4bc8 <exec_byte_code+13538>, 0x6a5d2e
<exec_byte_code+17992>, 0x6a5d92 <exec_byte_code+18092>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a34b0
<exec_byte_code+7626>, 0x6a3bb8 <exec_byte_code+9426>, 0x6a4dea
<exec_byte_code+14084>, 0x6a5f66 <exec_byte_code+18560>, 0x6a5fd0
<exec_byte_code+18666>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a6057 <exec_byte_code+18801>, 0x6a60d3
<exec_byte_code+18925>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a6277 <exec_byte_code+19345> <repeats 64
times>}
        quitcounter =3D 1 '\001'
        bc =3D 0x863170 <main_thread+496>
        top =3D 0x7fffe2bff0c8
        pc =3D 0x7ffff2465c0a "\210\333 \210\334\335\336\"\210=D2=89\020\20=
7"
        bytestr =3D {i =3D 0x7ffff1bffd9c}
        vector =3D {i =3D 0x7ffff1aa4add}
        maxdepth =3D {i =3D 0x1e}
        const_length =3D 32
        bytestr_length =3D 100
        vectorp =3D 0x7ffff1aa4ae0
        max_stack =3D 7
        frame_base =3D 0x7fffe2bff0c0
        fp =3D 0x7fffe2bff0f8
        bytestr_data =3D 0x7ffff2465bb3 "\b\203\b"
        rest =3D false
        mandatory =3D 0
        nonrest =3D 1
        pushedargs =3D 0
        saved_quitcounter =3D 1 '\001'
        saved_vectorp =3D 0x7ffff1aa4ae0
        saved_bytestr_data =3D 0x7ffff2465bb3 "\b\203\b"
        result =3D {i =3D 0x0}
#9  0x0000000000646a3f in funcall_lambda (fun=3D..., nargs=3D0,
arg_vector=3D0x7fffe2bff050) at eval.c:3229
        syms_left =3D {i =3D 0x402}
        lexenv =3D {i =3D 0x7fffffffc8e0}
        count =3D {bytes =3D 0}
        i =3D 140737488341248
        optional =3D false
        rest =3D false
        previous_rest =3D 127
        val =3D {i =3D 0x7fffffffc8e0}
#10 0x0000000000645e3b in funcall_general (fun=3D..., numargs=3D0,
args=3D0x7fffe2bff050) at eval.c:3021
        original_fun =3D {i =3D 0x7ffff1aa4a8d}
#11 0x00000000006460ee in Ffuncall (nargs=3D1, args=3D0x7fffe2bff048) at ev=
al.c:3070
        count =3D {bytes =3D 320}
        val =3D {i =3D 0x2}
#12 0x00000000006451e5 in Fapply (nargs=3D2, args=3D0x7fffe2bff048) at eval=
.c:2695
        i =3D -1
        funcall_nargs =3D 140737488341712
        funcall_args =3D 0x0
        spread_arg =3D {i =3D 0x0}
        fun =3D {i =3D 0x7ffff1aa4a8d}
        sa_avail =3D 16384
        sa_count =3D {bytes =3D 320}
        numargs =3D 0
        retval =3D {i =3D 0x0}
#13 0x000000000064663e in funcall_subr (subr=3D0x879ca0 <Sapply>,
numargs=3D2, args=3D0x7fffe2bff048) at eval.c:3161
        maxargs =3D -2
        fun =3D {i =3D 0x6a0d26 <SUBRP+29>}
#14 0x00000000006a2436 in exec_byte_code (fun=3D..., args_template=3D128,
nargs=3D0, args=3D0x7fffffffd108) at bytecode.c:812
        call_nargs =3D 2
        call_fun =3D {i =3D 0x879ca5 <Sapply+5>}
        count1 =3D {bytes =3D 288}
        val =3D {i =3D 0x7ffff1aa4a8d}
        call_args =3D 0x7fffe2bff048
        original_fun =3D {i =3D 0x3b70}
        op =3D 2
        type =3D 4053864584
        targets =3D {0x6a5df6 <exec_byte_code+18192>, 0x6a5e19
<exec_byte_code+18227>, 0x6a5e1b <exec_byte_code+18229>, 0x6a5e1d
<exec_byte_code+18231>, 0x6a5e1f <exec_byte_code+18233>, 0x6a5e1f
<exec_byte_code+18233>, 0x6a5e79 <exec_byte_code+18323>, 0x6a5ee2
<exec_byte_code+18428>, 0x6a1bdc <exec_byte_code+1270>, 0x6a1bde
<exec_byte_code+1272>, 0x6a1be0 <exec_byte_code+1274>, 0x6a1be2
<exec_byte_code+1276>, 0x6a1be4 <exec_byte_code+1278>, 0x6a1be4
<exec_byte_code+1278>, 0x6a1bea <exec_byte_code+1284>, 0x6a1bab
<exec_byte_code+1221>, 0x6a1f7d <exec_byte_code+2199>, 0x6a1f7f
<exec_byte_code+2201>, 0x6a1f81 <exec_byte_code+2203>, 0x6a1f83
<exec_byte_code+2205>, 0x6a1f85 <exec_byte_code+2207>, 0x6a1f85
<exec_byte_code+2207>, 0x6a1fba <exec_byte_code+2260>, 0x6a1f8b
<exec_byte_code+2213>, 0x6a2151 <exec_byte_code+2667>, 0x6a2153
<exec_byte_code+2669>, 0x6a2155 <exec_byte_code+2671>, 0x6a2157
<exec_byte_code+2673>, 0x6a2159 <exec_byte_code+2675>, 0x6a2159
<exec_byte_code+2675>, 0x6a210b <exec_byte_code+2597>, 0x6a2122
<exec_byte_code+2620>, 0x6a21fc <exec_byte_code+2838>, 0x6a21fe
<exec_byte_code+2840>, 0x6a2200 <exec_byte_code+2842>, 0x6a2202
<exec_byte_code+2844>, 0x6a2204 <exec_byte_code+2846>, 0x6a2204
<exec_byte_code+2846>, 0x6a21b6 <exec_byte_code+2768>, 0x6a21cd
<exec_byte_code+2791>, 0x6a255f <exec_byte_code+3705>, 0x6a2561
<exec_byte_code+3707>, 0x6a2563 <exec_byte_code+3709>, 0x6a2565
<exec_byte_code+3711>, 0x6a2567 <exec_byte_code+3713>, 0x6a2567
<exec_byte_code+3713>, 0x6a2519 <exec_byte_code+3635>, 0x6a2530
<exec_byte_code+3658>, 0x6a2d57 <exec_byte_code+5745>, 0x6a2b6a
<exec_byte_code+5252>, 0x6a2b61 <exec_byte_code+5243>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a2f64 <exec_byte_code+6270>, 0x6a30dd
<exec_byte_code+6647>, 0x6a3141 <exec_byte_code+6747>, 0x6a31a3
<exec_byte_code+6845>, 0x6a3207 <exec_byte_code+6945>, 0x6a1dec
<exec_byte_code+1798>, 0x6a1e70 <exec_byte_code+1930>, 0x6a3282
<exec_byte_code+7068>, 0x6a1d40 <exec_byte_code+1626>, 0x6a1ed0
<exec_byte_code+2026>, 0x6a32ec <exec_byte_code+7174>, 0x6a334c
<exec_byte_code+7270>, 0x6a338c <exec_byte_code+7334>, 0x6a33ec
<exec_byte_code+7430>, 0x6a344a <exec_byte_code+7524>, 0x6a3523
<exec_byte_code+7741>, 0x6a3563 <exec_byte_code+7805>, 0x6a3701
<exec_byte_code+8219>, 0x6a38c6 <exec_byte_code+8672>, 0x6a3906
<exec_byte_code+8736>, 0x6a3946 <exec_byte_code+8800>, 0x6a39a6
<exec_byte_code+8896>, 0x6a3a06 <exec_byte_code+8992>, 0x6a3a66
<exec_byte_code+9088>, 0x6a3ae3 <exec_byte_code+9213>, 0x6a3b2a
<exec_byte_code+9284>, 0x6a3b71 <exec_byte_code+9355>, 0x6a3c2b
<exec_byte_code+9541>, 0x6a3d26 <exec_byte_code+9792>, 0x6a3e21
<exec_byte_code+10043>, 0x6a3f1a <exec_byte_code+10292>, 0x6a4023
<exec_byte_code+10557>, 0x6a412c <exec_byte_code+10822>, 0x6a4235
<exec_byte_code+11087>, 0x6a433e <exec_byte_code+11352>, 0x6a44b7
<exec_byte_code+11729>, 0x6a45b3 <exec_byte_code+11981>, 0x6a4729
<exec_byte_code+12355>, 0x6a47e7 <exec_byte_code+12545>, 0x6a48a5
<exec_byte_code+12735>, 0x6a4d15 <exec_byte_code+13871>, 0x6a2a16
<exec_byte_code+4912>, 0x6a4d68 <exec_byte_code+13954>, 0x6a4da8
<exec_byte_code+14018>, 0x6a4e5d <exec_byte_code+14199>, 0x6a4eb0
<exec_byte_code+14282>, 0x6a4f03 <exec_byte_code+14365>, 0x6a4f43
<exec_byte_code+14429>, 0x6a4f7e <exec_byte_code+14488>, 0x6a4fb9
<exec_byte_code+14547>, 0x6a4ffc <exec_byte_code+14614>, 0x6a5df6
<exec_byte_code+18192>, 0x6a504c <exec_byte_code+14694>, 0x6a5087
<exec_byte_code+14753>, 0x6a50c2 <exec_byte_code+14812>, 0x6a50fd
<exec_byte_code+14871>, 0x6a5138 <exec_byte_code+14930>, 0x6a5173
<exec_byte_code+14989>, 0x6a2a16 <exec_byte_code+4912>, 0x6a5df6
<exec_byte_code+18192>, 0x6a51b3 <exec_byte_code+15053>, 0x6a51fb
<exec_byte_code+15125>, 0x6a523b <exec_byte_code+15189>, 0x6a527b
<exec_byte_code+15253>, 0x6a52db <exec_byte_code+15349>, 0x6a533b
<exec_byte_code+15445>, 0x6a537b <exec_byte_code+15509>, 0x6a53bb
<exec_byte_code+15573>, 0x6a541b <exec_byte_code+15669>, 0x6a547b
<exec_byte_code+15765>, 0x6a54db <exec_byte_code+15861>, 0x6a5516
<exec_byte_code+15920>, 0x6a5df6 <exec_byte_code+18192>, 0x6a2976
<exec_byte_code+4752>, 0x6a25c2 <exec_byte_code+3804>, 0x6a1cb9
<exec_byte_code+1491>, 0x6a2659 <exec_byte_code+3955>, 0x6a26d2
<exec_byte_code+4076>, 0x6a2748 <exec_byte_code+4194>, 0x6a27be
<exec_byte_code+4312>, 0x6a294a <exec_byte_code+4708>, 0x6a20c3
<exec_byte_code+2525>, 0x6a29ea <exec_byte_code+4868>, 0x6a2a42
<exec_byte_code+4956>, 0x6a2ac6 <exec_byte_code+5088>, 0x6a2aff
<exec_byte_code+5145>, 0x6a2d98 <exec_byte_code+5810>, 0x6a2e06
<exec_byte_code+5920>, 0x6a2e83 <exec_byte_code+6045>, 0x6a2ede
<exec_byte_code+6136>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5556
<exec_byte_code+15984>, 0x6a55d3 <exec_byte_code+16109>, 0x6a5613
<exec_byte_code+16173>, 0x6a5653 <exec_byte_code+16237>, 0x6a5693
<exec_byte_code+16301>, 0x6a56d3 <exec_byte_code+16365>, 0x6a5733
<exec_byte_code+16461>, 0x6a5793 <exec_byte_code+16557>, 0x6a57f3
<exec_byte_code+16653>, 0x6a5853 <exec_byte_code+16749>, 0x6a59e1
<exec_byte_code+17147>, 0x6a5a41 <exec_byte_code+17243>, 0x6a5aa1
<exec_byte_code+17339>, 0x6a5ae1 <exec_byte_code+17403>, 0x6a5ba4
<exec_byte_code+17598>, 0x6a5c67 <exec_byte_code+17793>, 0x6a5ca7
<exec_byte_code+17857>, 0x6a5ce7 <exec_byte_code+17921>, 0x6a4a32
<exec_byte_code+13132>, 0x6a4bc8 <exec_byte_code+13538>, 0x6a5d2e
<exec_byte_code+17992>, 0x6a5d92 <exec_byte_code+18092>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a34b0
<exec_byte_code+7626>, 0x6a3bb8 <exec_byte_code+9426>, 0x6a4dea
<exec_byte_code+14084>, 0x6a5f66 <exec_byte_code+18560>, 0x6a5fd0
<exec_byte_code+18666>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a6057 <exec_byte_code+18801>, 0x6a60d3
<exec_byte_code+18925>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
<exec_byte_code+18192>, 0x6a6277 <exec_byte_code+19345> <repeats 64
times>}
        quitcounter =3D 1 '\001'
        bc =3D 0x863170 <main_thread+496>
        top =3D 0x7fffe2bff040
        pc =3D 0x7ffff23d3989 "\207"
        bytestr =3D {i =3D 0x7ffff1a957bc}
        vector =3D {i =3D 0x7ffff1aa388d}
        maxdepth =3D {i =3D 0x3a}
        const_length =3D 15
        bytestr_length =3D 42
        vectorp =3D 0x7ffff1aa3890
        max_stack =3D 14
        frame_base =3D 0x7fffe2bff030
        fp =3D 0x7fffe2bff0a0
        bytestr_data =3D 0x7ffff23d3960 "\f\306\307\002\r\"\307\001\300\"\2=
06%"
        rest =3D true
        mandatory =3D 0
        nonrest =3D 0
        pushedargs =3D 0
        saved_quitcounter =3D 0 '\000'
        saved_vectorp =3D 0x7fffffffce00
        saved_bytestr_data =3D 0x7ffff1c02a5c ""
        result =3D {i =3D 0x7ffff197f583}
#15 0x0000000000646a3f in funcall_lambda (fun=3D..., nargs=3D0,
arg_vector=3D0x7fffffffd108) at eval.c:3229
        syms_left =3D {i =3D 0x202}
        lexenv =3D {i =3D 0xea60}
        count =3D {bytes =3D 0}
        i =3D 140737488343088
        optional =3D false
        rest =3D false
        previous_rest =3D 127
        val =3D {i =3D 0x1f19f5ef0}
#16 0x0000000000645e3b in funcall_general (fun=3D..., numargs=3D0,
args=3D0x7fffffffd108) at eval.c:3021
        original_fun =3D {i =3D 0x7ffff11a4c98}
#17 0x00000000006460ee in Ffuncall (nargs=3D1, args=3D0x7fffffffd100) at ev=
al.c:3070
        count =3D {bytes =3D 256}
        val =3D {i =3D 0x7ffff10f7500}
#18 0x00007ffff1159d4d in F636f6d6d616e642d6c696e65_command_line_0 ()
    at /home/ss141309/code/emacs/src/../native-lisp/31.0.50-f92e8814/preloa=
ded/startup-bbc6ea72-51eb976c.eln
#19 0x00000000006463d5 in funcall_subr (subr=3D0x7ffff1c30890,
numargs=3D0, args=3D0x7fffffffd2f0) at eval.c:3136
        argbuf =3D {{i =3D 0x7ffff1c30895}, {i =3D 0x7fffffffd1d0}, {i =3D
0x8fe9c0 <lispsym>}, {i =3D 0x0}, {i =3D 0x0}, {i =3D 0x12ffffd1f0}, {i =3D
0x7ffff1c30895}, {i =3D 0x7fffffffd200}}
        a =3D 0x7fffffffd2f0
        maxargs =3D 0
        fun =3D {i =3D 0x63dd6a <SUBRP+29>}
#20 0x0000000000645def in funcall_general (fun=3D..., numargs=3D0,
args=3D0x7fffffffd2f0) at eval.c:3017
        original_fun =3D {i =3D 0x7ffff1331ea0
<F746f7563682d73637265656e2d68616e646c652d706f696e742d7570_touch_screen_han=
dle_point_up_0+2080>}
#21 0x00000000006460ee in Ffuncall (nargs=3D1, args=3D0x7fffffffd2e8) at ev=
al.c:3070
        count =3D {bytes =3D 192}
        val =3D {i =3D 0x6a7808 <bcall0>}
#22 0x00007ffff1156396 in
F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0 ()
    at /home/ss141309/code/emacs/src/../native-lisp/31.0.50-f92e8814/preloa=
ded/startup-bbc6ea72-51eb976c.eln
#23 0x0000000000644b86 in eval_sub (form=3D...) at eval.c:2572
        i =3D 0
        maxargs =3D 0
        args_left =3D {i =3D 0x0}
        numargs =3D 0
        original_fun =3D {i =3D 0x7ffff132a0a8
<F746f7563682d73637265656e2d686f6c64_touch_screen_hold_0+1816>}
        original_args =3D {i =3D 0x0}
        count =3D {bytes =3D 128}
        fun =3D {i =3D 0x7ffff1c28a9d}
        val =3D {i =3D 0x6476fb <do_specbind+288>}
        funcar =3D {i =3D 0x7fffffffd440}
        argvals =3D {{i =3D 0x7fffffffd3e0}, {i =3D 0x61d2d8 <XOBJFWD+35>},
{i =3D 0x8fe9c0 <lispsym>}, {i =3D 0x7ffff1f516c0}, {i =3D 0x0}, {i =3D
0x909a60 <lispsym+45216>}, {i =3D 0x63d7a6 <builtin_lisp_symbol+44>}, {i
=3D 0x0}}
#24 0x000000000064432e in Feval (form=3D..., lexical=3D...) at eval.c:2439
        count =3D {bytes =3D 96}
#25 0x0000000000569dbc in top_level_2 () at keyboard.c:1179
        setup_handler =3D false
        res =3D {i =3D 0x1008fe9c0}
#26 0x000000000064236f in internal_condition_case (bfun=3D0x569d55
<top_level_2>, handlers=3D..., hfun=3D0x569627 <cmd_error>) at eval.c:1602
        val =3D {i =3D 0x7fffffffd540}
        c =3D 0xa9e670
#27 0x0000000000569e17 in top_level_1 (ignore=3D...) at keyboard.c:1191
#28 0x0000000000641821 in internal_catch (tag=3D..., func=3D0x569dd5
<top_level_1>, arg=3D...) at eval.c:1282
        val =3D {i =3D 0x56651e <builtin_lisp_symbol+44>}
        c =3D 0xaf0fd0
#29 0x0000000000569c9d in command_loop () at keyboard.c:1140
#30 0x0000000000569100 in recursive_edit_1 () at keyboard.c:749
        count =3D {bytes =3D 32}
        val =3D {i =3D 0x7fffffffd620}
#31 0x0000000000569313 in Frecursive_edit () at keyboard.c:832
        count =3D {bytes =3D 0}
        buffer =3D {i =3D 0x0}
#32 0x0000000000564e52 in main (argc=3D2, argv=3D0x7fffffffd8e8) at emacs.c=
:2558
        stack_bottom_variable =3D 0x0
        old_argc =3D 2
        dump_file =3D 0x0
        no_loadup =3D false
        junk =3D 0x0
        dname_arg =3D 0x0
        ch_to_dir =3D 0x0
        original_pwd =3D 0x0
        dump_mode =3D 0x0
        skip_args =3D 0
        temacs =3D 0x0
        attempt_load_pdump =3D true
        only_version =3D false
        rlim =3D {rlim_cur =3D 16777216, rlim_max =3D 18446744073709551615}
        lc_all =3D 0x0
        sockfd =3D -1
        module_assertions =3D false
---------------------------------------------------------------------------=
------------------------------------

the output of xbacktrace is
---------------------------------------------------------------------------=
------------------------------------
(gdb) xbacktrace
"x-open-connection" (0xe2bff0d0)
0xf1aa4a88 PVEC_CLOSURE
"apply" (0xe2bff048)
"window-system-initialization" (0xffffd108)
"command-line" (0xffffd2f0)
"normal-top-level" (0xffffd3c0)
---------------------------------------------------------------------------=
------------------------------------

adding this line to pgtkterm.c enables emacs to launch normally once
again, but this seems only like a temporary solution
---------------------------------------------------------------------------=
------------------------------------
diff --git a/src/pgtkterm.c b/src/pgtkterm.c
index d47b1da7262..b3d267284ca 100644
--- a/src/pgtkterm.c
+++ b/src/pgtkterm.c
@@ -182,6 +182,9 @@ pgtk_enumerate_devices (struct pgtk_display_info *dpyin=
fo,

       for (t1 =3D devices_on_seat; t1; t1 =3D t1->next)
        {
+         if (t1->data =3D=3D 0)
+            continue;
+
          rec =3D xmalloc (sizeof *rec);
          rec->seat =3D g_object_ref (seat);
          rec->device =3D GDK_DEVICE (t1->data);
---------------------------------------------------------------------------=
------------------------------------


---------------------------------------------------------------------------=
------------------------------------
In GNU Emacs 31.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version
 3.24.43, cairo version 1.18.2) of 2025-02-13 built on fedora
Repository revision: 44c11cd4241ffc8636135bc41ac718101666d34d
Repository branch: master
System Description: Fedora Linux 41 (KDE Plasma)

Configured using:
 'configure --enable-checking=3Dyes,glyphs --enable-check-lisp-object-type
 --with-pgtk 'CFLAGS=3D-O0 -g3''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG
LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER
PGTK PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP
XIM GTK3 ZLIB

Important settings:
  value of $LANG: en_IN.UTF-8
  value of $XMODIFIERS: @im=3Dnone
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr compile comint ansi-osc ansi-color ring comp-run
bytecomp byte-compile comp-common rx emacsbug message mailcap yank-media
puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived
epg rfc6068 epg-config gnus-util text-property-search time-date subr-x
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/pgtk-win pgtk-win term/common-win touch-screen pgtk-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo gtk pgtk
multi-tty move-toolbar make-network-process tty-child-frames
native-compile emacs)

Memory information:
((conses 16 58604 9958) (symbols 48 6729 0) (strings 32 16718 3556)
 (string-bytes 1 477747) (vectors 16 11454)
 (vector-slots 8 143352 9543) (floats 8 21 3) (intervals 56 239 0)
 (buffers 992 11))
---------------------------------------------------------------------------=
------------------------------------




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?=
 =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh
 <lumarzeli30@HIDDEN>
Subject: bug#76239: Acknowledgement (crash with "gdk_device_get_name:
 assertion 'GDK_IS_DEVICE (device)' failed" error on kde 6.3, fedora 41)
Message-ID: <handler.76239.B.173939349121324.ack <at> debbugs.gnu.org>
References: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
X-Gnu-PR-Message: ack 76239
X-Gnu-PR-Package: emacs
Reply-To: 76239 <at> debbugs.gnu.org
Date: Wed, 12 Feb 2025 20:52:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 76239 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
76239: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76239
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76239: crash with "gdk_device_get_name: assertion, 'GDK_IS_DEVICE (device)' failed" error on kde 6.3, fedora 41
References: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
In-Reply-To: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
Resent-From: German Pacenza <germanp82@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 13 Feb 2025 11:18:02 +0000
Resent-Message-ID: <handler.76239.B76239.173944543712715 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76239
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 76239 <at> debbugs.gnu.org
Received: via spool by 76239-submit <at> debbugs.gnu.org id=B76239.173944543712715
          (code B ref 76239); Thu, 13 Feb 2025 11:18:02 +0000
Received: (at 76239) by debbugs.gnu.org; 13 Feb 2025 11:17:17 +0000
Received: from localhost ([127.0.0.1]:40932 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiXDZ-0003J0-Gp
	for submit <at> debbugs.gnu.org; Thu, 13 Feb 2025 06:17:17 -0500
Received: from mail-mw2nam12olkn2082.outbound.protection.outlook.com
 ([40.92.23.82]:40800 helo=NAM12-MW2-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <germanp82@HIDDEN>)
 id 1tiXDW-0003Ia-Da
 for 76239 <at> debbugs.gnu.org; Thu, 13 Feb 2025 06:17:15 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=B8z7nbwJaAX6vbMpuzzcTibAj+fvfQ/49ZH2NvftIy7UexKw6WXHPbscmVUvvmrNWIsE4dW2qFyTLqbw9rC3r3WvBF+1qb1wmtfYb7GF12AkZF1m6WZygjpEDf4rWgcPvFOSOgG9WVs4UP9oMRrNFA/aDZeKyMilAZNJr+tTKZHDLj5X7XOnNDhTBCEAXKLVhdUeWxZEENkHDXk7h3W6HCKRg0DqjEPyX0cQYHe6lXNCyrcRftgAfSRMvlH2KuFEehJU5NZfENk3HNzaK7m7yyDJUfby33cGc7Rp3vdCjrjbp4h7e9TXndUfsfIYrN4S0722WoK4QE0LqC+IsKsJ6g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=fuOLNqFKeo5WHFK34WfwlSzTiJoPwaq9sF1STQZ5gyw=;
 b=W9SC/v3sRzQRinnZ/ejYmSHFD+ZgmAmSKoYVKnjUv6b+30GlKXaobrx/ujkeCgX9yV9fS7HSY94X9BGbIr0BP7updtRZkEpebeV5lf2rXwCf5AZbdJ2ZvwyFROaW5igiNHDgAuuUnxNIwgygHS2Niwg6cmP3XbU4b7yqOqPgD9nTqZ/xHmaR/X0bCOifrrqqtS06qI0EOQ+xBvdW7IkD10Gj3vgFI1nU5D7trhdfW2UuCfe+gu78Re2E/nK4ne03DPRIriUtndfOlri5H/NDtx+IHUVOMprgYoX3u153OYl3aVy7uOVJZ3ooDof/GfFs1FZR3mKf40/C2emBH4Mh4A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=fuOLNqFKeo5WHFK34WfwlSzTiJoPwaq9sF1STQZ5gyw=;
 b=p/APW36ryw4CmKurEJ0HNVx+Y+2Ibv9U6TbzBY0I778jh47jQMFN8fyZjZpv4Pj35kcCbXWedb4U3FRJZ3cW70P6+oRvi0wY+dTlnrpOaLJYTs4zqBMKouXGVwPI2vwrWz2k5ma2GOnInSSZsh4IofMf9xDAh2C03L3zsCkbcHkYkDRF32hn7TqmrLAXQSH46xwTRfDbpAUYAnTCfOOS7AerabDMn0mkQU2BRLuMBZncLFLXb0mpL2KZF6miyYBeQT2NAqSzLm1aH4ABUMuZ/r1ADkGf8XJHbYMIZPyYqNNH2hy0+qRTVZD42luY7FarUT8wMXKUOXRKnl6chxhVsA==
Received: from BYAPR12MB3495.namprd12.prod.outlook.com (2603:10b6:a03:ae::13)
 by MW4PR12MB7167.namprd12.prod.outlook.com (2603:10b6:303:225::19)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8445.13; Thu, 13 Feb
 2025 11:17:06 +0000
Received: from BYAPR12MB3495.namprd12.prod.outlook.com
 ([fe80::3e9d:8139:3b96:cea]) by BYAPR12MB3495.namprd12.prod.outlook.com
 ([fe80::3e9d:8139:3b96:cea%4]) with mapi id 15.20.8445.013; Thu, 13 Feb 2025
 11:17:05 +0000
Message-ID: <BYAPR12MB3495ABB191D057AF6E5D4466A7FF2@HIDDEN>
Date: Thu, 13 Feb 2025 08:17:01 -0300
User-Agent: Mozilla Thunderbird
Content-Language: en-US
From: German Pacenza <germanp82@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-ClientProxiedBy: SCZP152CA0017.LAMP152.PROD.OUTLOOK.COM
 (2603:10d6:300:52::10) To BYAPR12MB3495.namprd12.prod.outlook.com
 (2603:10b6:a03:ae::13)
X-Microsoft-Original-Message-ID: <ca2a9627-2911-4e60-8510-8e8783f93dd0@HIDDEN>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: BYAPR12MB3495:EE_|MW4PR12MB7167:EE_
X-MS-Office365-Filtering-Correlation-Id: f876c1e6-f1e8-4571-6f27-08dd4c1ff23b
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|19110799003|5072599009|7092599003|15080799006|461199028|6090799003|8060799006|19061999003|440099028|3412199025;
X-Microsoft-Antispam-Message-Info: MKZn8Ob37ZUk60sysNFN4sxLH4ovVruWSlSYKRKA3DJrO/o7NNCEQh4LCq9X//hkwgwfYBk9XgfTvUTD/5Cbe1MvgcGQA5AcMCCxwXJTA3J1DqtCsdGBXON0E3S4xmTAs1gh4DfTVqi0Wh/HVlugo/kwzz9r49IBbtiM7KXMFwr8uyYWxvwyvQITopDKqeqxT1DaeRQIicONK6KzbuI8T1bkWoZpyYIaQZNivYzpcVtJPAKBy+Fz1XEWsrqnQOSDgBx6t7eyUU0XwnRQX7hShrNkj7x6U6tV/fYAzZrn0cFRUbqE1CPKthIUav1UiDzeZ+yxDpnth6lL8UXE3VrxVKWua5ibxTM+5erwMIfI3DxOBKJhJ2AypoJpoeTmVfz4h8wbJ2W5vqzcC5iHcXaM1l5uNJ+Gv5dbYDHeIj/2GjUzNfSkmwFoQOKVS2jOnXzSG2NcATDeZx2Cegp227noixsE6qJG7jprz3jKVDbZHtN4hio0jYPLZbjYuSvmMCbbqGuLjG7DW3HRkXXmxT8eA+ZxJecpGECemL4IZagKwItKJawTCfoD9E42g3le14ChDPEPpt0YBTpCSkqKAd04naf9nXGTQVFCRbmOek3U6T+CRAveJGwlea8gSNrnrIz7VmPtL8pdUU1Yg385CfEq2L5+aWhMZfKYC0GZbrxmzQGUIT6YkOQ/IRffSEbTgGhehzPpccC2DFsLyroDjqFXw4W7xiR1PTLeLNSQrY6uM2TZVK84IyLpv1GZMguwKV8ARzg0LP0yCt3rCITUKe0/kwFih1y3g9CA14RcfG0NpBkwyn52AmhcdKfggTiw0Zg5gOz/oKDtzePe+zL51GH0pv1wgUFo9QsrtNsm2cKOmBbXrZal4Q9XaULrvETWQw9iUkC9DyYvB4xs9ApQ763hYqFldJl5ZClmoR7vhGndCpdJiZpN8GgcUaM80GDg3OariIb5tTLQX0BzFmRTu1CZhqqUBjyukU2oliQt4nSe2ve8UML96zB2SeORLorh/J3Wr4Ri+aD5IIarLjISL8UKwXNOwcFjY4tbMglqZnZtlK/2iyRMYouWwGxEfevk0/CAnUcejEZNUAuaY+Bzy96loNOkhv+RPUojJvFhtJQNO0Nej7QkECUtGXrel9JB1pI9U0qnyqypMYNGHmFz4xyo0g==
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: BZ5eJDXsFH1LvwRgiWRrWtxzSwQaABQPL1HYvfn6FHOVW+EpQZyPUz0DtyntVvAEaYf7CfOTMvoo+ZLO+BW2AWNZINzarX8ZV8dTLq0+4Qv7Ssio68nEhCOl4C77JvQ0MpTnRujqzSuCleorZiWVhhX5Xi/OOEMbs9xB9Vbg6YW5okYEwG45PiUGRyT85JX7/qfMJWWuCb3xE801NROPaDJATN2OJdBEdrFWzrYW4gZ3AsWZ46RWx03IiOLNR+QL1FECQzec13CRPrxb5bh3LyKi2sBwLkLEaceS53KQlBD9uTWsCwigKMdlmFcHDKOzkITlRmQDf62Ks1JwKXUb9wrYtoGFCcmpROmZtPWQL8mXJZXjqHip0TpV1f76V6IkpNS2osuJrEhoTe6MUoyNDZPecydQnHwHD1ZOBN09XjfPcmT76KAS0eoai+1Ve/v1pYN2kEK6Xq1QAK/kJz3VdIJqVtoT7zDnXSi7OWEYm4KSpWRstvnPWOzTZE8yRYTdWZT8slJEedAdEcjqgHpSyZIY3N2Eu8B8Kn0/IwnlpSgr7+3Fa2BKeq2JiymPdcYDG1QD7PWSxjMYRbyv73j+ozyBx4sWWUO8co738dzO+ZzgrdgnAIz7f1VSY/y3SX/ol4O009EcGCLvjFxly0NPVOAvJUv8VM5QS8flxrKE8Id/XzzzdExpWlSYAMNi2/1u+i2GGDC8q2ioMpwKwEnYtLvrXwtVLHKKVet3FrvHQpuseBdYNucA3Mad7UaTiEYMyl3FW7ET4OOlskPNSHe1vHy8xy/2GUiW7JbMprDLFzulyOdRWS48+X6wY30B4iiaPK4vE314vkkFC9vr36zSYklzLuVi44xPtV/IQmoNcIZsXGbnkdqx0yDlAgpO4oFsYXQl+KAOi42wD7W1NUbn8/lrIFhDdTx1v6pQI6C+vtLhg5QOdZER1GVHhGabn9pVlttGsALIAcF58cbjrRMm/owAUEtMHdmXC5tS8La6XdK+Kcf7XPvKcSMjtj+DPVt5r7+ceWSXpe2RPi3dYbZFi7vZkHTkrOn5YWgX4EtwWQ2bUXAWOmfLLrpFHrJ3xu3PkIB6cNzmEXVNASpHSwSRZApzldQrtxy9jj4LSq2ZESPYYwN8p0q6rBihTZs13fOPpsquvwrnqubB7DnjGaKj1R5gOwGpnrqyp3/DGeLKZlk4c0NPI5L5JFcpLk3WveB6fTZyVWzmrsYjRMW6Xi4W+YPdsKqPBJR5OMpj7bEZlCE=
X-OriginatorOrg: sct-15-20-7741-18-msonline-outlook-1cf9b.templateTenant
X-MS-Exchange-CrossTenant-Network-Message-Id: f876c1e6-f1e8-4571-6f27-08dd4c1ff23b
X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB3495.namprd12.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Feb 2025 11:17:05.8134 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB7167
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Also experiencing this bug since plasma 6.3.  Only happens in PGTK 
enabled builds.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76239: crash with "gdk_device_get_name: assertion, 'GDK_IS_DEVICE (device)' failed" error on kde 6.3, fedora 41
References: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
In-Reply-To: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
Resent-From: Tim Cross <theophilusx@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 15 Feb 2025 02:21:02 +0000
Resent-Message-ID: <handler.76239.B.173958602516223 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76239
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 76239 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.173958602516223
          (code B ref -1); Sat, 15 Feb 2025 02:21:02 +0000
Received: (at submit) by debbugs.gnu.org; 15 Feb 2025 02:20:25 +0000
Received: from localhost ([127.0.0.1]:52597 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tj7n7-0004Db-Ee
	for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 21:20:25 -0500
Received: from lists.gnu.org ([2001:470:142::17]:49518)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <theophilusx@HIDDEN>)
 id 1tj7n4-0004DD-QU
 for submit <at> debbugs.gnu.org; Fri, 14 Feb 2025 21:20:23 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <theophilusx@HIDDEN>)
 id 1tj7my-0007hz-SV
 for bug-gnu-emacs@HIDDEN; Fri, 14 Feb 2025 21:20:17 -0500
Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <theophilusx@HIDDEN>)
 id 1tj7mx-0006wP-6Q
 for bug-gnu-emacs@HIDDEN; Fri, 14 Feb 2025 21:20:16 -0500
Received: by mail-pl1-x630.google.com with SMTP id
 d9443c01a7336-219f8263ae0so47607045ad.0
 for <bug-gnu-emacs@HIDDEN>; Fri, 14 Feb 2025 18:20:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1739586012; x=1740190812; darn=gnu.org;
 h=mime-version:message-id:date:user-agent:subject:to:from:from:to:cc
 :subject:date:message-id:reply-to;
 bh=/EX61R0dSvt3JXoGIWjy35dl1anWRKV9+rZVc4v7BC0=;
 b=hwmYLmIo6vLEAD9KXKm/Ccmf8yNehaLpD4a63CaPx2Rl+7cmHAcTBFRdDKRv9TXBpK
 tRkiF/dM+SCAwzPhtQl5YLEjjXS2QYBMAbi6o8V3r3FSSzzifhF0CNh6vR0NynHRgUbt
 0dEOfGAxiXfJQ+1xf5jJ/FULMOJ21iKYz+0sPsnFJuDT7dJ8b+bmnOgY+4q6J1MNfsMz
 1gz98Bz8j4qLGQenp3sRzCvDxxNB902o6GdEQ3H30hR6K5CJO/E2fm3Q+uTdVHyIVW8c
 UdzZytbyXo3eC1dxK7znFJwHV6iLnjRmgVhR3SoDWDH+Sn53VBgNuC/xcU0oANwMvwWD
 DP1g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1739586012; x=1740190812;
 h=mime-version:message-id:date:user-agent:subject:to:from
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=/EX61R0dSvt3JXoGIWjy35dl1anWRKV9+rZVc4v7BC0=;
 b=YRc3Qm2Zhrprduq2BfSacbw9LfSe1vlHQECArDADLLSiv5PzeW33GoXzokdUX8B8jw
 rTsY7l0Mm77xyaqjwNHV2WnDFd60q+S0QfePJHsuFYqTeo4hB7yPNNcxGHMqLF/L9RQb
 nOzbz7yRZict5V3EUcVTg9iQqOb8THsGkZ0qWmjRGUe9Tyc43QHQdWSR0J9whRD7STFJ
 unPgKo9aryGXnwGfDnMF+7o7e3EOkhOv3rk9xigsiBqXUKB9aGrrjKS+3wzellXIjzFj
 T+tHo6JXA2/hn4mH043xmq/ZfyCdkH/8ffphgLiF3cB5Tf/L7wczbgODFN5NUylwB+mE
 sv3w==
X-Gm-Message-State: AOJu0YzJ4ielsTUaHlDFMHjkfwWTQORmlyZZN7M05nYI1sYGzGPRofin
 p5o6PBEAQRk7vGPcoXLdK890bX6UKT7RXgeG5fu0sq7HFkYaGplBVK4nnw==
X-Gm-Gg: ASbGnctpuE0xWSgfV2Rjg4RCZ/rdEgS0vCupqn7IvPMwrVYIQj2ojB9x0D01HGn/IlW
 ME3V703DAjFfzepzPZ9JYvvTzgxLBOUAGvGl6RS3Pr6d83geUMZwivdMLnEKDTES42qkkWdHtOY
 zqsTe+Gl9c1FHCr1kMHLMHV1SLWEyKk4+1+TXPlyb6FCdo7Wp3NLCuLzjmQ4efBSooKZb8KE0av
 nSXX1xRyZYSLsR2Ytk9aDhfSPvJPXRz8aK0Of+mBq8XWbHPC78gdZ6Z/07IEPvx6qqjl1HvZoOn
 A8X6Z/ln
X-Google-Smtp-Source: AGHT+IE/eKSIFz+tDm8eonhhJktfvd1KuhxtVAHhYpkZp5BE9SFv7ujTWBycIO3Z7VL9WKhxOWuIvg==
X-Received: by 2002:a17:903:3d0c:b0:220:d5a4:3ac with SMTP id
 d9443c01a7336-221040d7a6fmr23585825ad.45.1739586012286; 
 Fri, 14 Feb 2025 18:20:12 -0800 (PST)
Received: from mole ([115.130.86.155]) by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-220d556d66fsm35448315ad.180.2025.02.14.18.20.10
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 14 Feb 2025 18:20:11 -0800 (PST)
From: Tim Cross <theophilusx@HIDDEN>
User-Agent: mu4e 1.12.8; emacs 31.0.50
Date: Sat, 15 Feb 2025 13:20:07 +1100
Message-ID: <87ed00kkyw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::630;
 envelope-from=theophilusx@HIDDEN; helo=mail-pl1-x630.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


Just confirming I'm also seeing this same error since the update to
Plasma 63 on Fedora 41. However, this issue seems specific to Plasma 6.3
and may not be an emacs issue. The emacs pgtk build still seems to work
fine under other wayland compositors such as Sway and Hyprland. Would
indicate this is either specific to Plasma 6.3 or to Fedora's packaging
of Plasma 6.3.

Emacs was working fune prior to the update to Plasma 6.3 with pgtk build
under wayland. 




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76239: crash with "gdk_device_get_name: assertion 'GDK_IS_DEVICE (device)' failed" error on kde 6.3, fedora 41
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 15 Feb 2025 12:02:02 +0000
Resent-Message-ID: <handler.76239.B76239.173962089128311 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76239
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh <lumarzeli30@HIDDEN>, Po Lu <luangruo@HIDDEN>
Cc: 76239 <at> debbugs.gnu.org
Received: via spool by 76239-submit <at> debbugs.gnu.org id=B76239.173962089128311
          (code B ref 76239); Sat, 15 Feb 2025 12:02:02 +0000
Received: (at 76239) by debbugs.gnu.org; 15 Feb 2025 12:01:31 +0000
Received: from localhost ([127.0.0.1]:53736 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjGrS-0007MX-0j
	for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 07:01:31 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:41250)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tjGrO-0007MI-Eu
 for 76239 <at> debbugs.gnu.org; Sat, 15 Feb 2025 07:01:28 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tjGrI-0007H9-Ty; Sat, 15 Feb 2025 07:01:21 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=8On2WLyDXVGkJZ+f30/bLSXz6FvWM4WEIpoWD61I6YE=; b=YUuUX6wF1OCljYYGDUbt
 VNXSBdaiLIEKS8KDjh9lRci+mSO8vKcBDDeqfZFO/lmGGIRxz171If/8Mrq6AONK33toH5zYZZrHh
 eBo+PiySWrKG8S3rLq5b7c9FKusXq8z9ZoUc5ziEVASnJ9fmWBvQEiYJFnAnm8o/VMaJDwvIQipYG
 YyCsZKXqgSlxYBFeXvkolv8ESb61wG5YFYTsDiaxKHzTlOt5dlq02LMrKWRfy0rd7tzZAgO9PVuUE
 t0Rzm5FXfllQrNwrfGap/M1g3/8XJykS7S3KxcW/68tLbdVCmdUJAEbshGK/MyMPT/SAVlK1O3qV8
 1PZjGprxNwLuGQ==;
Date: Sat, 15 Feb 2025 14:01:07 +0200
Message-Id: <86a5ane7ss.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
 (lumarzeli30@HIDDEN)
References: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: समीर सिंह Sameer Singh
>  <lumarzeli30@HIDDEN>
> Date: Thu, 13 Feb 2025 02:21:00 +0530
> 
> after upgrading to kde 6.3 on my fedora 41 machine, emacs fails to
> start with the following error
> ---------------------------------------------------------------------------------------------------------------
> (emacs:84925): Gdk-CRITICAL **: 02:00:31.252: gdk_device_get_name:
> assertion 'GDK_IS_DEVICE (device)' failed

Po Lu, any comments or suggestions?

> (emacs:84925): Gdk-CRITICAL **: 02:00:31.252: gdk_device_get_source:
> assertion 'GDK_IS_DEVICE (device)' failed
> Fatal error 11: Segmentation fault
> Backtrace:
> ./src/emacs() [0x597900]
> ./src/emacs() [0x561cb6]
> ./src/emacs() [0x5971b3]
> ./src/emacs() [0x597188]
> ./src/emacs() [0x5971ea]
> ./src/emacs() [0x597384]
> /lib64/libc.so.6(+0x1a050) [0x7f42c5227050]
> /lib64/libc.so.6(+0x14c405) [0x7f42c5359405]
> ./src/emacs() [0x6dea8a]
> ./src/emacs() [0x6df067]
> ./src/emacs() [0x60426f]
> ./src/emacs() [0x748c4b]
> ./src/emacs() [0x75d6b6]
> ./src/emacs() [0x7420d2]
> ./src/emacs() [0x646448]
> ./src/emacs() [0x6a2436]
> ./src/emacs() [0x646a3f]
> ./src/emacs() [0x645e3b]
> ./src/emacs() [0x6460ee]
> ./src/emacs() [0x6451e5]
> ./src/emacs() [0x64663e]
> ./src/emacs() [0x6a2436]
> ./src/emacs() [0x646a3f]
> ./src/emacs() [0x645e3b]
> ./src/emacs() [0x6460ee]
> /home/ss141309/code/emacs/src/../native-lisp/31.0.50-f92e8814/preloaded/startup-bbc6ea72-51eb976c.eln(F636f6d6d616e642d6c696e65_command_line_0+0x131d)
> [0x7f42c28a4d4d]
> ./src/emacs() [0x6463d5]
> ./src/emacs() [0x645def]
> ./src/emacs() [0x6460ee]
> /home/ss141309/code/emacs/src/../native-lisp/31.0.50-f92e8814/preloaded/startup-bbc6ea72-51eb976c.eln(F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0+0xf46)
> [0x7f42c28a1396]
> ./src/emacs() [0x644b86]
> ./src/emacs() [0x64432e]
> ./src/emacs() [0x569dbc]
> ./src/emacs() [0x64236f]
> ./src/emacs() [0x569e17]
> ./src/emacs() [0x641821]
> ./src/emacs() [0x569c9d]
> ./src/emacs() [0x569100]
> ./src/emacs() [0x569313]
> ./src/emacs() [0x564e52]
> /lib64/libc.so.6(+0x3248) [0x7f42c5210248]
> ...
> Segmentation fault (core dumped)
> ---------------------------------------------------------------------------------------------------------------
> 
> the output of bt full is
> ---------------------------------------------------------------------------------------------------------------
> (gdb) bt full
> #0  __strnlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76
> #1  0x00000000006dea8a in doprnt (buffer=0x7fffffff8060
> "0:\377\377\377\177", bufsize=16381, format=0x7e91e6 "%u:%s",
> format_end=0x0, ap=0x7fffffff7ff0)
>     at doprnt.c:405
>         mlen = 0
>         charbuf = "\377\377\377\177\000"
>         prec = -1
>         zeroflag = false
>         size_bound = 358
>         width = 1
>         modifier_len = "\000\001\001\001\001"
>         wid = 0
>         string = 0x0
>         spaceflag = false
>         fmtstar = "%*.*s\000\000\000\000\000"
>         plusflag = false
>         length_modifier = no_modifier
>         minusflag = false
>         minlen = 0
>         tem = 1
>         fmt0 = 0x7e91e9 "%s"
>         fmtchar = 37 '%'
>         src = 0x7fffffff7f90 "@}\377\377\377\177"
>         srclen = 14320368
>         fmt = 0x7e91eb ""
>         bufptr = 0x7fffffff8062 "\377\377\377\177"
>         tembuf =
> "0\000\003\000\000\000\000\000\300j\337\363\377\177\000\000\000\000\000\000\000\000\000\000
> \227\332\000\000\000\000\000\320\a\246\000\000\000\000\000\370\356\003\000\000\000\000\000\260}\377\377\377\177\000\000\242\307\310\363\377\177\000\000\200\314\332\367\377\177\000\000x\375\377\377\377\377\377\377\000\000\000\000\000\000\000\000x\375\377\377\377\377\377\377\000\000\000\000\000\000\000\000\360\351\331\000\000\000\000\000\360}\377\377\377\177\000\000\016\360\310\363\377\177\000\0002\000\000\000\000\000\000\000\200\226\332\000\000\000\000\000\030\000\000\000\000\000\000\000\000\352\331\000\000\000\000\000`\000\000\000\000\000\000\000\370\356\003\000\000\000\000\000\020~\377\377\377\177\000\000\005\361\003\367\377\177\000\000@~\377\377\377\177\000\000"...
>         size_allocated = 408
>         sprintf_buffer = 0x7fffffff7d40 "0"
>         big_buffer = 0x0
>         quoting_style = {i = 0x61e0}
> #2  0x00000000006df067 in evxprintf
>     (buf=0x7fffffff8058, bufsize=0x7fffffff8050,
> nonheapbuf=0x7fffffff8060 "0:\377\377\377\177", bufsize_max=-1,
> format=0x7e91e6 "%u:%s", ap=0x7fffffff8038)
>     at doprnt.c:597
>         nbytes = 257384
>         ap_copy = {{gp_offset = 24, fp_offset = 48, overflow_arg_area
> = 0x7fffffffc130, reg_save_area = 0x7fffffffc070}}
> #3  0x000000000060426f in make_formatted_string (format=0x7e91e6
> "%u:%s") at alloc.c:2485
>         buf = "0:\377\377\377\177\000\000\n\304\310\363\377\177\000\000h\355\003\000\000\000\000\000\300j\337\363\377\177\000\000\000\000\000\000\000\000\000\000Pu\332\000\000\000\000\000\320\a\246\000\000\000\000\000H\354\003\000\000\000\000\000\340\200\377\377\377\177\000\000\242\307\310\363\377\177\000\000\240\302\332\367\377\177\000\000x\375\377\377\377\377\377\377\000\000\000\000\000\000\000\000x\375\377\377\377\377\377\377\000\000\000\000\000\000\000\000@@\332\000\000\000\000\000
> \201\377\377\377\177\000\000\016\360\310\363\377\177\000\0006\000\000\000\000\000\000\000\260t\332\000\000\000\000\000\030\000\000\000\000\000\000\000P@\332\000\000\000\000\000`\000\000\000\000\000\000\000H\354\003\000\000\000\000\000@\201\377\377\377\177\000\000"...
>         cstr = 0x7fffffff8060 "0:\377\377\377\177"
>         bufsize = 16384
>         ap = {{gp_offset = 8, fp_offset = 48, overflow_arg_area =
> 0x7fffffffc130, reg_save_area = 0x7fffffffc070}}
>         length = 140737353400752
>         ret = {i = 0x7fffffff8050}
> #4  0x0000000000748c4b in pgtk_enumerate_devices (dpyinfo=0xb3a100,
> initial_p=true) at pgtkterm.c:188
>         rec = 0xc8a6f0
>         all_seats = 0xba6c30 = {0xa57ec0}
>         devices_on_seat = 0xba6c50 = {0x0, 0xa41920, 0x9e9800,
> 0xb05da0, 0xa8b210}
>         tem = 0xba6c30 = {0xa57ec0}
>         t1 = 0xba6c50 = {0x0, 0xa41920, 0x9e9800, 0xb05da0, 0xa8b210}
>         seat = 0xa57ec0 [GdkWaylandSeat]
> #5  0x000000000075d6b6 in pgtk_term_init (display_name=...,
> resource_name=0xa34008 "emacs") at pgtkterm.c:7234
>         dpy = 0xa276b0 [GdkWaylandDisplay]
>         terminal = 0xb67058
>         dpyinfo = 0xb3a100
>         x_initialized = true
>         x_display_id = 1
>         initial_display = 0xbaf5f0 "wayland-0"
>         dpy_name = 0xbaf5f0 "wayland-0"
>         handle = 0x7ffff7ffe2f0
>         lisp_dpy_name = {i = 0x9c2ba4}
>         gscr = 0xb66820 [GdkWaylandScreen]
>         dpi = 96
>         was_initialized = false
>         system_name = {i = 0x7ffff1a6bcbc}
>         nbytes = 13
>         nametail = 0xbaf6a6 "fedora"
> #6  0x00000000007420d2 in Fx_open_connection (display=...,
> resource_string=..., must_succeed=...) at pgtkfns.c:2169
>         dpyinfo = 0x64c695 <CHECK_LIST_END+34>
> #7  0x0000000000646448 in funcall_subr (subr=0x885460
> <Sx_open_connection>, numargs=3, args=0x7fffe2bff0d0) at eval.c:3142
>         argbuf = {{i = 0x6a070b <builtin_lisp_symbol+44>}, {i =
> 0x885465 <Sx_open_connection+5>}, {i = 0x7fffffffc370}, {i = 0x6a132a
> <NATIVE_COMP_FUNCTIONP+58>}, {i = 0x7fffffffc360}, {i = 0x1200885465},
> {i = 0x885465 <Sx_open_connection+5>}, {i = 0x7fffffffc380}}
>         a = 0x7fffe2bff0d0
>         maxargs = 3
>         fun = {i = 0x6a0d26 <SUBRP+29>}
> #8  0x00000000006a2436 in exec_byte_code (fun=..., args_template=256,
> nargs=0, args=0x7fffe2bff050) at bytecode.c:812
>         call_nargs = 3
>         call_fun = {i = 0x885465 <Sx_open_connection+5>}
>         count1 = {bytes = 352}
>         val = {i = 0x7ffff197f3a3}
>         call_args = 0x7fffe2bff0d0
>         original_fun = {i = 0x7ffff11a4418}
>         op = 3
>         type = CONDITION_CASE
>         targets = {0x6a5df6 <exec_byte_code+18192>, 0x6a5e19
> <exec_byte_code+18227>, 0x6a5e1b <exec_byte_code+18229>, 0x6a5e1d
> <exec_byte_code+18231>, 0x6a5e1f <exec_byte_code+18233>, 0x6a5e1f
> <exec_byte_code+18233>, 0x6a5e79 <exec_byte_code+18323>, 0x6a5ee2
> <exec_byte_code+18428>, 0x6a1bdc <exec_byte_code+1270>, 0x6a1bde
> <exec_byte_code+1272>, 0x6a1be0 <exec_byte_code+1274>, 0x6a1be2
> <exec_byte_code+1276>, 0x6a1be4 <exec_byte_code+1278>, 0x6a1be4
> <exec_byte_code+1278>, 0x6a1bea <exec_byte_code+1284>, 0x6a1bab
> <exec_byte_code+1221>, 0x6a1f7d <exec_byte_code+2199>, 0x6a1f7f
> <exec_byte_code+2201>, 0x6a1f81 <exec_byte_code+2203>, 0x6a1f83
> <exec_byte_code+2205>, 0x6a1f85 <exec_byte_code+2207>, 0x6a1f85
> <exec_byte_code+2207>, 0x6a1fba <exec_byte_code+2260>, 0x6a1f8b
> <exec_byte_code+2213>, 0x6a2151 <exec_byte_code+2667>, 0x6a2153
> <exec_byte_code+2669>, 0x6a2155 <exec_byte_code+2671>, 0x6a2157
> <exec_byte_code+2673>, 0x6a2159 <exec_byte_code+2675>, 0x6a2159
> <exec_byte_code+2675>, 0x6a210b <exec_byte_code+2597>, 0x6a2122
> <exec_byte_code+2620>, 0x6a21fc <exec_byte_code+2838>, 0x6a21fe
> <exec_byte_code+2840>, 0x6a2200 <exec_byte_code+2842>, 0x6a2202
> <exec_byte_code+2844>, 0x6a2204 <exec_byte_code+2846>, 0x6a2204
> <exec_byte_code+2846>, 0x6a21b6 <exec_byte_code+2768>, 0x6a21cd
> <exec_byte_code+2791>, 0x6a255f <exec_byte_code+3705>, 0x6a2561
> <exec_byte_code+3707>, 0x6a2563 <exec_byte_code+3709>, 0x6a2565
> <exec_byte_code+3711>, 0x6a2567 <exec_byte_code+3713>, 0x6a2567
> <exec_byte_code+3713>, 0x6a2519 <exec_byte_code+3635>, 0x6a2530
> <exec_byte_code+3658>, 0x6a2d57 <exec_byte_code+5745>, 0x6a2b6a
> <exec_byte_code+5252>, 0x6a2b61 <exec_byte_code+5243>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a2f64 <exec_byte_code+6270>, 0x6a30dd
> <exec_byte_code+6647>, 0x6a3141 <exec_byte_code+6747>, 0x6a31a3
> <exec_byte_code+6845>, 0x6a3207 <exec_byte_code+6945>, 0x6a1dec
> <exec_byte_code+1798>, 0x6a1e70 <exec_byte_code+1930>, 0x6a3282
> <exec_byte_code+7068>, 0x6a1d40 <exec_byte_code+1626>, 0x6a1ed0
> <exec_byte_code+2026>, 0x6a32ec <exec_byte_code+7174>, 0x6a334c
> <exec_byte_code+7270>, 0x6a338c <exec_byte_code+7334>, 0x6a33ec
> <exec_byte_code+7430>, 0x6a344a <exec_byte_code+7524>, 0x6a3523
> <exec_byte_code+7741>, 0x6a3563 <exec_byte_code+7805>, 0x6a3701
> <exec_byte_code+8219>, 0x6a38c6 <exec_byte_code+8672>, 0x6a3906
> <exec_byte_code+8736>, 0x6a3946 <exec_byte_code+8800>, 0x6a39a6
> <exec_byte_code+8896>, 0x6a3a06 <exec_byte_code+8992>, 0x6a3a66
> <exec_byte_code+9088>, 0x6a3ae3 <exec_byte_code+9213>, 0x6a3b2a
> <exec_byte_code+9284>, 0x6a3b71 <exec_byte_code+9355>, 0x6a3c2b
> <exec_byte_code+9541>, 0x6a3d26 <exec_byte_code+9792>, 0x6a3e21
> <exec_byte_code+10043>, 0x6a3f1a <exec_byte_code+10292>, 0x6a4023
> <exec_byte_code+10557>, 0x6a412c <exec_byte_code+10822>, 0x6a4235
> <exec_byte_code+11087>, 0x6a433e <exec_byte_code+11352>, 0x6a44b7
> <exec_byte_code+11729>, 0x6a45b3 <exec_byte_code+11981>, 0x6a4729
> <exec_byte_code+12355>, 0x6a47e7 <exec_byte_code+12545>, 0x6a48a5
> <exec_byte_code+12735>, 0x6a4d15 <exec_byte_code+13871>, 0x6a2a16
> <exec_byte_code+4912>, 0x6a4d68 <exec_byte_code+13954>, 0x6a4da8
> <exec_byte_code+14018>, 0x6a4e5d <exec_byte_code+14199>, 0x6a4eb0
> <exec_byte_code+14282>, 0x6a4f03 <exec_byte_code+14365>, 0x6a4f43
> <exec_byte_code+14429>, 0x6a4f7e <exec_byte_code+14488>, 0x6a4fb9
> <exec_byte_code+14547>, 0x6a4ffc <exec_byte_code+14614>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a504c <exec_byte_code+14694>, 0x6a5087
> <exec_byte_code+14753>, 0x6a50c2 <exec_byte_code+14812>, 0x6a50fd
> <exec_byte_code+14871>, 0x6a5138 <exec_byte_code+14930>, 0x6a5173
> <exec_byte_code+14989>, 0x6a2a16 <exec_byte_code+4912>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a51b3 <exec_byte_code+15053>, 0x6a51fb
> <exec_byte_code+15125>, 0x6a523b <exec_byte_code+15189>, 0x6a527b
> <exec_byte_code+15253>, 0x6a52db <exec_byte_code+15349>, 0x6a533b
> <exec_byte_code+15445>, 0x6a537b <exec_byte_code+15509>, 0x6a53bb
> <exec_byte_code+15573>, 0x6a541b <exec_byte_code+15669>, 0x6a547b
> <exec_byte_code+15765>, 0x6a54db <exec_byte_code+15861>, 0x6a5516
> <exec_byte_code+15920>, 0x6a5df6 <exec_byte_code+18192>, 0x6a2976
> <exec_byte_code+4752>, 0x6a25c2 <exec_byte_code+3804>, 0x6a1cb9
> <exec_byte_code+1491>, 0x6a2659 <exec_byte_code+3955>, 0x6a26d2
> <exec_byte_code+4076>, 0x6a2748 <exec_byte_code+4194>, 0x6a27be
> <exec_byte_code+4312>, 0x6a294a <exec_byte_code+4708>, 0x6a20c3
> <exec_byte_code+2525>, 0x6a29ea <exec_byte_code+4868>, 0x6a2a42
> <exec_byte_code+4956>, 0x6a2ac6 <exec_byte_code+5088>, 0x6a2aff
> <exec_byte_code+5145>, 0x6a2d98 <exec_byte_code+5810>, 0x6a2e06
> <exec_byte_code+5920>, 0x6a2e83 <exec_byte_code+6045>, 0x6a2ede
> <exec_byte_code+6136>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5556
> <exec_byte_code+15984>, 0x6a55d3 <exec_byte_code+16109>, 0x6a5613
> <exec_byte_code+16173>, 0x6a5653 <exec_byte_code+16237>, 0x6a5693
> <exec_byte_code+16301>, 0x6a56d3 <exec_byte_code+16365>, 0x6a5733
> <exec_byte_code+16461>, 0x6a5793 <exec_byte_code+16557>, 0x6a57f3
> <exec_byte_code+16653>, 0x6a5853 <exec_byte_code+16749>, 0x6a59e1
> <exec_byte_code+17147>, 0x6a5a41 <exec_byte_code+17243>, 0x6a5aa1
> <exec_byte_code+17339>, 0x6a5ae1 <exec_byte_code+17403>, 0x6a5ba4
> <exec_byte_code+17598>, 0x6a5c67 <exec_byte_code+17793>, 0x6a5ca7
> <exec_byte_code+17857>, 0x6a5ce7 <exec_byte_code+17921>, 0x6a4a32
> <exec_byte_code+13132>, 0x6a4bc8 <exec_byte_code+13538>, 0x6a5d2e
> <exec_byte_code+17992>, 0x6a5d92 <exec_byte_code+18092>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a34b0
> <exec_byte_code+7626>, 0x6a3bb8 <exec_byte_code+9426>, 0x6a4dea
> <exec_byte_code+14084>, 0x6a5f66 <exec_byte_code+18560>, 0x6a5fd0
> <exec_byte_code+18666>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a6057 <exec_byte_code+18801>, 0x6a60d3
> <exec_byte_code+18925>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a6277 <exec_byte_code+19345> <repeats 64
> times>}
>         quitcounter = 1 '\001'
>         bc = 0x863170 <main_thread+496>
>         top = 0x7fffe2bff0c8
>         pc = 0x7ffff2465c0a "\210\333 \210\334\335\336\"\210҉\020\207"
>         bytestr = {i = 0x7ffff1bffd9c}
>         vector = {i = 0x7ffff1aa4add}
>         maxdepth = {i = 0x1e}
>         const_length = 32
>         bytestr_length = 100
>         vectorp = 0x7ffff1aa4ae0
>         max_stack = 7
>         frame_base = 0x7fffe2bff0c0
>         fp = 0x7fffe2bff0f8
>         bytestr_data = 0x7ffff2465bb3 "\b\203\b"
>         rest = false
>         mandatory = 0
>         nonrest = 1
>         pushedargs = 0
>         saved_quitcounter = 1 '\001'
>         saved_vectorp = 0x7ffff1aa4ae0
>         saved_bytestr_data = 0x7ffff2465bb3 "\b\203\b"
>         result = {i = 0x0}
> #9  0x0000000000646a3f in funcall_lambda (fun=..., nargs=0,
> arg_vector=0x7fffe2bff050) at eval.c:3229
>         syms_left = {i = 0x402}
>         lexenv = {i = 0x7fffffffc8e0}
>         count = {bytes = 0}
>         i = 140737488341248
>         optional = false
>         rest = false
>         previous_rest = 127
>         val = {i = 0x7fffffffc8e0}
> #10 0x0000000000645e3b in funcall_general (fun=..., numargs=0,
> args=0x7fffe2bff050) at eval.c:3021
>         original_fun = {i = 0x7ffff1aa4a8d}
> #11 0x00000000006460ee in Ffuncall (nargs=1, args=0x7fffe2bff048) at eval.c:3070
>         count = {bytes = 320}
>         val = {i = 0x2}
> #12 0x00000000006451e5 in Fapply (nargs=2, args=0x7fffe2bff048) at eval.c:2695
>         i = -1
>         funcall_nargs = 140737488341712
>         funcall_args = 0x0
>         spread_arg = {i = 0x0}
>         fun = {i = 0x7ffff1aa4a8d}
>         sa_avail = 16384
>         sa_count = {bytes = 320}
>         numargs = 0
>         retval = {i = 0x0}
> #13 0x000000000064663e in funcall_subr (subr=0x879ca0 <Sapply>,
> numargs=2, args=0x7fffe2bff048) at eval.c:3161
>         maxargs = -2
>         fun = {i = 0x6a0d26 <SUBRP+29>}
> #14 0x00000000006a2436 in exec_byte_code (fun=..., args_template=128,
> nargs=0, args=0x7fffffffd108) at bytecode.c:812
>         call_nargs = 2
>         call_fun = {i = 0x879ca5 <Sapply+5>}
>         count1 = {bytes = 288}
>         val = {i = 0x7ffff1aa4a8d}
>         call_args = 0x7fffe2bff048
>         original_fun = {i = 0x3b70}
>         op = 2
>         type = 4053864584
>         targets = {0x6a5df6 <exec_byte_code+18192>, 0x6a5e19
> <exec_byte_code+18227>, 0x6a5e1b <exec_byte_code+18229>, 0x6a5e1d
> <exec_byte_code+18231>, 0x6a5e1f <exec_byte_code+18233>, 0x6a5e1f
> <exec_byte_code+18233>, 0x6a5e79 <exec_byte_code+18323>, 0x6a5ee2
> <exec_byte_code+18428>, 0x6a1bdc <exec_byte_code+1270>, 0x6a1bde
> <exec_byte_code+1272>, 0x6a1be0 <exec_byte_code+1274>, 0x6a1be2
> <exec_byte_code+1276>, 0x6a1be4 <exec_byte_code+1278>, 0x6a1be4
> <exec_byte_code+1278>, 0x6a1bea <exec_byte_code+1284>, 0x6a1bab
> <exec_byte_code+1221>, 0x6a1f7d <exec_byte_code+2199>, 0x6a1f7f
> <exec_byte_code+2201>, 0x6a1f81 <exec_byte_code+2203>, 0x6a1f83
> <exec_byte_code+2205>, 0x6a1f85 <exec_byte_code+2207>, 0x6a1f85
> <exec_byte_code+2207>, 0x6a1fba <exec_byte_code+2260>, 0x6a1f8b
> <exec_byte_code+2213>, 0x6a2151 <exec_byte_code+2667>, 0x6a2153
> <exec_byte_code+2669>, 0x6a2155 <exec_byte_code+2671>, 0x6a2157
> <exec_byte_code+2673>, 0x6a2159 <exec_byte_code+2675>, 0x6a2159
> <exec_byte_code+2675>, 0x6a210b <exec_byte_code+2597>, 0x6a2122
> <exec_byte_code+2620>, 0x6a21fc <exec_byte_code+2838>, 0x6a21fe
> <exec_byte_code+2840>, 0x6a2200 <exec_byte_code+2842>, 0x6a2202
> <exec_byte_code+2844>, 0x6a2204 <exec_byte_code+2846>, 0x6a2204
> <exec_byte_code+2846>, 0x6a21b6 <exec_byte_code+2768>, 0x6a21cd
> <exec_byte_code+2791>, 0x6a255f <exec_byte_code+3705>, 0x6a2561
> <exec_byte_code+3707>, 0x6a2563 <exec_byte_code+3709>, 0x6a2565
> <exec_byte_code+3711>, 0x6a2567 <exec_byte_code+3713>, 0x6a2567
> <exec_byte_code+3713>, 0x6a2519 <exec_byte_code+3635>, 0x6a2530
> <exec_byte_code+3658>, 0x6a2d57 <exec_byte_code+5745>, 0x6a2b6a
> <exec_byte_code+5252>, 0x6a2b61 <exec_byte_code+5243>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a2f64 <exec_byte_code+6270>, 0x6a30dd
> <exec_byte_code+6647>, 0x6a3141 <exec_byte_code+6747>, 0x6a31a3
> <exec_byte_code+6845>, 0x6a3207 <exec_byte_code+6945>, 0x6a1dec
> <exec_byte_code+1798>, 0x6a1e70 <exec_byte_code+1930>, 0x6a3282
> <exec_byte_code+7068>, 0x6a1d40 <exec_byte_code+1626>, 0x6a1ed0
> <exec_byte_code+2026>, 0x6a32ec <exec_byte_code+7174>, 0x6a334c
> <exec_byte_code+7270>, 0x6a338c <exec_byte_code+7334>, 0x6a33ec
> <exec_byte_code+7430>, 0x6a344a <exec_byte_code+7524>, 0x6a3523
> <exec_byte_code+7741>, 0x6a3563 <exec_byte_code+7805>, 0x6a3701
> <exec_byte_code+8219>, 0x6a38c6 <exec_byte_code+8672>, 0x6a3906
> <exec_byte_code+8736>, 0x6a3946 <exec_byte_code+8800>, 0x6a39a6
> <exec_byte_code+8896>, 0x6a3a06 <exec_byte_code+8992>, 0x6a3a66
> <exec_byte_code+9088>, 0x6a3ae3 <exec_byte_code+9213>, 0x6a3b2a
> <exec_byte_code+9284>, 0x6a3b71 <exec_byte_code+9355>, 0x6a3c2b
> <exec_byte_code+9541>, 0x6a3d26 <exec_byte_code+9792>, 0x6a3e21
> <exec_byte_code+10043>, 0x6a3f1a <exec_byte_code+10292>, 0x6a4023
> <exec_byte_code+10557>, 0x6a412c <exec_byte_code+10822>, 0x6a4235
> <exec_byte_code+11087>, 0x6a433e <exec_byte_code+11352>, 0x6a44b7
> <exec_byte_code+11729>, 0x6a45b3 <exec_byte_code+11981>, 0x6a4729
> <exec_byte_code+12355>, 0x6a47e7 <exec_byte_code+12545>, 0x6a48a5
> <exec_byte_code+12735>, 0x6a4d15 <exec_byte_code+13871>, 0x6a2a16
> <exec_byte_code+4912>, 0x6a4d68 <exec_byte_code+13954>, 0x6a4da8
> <exec_byte_code+14018>, 0x6a4e5d <exec_byte_code+14199>, 0x6a4eb0
> <exec_byte_code+14282>, 0x6a4f03 <exec_byte_code+14365>, 0x6a4f43
> <exec_byte_code+14429>, 0x6a4f7e <exec_byte_code+14488>, 0x6a4fb9
> <exec_byte_code+14547>, 0x6a4ffc <exec_byte_code+14614>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a504c <exec_byte_code+14694>, 0x6a5087
> <exec_byte_code+14753>, 0x6a50c2 <exec_byte_code+14812>, 0x6a50fd
> <exec_byte_code+14871>, 0x6a5138 <exec_byte_code+14930>, 0x6a5173
> <exec_byte_code+14989>, 0x6a2a16 <exec_byte_code+4912>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a51b3 <exec_byte_code+15053>, 0x6a51fb
> <exec_byte_code+15125>, 0x6a523b <exec_byte_code+15189>, 0x6a527b
> <exec_byte_code+15253>, 0x6a52db <exec_byte_code+15349>, 0x6a533b
> <exec_byte_code+15445>, 0x6a537b <exec_byte_code+15509>, 0x6a53bb
> <exec_byte_code+15573>, 0x6a541b <exec_byte_code+15669>, 0x6a547b
> <exec_byte_code+15765>, 0x6a54db <exec_byte_code+15861>, 0x6a5516
> <exec_byte_code+15920>, 0x6a5df6 <exec_byte_code+18192>, 0x6a2976
> <exec_byte_code+4752>, 0x6a25c2 <exec_byte_code+3804>, 0x6a1cb9
> <exec_byte_code+1491>, 0x6a2659 <exec_byte_code+3955>, 0x6a26d2
> <exec_byte_code+4076>, 0x6a2748 <exec_byte_code+4194>, 0x6a27be
> <exec_byte_code+4312>, 0x6a294a <exec_byte_code+4708>, 0x6a20c3
> <exec_byte_code+2525>, 0x6a29ea <exec_byte_code+4868>, 0x6a2a42
> <exec_byte_code+4956>, 0x6a2ac6 <exec_byte_code+5088>, 0x6a2aff
> <exec_byte_code+5145>, 0x6a2d98 <exec_byte_code+5810>, 0x6a2e06
> <exec_byte_code+5920>, 0x6a2e83 <exec_byte_code+6045>, 0x6a2ede
> <exec_byte_code+6136>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5556
> <exec_byte_code+15984>, 0x6a55d3 <exec_byte_code+16109>, 0x6a5613
> <exec_byte_code+16173>, 0x6a5653 <exec_byte_code+16237>, 0x6a5693
> <exec_byte_code+16301>, 0x6a56d3 <exec_byte_code+16365>, 0x6a5733
> <exec_byte_code+16461>, 0x6a5793 <exec_byte_code+16557>, 0x6a57f3
> <exec_byte_code+16653>, 0x6a5853 <exec_byte_code+16749>, 0x6a59e1
> <exec_byte_code+17147>, 0x6a5a41 <exec_byte_code+17243>, 0x6a5aa1
> <exec_byte_code+17339>, 0x6a5ae1 <exec_byte_code+17403>, 0x6a5ba4
> <exec_byte_code+17598>, 0x6a5c67 <exec_byte_code+17793>, 0x6a5ca7
> <exec_byte_code+17857>, 0x6a5ce7 <exec_byte_code+17921>, 0x6a4a32
> <exec_byte_code+13132>, 0x6a4bc8 <exec_byte_code+13538>, 0x6a5d2e
> <exec_byte_code+17992>, 0x6a5d92 <exec_byte_code+18092>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a34b0
> <exec_byte_code+7626>, 0x6a3bb8 <exec_byte_code+9426>, 0x6a4dea
> <exec_byte_code+14084>, 0x6a5f66 <exec_byte_code+18560>, 0x6a5fd0
> <exec_byte_code+18666>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a6057 <exec_byte_code+18801>, 0x6a60d3
> <exec_byte_code+18925>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a5df6 <exec_byte_code+18192>, 0x6a5df6
> <exec_byte_code+18192>, 0x6a6277 <exec_byte_code+19345> <repeats 64
> times>}
>         quitcounter = 1 '\001'
>         bc = 0x863170 <main_thread+496>
>         top = 0x7fffe2bff040
>         pc = 0x7ffff23d3989 "\207"
>         bytestr = {i = 0x7ffff1a957bc}
>         vector = {i = 0x7ffff1aa388d}
>         maxdepth = {i = 0x3a}
>         const_length = 15
>         bytestr_length = 42
>         vectorp = 0x7ffff1aa3890
>         max_stack = 14
>         frame_base = 0x7fffe2bff030
>         fp = 0x7fffe2bff0a0
>         bytestr_data = 0x7ffff23d3960 "\f\306\307\002\r\"\307\001\300\"\206%"
>         rest = true
>         mandatory = 0
>         nonrest = 0
>         pushedargs = 0
>         saved_quitcounter = 0 '\000'
>         saved_vectorp = 0x7fffffffce00
>         saved_bytestr_data = 0x7ffff1c02a5c ""
>         result = {i = 0x7ffff197f583}
> #15 0x0000000000646a3f in funcall_lambda (fun=..., nargs=0,
> arg_vector=0x7fffffffd108) at eval.c:3229
>         syms_left = {i = 0x202}
>         lexenv = {i = 0xea60}
>         count = {bytes = 0}
>         i = 140737488343088
>         optional = false
>         rest = false
>         previous_rest = 127
>         val = {i = 0x1f19f5ef0}
> #16 0x0000000000645e3b in funcall_general (fun=..., numargs=0,
> args=0x7fffffffd108) at eval.c:3021
>         original_fun = {i = 0x7ffff11a4c98}
> #17 0x00000000006460ee in Ffuncall (nargs=1, args=0x7fffffffd100) at eval.c:3070
>         count = {bytes = 256}
>         val = {i = 0x7ffff10f7500}
> #18 0x00007ffff1159d4d in F636f6d6d616e642d6c696e65_command_line_0 ()
>     at /home/ss141309/code/emacs/src/../native-lisp/31.0.50-f92e8814/preloaded/startup-bbc6ea72-51eb976c.eln
> #19 0x00000000006463d5 in funcall_subr (subr=0x7ffff1c30890,
> numargs=0, args=0x7fffffffd2f0) at eval.c:3136
>         argbuf = {{i = 0x7ffff1c30895}, {i = 0x7fffffffd1d0}, {i =
> 0x8fe9c0 <lispsym>}, {i = 0x0}, {i = 0x0}, {i = 0x12ffffd1f0}, {i =
> 0x7ffff1c30895}, {i = 0x7fffffffd200}}
>         a = 0x7fffffffd2f0
>         maxargs = 0
>         fun = {i = 0x63dd6a <SUBRP+29>}
> #20 0x0000000000645def in funcall_general (fun=..., numargs=0,
> args=0x7fffffffd2f0) at eval.c:3017
>         original_fun = {i = 0x7ffff1331ea0
> <F746f7563682d73637265656e2d68616e646c652d706f696e742d7570_touch_screen_handle_point_up_0+2080>}
> #21 0x00000000006460ee in Ffuncall (nargs=1, args=0x7fffffffd2e8) at eval.c:3070
>         count = {bytes = 192}
>         val = {i = 0x6a7808 <bcall0>}
> #22 0x00007ffff1156396 in
> F6e6f726d616c2d746f702d6c6576656c_normal_top_level_0 ()
>     at /home/ss141309/code/emacs/src/../native-lisp/31.0.50-f92e8814/preloaded/startup-bbc6ea72-51eb976c.eln
> #23 0x0000000000644b86 in eval_sub (form=...) at eval.c:2572
>         i = 0
>         maxargs = 0
>         args_left = {i = 0x0}
>         numargs = 0
>         original_fun = {i = 0x7ffff132a0a8
> <F746f7563682d73637265656e2d686f6c64_touch_screen_hold_0+1816>}
>         original_args = {i = 0x0}
>         count = {bytes = 128}
>         fun = {i = 0x7ffff1c28a9d}
>         val = {i = 0x6476fb <do_specbind+288>}
>         funcar = {i = 0x7fffffffd440}
>         argvals = {{i = 0x7fffffffd3e0}, {i = 0x61d2d8 <XOBJFWD+35>},
> {i = 0x8fe9c0 <lispsym>}, {i = 0x7ffff1f516c0}, {i = 0x0}, {i =
> 0x909a60 <lispsym+45216>}, {i = 0x63d7a6 <builtin_lisp_symbol+44>}, {i
> = 0x0}}
> #24 0x000000000064432e in Feval (form=..., lexical=...) at eval.c:2439
>         count = {bytes = 96}
> #25 0x0000000000569dbc in top_level_2 () at keyboard.c:1179
>         setup_handler = false
>         res = {i = 0x1008fe9c0}
> #26 0x000000000064236f in internal_condition_case (bfun=0x569d55
> <top_level_2>, handlers=..., hfun=0x569627 <cmd_error>) at eval.c:1602
>         val = {i = 0x7fffffffd540}
>         c = 0xa9e670
> #27 0x0000000000569e17 in top_level_1 (ignore=...) at keyboard.c:1191
> #28 0x0000000000641821 in internal_catch (tag=..., func=0x569dd5
> <top_level_1>, arg=...) at eval.c:1282
>         val = {i = 0x56651e <builtin_lisp_symbol+44>}
>         c = 0xaf0fd0
> #29 0x0000000000569c9d in command_loop () at keyboard.c:1140
> #30 0x0000000000569100 in recursive_edit_1 () at keyboard.c:749
>         count = {bytes = 32}
>         val = {i = 0x7fffffffd620}
> #31 0x0000000000569313 in Frecursive_edit () at keyboard.c:832
>         count = {bytes = 0}
>         buffer = {i = 0x0}
> #32 0x0000000000564e52 in main (argc=2, argv=0x7fffffffd8e8) at emacs.c:2558
>         stack_bottom_variable = 0x0
>         old_argc = 2
>         dump_file = 0x0
>         no_loadup = false
>         junk = 0x0
>         dname_arg = 0x0
>         ch_to_dir = 0x0
>         original_pwd = 0x0
>         dump_mode = 0x0
>         skip_args = 0
>         temacs = 0x0
>         attempt_load_pdump = true
>         only_version = false
>         rlim = {rlim_cur = 16777216, rlim_max = 18446744073709551615}
>         lc_all = 0x0
>         sockfd = -1
>         module_assertions = false
> ---------------------------------------------------------------------------------------------------------------
> 
> the output of xbacktrace is
> ---------------------------------------------------------------------------------------------------------------
> (gdb) xbacktrace
> "x-open-connection" (0xe2bff0d0)
> 0xf1aa4a88 PVEC_CLOSURE
> "apply" (0xe2bff048)
> "window-system-initialization" (0xffffd108)
> "command-line" (0xffffd2f0)
> "normal-top-level" (0xffffd3c0)
> ---------------------------------------------------------------------------------------------------------------
> 
> adding this line to pgtkterm.c enables emacs to launch normally once
> again, but this seems only like a temporary solution
> ---------------------------------------------------------------------------------------------------------------
> diff --git a/src/pgtkterm.c b/src/pgtkterm.c
> index d47b1da7262..b3d267284ca 100644
> --- a/src/pgtkterm.c
> +++ b/src/pgtkterm.c
> @@ -182,6 +182,9 @@ pgtk_enumerate_devices (struct pgtk_display_info *dpyinfo,
> 
>        for (t1 = devices_on_seat; t1; t1 = t1->next)
>         {
> +         if (t1->data == 0)
> +            continue;
> +
>           rec = xmalloc (sizeof *rec);
>           rec->seat = g_object_ref (seat);
>           rec->device = GDK_DEVICE (t1->data);
> ---------------------------------------------------------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------------------------------------------------
> In GNU Emacs 31.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version
>  3.24.43, cairo version 1.18.2) of 2025-02-13 built on fedora
> Repository revision: 44c11cd4241ffc8636135bc41ac718101666d34d
> Repository branch: master
> System Description: Fedora Linux 41 (KDE Plasma)
> 
> Configured using:
>  'configure --enable-checking=yes,glyphs --enable-check-lisp-object-type
>  --with-pgtk 'CFLAGS=-O0 -g3''
> 
> Configured features:
> ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG
> LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER
> PGTK PNG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP
> XIM GTK3 ZLIB
> 
> Important settings:
>   value of $LANG: en_IN.UTF-8
>   value of $XMODIFIERS: @im=none
>   locale-coding-system: utf-8-unix
> 
> Major mode: Lisp Interaction
> 
> Minor modes in effect:
>   tooltip-mode: t
>   global-eldoc-mode: t
>   eldoc-mode: t
>   show-paren-mode: t
>   electric-indent-mode: t
>   mouse-wheel-mode: t
>   tool-bar-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   minibuffer-regexp-mode: t
>   line-number-mode: t
>   indent-tabs-mode: t
>   transient-mark-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
> 
> Load-path shadows:
> None found.
> 
> Features:
> (shadow sort mail-extr compile comint ansi-osc ansi-color ring comp-run
> bytecomp byte-compile comp-common rx emacsbug message mailcap yank-media
> puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived
> epg rfc6068 epg-config gnus-util text-property-search time-date subr-x
> mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
> mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums
> mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren
> electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
> term/pgtk-win pgtk-win term/common-win touch-screen pgtk-dnd tool-bar
> dnd fontset image regexp-opt fringe tabulated-list replace newcomment
> text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
> isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
> font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
> indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
> tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
> romanian slovak czech european ethiopic indian cyrillic chinese
> composite emoji-zwj charscript charprop case-table epa-hook
> jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
> theme-loaddefs faces cus-face macroexp files window text-properties
> overlay sha1 md5 base64 format env code-pages mule custom widget keymap
> hashtable-print-readable backquote threads dbusbind inotify
> dynamic-setting system-font-setting font-render-setting cairo gtk pgtk
> multi-tty move-toolbar make-network-process tty-child-frames
> native-compile emacs)
> 
> Memory information:
> ((conses 16 58604 9958) (symbols 48 6729 0) (strings 32 16718 3556)
>  (string-bytes 1 477747) (vectors 16 11454)
>  (vector-slots 8 143352 9543) (floats 8 21 3) (intervals 56 239 0)
>  (buffers 992 11))
> ---------------------------------------------------------------------------------------------------------------
> 
> 
> 
> 




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76239: crash with "gdk_device_get_name: assertion 'GDK_IS_DEVICE (device)' failed" error on kde 6.3, fedora 41
Resent-From: Pip Cet <pipcet@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 15 Feb 2025 12:56:02 +0000
Resent-Message-ID: <handler.76239.B76239.173962415317897 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76239
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Po Lu <luangruo@HIDDEN>, 76239 <at> debbugs.gnu.org, =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh <lumarzeli30@HIDDEN>
Received: via spool by 76239-submit <at> debbugs.gnu.org id=B76239.173962415317897
          (code B ref 76239); Sat, 15 Feb 2025 12:56:02 +0000
Received: (at 76239) by debbugs.gnu.org; 15 Feb 2025 12:55:53 +0000
Received: from localhost ([127.0.0.1]:53928 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjHi4-0004eb-N2
	for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 07:55:53 -0500
Received: from mail-40134.protonmail.ch ([185.70.40.134]:40175)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>)
 id 1tjHi1-0004eE-Q8
 for 76239 <at> debbugs.gnu.org; Sat, 15 Feb 2025 07:55:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail3; t=1739624143; x=1739883343;
 bh=vqetOrVc5jvZtL21Zw/lTuGXytuHVR25OTbyD28CAHo=;
 h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:
 Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
 Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post;
 b=BKqUo37o0tC5hjP85z+jIdETpCueLQBCgDsBvEcBSbaNoBBx4XLQRWWH5HCCcXPWS
 YQF01RaAtC4fhA21PrlC9K36vUGcH9/ZShqwmKFzvwu1UMP3l4Y+//69RTjy1m+CqJ
 TcE0ghRFF+tgnvpMLT8Js9Kem7rqJR3qQEOq+W0nlNKMNBIfAfGFwo6gTghUoFUBfk
 ypB9t0Oah5EEWs5k0L5U9VFztecHlyKBbdmoiDosC9jteLxONcOlTxUkh8rKrJ4IZc
 A9lE7XHGHYjB6g2+z1k5zxgzEzv44bbhehArsRiMUTJIW99+tDODvMea/5J+Vyk/m4
 gza2w/cbO91Iw==
Date: Sat, 15 Feb 2025 12:55:38 +0000
From: Pip Cet <pipcet@HIDDEN>
Message-ID: <87y0y7id0b.fsf@HIDDEN>
In-Reply-To: <86a5ane7ss.fsf@HIDDEN>
References: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
 <86a5ane7ss.fsf@HIDDEN>
Feedback-ID: 112775352:user:proton
X-Pm-Message-ID: 02baafec0afc2fd8e607926c4885071c1f9f91f4
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

"Eli Zaretskii" <eliz@HIDDEN> writes:

>> From: =E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0 =E0=A4=B8=E0=A4=BF=E0=A4=
=82=E0=A4=B9 Sameer Singh
>>  <lumarzeli30@HIDDEN>
>> Date: Thu, 13 Feb 2025 02:21:00 +0530
>>
>> after upgrading to kde 6.3 on my fedora 41 machine, emacs fails to
>> start with the following error
>> ------------------------------------------------------------------------=
---------------------------------------
>> (emacs:84925): Gdk-CRITICAL **: 02:00:31.252: gdk_device_get_name:
>> assertion 'GDK_IS_DEVICE (device)' failed
>
> Po Lu, any comments or suggestions?

This bug probably became more apparent with the recent change to use
doprnt.c for make_formatted_string, which crashes when passed a NULL
string rather than printing "(nil)" as glibc does.  We might want to
change that, though the underlying bug needs to be fixed, too.

>> #4  0x0000000000748c4b in pgtk_enumerate_devices (dpyinfo=3D0xb3a100,
>> initial_p=3Dtrue) at pgtkterm.c:188
>>         rec =3D 0xc8a6f0
>>         all_seats =3D 0xba6c30 =3D {0xa57ec0}
>>         devices_on_seat =3D 0xba6c50 =3D {0x0, 0xa41920, 0x9e9800,
>> 0xb05da0, 0xa8b210}

If this is to be believed, the return value of gdk_seat_get_slaves
(renamed to gdk_seat_get_devices in 2020, it seems) contained a NULL
pointer?

Looking at gdkseat-wayland.c, it seems most likely to be
9f4320a4acbc104a8fce09c0a948d0f99e0feb98, which leaves a tablet pad's
->device pointer as NULL until it "enters" a surface:

https://github.com/GNOME/gtk/commit/9f4320a4acbc104a8fce09c0a948d0f99e0feb9=
8

Do you have something that would count as a tablet pad?

Pip





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76239: crash with "gdk_device_get_name: assertion, 'GDK_IS_DEVICE (device)' failed" error on kde 6.3, fedora 41
Resent-From: Pip Cet <pipcet@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 15 Feb 2025 13:01:01 +0000
Resent-Message-ID: <handler.76239.B76239.173962443818872 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76239
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Tim Cross <theophilusx@HIDDEN>
Cc: 76239 <at> debbugs.gnu.org
Received: via spool by 76239-submit <at> debbugs.gnu.org id=B76239.173962443818872
          (code B ref 76239); Sat, 15 Feb 2025 13:01:01 +0000
Received: (at 76239) by debbugs.gnu.org; 15 Feb 2025 13:00:38 +0000
Received: from localhost ([127.0.0.1]:53942 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjHmg-0004uJ-B2
	for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 08:00:38 -0500
Received: from mail-40133.protonmail.ch ([185.70.40.133]:14025)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>)
 id 1tjHme-0004u3-Hs
 for 76239 <at> debbugs.gnu.org; Sat, 15 Feb 2025 08:00:37 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail3; t=1739624430; x=1739883630;
 bh=Ta1zAhP6BzYDbo79bhccA9tGaAMzzgRSYezogG6rO4c=;
 h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:
 Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
 Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post;
 b=X8TqnKAQ655t2bY+1IO0uk9KQduQsS2mh73x8kHd389wqUv0n5nGVZEhwlC8M7A0C
 vsn1HV+oeU94z7sa2nF1nDsVWHJl/nozQoGpsXPePjszWiutwimpoPe6f6QJ2bAC+W
 hrrCWKqmblzoO972h2W37dBkNSfHgD+dLCGVPkMQrQtA7M/DqblJ0yKACY5tUCaNlI
 onouYdpKHIILfB4To+ddYKgRxF6+0TkiDYUw7MUqrqZmyDgGOtNjhCs4JYGp1ix1yQ
 JOvairWz0p0M0ASz1c/BUg19ItLdk2OwkUlIA30pSRMGiMFyBO3xiGT/gxvTTFNu9L
 cL1b4nOBErmXQ==
Date: Sat, 15 Feb 2025 13:00:24 +0000
From: Pip Cet <pipcet@HIDDEN>
Message-ID: <87seoficsb.fsf@HIDDEN>
In-Reply-To: <87ed00kkyw.fsf@HIDDEN>
References: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
 <87ed00kkyw.fsf@HIDDEN>
Feedback-ID: 112775352:user:proton
X-Pm-Message-ID: 832354bda77ad8e88360fc3591d38001b1fc7ccb
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

"Tim Cross" <theophilusx@HIDDEN> writes:

> Just confirming I'm also seeing this same error since the update to
> Plasma 63 on Fedora 41. However, this issue seems specific to Plasma 6.3
> and may not be an emacs issue. The emacs pgtk build still seems to work
> fine under other wayland compositors such as Sway and Hyprland. Would
> indicate this is either specific to Plasma 6.3 or to Fedora's packaging
> of Plasma 6.3.
>
> Emacs was working fune prior to the update to Plasma 6.3 with pgtk build
> under wayland.

Can you try this patch?

From 053c40aa589b410d6e6b3534314338966704d9a7 Mon Sep 17 00:00:00 2001
From: Pip Cet <pipcet@HIDDEN>
Subject: [PATCH] Ignore NULL devices returned by gdk_seat_get_devices
 (bug#76239)

* src/pgtkterm.c (pgtk_enumerate_devices): Ignore NULL list entries.
---
 src/pgtkterm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/pgtkterm.c b/src/pgtkterm.c
index dd85d622a62..a41cd115052 100644
--- a/src/pgtkterm.c
+++ b/src/pgtkterm.c
@@ -182,6 +182,9 @@ pgtk_enumerate_devices (struct pgtk_display_info *dpyin=
fo,
=20
       for (t1 =3D devices_on_seat; t1; t1 =3D t1->next)
 =09{
+=09  /* Bug#76239, GTK bug TBD */
+=09  if (t1->data =3D=3D NULL)
+=09    continue;
 =09  rec =3D xmalloc (sizeof *rec);
 =09  rec->seat =3D g_object_ref (seat);
 =09  rec->device =3D GDK_DEVICE (t1->data);
--=20
2.48.1





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76239: crash with "gdk_device_get_name: assertion 'GDK_IS_DEVICE (device)' failed" error on kde 6.3, fedora 41
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 15 Feb 2025 13:14:01 +0000
Resent-Message-ID: <handler.76239.B76239.173962523420971 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76239
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Pip Cet <pipcet@HIDDEN>
Cc: 76239 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh <lumarzeli30@HIDDEN>
Received: via spool by 76239-submit <at> debbugs.gnu.org id=B76239.173962523420971
          (code B ref 76239); Sat, 15 Feb 2025 13:14:01 +0000
Received: (at 76239) by debbugs.gnu.org; 15 Feb 2025 13:13:54 +0000
Received: from localhost ([127.0.0.1]:53962 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjHzW-0005SA-5b
	for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 08:13:54 -0500
Received: from sonic306-21.consmr.mail.ne1.yahoo.com ([66.163.189.83]:34278)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <luangruo@HIDDEN>)
 id 1tjHzT-0005Ru-5Z
 for 76239 <at> debbugs.gnu.org; Sat, 15 Feb 2025 08:13:52 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1739625225; bh=4Hte23wd6ekMqsUywguEjWamYK6o8/YNn8N0KyvAOeU=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=ddF57VkMaFmnXTXqslADb0EfEi+grUJbD3tcmh4WOXnKglb6NZfIrj1n6XLUDgJFY1yIVY4xLJ1a6uybqSdHVT3gKgMBrTyYpNRU37dq6pveTgk/k8B834bnvbJlo89/8jn1Cz4pua8B1FIiJ+HyabwNQ/9nlc/QJegvbrBq+cJ1AV/nx1daNi7g9jZ8quV7YwgQbIPUryAGvMx6xvyqBJBlQLGq7kY65sxkmmIymBYEtJzGYN3zF4uJ8wT2o8iChBDYcf0uDSLl3J/CrE/FmfU09hmBW4rkbYNTnbV4m2uEGmsUWpiir1XeZyZb8xpvoSFmqcuPY5ko6Hkai+zD9Q==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1739625225; bh=Tss2K5mId5eePdNxxPL1ek8oWeRiJrwQ1QJo8U1J0EO=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=EgTFg2QuuXcVAlfjRnO8nU099kABYXEl0u4BCQ8DpNrPritf6WQBWMlBua5gaVkgmo9ZeeBSvAOdd6wQIPRB4/wCo8+B4P8upKt4hi6WQhzvVg737u/AXb0E/mnMl6AAzdXdONaKYBDHbD/P1qVn7pJ9V64JgIJ6Um07ax/358iK6anSRDl28RlN+LI5wgpIbAN46YyS3hir9ebOkCWsnluwjZnq1gHM2J3ZnL6w5X+Hwo2FiWqMdGYK7961LZ/D3Oe3x2yg1KPRM7xSUoz+RF92P/Un192UNDtxGlqhgt9Xs51ip4ZkHwk03Jg9KU3lzaRZCK8eDKsrBzojNiNEzw==
X-YMail-OSG: 0OQkCcUVM1n.hUwbPz0z9uReVjxmO5yRQm94gXMeD7sRtbEFHxQZm_DlfpLOTo4
 K_aKJHNLHbKj4G97Espb.HFMAnJydsjdDgHhS6c0.FnFwFpurisRRNmnXS5KDomquGHg82pBT.N5
 s1v_vlnKkOcrlmxDeOhtDKCmTWXXcCt9l1jWchtdNnt.11q1TskR9vmIYhd8Zh4Jnou_c8O50cN.
 UDvbSAci4d3HmGuCQqqCcGXXra5eQ4N2_O0m8qevut1AUA0R20Ei.89U38i9vtjYqbwEBDDf9KKy
 dUwAh5Io88qdYHmqkjNw3O5Pqr.xWG9vAxXib82T7RGK0aEGVVqc7yQihzmxcmEMQ85wtEl7k84B
 MFas.c5osY05t9ZGyNvqdmSiFFEX8ukliB7V2n0Vbty3Z50pvV5PBJZ1YXG0EgR48NgwsaQgLZet
 aS4peyMi8Bgl5HdDuDTBh0bqgXm8yZFEzE2UZWornmI6hcVH3kzAvb8GRS.s7OtsE9ofIVdiq1at
 YWsw4wKjWJ6h42ALe99.5d201dq.jrAuuO0d85vKYm4T_QDUY0JRj_oJpI8aPlhjDA1QIziKtC2C
 0UH3GkV3BpRX5BczBmMtj2tDd4y1XeIZ.1yO.vIYZuMKg7MuTzwb9xuwy3pGJW8YPU8xyAeYzbXj
 LWueB3vm8tITJvb.7JXzz0RxiOpL4tx9rYZ1NOOE1KWMcJyz_NfrRwlOFLBw35dChbw2_mD2yFBk
 g9UJ8od7g_Fc6F9KrSv9gS5PBeuLHhFHzy_rKID8qBoAM3rfuzcLaEIkss2FB8L1GzlHsXGjXyr5
 Dr8UWPEa7shtY8kzDeDdjyCVCDOT6YbavsdGEBlSm7lbNvtOL8vFgzKt4IgyCgiz4jJ.x1Ou1bSv
 IqetadckxmPstxleEf84NLuuxe8pHqwHDbZ7DiMK1q8eS3llmt3smSGixOH758Tk3QdS6uqmte28
 cXrBcgPl4KhqbfOzHKASZ_zXCiip9K9x8Rk3qfUbvLoayW6RR_o.lsuuYeSD_HmDL1qFK6TXqv0w
 safFgVKDCSfVGCOREIShX3lOcJmNH0M0WgKQk.D.9IxypSZXm_RPJnpLfLlZh8vw_Elm0zyzmxBW
 sHKUoBBtk0aSUvPg0oz4Yc7fu4yOhUluAJPHsuluBHdfOhOHJvqb2cxKOM1BVCABr5pLG_NusP6L
 xy1GP7abWqCpy4V8kg1.3ZtJ0n1F6hvzy3UKjVhtBp4jMOWKgZEm6O88qX0sUZNIrlAPn7ub9x6.
 eje6emIXyPa.y3jjzCtgUUyk4gxKbdnRSXlNZ7wKf_.FIxQpwEMTtRWowwixEh6VdnxHmVe.gl7Z
 C1uZ91KQk2S8gaikrX3vWPHRjOrjl2L1UZ.5WFeFDEkQTDz5i4Th_WsQhPWotuACfrWbkwTB.bYt
 M2kHIutevr89ad_ARGaIgJMOe.CA6k2ZjxAbIDXl8FryoY.GGCQg2Io7.XPkQUTFhCu.HxjCLnGq
 fOYXcMeml9Ecsd7YnAVSTHD36ujsi2zF71nPYgGCw.JTv68gS5wPHT5JMPZf0tGwoCVgenB2pm2H
 Rh1AGNUaiLeLmi6OgdWE5HOYExj1EOtfOgTRmOvjloVea29BnC5XUxBiXcRWrtv9zzr4rrrDsao6
 EoqvEkpFogE9CKfGZdK46qVh5MMWkzpwBEw89fI6Z.a3VZHh7JT5GErM_fYB1VXC1vAsfEYw3GR5
 nxd4RorvFILgprHKGKrD.q2h.Ho3PzyYOpI2x31u6G8cPH7VU3dUpuDK_e4f3eqeQTV6tttGT2w6
 u8ZKgIdJvjZpqu3DBkwQIRdWlgtHxMNhliiwvJ4o_GEwQZnrG3OT1fK2FWvGsOWpbaIoy99jPfyD
 QisFzmjlTSfsztUzwQgzwU73Z2iW7MnElTAXF9nuSG3e48iEWGSkH8w1YDS91kRDwXZCR44f1byi
 lLsp6strH0liaMIG3tsqDJ1bOvX6sIzHgudZ5Piu1jf23a5SW6_hufyFBJ4wEhG9D5kxJa4sCk7n
 Jjg0A66Mb4bYKplO1_bUyHpi4ZlAqqCd52pFxz68kHp1MtRT.cDvxRXR_7HTMdMS9uSX0pMQ3RnM
 DPcooNNLEDmsP1ndgEKWndkVPO4FVLZ1BtdNwYeMsZ3LK7AFLO3jmNsERXWiGWfFbzQE9RT6jjYw
 kVS9Ag6i5sMNdGucbWx_CmhH1_aUMBV0U4A_7m.8iBXmOxznCVxEt5k7xjH3j3sp_JGkvqOegtW1
 wdijbbuJWR9WgpIydAyvzw7pUNExz.pvzuAcNQrOqe0CRLl3aEGc9DTCaIQ--
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: c6c763f3-2f55-4a0c-a777-3e22db863591
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic306.consmr.mail.ne1.yahoo.com with HTTP; Sat, 15 Feb 2025 13:13:45 +0000
Received: by hermes--production-sg3-5b7954b588-qzgfd (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID aa11c829b0ba54083722047a7a11b8bc; 
 Sat, 15 Feb 2025 13:13:40 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87y0y7id0b.fsf@HIDDEN> (Pip Cet's message of "Sat, 15
 Feb 2025 12:55:38 +0000")
References: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
 <86a5ane7ss.fsf@HIDDEN> <87y0y7id0b.fsf@HIDDEN>
Date: Sat, 15 Feb 2025 21:13:32 +0800
Message-ID: <87o6z3tkoz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.23369
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1863
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Pip Cet <pipcet@HIDDEN> writes:

> "Eli Zaretskii" <eliz@HIDDEN> writes:
>
>>> From: =E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0 =E0=A4=B8=E0=A4=BF=E0=A4=82=
=E0=A4=B9 Sameer Singh
>>>  <lumarzeli30@HIDDEN>
>>> Date: Thu, 13 Feb 2025 02:21:00 +0530
>>>
>>> after upgrading to kde 6.3 on my fedora 41 machine, emacs fails to
>>> start with the following error
>>> -----------------------------------------------------------------------=
----------------------------------------
>>> (emacs:84925): Gdk-CRITICAL **: 02:00:31.252: gdk_device_get_name:
>>> assertion 'GDK_IS_DEVICE (device)' failed
>>
>> Po Lu, any comments or suggestions?
>
> This bug probably became more apparent with the recent change to use
> doprnt.c for make_formatted_string, which crashes when passed a NULL
> string rather than printing "(nil)" as glibc does.  We might want to
> change that, though the underlying bug needs to be fixed, too.
>
>>> #4  0x0000000000748c4b in pgtk_enumerate_devices (dpyinfo=3D0xb3a100,
>>> initial_p=3Dtrue) at pgtkterm.c:188
>>>         rec =3D 0xc8a6f0
>>>         all_seats =3D 0xba6c30 =3D {0xa57ec0}
>>>         devices_on_seat =3D 0xba6c50 =3D {0x0, 0xa41920, 0x9e9800,
>>> 0xb05da0, 0xa8b210}
>
> If this is to be believed, the return value of gdk_seat_get_slaves
> (renamed to gdk_seat_get_devices in 2020, it seems) contained a NULL
> pointer?
>
> Looking at gdkseat-wayland.c, it seems most likely to be
> 9f4320a4acbc104a8fce09c0a948d0f99e0feb98, which leaves a tablet pad's
> ->device pointer as NULL until it "enters" a surface:
>
> https://github.com/GNOME/gtk/commit/9f4320a4acbc104a8fce09c0a948d0f99e0fe=
b98
>
> Do you have something that would count as a tablet pad?
>
> Pip

Thanks.  This is certainly a bug in GDK, which I suggest reporting to
their developers, and for the present I will install a workaround in
emacs-30 tomorrow.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76239: crash with "gdk_device_get_name: assertion 'GDK_IS_DEVICE (device)' failed" error on kde 6.3, fedora 41
Resent-From: Pip Cet <pipcet@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 15 Feb 2025 17:42:02 +0000
Resent-Message-ID: <handler.76239.B76239.173964129721333 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76239
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Po Lu <luangruo@HIDDEN>
Cc: 76239 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, Arsen =?UTF-8?Q?Arsenovi=C4=87?= <arsen@HIDDEN>, =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh <lumarzeli30@HIDDEN>
Received: via spool by 76239-submit <at> debbugs.gnu.org id=B76239.173964129721333
          (code B ref 76239); Sat, 15 Feb 2025 17:42:02 +0000
Received: (at 76239) by debbugs.gnu.org; 15 Feb 2025 17:41:37 +0000
Received: from localhost ([127.0.0.1]:57741 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjMAa-0005Y0-Kh
	for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 12:41:36 -0500
Received: from mail-4316.protonmail.ch ([185.70.43.16]:12337)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>)
 id 1tjMAX-0005Xi-BC
 for 76239 <at> debbugs.gnu.org; Sat, 15 Feb 2025 12:41:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail3; t=1739641285; x=1739900485;
 bh=7GsI18b12xMzeAuucB4N5Js46G6JJWasGOm/EYBlNp8=;
 h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:
 Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
 Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post;
 b=L93qD7aJ5+7UWIItr6pm1nceZCCgVA7mNBdEEl1+BgMK1RA8rb45FI2XWR5VeEISF
 y2SzrA/AivNJz1aom3HBdSx1uK4XD3LsF+LOTr9Qrw3LpGyxAgPiQFhf2uVEdyQBXT
 CoAGCH+tIK5/ZeTCHDr7R27/5Bpptz3F8/FF/Sf9CKzqU/rkJZJiIPnYKH1nrbb5/q
 z7wKpJ45v0ztBZddaGOkwPNxHsFLaorzyX5QEfZNRJaFerfNx0mV9uVoFIR6UN3DvB
 ps9b4Tlm8Iq3ckIPTtiatoOC501j0ZOra0BfSMKgk40QlKLdUGXeSDhqCx7r/x0CpP
 M0K2yMG4aIRmA==
Date: Sat, 15 Feb 2025 17:41:19 +0000
From: Pip Cet <pipcet@HIDDEN>
Message-ID: <87h64vhzs7.fsf@HIDDEN>
In-Reply-To: <87o6z3tkoz.fsf@HIDDEN>
References: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
 <86a5ane7ss.fsf@HIDDEN> <87y0y7id0b.fsf@HIDDEN>
 <87o6z3tkoz.fsf@HIDDEN>
Feedback-ID: 112775352:user:proton
X-Pm-Message-ID: 918b276ec1f211f8327e36b9af15541f81b22a1e
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

"Po Lu" <luangruo@HIDDEN> writes:

> Pip Cet <pipcet@HIDDEN> writes:
>
>> "Eli Zaretskii" <eliz@HIDDEN> writes:
>>
>>>> From: =E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0 =E0=A4=B8=E0=A4=BF=E0=A4=
=82=E0=A4=B9 Sameer Singh
>>>>  <lumarzeli30@HIDDEN>
>>>> Date: Thu, 13 Feb 2025 02:21:00 +0530
>>>>
>>>> after upgrading to kde 6.3 on my fedora 41 machine, emacs fails to
>>>> start with the following error
>>>> ----------------------------------------------------------------------=
-----------------------------------------
>>>> (emacs:84925): Gdk-CRITICAL **: 02:00:31.252: gdk_device_get_name:
>>>> assertion 'GDK_IS_DEVICE (device)' failed
>>>
>>> Po Lu, any comments or suggestions?
>>
>> This bug probably became more apparent with the recent change to use
>> doprnt.c for make_formatted_string, which crashes when passed a NULL
>> string rather than printing "(nil)" as glibc does.  We might want to
>> change that, though the underlying bug needs to be fixed, too.
>>
>>>> #4  0x0000000000748c4b in pgtk_enumerate_devices (dpyinfo=3D0xb3a100,
>>>> initial_p=3Dtrue) at pgtkterm.c:188
>>>>         rec =3D 0xc8a6f0
>>>>         all_seats =3D 0xba6c30 =3D {0xa57ec0}
>>>>         devices_on_seat =3D 0xba6c50 =3D {0x0, 0xa41920, 0x9e9800,
>>>> 0xb05da0, 0xa8b210}
>>
>> If this is to be believed, the return value of gdk_seat_get_slaves
>> (renamed to gdk_seat_get_devices in 2020, it seems) contained a NULL
>> pointer?
>>
>> Looking at gdkseat-wayland.c, it seems most likely to be
>> 9f4320a4acbc104a8fce09c0a948d0f99e0feb98, which leaves a tablet pad's
>> ->device pointer as NULL until it "enters" a surface:
>>
>> https://github.com/GNOME/gtk/commit/9f4320a4acbc104a8fce09c0a948d0f99e0f=
eb98
>>
>> Do you have something that would count as a tablet pad?
>>
>> Pip
>
> Thanks.  This is certainly a bug in GDK, which I suggest reporting to
> their developers, and for the present I will install a workaround in
> emacs-30 tomorrow.

https://gitlab.gnome.org/GNOME/gtk/-/issues/7337 appears to have been
opened by Arsen Arsenovic a while ago.  No response so far, but it
describes the problem accurately.

Thanks, Arsen!

(I would have linked the issue but gitlab.gnome.org is not letting me
create an account, so I won't).

Pip





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76239: crash with "gdk_device_get_name: assertion 'GDK_IS_DEVICE (device)' failed" error on kde 6.3, fedora 41
Resent-From: Arsen =?UTF-8?Q?Arsenovi=C4=87?= <arsen@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 15 Feb 2025 18:55:02 +0000
Resent-Message-ID: <handler.76239.B76239.173964565413711 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76239
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Pip Cet <pipcet@HIDDEN>
Cc: Po Lu <luangruo@HIDDEN>, 76239 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh <lumarzeli30@HIDDEN>
Received: via spool by 76239-submit <at> debbugs.gnu.org id=B76239.173964565413711
          (code B ref 76239); Sat, 15 Feb 2025 18:55:02 +0000
Received: (at 76239) by debbugs.gnu.org; 15 Feb 2025 18:54:14 +0000
Received: from localhost ([127.0.0.1]:57881 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjNIr-0003Z4-Sg
	for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 13:54:14 -0500
Received: from mout-p-103.mailbox.org ([80.241.56.161]:58678)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <arsen@HIDDEN>) id 1tjNIo-0003Yf-0r
 for 76239 <at> debbugs.gnu.org; Sat, 15 Feb 2025 13:54:11 -0500
Received: from smtp1.mailbox.org (smtp1.mailbox.org
 [IPv6:2001:67c:2050:b231:465::1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4YwJ3r6pC2z9shn;
 Sat, 15 Feb 2025 19:54:00 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; 
 t=1739645641;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=zHkavguNEYkvqKQmJvzMrnVUvdVY6F9LkkQR59LrII8=;
 b=DeRz8/7ZQ/4zscR3DD+s7fe44sm5vMCZ9Z3c8+6dC0Q+cuP1N6vUuwT2R7T4CSc/ieivC6
 6uYcCG6pmm3liGYgbuLBbTNHIwnlgFr/GECkPx/lCni002DYz/pwdbw06xFx53H/1M21Ij
 o78HflnQGLUfEne35HvmcJn0is1R7A2LwzSmFQuByxu6SlMPFiY5CanjuDRbieq98lDmAP
 V7rVeAqTfIKK/BZAfa8fTAO/rKcyjhF3ueQEVUUYFWUS7j4TxAO4HDwjkvDb+6O4KW8SNo
 vlBtDh5kil05OBb+GkxjzwY7VGOQfAFySyyfyaa8nbYUE/4jkc12mLWc1r1BQg==
From: Arsen =?UTF-8?Q?Arsenovi=C4=87?= <arsen@HIDDEN>
In-Reply-To: <87h64vhzs7.fsf@HIDDEN>
References: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
 <86a5ane7ss.fsf@HIDDEN> <87y0y7id0b.fsf@HIDDEN>
 <87o6z3tkoz.fsf@HIDDEN> <87h64vhzs7.fsf@HIDDEN>
Date: Sat, 15 Feb 2025 19:53:58 +0100
Message-ID: <861pvzuji1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Rspamd-Queue-Id: 4YwJ3r6pC2z9shn
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Pip,

Pip Cet <pipcet@HIDDEN> writes:

> "Po Lu" <luangruo@HIDDEN> writes:
>
>> Pip Cet <pipcet@HIDDEN> writes:
>>
>>> "Eli Zaretskii" <eliz@HIDDEN> writes:
>>>
>>>>> From: =E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0 =E0=A4=B8=E0=A4=BF=E0=A4=
=82=E0=A4=B9 Sameer Singh
>>>>>  <lumarzeli30@HIDDEN>
>>>>> Date: Thu, 13 Feb 2025 02:21:00 +0530
>>>>>
>>>>> after upgrading to kde 6.3 on my fedora 41 machine, emacs fails to
>>>>> start with the following error
>>>>> ---------------------------------------------------------------------=
------------------------------------------
>>>>> (emacs:84925): Gdk-CRITICAL **: 02:00:31.252: gdk_device_get_name:
>>>>> assertion 'GDK_IS_DEVICE (device)' failed
>>>>
>>>> Po Lu, any comments or suggestions?
>>>
>>> This bug probably became more apparent with the recent change to use
>>> doprnt.c for make_formatted_string, which crashes when passed a NULL
>>> string rather than printing "(nil)" as glibc does.  We might want to
>>> change that, though the underlying bug needs to be fixed, too.
>>>
>>>>> #4  0x0000000000748c4b in pgtk_enumerate_devices (dpyinfo=3D0xb3a100,
>>>>> initial_p=3Dtrue) at pgtkterm.c:188
>>>>>         rec =3D 0xc8a6f0
>>>>>         all_seats =3D 0xba6c30 =3D {0xa57ec0}
>>>>>         devices_on_seat =3D 0xba6c50 =3D {0x0, 0xa41920, 0x9e9800,
>>>>> 0xb05da0, 0xa8b210}
>>>
>>> If this is to be believed, the return value of gdk_seat_get_slaves
>>> (renamed to gdk_seat_get_devices in 2020, it seems) contained a NULL
>>> pointer?
>>>
>>> Looking at gdkseat-wayland.c, it seems most likely to be
>>> 9f4320a4acbc104a8fce09c0a948d0f99e0feb98, which leaves a tablet pad's
>>> ->device pointer as NULL until it "enters" a surface:
>>>
>>> https://github.com/GNOME/gtk/commit/9f4320a4acbc104a8fce09c0a948d0f99e0=
feb98
>>>
>>> Do you have something that would count as a tablet pad?
>>>
>>> Pip
>>
>> Thanks.  This is certainly a bug in GDK, which I suggest reporting to
>> their developers, and for the present I will install a workaround in
>> emacs-30 tomorrow.
>
> https://gitlab.gnome.org/GNOME/gtk/-/issues/7337 appears to have been
> opened by Arsen Arsenovic a while ago.  No response so far, but it
> describes the problem accurately.

It's been just about a day, not too long, and it's weekend ;P

> Thanks, Arsen!

No problem!

> (I would have linked the issue but gitlab.gnome.org is not letting me
> create an account, so I won't).

Try https://register.gitlab.gnome.org/ - it worked for me.



I've a workaround locally.  I didn't want to post it because it's an
ugly hack and I expected to submit a fix upstream at some point soon
(plus, KDE 6.3 just came out so I figured few people would hit this):

~$ cat /etc/portage/patches/app-editors/emacs/workaround-gtk-bug.patch=20
diff --git a/src/pgtkterm.c b/src/pgtkterm.c
index d47b1da7262..0ca9ed1aa7c 100644
=2D-- a/src/pgtkterm.c
+++ b/src/pgtkterm.c
@@ -182,6 +182,9 @@ pgtk_enumerate_devices (struct pgtk_display_info *dpyin=
fo,
=20
       for (t1 =3D devices_on_seat; t1; t1 =3D t1->next)
 	{
+	 if (!t1->data)
+	   continue;
+
 	 rec =3D xmalloc (sizeof *rec);
 	 rec->seat =3D g_object_ref (seat);
 	 rec->device =3D GDK_DEVICE (t1->data);

The above should be okay (with an explanatory comment added, of course),
as ISTM that all usages of this list could handle a device being
missing.
=2D-=20
Arsen Arsenovi=C4=87

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iOYEARYKAI4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZ7Dixl8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF
MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxAcYXJzZW5AYWFy
c2VuLm1lAAoJEFLClDAeosST3VIA/36Tfrlbn03ZegJDeHDemE45BObRp+PVCaMB
yqqWtL8+AP0evyLtvW0BOv54zPwaq+BzZO5bOQxKRAqqw2ChznBAAA==
=Hzbu
-----END PGP SIGNATURE-----
--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76239: crash with "gdk_device_get_name: assertion 'GDK_IS_DEVICE (device)' failed" error on kde 6.3, fedora 41
Resent-From: Pip Cet <pipcet@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 15 Feb 2025 20:24:02 +0000
Resent-Message-ID: <handler.76239.B76239.173965098830272 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76239
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Arsen =?UTF-8?Q?Arsenovi=C4=87?= <arsen@HIDDEN>
Cc: Po Lu <luangruo@HIDDEN>, 76239 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, =?UTF-8?Q?=E0=A4=B8=E0=A4=AE=E0=A5=80=E0=A4=B0_?= =?UTF-8?Q?=E0=A4=B8=E0=A4=BF=E0=A4=82=E0=A4=B9?= Sameer Singh <lumarzeli30@HIDDEN>
Received: via spool by 76239-submit <at> debbugs.gnu.org id=B76239.173965098830272
          (code B ref 76239); Sat, 15 Feb 2025 20:24:02 +0000
Received: (at 76239) by debbugs.gnu.org; 15 Feb 2025 20:23:08 +0000
Received: from localhost ([127.0.0.1]:58085 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjOgu-0007sC-54
	for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 15:23:08 -0500
Received: from mail-10630.protonmail.ch ([79.135.106.30]:10985)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <pipcet@HIDDEN>)
 id 1tjOgq-0007rM-NN
 for 76239 <at> debbugs.gnu.org; Sat, 15 Feb 2025 15:23:05 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail3; t=1739650975; x=1739910175;
 bh=b2EAL7DR11RP+rYG1brWWghkFh7ItPqIwa7wKwc0Vbk=;
 h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:
 Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:
 Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post;
 b=dFFa0/OTZQ4ZvYI0cL9CaA3xuNwF3ospVzMoNwC4oTbPXGcN6ZMVfrDMEFxg3lRbj
 AOYuLzskFDGhBr/oadVLyOGNhNWFPyvcW23eEpVGHYQ6H2r4j/zFP7ofMyUnam1o9X
 vBIik78rT8/+7uuWt5G22ew2WV6Iih+I6sDt4sgxG7keGCL71urG2+YD+ncLdK0ExJ
 qbStY73S/nLN3pFRCDeCpj+5KvsrVO42tf7ua3d0pj1j4sHFpo8iF2vVSxPkZXNx5/
 IJZnHy81trc0OTro1jJ8tPXPWaKqr1tCWh2Dms2EKSXI4coMDmFMYy/UgZP8KsYaV4
 pnVMaPJW8v9xA==
Date: Sat, 15 Feb 2025 20:22:52 +0000
From: Pip Cet <pipcet@HIDDEN>
Message-ID: <87zfingdqg.fsf@HIDDEN>
In-Reply-To: <861pvzuji1.fsf@HIDDEN>
References: <CAOR1sLx5vgQv4cterAyzW_Ct5xZ03+MjkNQaM-ir_GD4u+FSHA@HIDDEN>
 <86a5ane7ss.fsf@HIDDEN> <87y0y7id0b.fsf@HIDDEN>
 <87o6z3tkoz.fsf@HIDDEN> <87h64vhzs7.fsf@HIDDEN>
 <861pvzuji1.fsf@HIDDEN>
Feedback-ID: 112775352:user:proton
X-Pm-Message-ID: 0eb9be7ed65915bd95c8fd84974be1f6785bcf92
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Arsen Arsenovi=C4=87 <arsen@HIDDEN> writes:
>> https://gitlab.gnome.org/GNOME/gtk/-/issues/7337 appears to have been
>> opened by Arsen Arsenovic a while ago.  No response so far, but it
>> describes the problem accurately.
>
> It's been just about a day, not too long, and it's weekend ;P
>
>> Thanks, Arsen!
>
> No problem!
>
>> (I would have linked the issue but gitlab.gnome.org is not letting me
>> create an account, so I won't).
>
> Try https://register.gitlab.gnome.org/ - it worked for me.

Not for me.  Various CloudFlare/"security" errors always culminating in
a "your account request has been rejected" message.

> I've a workaround locally.  I didn't want to post it because it's an
> ugly hack and I expected to submit a fix upstream at some point soon

Oh. No such qualms here, I posted what I hope is the same workaround a
while back, but then I saw Po Lu's announcement that he's going to
install one, so I think I'll just wait for that.

> (plus, KDE 6.3 just came out so I figured few people would hit this):

I thought it might have been the recent conversion of
make_formatted_string to doprnt.c, which crashes on NULL strings.  Good
to know it's something else :-)

Thanks again
Pip






Last modified: Sat, 15 Feb 2025 20:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.