<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>I believe I am experiencing the same issue. It may be causing
      problems with x11rb; <a
href="https://github.com/zed-industries/zed/issues/29083#issuecomment-2907005604">see
        related issue with Zed</a> which led me to look in this
      direction. <br>
    </p>
    <p>I have followed the "HowToGetABacktrace" page and installed debug
      symbols that I think are relevant. I have a bunch of coredumps
      available via systemd-coredump. </p>
    <p>Here's my dmesg segfault:</p>
    <p>[  284.036140] ibus-x11[2813]: segfault at 2ce ip
      00007f0c79604356 sp 00007ffe766e79b0 error 4 in
      libgdk-3.so.0.2417.32[9c356,7f0c79596000+87000] likely on CPU 5
      (core 2, socket 0)<br>
      [  284.036175] Code: 4c 89 0c 24 e8 db f0 ff ff 44 8b 54 24 18 41
      81 e2 ff 9f ff ff 45 09 d4 44 3a 68 0c 0f 82 c2 01 00 00 48 8b 78
      20 41 0f b6 cd <48> 8b 57 20 48 8d 0c ca 44 0f b6 41 04 44
      89 c6 83 e6 0f 44 38 68<br>
    </p>
    <p>Here's the info for the coredump I'll show the backtrace of
      below:</p>
    <p><span style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;"> </span></span>         
      PID: 2887 (ibus-x11)
      <br>
                UID: 1000 (matt)
      <br>
                GID: 1000 (matt)
      <br>
             Signal: 6 (ABRT)
      <br>
          Timestamp: Sun 2025-05-25 11:03:15 ADT (22min ago)
      <br>
       Command Line: /usr/libexec/ibus-x11 --kill-daemon
      <br>
         Executable: /usr/libexec/ibus-x11
      <br>
      Control Group: /user.slice/user-1000.slice/session-3.scope
      <br>
               Unit: session-3.scope
      <br>
              Slice: user-1000.slice
      <br>
            Session: 3
      <br>
          Owner UID: 1000 (matt)
      <br>
            Boot ID: ------<br>
         Machine ID: -----<br>
           Hostname: ------<br>
            Storage:
/var/lib/systemd/coredump/core.ibus-x11.1000.e378e9f2f3cb4de889a510235a84ae60.2887.1748181795000000.zst
      (present)
      <br>
       Size on Disk: 1.6M
      <br>
            Message: Process 2887 (ibus-x11) of user 1000 dumped core.<span
        style="font-family:monospace"><br>
        <span style="color:#000000;background-color:#ffffff;">
        </span></span><span style="font-family:monospace"><br>
      </span></p>
    <p>Here's a backtrace from the same:</p>
    <p>(gdb) bt
      <br>
      #0  __pthread_kill_implementation (threadid=<optimized out>,
      signo=signo@entry=6, no_tid=no_tid@entry=0)
      <br>
         at ./nptl/pthread_kill.c:44
      <br>
      #1  0x00007f019578d9ff in __pthread_kill_internal
      (threadid=<optimized out>, signo=6)
      <br>
         at ./nptl/pthread_kill.c:89
      <br>
      #2  0x00007f0195738cc2 in __GI_raise (sig=sig@entry=6) at
      ../sysdeps/posix/raise.c:26
      <br>
      #3  0x00007f01957214ac in __GI_abort () at ./stdlib/abort.c:73
      <br>
      #4  0x00007f0195722291 in __libc_message_impl
      (fmt=fmt@entry=0x7f01958a432d "%s\n")
      <br>
         at ../sysdeps/posix/libc_fatal.c:134
      <br>
      #5  0x00007f0195797465 in malloc_printerr
      <br>
         (str=str@entry=0x7f01958a74d0 "corrupted size vs. prev_size in
      fastbins") at ./malloc/malloc.c:5829
      <br>
      #6  0x00007f019579802c in malloc_consolidate
      (av=av@entry=0x7f01958e0ac0 <main_arena>)
      <br>
         at ./malloc/malloc.c:4924
      <br>
      #7  0x00007f019579a858 in _int_malloc (av=av@entry=0x7f01958e0ac0
      <main_arena>, bytes=bytes@entry=2560)
      <br>
         at ./malloc/malloc.c:4099<br>
    </p>
    <p>#8  0x00007f019579cf47 in __libc_calloc (n=n@entry=2560,
      elem_size=elem_size@entry=1)
      <br>
         at ./malloc/malloc.c:3844
      <br>
      #9  0x00005616353bf94b in _Xi18nChangeIC
      <br>
      --Type <RET> for more, q to quit, c to continue without
      paging--  <br>
         (ims=ims@entry=0x56164b8ae4d0,
      call_data=call_data@entry=0x7ffdd1fb72c0, p=p@entry=0x56164ba744c4
      "\001", <br>
      create_flag=create_flag@entry=0) at ./util/IMdkit/i18nIc.c:697
      <br>
      #10 0x00005616353bdebc in SetICValuesMessageProc
      <br>
         (ims=0x56164b8ae4d0, call_data=0x7ffdd1fb72c0, p=0x56164ba744c4
      "\001") at ./util/IMdkit/i18nPtHdr.c:923
      <br>
      #11 _Xi18nMessageHandler
      <br>
         (ims=ims@entry=0x56164b8ae4d0, connect_id=1,
      p=p@entry=0x56164ba744c0 "6", delete=delete@entry=0x7ffdd1fb7<br>
      510) at ./util/IMdkit/i18nPtHdr.c:1849
      <br>
      #12 0x00005616353b7f3b in WaitXIMProtocol
      <br>
         (dpy=<optimized out>, win=<optimized out>,
      ev=<optimized out>, client_data=0x56164b8ae4d0
      "@a<5\026V")
      <br>
         at ./util/IMdkit/i18nX.c:524
      <br>
      #13 0x00007f0195c923d6 in _gdk_x11_display_queue_events
      (display=0x56164b7fdb00 [GdkX11Display])
      <br>
         at ../../../gdk/x11/gdkeventsource.c:337</p>
    <p>#14 0x00007f0195c36e24 in gdk_display_get_event
      (display=display@entry=0x56164b7fdb00 [GdkX11Display])
      <br>
         at ../../../gdk/gdkdisplay.c:442
      <br>
      #15 0x00007f0195c92216 in gdk_event_source_dispatch
      <br>
         (source=<optimized out>, callback=<optimized out>,
      user_data=<optimized out>)
      <br>
         at ../../../gdk/x11/gdkeventsource.c:363  <br>
      #16 0x00007f0195a9c345 in g_main_dispatch
      (context=context@entry=0x56164b8a0000)
      <br>
         at ../../../glib/gmain.c:3398
      <br>
      #17 0x00007f0195a9e577 in g_main_context_dispatch_unlocked
      (context=0x56164b8a0000)
      <br>
         at ../../../glib/gmain.c:4249
      <br>
      #18 g_main_context_iterate_unlocked
      <br>
         (context=0x56164b8a0000, block=block@entry=1,
      dispatch=dispatch@entry=1, self=<optimized out>)
      <br>
         at ../../../glib/gmain.c:4314
      <br>
      #19 0x00007f0195a9efdf in g_main_loop_run (loop=0x7f01580025f0) at
      ../../../glib/gmain.c:4516
      <br>
      #20 0x00007f0195d4d650 in ibus_main () at ./src/ibusshare.c:415
      <br>
      #21 0x00005616353b2c7c in main (argc=<optimized out>,
      argv=<optimized out>) at ./client/x11/main.c:1456<br>
      <span style="font-family:monospace"><br>
      </span></p>
    <p><span style="font-family:monospace"><br>
      </span></p>
    <div class="moz-signature">-- <br>
      <b style="color: rgb(18, 190, 224);">Matthew Scheffel</b> |
      Software Developer<br>
      52 Townshend Avenue, Amherst, Nova Scotia, B4H 4N6<br>
      <b style="color: rgb(18, 190, 224);">Cell</b>: 1 (647) 230-4773 <b
        style="color: rgb(18, 190, 224);">E-mail</b>: <a class="moz-txt-link-abbreviated" href="mailto:matt@dataheck.com">matt@dataheck.com</a><br>
      <br>
      DATAHECK.COM | 🦀 🐍</div>
  </body>
</html>