unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [MPS-test] scratch/igc branch (commit: 42731228d24) crashed
@ 2024-08-05 15:00 Eval Exec
  2024-08-05 15:12 ` Gerd Möllmann
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Eval Exec @ 2024-08-05 15:00 UTC (permalink / raw)
  To: emacs-devel

Hello,

I wanted to help test the scratch/igc branch, so I compiled it from
commit 42731228d24.

Then I build it by
```bash
make extraclean
./autogen.sh \
  && ./configure \
  --prefix=$(realpath ../emacs-build)\
  --with-mps \
  --with-imagemagick \
  --with-modules --with-x-toolkit=lucid --without-compress-install \
  --without-toolkit-scroll-bars --with-native-compilation  --with-mailutils\
  --with-tree-sitter --with-xinput2  \
  --with-dbus  --with-native-compilation=aot \
  --with-file-notification=inotify\
  && make -j20 install

```

It works perfectly for the first hour, but then it crashes, and I
don't know how to reproduce the issue.

I think the crash is caused by "window size adjustments"
```
(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
#33 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
#34 0x00000000005daee4 in Ffuncall (nargs=nargs@entry=2,
args=args@entry=0x7ffced20e850) at eval.c:3114
#35 0x00000000005e6f77 in mapcar1 (leni=1, vals=vals@entry=0x0,
fn=fn@entry=0x7f472e3ff99d, seq=seq@entry=0x7f472e3ff963) at
fns.c:3369
#36 0x00000000005e9f30 in Fmapc (function=0x7f472e3ff99d,
sequence=0x7f472e3ff963) at fns.c:3506
#37 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
#38 0x00000000005daee4 in Ffuncall (nargs=nargs@entry=3,
args=0x7ffced20e9b0) at eval.c:3114
#39 0x00000000005db238 in Fapply (nargs=nargs@entry=2,
args=args@entry=0x7ffced20ea60) at eval.c:2786
#40 0x00000000005db551 in apply1 (fn=<optimized out>, arg=<optimized
out>) at eval.c:3002
#41 0x00000000005d981c in internal_condition_case_1
(bfun=bfun@entry=0x6345b0 <read_process_output_call>,
arg=0x7f472e3fba73, handlers=handlers@entry=0xa8,
    hfun=hfun@entry=0x6344f0 <read_process_output_error_handler>) at eval.c:1657
#42 0x00000000006374e0 in read_and_dispose_of_process_output
(coding=0x36666e0, nbytes=371,
    chars=0x7f4704fff010 "Content-Length: 348\r\n\r\n#[0
\"\\303\\304\\305\\306\\307\\310\\311\\312\\313\\314F\\315\\316\\301\\300\\302\\300F\\317\\301\\320\\302\\300FFF\\257\\6\\207\"
[33 :character :line :id 984 :jsonrpc \"2.0\" :result :contents :kind
\"ma"..., p=<optimized out>) at process.c:6499
#43 read_process_output (proc=proc@entry=0x7f4727170175,
channel=channel@entry=38) at process.c:6267
#44 0x000000000063efd1 in wait_reading_process_output
(time_limit=time_limit@entry=30, nsecs=nsecs@entry=0,
read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true,
wait_for_cell=wait_for_cell@entry=0x0,
    wait_proc=wait_proc@entry=0x0, just_wait_proc=0) at process.c:5948
#45 0x000000000043827a in sit_for (timeout=timeout@entry=0x7a,
reading=reading@entry=true, display_option=display_option@entry=1) at
dispnew.c:6362
#46 0x0000000000560fc2 in read_char (commandflag=1,
map=map@entry=0x7f472e319bc3, prev_event=0x0,
used_mouse_menu=used_mouse_menu@entry=0x7ffced20f47b,
end_time=end_time@entry=0x0) at keyboard.c:2934
#47 0x0000000000561a73 in read_key_sequence
(keybuf=keybuf@entry=0x7ffced20f600, prompt=prompt@entry=0x0,
dont_downcase_last=dont_downcase_last@entry=false,
    can_return_switch_frame=can_return_switch_frame@entry=true,
fix_current_buffer=fix_current_buffer@entry=true,
prevent_redisplay=prevent_redisplay@entry=false,
disable_text_conversion_p=false) at keyboard.c:10752
#48 0x0000000000563ba8 in command_loop_1 () at keyboard.c:1440
#49 0x00000000005d978f in internal_condition_case
(bfun=bfun@entry=0x5639d0 <command_loop_1>,
handlers=handlers@entry=0xa8, hfun=hfun@entry=0x553a30 <cmd_error>) at
eval.c:1633
#50 0x000000000054ea06 in command_loop_2
(handlers=handlers@entry=0xa8) at keyboard.c:1179
--Type <RET> for more, q to quit, c to continue without paging--c
#51 0x00000000005d96b3 in internal_catch (tag=tag@entry=0x15498,
func=func@entry=0x54e9e0 <command_loop_2>, arg=arg@entry=0xa8) at
eval.c:1312
#52 0x000000000054e9a1 in command_loop () at keyboard.c:1157
#53 0x000000000055359a in recursive_edit_1 () at keyboard.c:765
#54 0x000000000055391f in Frecursive_edit () at keyboard.c:848
#55 0x000000000042d27f in main (argc=1, argv=0x7ffced20faa8) at emacs.c:2646
```



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2024-08-08 16:56 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).