~brocellous/wlrctl#12: 
Running `wlrctl keyboard type anything` crashes XWayland

Hi! I am experiencing quite an interesting problem with wlrctl v0.2.1. When I am trying to run any keyboard action, XWayland just sort of crashes, bringing all of its apps along.

Aug 21 13:55:19 yuna systemd-coredump[230516]: [🡕] Process 229059 (Xwayland) of user 1000 dumped core.

                                               Module linux-vdso.so.1 with build-id 6fda9be5b4f401c08e4db20aaf52d4c3c3edf32c
                                               Module libpciaccess.so.0 without build-id.
                                               Module libdrm_intel.so.1 without build-id.
                                               Module libdrm_nouveau.so.2 without build-id.
                                               Module libdrm_amdgpu.so.1 without build-id.
                                               Module libelf.so.0 without build-id.
                                               Module libdrm_radeon.so.1 without build-id.
                                               Module iris_dri.so with build-id 2b0a8c03416d1f80587671f4aa5d5b06d3c2fa41
                                               Module libxml2.so.2 without build-id.
                                               Module libncursesw.so.6 without build-id.
                                               Module librt.so.1 with build-id aa557c03cca754037d7989efbbcdb6b48ef5b15a
                                               Module libstdc++.so.6 without build-id.
                                               Module libLLVM-13.so with build-id 26ea3485bd77c4edc79eb68b1682eede41474235
                                               Module libxcb-sync.so.1 without build-id.
                                               Module libxcb-present.so.0 without build-id.
                                               Module libxcb-dri3.so.0 without build-id.
                                               Module libxcb-xfixes.so.0 without build-id.
                                               Module libxcb-dri2.so.0 without build-id.
                                               Module libX11-xcb.so.1 without build-id.
                                               Module libglapi.so.0 without build-id.
                                               Module libEGL_mesa.so.0 without build-id.
                                               Module libEGL.so.1 without build-id.
                                               Module libgcc_s.so.1 without build-id.
                                               Module libxcb.so.1 without build-id.
                                               Module libresolv.so.2 with build-id f4c9e943ba5284068f54a1a08c6204b9903eaa8c
                                               Module libkeyutils.so.1 without build-id.
                                               Module libkrb5support.so.0 without build-id.
                                               Module libGLdispatch.so.0 without build-id.
                                               Module libXext.so.6 without build-id.
                                               Module libX11.so.6 without build-id.
                                               Module libGLX.so.0 without build-id.
                                               Module libcom_err.so.3 without build-id.
                                               Module libk5crypto.so.3 without build-id.
                                               Module libkrb5.so.3 without build-id.
                                               Module libgssapi_krb5.so.2 without build-id.
                                               Module libdl.so.2 with build-id e24fc32b3f8cf5d7529a7593115ddf69ea879812
                                               Module libexpat.so.1 without build-id.
                                               Module libwayland-server.so.0 with build-id 50bc855dd8ec937fbad5592eeccd4ff886de55b4
                                               Module libffi.so.8 without build-id.
                                               Module libz.so.1 without build-id.
                                               Module libpng16.so.16 without build-id.
                                               Module libbz2.so.1 without build-id.
                                               Module libfreetype.so.6 without build-id.
                                               Module libfontenc.so.1 without build-id.
                                               Module ld-linux-x86-64.so.2 with build-id a3d5b12f08868b7c28c4e98ed545a90690dcd7d9
                                               Module libpthread.so.0 with build-id b59e50cf021fdc872dc49d194c9594fe7ba48906
                                               Module libc.so.6 with build-id ea820e0850adf983a2ea0bd0002e33f891cbd95d
                                               Module libGL.so.1 without build-id.
                                               Module libXau.so.6 without build-id.
                                               Module libtirpc.so.3 without build-id.
                                               Module libcrypto.so.1.1 with build-id 8a831fbeb38ba6ac8d310e51bed2031840039e44
                                               Module libxshmfence.so.1 without build-id.
                                               Module libm.so.6 with build-id f158848ecd632c4bedb4dc6389a7d6e889914422
                                               Module libgbm.so.1 without build-id.
                                               Module libepoxy.so.0 without build-id.
                                               Module libdrm.so.2 without build-id.
                                               Module libxcvt.so.0 without build-id.
                                               Module libwayland-client.so.0 with build-id 6ec660e44c3777f72af1960048940a5a40026b83
                                               Module libXdmcp.so.6 without build-id.
                                               Module libXfont2.so.2 without build-id.
                                               Module libpixman-1.so.0 with build-id a5992cc8d962098f0f1566f39a64e9c4b579be2b
                                               Module Xwayland without build-id.
                                               Stack trace of thread 229059:
                                               #0  0x00007f19827f4bc7 __pthread_kill_implementation (libc.so.6 + 0x8abc7)
                                               <a href="/~brocellous/wlrctl/1" title="~brocellous/wlrctl#1: [PATCH] Added support for modifiers">#1</a>  0x00007f19827a7b46 raise (libc.so.6 + 0x3db46)
                                               <a href="/~brocellous/wlrctl/2" title="~brocellous/wlrctl#2: [PATCH] Added support for modifiers">#2</a>  0x00007f19827924b5 abort (libc.so.6 + 0x284b5)
                                               <a href="/~brocellous/wlrctl/3" title="~brocellous/wlrctl#3: Can&#39;t detect fullscreen">#3</a>  0x00000000005658ca OsAbort (Xwayland + 0x1658ca)
                                               <a href="/~brocellous/wlrctl/4" title="~brocellous/wlrctl#4: Compile failures on ARM platforms">#4</a>  0x000000000056a543 AbortServer (Xwayland + 0x16a543)
                                               <a href="/~brocellous/wlrctl/5" title="~brocellous/wlrctl#5: wlrctl keyboard type &#34;hello world&#34; fails with &#34;Unsupported modifier: ...&#34;">#5</a>  0x000000000056b4d6 FatalError (Xwayland + 0x16b4d6)
                                               <a href="/~brocellous/wlrctl/6" title="~brocellous/wlrctl#6: [Feature request] Type special keys (F#, Home, Insert, etc)">#6</a>  0x0000000000562c69 OsSigHandler (Xwayland + 0x162c69)
                                               <a href="/~brocellous/wlrctl/7" title="~brocellous/wlrctl#7: wlctrl keyboard type replaces [] with {} and vice versa">#7</a>  0x00007f19827a7bf0 __restore_rt (libc.so.6 + 0x3dbf0)
                                               <a href="/~brocellous/wlrctl/8" title="~brocellous/wlrctl#8: [Feature]: Support toplevel unset_fullscreen">#8</a>  0x000000000053bf79 ProcXkbGetIndicatorMap (Xwayland + 0x13bf79)
                                               <a href="/~brocellous/wlrctl/9" title="~brocellous/wlrctl#9: [Feature request] Support for window layering">#9</a>  0x000000000048fd1b Dispatch (Xwayland + 0x8fd1b)
                                               <a href="/~brocellous/wlrctl/10" title="~brocellous/wlrctl#10:  [Feature]: Add id to wlrctl">#10</a> 0x0000000000493d34 dix_main (Xwayland + 0x93d34)
                                               <a href="/~brocellous/wlrctl/11" title="~brocellous/wlrctl#11: [Feature] listen to window/toplevel events">#11</a> 0x00007f198279324e __libc_start_call_main (libc.so.6 + 0x2924e)
                                               <a href="/~brocellous/wlrctl/12" title="~brocellous/wlrctl#12: Running `wlrctl keyboard type anything` crashes XWayland">#12</a> 0x00007f1982793309 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x29309)
                                               <a href="/~brocellous/wlrctl/13" title="~brocellous/wlrctl#13: Undeclared dependencies and first-run experience">#13</a> 0x000000000041b525 _start (Xwayland + 0x1b525)

                                               Stack trace of thread 229079:
                                               #0  0x00007f19827ef7d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5)
                                               <a href="/~brocellous/wlrctl/1" title="~brocellous/wlrctl#1: [PATCH] Added support for modifiers">#1</a>  0x00007f19827f2202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202)
                                               <a href="/~brocellous/wlrctl/2" title="~brocellous/wlrctl#2: [PATCH] Added support for modifiers">#2</a>  0x00007f1980940eab util_queue_thread_func (iris_dri.so + 0xbbeab)
                                               <a href="/~brocellous/wlrctl/3" title="~brocellous/wlrctl#3: Can&#39;t detect fullscreen">#3</a>  0x00007f1980940af7 impl_thrd_routine (iris_dri.so + 0xbbaf7)
                                               <a href="/~brocellous/wlrctl/4" title="~brocellous/wlrctl#4: Compile failures on ARM platforms">#4</a>  0x00007f19827f2e86 start_thread (libc.so.6 + 0x88e86)
                                               <a href="/~brocellous/wlrctl/5" title="~brocellous/wlrctl#5: wlrctl keyboard type &#34;hello world&#34; fails with &#34;Unsupported modifier: ...&#34;">#5</a>  0x00007f1982879c60 __clone3 (libc.so.6 + 0x10fc60)

                                               Stack trace of thread 229080:
                                               #0  0x00007f19827ef7d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5)
                                               <a href="/~brocellous/wlrctl/1" title="~brocellous/wlrctl#1: [PATCH] Added support for modifiers">#1</a>  0x00007f19827f2202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202)
                                               <a href="/~brocellous/wlrctl/2" title="~brocellous/wlrctl#2: [PATCH] Added support for modifiers">#2</a>  0x00007f1980940eab util_queue_thread_func (iris_dri.so + 0xbbeab)
                                               <a href="/~brocellous/wlrctl/3" title="~brocellous/wlrctl#3: Can&#39;t detect fullscreen">#3</a>  0x00007f1980940af7 impl_thrd_routine (iris_dri.so + 0xbbaf7)
                                               <a href="/~brocellous/wlrctl/4" title="~brocellous/wlrctl#4: Compile failures on ARM platforms">#4</a>  0x00007f19827f2e86 start_thread (libc.so.6 + 0x88e86)
                                               <a href="/~brocellous/wlrctl/5" title="~brocellous/wlrctl#5: wlrctl keyboard type &#34;hello world&#34; fails with &#34;Unsupported modifier: ...&#34;">#5</a>  0x00007f1982879c60 __clone3 (libc.so.6 + 0x10fc60)

                                               Stack trace of thread 229081:
                                               #0  0x00007f19827ef7d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5)
                                               <a href="/~brocellous/wlrctl/1" title="~brocellous/wlrctl#1: [PATCH] Added support for modifiers">#1</a>  0x00007f19827f2202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202)
                                               <a href="/~brocellous/wlrctl/2" title="~brocellous/wlrctl#2: [PATCH] Added support for modifiers">#2</a>  0x00007f1980940eab util_queue_thread_func (iris_dri.so + 0xbbeab)
                                               <a href="/~brocellous/wlrctl/3" title="~brocellous/wlrctl#3: Can&#39;t detect fullscreen">#3</a>  0x00007f1980940af7 impl_thrd_routine (iris_dri.so + 0xbbaf7)
                                               <a href="/~brocellous/wlrctl/4" title="~brocellous/wlrctl#4: Compile failures on ARM platforms">#4</a>  0x00007f19827f2e86 start_thread (libc.so.6 + 0x88e86)
                                               <a href="/~brocellous/wlrctl/5" title="~brocellous/wlrctl#5: wlrctl keyboard type &#34;hello world&#34; fails with &#34;Unsupported modifier: ...&#34;">#5</a>  0x00007f1982879c60 __clone3 (libc.so.6 + 0x10fc60)

                                               Stack trace of thread 229082:
                                               #0  0x00007f19827ef7d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5)
                                               <a href="/~brocellous/wlrctl/1" title="~brocellous/wlrctl#1: [PATCH] Added support for modifiers">#1</a>  0x00007f19827f2202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202)
                                               <a href="/~brocellous/wlrctl/2" title="~brocellous/wlrctl#2: [PATCH] Added support for modifiers">#2</a>  0x00007f1980940eab util_queue_thread_func (iris_dri.so + 0xbbeab)
                                               <a href="/~brocellous/wlrctl/3" title="~brocellous/wlrctl#3: Can&#39;t detect fullscreen">#3</a>  0x00007f1980940af7 impl_thrd_routine (iris_dri.so + 0xbbaf7)
                                               <a href="/~brocellous/wlrctl/4" title="~brocellous/wlrctl#4: Compile failures on ARM platforms">#4</a>  0x00007f19827f2e86 start_thread (libc.so.6 + 0x88e86)
                                               <a href="/~brocellous/wlrctl/5" title="~brocellous/wlrctl#5: wlrctl keyboard type &#34;hello world&#34; fails with &#34;Unsupported modifier: ...&#34;">#5</a>  0x00007f1982879c60 __clone3 (libc.so.6 + 0x10fc60)

                                               Stack trace of thread 229084:
                                               #0  0x00007f19827ef7d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5)
                                               <a href="/~brocellous/wlrctl/1" title="~brocellous/wlrctl#1: [PATCH] Added support for modifiers">#1</a>  0x00007f19827f2202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202)
                                               <a href="/~brocellous/wlrctl/2" title="~brocellous/wlrctl#2: [PATCH] Added support for modifiers">#2</a>  0x00007f1980940eab util_queue_thread_func (iris_dri.so + 0xbbeab)
                                               <a href="/~brocellous/wlrctl/3" title="~brocellous/wlrctl#3: Can&#39;t detect fullscreen">#3</a>  0x00007f1980940af7 impl_thrd_routine (iris_dri.so + 0xbbaf7)
                                               <a href="/~brocellous/wlrctl/4" title="~brocellous/wlrctl#4: Compile failures on ARM platforms">#4</a>  0x00007f19827f2e86 start_thread (libc.so.6 + 0x88e86)
                                               <a href="/~brocellous/wlrctl/5" title="~brocellous/wlrctl#5: wlrctl keyboard type &#34;hello world&#34; fails with &#34;Unsupported modifier: ...&#34;">#5</a>  0x00007f1982879c60 __clone3 (libc.so.6 + 0x10fc60)

                                               Stack trace of thread 229083:
                                               #0  0x00007f19827ef7d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5)
                                               <a href="/~brocellous/wlrctl/1" title="~brocellous/wlrctl#1: [PATCH] Added support for modifiers">#1</a>  0x00007f19827f2202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202)
                                               <a href="/~brocellous/wlrctl/2" title="~brocellous/wlrctl#2: [PATCH] Added support for modifiers">#2</a>  0x00007f1980940eab util_queue_thread_func (iris_dri.so + 0xbbeab)
                                               <a href="/~brocellous/wlrctl/3" title="~brocellous/wlrctl#3: Can&#39;t detect fullscreen">#3</a>  0x00007f1980940af7 impl_thrd_routine (iris_dri.so + 0xbbaf7)
                                               <a href="/~brocellous/wlrctl/4" title="~brocellous/wlrctl#4: Compile failures on ARM platforms">#4</a>  0x00007f19827f2e86 start_thread (libc.so.6 + 0x88e86)
                                               <a href="/~brocellous/wlrctl/5" title="~brocellous/wlrctl#5: wlrctl keyboard type &#34;hello world&#34; fails with &#34;Unsupported modifier: ...&#34;">#5</a>  0x00007f1982879c60 __clone3 (libc.so.6 + 0x10fc60)

                                               Stack trace of thread 229086:
                                               #0  0x00007f19827ef7d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5)
                                               <a href="/~brocellous/wlrctl/1" title="~brocellous/wlrctl#1: [PATCH] Added support for modifiers">#1</a>  0x00007f19827f2202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202)
                                               <a href="/~brocellous/wlrctl/2" title="~brocellous/wlrctl#2: [PATCH] Added support for modifiers">#2</a>  0x00007f1980940eab util_queue_thread_func (iris_dri.so + 0xbbeab)
                                               <a href="/~brocellous/wlrctl/3" title="~brocellous/wlrctl#3: Can&#39;t detect fullscreen">#3</a>  0x00007f1980940af7 impl_thrd_routine (iris_dri.so + 0xbbaf7)
                                               <a href="/~brocellous/wlrctl/4" title="~brocellous/wlrctl#4: Compile failures on ARM platforms">#4</a>  0x00007f19827f2e86 start_thread (libc.so.6 + 0x88e86)
                                               <a href="/~brocellous/wlrctl/5" title="~brocellous/wlrctl#5: wlrctl keyboard type &#34;hello world&#34; fails with &#34;Unsupported modifier: ...&#34;">#5</a>  0x00007f1982879c60 __clone3 (libc.so.6 + 0x10fc60)

                                               Stack trace of thread 229085:
                                               #0  0x00007f19827ef7d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5)
                                               <a href="/~brocellous/wlrctl/1" title="~brocellous/wlrctl#1: [PATCH] Added support for modifiers">#1</a>  0x00007f19827f2202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202)
                                               <a href="/~brocellous/wlrctl/2" title="~brocellous/wlrctl#2: [PATCH] Added support for modifiers">#2</a>  0x00007f1980940eab util_queue_thread_func (iris_dri.so + 0xbbeab)
                                               <a href="/~brocellous/wlrctl/3" title="~brocellous/wlrctl#3: Can&#39;t detect fullscreen">#3</a>  0x00007f1980940af7 impl_thrd_routine (iris_dri.so + 0xbbaf7)
                                               <a href="/~brocellous/wlrctl/4" title="~brocellous/wlrctl#4: Compile failures on ARM platforms">#4</a>  0x00007f19827f2e86 start_thread (libc.so.6 + 0x88e86)
                                               <a href="/~brocellous/wlrctl/5" title="~brocellous/wlrctl#5: wlrctl keyboard type &#34;hello world&#34; fails with &#34;Unsupported modifier: ...&#34;">#5</a>  0x00007f1982879c60 __clone3 (libc.so.6 + 0x10fc60)
                                               ELF object binary architecture: AMD x86-64
Status
REPORTED
Submitter
~cab
Assigned to
No-one
Submitted
2 years ago
Updated
2 years ago
Labels
No labels applied.

~cab 2 years ago

Oh yeah, wow, sourcehut pre implementation is solid.

Register here or Log in to comment, or comment via email.