joaotavora / eglot

A client for Language Server Protocol servers
GNU General Public License v3.0
2.21k stars 203 forks source link

emacs crashes with segfault #1412

Closed DaKnig closed 3 weeks ago

DaKnig commented 3 weeks ago

when running eglot in my project and pressing some buttons, for example Conn then waiting a few seconds makes eglot freeze, then emacs dies to segfault. backrace below, from coredumpctl.

#0  0x00007f3cea54d144 in __pthread_kill_implementation () at /lib64/libc.so.6
#1  0x00007f3cea4f565e in raise () at /lib64/libc.so.6
#2  0x000000000046fe75 in terminate_due_to_signal ()
#3  0x0000000000470c18 in handle_fatal_signal.lto_priv ()
#4  0x000000000074b784 in deliver_thread_signal.constprop ()
#5  0x00007f3cea4f5710 in <signal handler called> () at /lib64/libc.so.6
#6  0x00000000005d10fc in parse_modifiers ()
#7  0x00000000005e7c88 in access_keymap_1.lto_priv ()
#8  0x00000000005d68da in read_char ()
#9  0x00000000006a08ea in read_filtered_event.lto_priv ()
#10 0x00007f3ce3af02ff in F7369742d666f72_sit_for_0 () at /usr/bin/../lib64/emacs/29.3/native-lisp/29.3-df28c5ff/preloaded/subr-13adf6a6-bfb9f448.eln
#11 0x000000000067901d in Ffuncall ()
#12 0x00007f3cd02f22c4 in F6a736f6e7270632d72657175657374_jsonrpc_request_0 ()
    at /usr/lib64/emacs/29.3/native-lisp/29.3-df28c5ff/jsonrpc-e62a9c36-62ae7160.eln
#13 0x000000000067901d in Ffuncall ()
#14 0x0000000000679720 in Fapply ()
#15 0x00000000006c324c in exec_byte_code ()
#16 0x000000000067901d in Ffuncall ()
#17 0x000000000060d2e2 in Fall_completions ()
#18 0x00007f3ce3a92a67 in F636f6d706c6574696f6e2d70636d2d2d616c6c2d636f6d706c6574696f6e73_completion_pcm__all_completions_0 ()
    at /usr/bin/../lib64/emacs/29.3/native-lisp/29.3-df28c5ff/preloaded/minibuffer-1b0f548b-25462d74.eln
#19 0x000000000067901d in Ffuncall ()
#20 0x00007f3ce3a95f86 in F636f6d706c6574696f6e2d737562737472696e672d2d616c6c2d636f6d706c6574696f6e73_completion_substring__all_completions_0 ()
    at /usr/bin/../lib64/emacs/29.3/native-lisp/29.3-df28c5ff/preloaded/minibuffer-1b0f548b-25462d74.eln
#21 0x000000000067901d in Ffuncall ()
#22 0x00007f3ce3a96a16 in F636f6d706c6574696f6e2d666c65782d616c6c2d636f6d706c6574696f6e73_completion_flex_all_completions_0 ()
    at /usr/bin/../lib64/emacs/29.3/native-lisp/29.3-df28c5ff/preloaded/minibuffer-1b0f548b-25462d74.eln
#23 0x00000000006c324c in exec_byte_code ()
#24 0x000000000067901d in Ffuncall ()
#25 0x00007f3ce3a7f852 in F636f6d706c6574696f6e2d2d736f6d65_completion__some_0 ()
    at /usr/bin/../lib64/emacs/29.3/native-lisp/29.3-df28c5ff/preloaded/minibuffer-1b0f548b-25462d74.eln
--Type <RET> for more, q to quit, c to continue without paging--c
#26 0x000000000067901d in Ffuncall ()
#27 0x00007f3ce3a84914 in F636f6d706c6574696f6e2d2d6e74682d636f6d706c6574696f6e_completion__nth_completion_0 ()
    at /usr/bin/../lib64/emacs/29.3/native-lisp/29.3-df28c5ff/preloaded/minibuffer-1b0f548b-25462d74.eln
#28 0x000000000067901d in Ffuncall ()
#29 0x00007f3ce3a84cd0 in F636f6d706c6574696f6e2d616c6c2d636f6d706c6574696f6e73_completion_all_completions_0 ()
    at /usr/bin/../lib64/emacs/29.3/native-lisp/29.3-df28c5ff/preloaded/minibuffer-1b0f548b-25462d74.eln
#30 0x000000000067901d in Ffuncall ()
#31 0x00007f3cd015964d in F636f6d70616e792d636170662d2d63616e646964617465732d31_company_capf__candidates_1_0 ()
    at /home/dudeguy/.config/emacs/eln-cache/29.3-df28c5ff/company-capf-5c5e0ed0-0ccac283.eln
#32 0x000000000067901d in Ffuncall ()
#33 0x00007f3cd0158fac in F636f6d70616e792d636170662d2d63616e64696461746573_company_capf__candidates_0 ()
    at /home/dudeguy/.config/emacs/eln-cache/29.3-df28c5ff/company-capf-5c5e0ed0-0ccac283.eln
#34 0x000000000067901d in Ffuncall ()
#35 0x00007f3cd0157a5f in F636f6d70616e792d63617066_company_capf_0 ()
    at /home/dudeguy/.config/emacs/eln-cache/29.3-df28c5ff/company-capf-5c5e0ed0-0ccac283.eln
#36 0x000000000067901d in Ffuncall ()
#37 0x0000000000679720 in Fapply ()
#38 0x000000000067901d in Ffuncall ()
#39 0x00007f3cd0189342 in F636f6d70616e792d63616c6c2d6261636b656e642d726177_company_call_backend_raw_0 ()
    at /home/dudeguy/.config/emacs/eln-cache/29.3-df28c5ff/company-ec588397-b64d4357.eln
#40 0x000000000067901d in Ffuncall ()
#41 0x00007f3cd018cfb2 in F636f6d70616e792d2d66657463682d63616e64696461746573_company__fetch_candidates_0 ()
    at /home/dudeguy/.config/emacs/eln-cache/29.3-df28c5ff/company-ec588397-b64d4357.eln
#42 0x000000000067901d in Ffuncall ()
#43 0x00007f3cd018c9ca in F636f6d70616e792d63616c63756c6174652d63616e64696461746573_company_calculate_candidates_0 ()
    at /home/dudeguy/.config/emacs/eln-cache/29.3-df28c5ff/company-ec588397-b64d4357.eln
#44 0x000000000067901d in Ffuncall ()
#45 0x00007f3cd0191994 in F636f6d70616e792d2d626567696e2d6e6577_company__begin_new_0 ()
    at /home/dudeguy/.config/emacs/eln-cache/29.3-df28c5ff/company-ec588397-b64d4357.eln
#46 0x000000000067901d in Ffuncall ()
#47 0x00007f3cd0191d5d in F636f6d70616e792d2d706572666f726d_company__perform_0 ()
    at /home/dudeguy/.config/emacs/eln-cache/29.3-df28c5ff/company-ec588397-b64d4357.eln
#48 0x000000000067901d in Ffuncall ()
#49 0x00007f3cd018ffc7 in F636f6d70616e792d6175746f2d626567696e_company_auto_begin_0 ()
    at /home/dudeguy/.config/emacs/eln-cache/29.3-df28c5ff/company-ec588397-b64d4357.eln
#50 0x000000000067901d in Ffuncall ()
#51 0x00007f3cd018fdb4 in F636f6d70616e792d69646c652d626567696e_company_idle_begin_0 ()
    at /home/dudeguy/.config/emacs/eln-cache/29.3-df28c5ff/company-ec588397-b64d4357.eln
#52 0x000000000067901d in Ffuncall ()
#53 0x0000000000679720 in Fapply ()
#54 0x000000000067901d in Ffuncall ()
#55 0x00007f3ce3721f60 in F74696d65722d6576656e742d68616e646c6572_timer_event_handler_0 ()
    at /usr/bin/../lib64/emacs/29.3/native-lisp/29.3-df28c5ff/preloaded/timer-3ee7cfd9-226b3dc9.eln
#56 0x000000000067901d in Ffuncall ()
#57 0x00000000005ceae5 in timer_check ()
#58 0x00000000005cf0bd in readable_events.lto_priv ()
#59 0x00000000005d95a0 in get_input_pending.lto_priv ()
#60 0x00000000006dab6f in wait_reading_process_output ()
#61 0x000000000048ce3e in sit_for ()
#62 0x00000000005d7689 in read_char ()
#63 0x00000000005de8c3 in read_key_sequence.lto_priv ()
#64 0x00000000005cac85 in command_loop_1.lto_priv ()
#65 0x000000000066717e in internal_condition_case ()
#66 0x00000000005ca1e6 in command_loop_2 ()
#67 0x00000000006670d7 in internal_catch ()
#68 0x00000000005ca643 in command_loop ()
#69 0x00000000005ca73f in recursive_edit_1 ()
#70 0x00000000005ca92d in Frecursive_edit ()
#71 0x0000000000480fff in main ()