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: Re: [MPS-test] scratch/igc branch (commit: 42731228d24) crashed Date: Mon, 5 Aug 2024 23:20:42 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5411"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 05 17:26:27 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 1sazbP-0001Eo-OE for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Aug 2024 17:26:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sazat-0008Ap-FU; Mon, 05 Aug 2024 11:26:00 -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 1sazW6-0002pw-Vw for emacs-devel@gnu.org; Mon, 05 Aug 2024 11:21:00 -0400 Original-Received: from mail-oa1-x42.google.com ([2001:4860:4864:20::42]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sazW5-00052I-BH for emacs-devel@gnu.org; Mon, 05 Aug 2024 11:20:58 -0400 Original-Received: by mail-oa1-x42.google.com with SMTP id 586e51a60fabf-260e6298635so2526967fac.1 for ; Mon, 05 Aug 2024 08:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722871254; x=1723476054; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=XIefimF2G1Q6gkbTPHR1sBl5szN1dVGmboh8KI+Lxvo=; b=O+fyhGskvXLjwKmAg5a8KrSm03dKgjgVbXP0cBt9Fz7CAIETDQfCzXjLlUTf6gPr4O gmJdTAw6BlWSyVKcZfC8MBR3p6Regh6rmUeFUEuHRHmFJB9RIpcUlUy4KDcmjBnlqAAN 9ubAIRNxrvIER6bFFdUzjuZYxtSC4FmbebJsv47n3h5t8yEKvCkxNFo6skryvNABXQyf 7x0h4J1mVC3xJA4OO1rCLrZNzFiDN+14mxTqULzeH2fLNNf/VCZNrhncLxK1kYyayMMm fs5Y486oEV5FaUgfrxb6Ti/TGmtrCmDRggnRrIPSyKZM6/9CG3FeUlG+7QKUSMNjSQtN UUGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722871254; x=1723476054; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XIefimF2G1Q6gkbTPHR1sBl5szN1dVGmboh8KI+Lxvo=; b=kRT6yUjlUYZtvF7CJGv8Sdeu1y8O+TlaCrZLkr43PyyS43unnkSBamGIDTHoMOUwBW M8jLi7Ymr309lAIqWaVn44Oy6vFV8hSCc9SU+fv+MvpPnmKZyKRVA9x3WgtjaFAb3C3+ PkQSmqWZFuP8RN17GmCAfcpT/6BhE0xGmzcdpiLyoYWpHQ6amH90VimvxY/FI9XhVy1k IPfKTwtbbvb23+Jmc0knvbkLUhuuzE9grPmxaf0OqiDAa2y+svlH5wuNrTaBdzqXXYIF jSu6PwUqrTYG+ECDvlG7IguEKtSG472mN9RuCWmTmppakb5XjVNuFGoYBvGQUkLDDltD jFWQ== X-Gm-Message-State: AOJu0Yx1QCFTrnhUNStmeHdJeg+S0C8YYECtNzvsjiA/mSgMNvZNtQ8F DuU8/DqucpIuXQ2svFF/uvsGePajtrKllvWTT4xHLhFJ0L4DrvjfHt7O9U+qgxZLIAz584eyTXF dP2wf7eEe89EtVeppQ6eSEtH72F6DlQujr4TtSKv9 X-Google-Smtp-Source: AGHT+IHlFigLA7LRnI7Y2FfvNW1/n4Zr0QeZZm2nmb0n+ROvphexXaYfio75Bt+LO8PgAkffM4CWMNAWNO6B7ICTg1Q= X-Received: by 2002:a05:6870:b91b:b0:265:b32b:c465 with SMTP id 586e51a60fabf-268877a4c75mr5927487fac.9.1722871254149; Mon, 05 Aug 2024 08:20:54 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2001:4860:4864:20::42; envelope-from=execvy@gmail.com; helo=mail-oa1-x42.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:25:54 -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:322377 Archived-At: > Or describe how to reproduce this I'm not sure how to reproduce this, but it seems to happen sometimes when I open a Rust file in lsp-mode. When I start typing, the Corfu completion popup appears with candidate suggestions. Occasionally, the Corfu popup will freeze, causing Emacs to freeze as well, and then Emacs crashes after about a second. On Mon, Aug 5, 2024 at 11:12=E2=80=AFPM Gerd M=C3=B6llmann wrote: > > Eval Exec writes: > > > 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=3D$(realpath ../emacs-build)\ > > --with-mps \ > > --with-imagemagick \ > > --with-modules --with-x-toolkit=3Dlucid --without-compress-install \ > > --without-toolkit-scroll-bars --with-native-compilation --with-mailu= tils\ > > --with-tree-sitter --with-xinput2 \ > > --with-dbus --with-native-compilation=3Daot \ > > --with-file-notification=3Dinotify\ > > && 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=3Dsig@entry=3D8, > > backtrace_limit=3Dbacktrace_limit@entry=3D40) at emacs.c:470 > > #3 0x00000000004248fc in handle_fatal_signal (sig=3Dsig@entry=3D8) at = sysdep.c:1800 > > #4 0x000000000056f568 in deliver_thread_signal (sig=3D8, > > handler=3D0x4248f1 ) at sysdep.c:1792 > > #5 0x000000000056f669 in deliver_fatal_thread_signal (sig=3D > out>) at sysdep.c:1812 > > #6 > > #7 0x000000000069e35e in pixel_to_char_size > > (pixel_width=3Dpixel_width@entry=3D482, > > pixel_height=3Dpixel_height@entry=3D76, > > char_width=3Dchar_width@entry=3D0x7ffced20da38, > > Assuming this is an MPS build (please check with (featurep 'mps)). > > I can't see anything obvious from the backtrace. Can you try to look at > pixel_to_char_size in GDB? Or describe how to reproduce this? I'm myself > on macOS, so cannot really help much in this case, I guess.