unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Eval Exec <execvy@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [MPS-test] scratch/igc branch (commit: 42731228d24) crashed
Date: Mon, 05 Aug 2024 18:29:42 +0300	[thread overview]
Message-ID: <8634njq97d.fsf@gnu.org> (raw)
In-Reply-To: <CAKfPJDp=qUcah_KwQpfosQqV=2G84qYwZ4AoAowSS2B-pxUVQw@mail.gmail.com> (message from Eval Exec on Mon, 5 Aug 2024 23:00:16 +0800)

> From: Eval Exec <execvy@gmail.com>
> Date: Mon, 5 Aug 2024 23:00:16 +0800
> 
> I think the crash is caused by "window size adjustments"

No, it is somehow caused by lsp-mode reading from the LSP server:

> (gdb) bt
> #0  0x00007f47afea2efc in __pthread_kill_implementation () from
> /nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6
> #1  0x00007f47afe52e86 in raise () from
> /nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libc.so.6
> #2  0x00000000004243a4 in terminate_due_to_signal (sig=sig@entry=8,
> backtrace_limit=backtrace_limit@entry=40) at emacs.c:470
> #3  0x00000000004248fc in handle_fatal_signal (sig=sig@entry=8) at sysdep.c:1800
> #4  0x000000000056f568 in deliver_thread_signal (sig=8,
> handler=0x4248f1 <handle_fatal_signal>) at sysdep.c:1792
> #5  0x000000000056f669 in deliver_fatal_thread_signal (sig=<optimized
> out>) at sysdep.c:1812
> #6  <signal handler called>
> #7  0x000000000069e35e in pixel_to_char_size
> (pixel_width=pixel_width@entry=482,
> pixel_height=pixel_height@entry=76,
> char_width=char_width@entry=0x7ffced20da38,
> char_height=char_height@entry=0x7ffced20da3c,
>     ew=<optimized out>) at widget.c:172
> #8  0x000000000069e45a in update_wm_hints
> (wmshell=wmshell@entry=0x395c110, ew=<optimized out>) at widget.c:290
> #9  0x000000000069ead5 in widget_update_wm_size_hints
> (widget=widget@entry=0x395c110, frame=<optimized out>) at widget.c:323
> #10 0x000000000051e8ae in x_wm_set_size_hint
> (f=f@entry=0x7f4734de0268, flags=flags@entry=0,
> user_position=user_position@entry=false) at xterm.c:30123
> #11 0x000000000051ee7f in x_set_window_size_1 (height=113, width=1058,
> change_gravity=<optimized out>, f=0x7f4734de0268) at xterm.c:28525
> #12 x_set_window_size (f=0x7f4734de0268, change_gravity=<optimized
> out>, width=1058, height=113) at xterm.c:28603
> #13 0x000000000043bf21 in adjust_frame_size (f=f@entry=0x7f4734de0268,
> new_text_width=<optimized out>, new_text_width@entry=1056,
> new_text_height=new_text_height@entry=111, inhibit=inhibit@entry=1,
>     pretend=pretend@entry=false, parameter=<optimized out>) at frame.c:784
> #14 0x000000000043f705 in gui_set_frame_parameters_1
> (f=0x7f4734de0268, alist=<optimized out>,
> default_parameter=default_parameter@entry=false) at frame.c:4469
> #15 0x00000000004403a7 in gui_set_frame_parameters (f=<optimized out>,
> alist=<optimized out>) at frame.c:4561
> #16 0x00000000004405eb in Fmodify_frame_parameters (frame=<optimized
> out>, alist=0x7f472e53e3b3) at frame.c:3550
> #17 0x00000000005de5fb in eval_sub (form=<optimized out>) at eval.c:2622
> #18 0x00000000005de721 in Fprogn (body=<optimized out>) at eval.c:452
> #19 0x00000000005dfd83 in FletX (args=<optimized out>) at
> /home/exec/Projects/git.savannah.gnu.org/git/emacs/src/lisp.h:1586
> #20 0x00000000005de498 in eval_sub (form=<optimized out>) at eval.c:2570
> #21 0x00000000005de721 in Fprogn (body=<optimized out>) at eval.c:452
> #22 0x00000000005de98f in funcall_lambda (fun=0x7f4725406215, nargs=1,
> arg_vector=<optimized out>) at eval.c:3371
> #23 0x00000000005daee4 in Ffuncall (nargs=2, args=0x7ffced20e230) at eval.c:3114
> #24 0x00007f4799b1cbfd in
> F6c73702d75692d646f632d2d646973706c6179_lsp_ui_doc__display_0 () from
> /home/exec/.emacs.d/eln-cache/31.0.50-2fd6718c/lsp-ui-doc-c3d98a1c-dcddc9b5.eln
> #25 0x00000000005daee4 in Ffuncall (nargs=3, args=0x7ffced20e380) at eval.c:3114
> #26 0x00007f4799b1da79 in
> F6c73702d75692d646f632d2d63616c6c6261636b_lsp_ui_doc__callback_0 ()
> from /home/exec/.emacs.d/eln-cache/31.0.50-2fd6718c/lsp-ui-doc-c3d98a1c-dcddc9b5.eln
> #27 0x000000000062735a in exec_byte_code (fun=<optimized out>,
> args_template=<optimized out>, nargs=<optimized out>, args=<optimized
> out>) at /home/exec/Projects/git.savannah.gnu.org/git/emacs/src/lisp.h:2322
> #28 0x00000000005daee4 in Ffuncall (nargs=nargs@entry=2,
> args=args@entry=0x7f479a9ff1c0) at eval.c:3114
> #29 0x00000000005db447 in Fapply (nargs=2, args=0x7f479a9ff1c0) at eval.c:2743
> #30 0x000000000062735a in exec_byte_code (fun=<optimized out>,
> args_template=<optimized out>, nargs=<optimized out>, args=<optimized
> out>) at /home/exec/Projects/git.savannah.gnu.org/git/emacs/src/lisp.h:2322
> #31 0x00000000005daee4 in Ffuncall (nargs=2, args=0x7ffced20e6e0) at eval.c:3114
> #32 0x00007f475db9485a in
> F6c73702d2d7061727365722d6f6e2d6d657373616765_lsp__parser_on_message_0
> () from /home/exec/.emacs.d/eln-cache/31.0.50-2fd6718c/lsp-mode-985690c1-6ee62a7e.eln
                                                         ^^^^^^^^

I guess no one has yet built the branch with Lucid toolkit?  Maybe the
scroll bars etc. in that build are not handled correctly?



  parent reply	other threads:[~2024-08-05 15:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-05 15:00 [MPS-test] scratch/igc branch (commit: 42731228d24) crashed Eval Exec
2024-08-05 15:12 ` Gerd Möllmann
2024-08-05 15:18   ` Eval Exec
2024-08-05 15:34     ` Gerd Möllmann
2024-08-05 15:20   ` Eval Exec
2024-08-05 15:45     ` Gerd Möllmann
2024-08-05 15:48       ` Eval Exec
2024-08-05 15:55         ` Eval Exec
2024-08-05 16:14       ` Eval Exec
2024-08-05 15:29 ` Eli Zaretskii [this message]
2024-08-05 15:33   ` Eval Exec
2024-08-05 15:47   ` Gerd Möllmann
2024-08-05 15:54     ` Eli Zaretskii
2024-08-05 16:01       ` Gerd Möllmann
2024-08-05 16:20 ` Pip Cet
2024-08-05 16:40   ` Pip Cet
2024-08-05 16:50     ` Eval Exec
2024-08-05 17:45     ` Eli Zaretskii
2024-08-05 18:00       ` Pip Cet
2024-08-05 18:19         ` Eli Zaretskii
2024-08-08 16:56     ` Eval Exec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8634njq97d.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=execvy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).