Skip to content

XIM: crash when restart fcitx5 #455

Closed

Description

@quininer
(lldb) run
Process 10240 launched: './target/debug/xim' (x86_64)
'中'
'文'
Process 10240 stopped
* thread #1, name = 'xim', stop reason = signal SIGSEGV: invalid address (fault address: 0xc)
    frame #0: 0x000000000000000c
error: memory read failed for 0x0
(lldb) bt
* thread #1, name = 'xim', stop reason = signal SIGSEGV: invalid address (fault address: 0xc)
  * frame #0: 0x000000000000000c
    frame #1: 0x000055555558528c xim`winit::platform::platform::x11::util::Ime::focus::hbfa261f0340a32c8(self=&0x7ffff6a4e730) at util.rs:433
    frame #2: 0x0000555555575416 xim`winit::platform::platform::x11::EventsLoop::process_event::h85eff9d31b0a72a9(self=&0x7fffffffac20, xev=&0x7fffffffaa88, callback=&0x7fffffffab50) at mod.rs:740
    frame #3: 0x000055555557130d xim`winit::platform::platform::x11::EventsLoop::run_forever::h6b17eaaf1b8e99f9(self=&0x7fffffffac20, callback=closure {

}) at mod.rs:198
    frame #4: 0x000055555556896c xim`winit::platform::platform::EventsLoop::run_forever::h0c8a88fe33696cf5(self=&0x7fffffffac18, callback=closure {

}) at mod.rs:415
    frame #5: 0x000055555556c1e5 xim`winit::EventsLoop::run_forever::h5f211e87314dd7ff(self=&0x7fffffffac18, callback=closure {

}) at lib.rs:231
    frame #6: 0x0000555555568aec xim`xim::main::he30972e73ceb8176 at main.rs:22
    frame #7: 0x000055555556c992 xim`std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hc9af16270bd23cea at rt.rs:74
    frame #8: 0x00005555556cf5e8 xim`std::panicking::try::do_call::h1fa5723294be8945 [inlined] std::rt::lang_start_internal::_$u7b$$u7b$closure$u7d$$u7d$::h0c81b3aba8d97d61 at rt.rs:59
    frame #9: 0x00005555556cf5dc xim`std::panicking::try::do_call::h1fa5723294be8945 at panicking.rs:306
    frame #10: 0x00005555556df22f xim`__rust_maybe_catch_panic at lib.rs:102
    frame #11: 0x00005555556c8496 xim`std::rt::lang_start_internal::hb77963e32cb566da [inlined] std::panicking::try::haa6d3d8e691373ac at panicking.rs:285
    frame #12: 0x00005555556c8460 xim`std::rt::lang_start_internal::hb77963e32cb566da [inlined] std::panic::catch_unwind::h48b33a2de2f7dd38 at panic.rs:361
    frame #13: 0x00005555556c8460 xim`std::rt::lang_start_internal::hb77963e32cb566da at rt.rs:58
    frame #14: 0x000055555556c972 xim`std::rt::lang_start::h863f61b00259401f(main=&0x555555568980, argc=1, argv=&0x7fffffffe298) at rt.rs:74
    frame #15: 0x0000555555568b7e xim`main + 46
    frame #16: 0x00007ffff7200f4a libc.so.6`__libc_start_main + 234
    frame #17: 0x000055555556424a xim`_start + 42

Activity

  1. added
    DS - x11
    B - bug
    on Apr 10, 2018
  2. francesca64 commented on Apr 10, 2018

    @francesca64
    Member

    Does this happen with #451?

  3. quininer commented on Apr 10, 2018

    @quininer
    Author

    No, it works well! 🎉

  4. added a commit that references this issue on Apr 11, 2018
    09c8090
  5. added a commit that references this issue on Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    B - bugDS - x11

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions