From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eval Exec Newsgroups: gmane.emacs.devel Subject: [MPS-test] scratch/igc branch (commit: 42731228d24) crashed Date: Mon, 5 Aug 2024 23:00:16 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26732"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 05 17:02:49 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sazEW-0006jF-HC for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Aug 2024 17:02:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sazDu-0006SI-Ai; Mon, 05 Aug 2024 11:02:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sazCK-0004dh-7H for emacs-devel@gnu.org; Mon, 05 Aug 2024 11:00:32 -0400 Original-Received: from mail-oa1-x44.google.com ([2001:4860:4864:20::44]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sazCI-0001fH-5Z for emacs-devel@gnu.org; Mon, 05 Aug 2024 11:00:31 -0400 Original-Received: by mail-oa1-x44.google.com with SMTP id 586e51a60fabf-260f1664fdfso5251522fac.1 for ; Mon, 05 Aug 2024 08:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722870029; x=1723474829; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=dJn4nh4+ItU7IDR5mrvEe9phi1SQEyW6qz4mlS2fmAI=; b=G+bmS7jeT7ObGH0/ujvI/6vHCysbzLKKNIqOd48ekM1CVdurAbo3KxogJAKBxXFGOQ h37zGBNd011dTWWEV7NbSkfpIf/Nc+6mo+CN5T91eW3CFdSymIWzF05Brue1V1C8D+4P D5CkHOQ8yn/mGtQfHGI7zFn3qIB73iHKULk0iFPFNzODD7NjKQHXcXgURf2dg34AZJd1 L1bLVjyJQYAhhBqwIfjfj/ToptwSuas7mfEn83mJS0fwkHBvbU2W7hgbfk7ZaA27Uz1M 9eEL5JXcJHqR25CJ7IP/G8dBf4r6hBPncU1pvt0rF7qxiVvfNU5w0UdHJkd6IyM0SVdi SaYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722870029; x=1723474829; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=dJn4nh4+ItU7IDR5mrvEe9phi1SQEyW6qz4mlS2fmAI=; b=etR8gZEiwJ2mRmtxHmORvTIvoMpd5aQ8nZQ2LkucEV1gZngCzku2362C1WZGxNeBoj 5+5QRooAgrt9yx3M1jiq20IN3rgUWVIvxWOtIf1+zWx2/lTbNSmp1D5EswXlMh0Vxfbp DAOngahJj43Rt5jB1TaJfAvstB4uYxAhpj8HYLUH9UEcrXR7wQgtyXKy5M9enk5Qal6e Mdv1KdIY6lJiGDcZtwl43lEqTk7RWBQ9bz6Or9PcUCe7B4OTDnhce/F9ao27joXHiPtn PgGKfRr3+XTCmLWlGvyyjLTga02C/kaOXmMAd/IwlUGXAT1e8S8h5FNASPo7ogKJ/Jwu qoEA== X-Gm-Message-State: AOJu0YyLIyZ5wjg+D7DxBUybNZSluE/WY1k34q3wAeJDGFqd5mklIbts NDv2poaslT1pvLKFMkunB695PT6aluDzrifj9pOZLqFBg02LWqSWIkpBXG6QZNWZFdmM9Q9h2Uf T9qtW5pQv1nGN2SB3i7arVH48viai9fgd02dmiDep X-Google-Smtp-Source: AGHT+IGDwWgp3iCR2kTqFKgaUAQj0FsXekp2Y64Y18NeHFBk/fdL40djSxHPJ2/TbmeAI9uSmuEPj+C8T2zvGgZNVcQ= X-Received: by 2002:a05:6870:9a23:b0:261:1cd4:cd9b with SMTP id 586e51a60fabf-26891af6e71mr9232222fac.17.1722870028095; Mon, 05 Aug 2024 08:00:28 -0700 (PDT) Received-SPF: pass client-ip=2001:4860:4864:20::44; envelope-from=execvy@gmail.com; helo=mail-oa1-x44.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 05 Aug 2024 11:01:59 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322374 Archived-At: 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 ) at sysdep.c:1792 #5 0x000000000056f669 in deliver_fatal_thread_signal (sig=) at sysdep.c:1812 #6 #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=) at widget.c:172 #8 0x000000000069e45a in update_wm_hints (wmshell=wmshell@entry=0x395c110, ew=) at widget.c:290 #9 0x000000000069ead5 in widget_update_wm_size_hints (widget=widget@entry=0x395c110, frame=) 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=, f=0x7f4734de0268) at xterm.c:28525 #12 x_set_window_size (f=0x7f4734de0268, change_gravity=, width=1058, height=113) at xterm.c:28603 #13 0x000000000043bf21 in adjust_frame_size (f=f@entry=0x7f4734de0268, new_text_width=, new_text_width@entry=1056, new_text_height=new_text_height@entry=111, inhibit=inhibit@entry=1, pretend=pretend@entry=false, parameter=) at frame.c:784 #14 0x000000000043f705 in gui_set_frame_parameters_1 (f=0x7f4734de0268, alist=, default_parameter=default_parameter@entry=false) at frame.c:4469 #15 0x00000000004403a7 in gui_set_frame_parameters (f=, alist=) at frame.c:4561 #16 0x00000000004405eb in Fmodify_frame_parameters (frame=, alist=0x7f472e53e3b3) at frame.c:3550 #17 0x00000000005de5fb in eval_sub (form=) at eval.c:2622 #18 0x00000000005de721 in Fprogn (body=) at eval.c:452 #19 0x00000000005dfd83 in FletX (args=) at /home/exec/Projects/git.savannah.gnu.org/git/emacs/src/lisp.h:1586 #20 0x00000000005de498 in eval_sub (form=) at eval.c:2570 #21 0x00000000005de721 in Fprogn (body=) at eval.c:452 #22 0x00000000005de98f in funcall_lambda (fun=0x7f4725406215, nargs=1, arg_vector=) 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=, args_template=, nargs=, args=) 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=, args_template=, nargs=, args=) 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=, args_template=, nargs=, args=) 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=, args_template=, nargs=, args=) 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=, arg=) at eval.c:3002 #41 0x00000000005d981c in internal_condition_case_1 (bfun=bfun@entry=0x6345b0 , arg=0x7f472e3fba73, handlers=handlers@entry=0xa8, hfun=hfun@entry=0x6344f0 ) 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=) 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 , handlers=handlers@entry=0xa8, hfun=hfun@entry=0x553a30 ) at eval.c:1633 #50 0x000000000054ea06 in command_loop_2 (handlers=handlers@entry=0xa8) at keyboard.c:1179 --Type for more, q to quit, c to continue without paging--c #51 0x00000000005d96b3 in internal_catch (tag=tag@entry=0x15498, func=func@entry=0x54e9e0 , 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 ```