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:18:01 +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="6137"; 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:39 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 1sazba-0001RY-Sw for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Aug 2024 17:26:38 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sazb4-0008D9-KH; Mon, 05 Aug 2024 11:26:06 -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 1sazTV-0002Wa-6x for emacs-devel@gnu.org; Mon, 05 Aug 2024 11:18:17 -0400 Original-Received: from mail-oa1-x43.google.com ([2001:4860:4864:20::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sazTT-0004Yy-MC for emacs-devel@gnu.org; Mon, 05 Aug 2024 11:18:16 -0400 Original-Received: by mail-oa1-x43.google.com with SMTP id 586e51a60fabf-260e12aac26so6929727fac.0 for ; Mon, 05 Aug 2024 08:18:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722871094; x=1723475894; 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=SJjVWeyIJLJoLU8pB3LJvqkqsJ+lrgmCcTmy7Xuae2g=; b=BOL4sY/D1eO7gud2y6p6IxLg8bFBA8/m2pca5bam5CLAg1X77mk4UXqAHcO/7VdY0l lIrQocQDScAqLst8RUnVQk1MZQ4ROd1skgAlDY/RGe37R4kW8hnk0s/8SewpjN6YUkxP FeKcB4qrl5669hyc6eQb+SmiRX94BgGSd5RRPDxobCttgfpB612aqt+MoCeh6CFeR9zJ 1JAVhXOGrDeSPjw7RwXZIxxsmtQ+munbsBkDZEljLbFiY3o3/yFMVxVQd+N9XCwiuVi6 bknlkakWUGLtdjFdpwq21ygMRdQGrwKR8tAsL1orYP9Z+dvgum5PzL+9n7xyfP/olvXU iv2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722871094; x=1723475894; 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=SJjVWeyIJLJoLU8pB3LJvqkqsJ+lrgmCcTmy7Xuae2g=; b=ILw9Cc/5pn+gODv5QWnlpWJzRWnoFASYTveVg52z2mGLtmxrXL703TQ5uRhD7dW0mO eMi0DIacOZ+Wn0yJJooVl5AAkoCD4kBTwWSD63f3ezuV+1lRMuveZerBLtBkvyuXa5wN 1PBqpI0Kg2jYlKK3voWQC2VA/SjXlHX2/lPsDrRBjizFgussvc3RdhBExiZDbGJ48xgW VFbPdgkYb3hbCmWYrZBwxKt7rb66xSjGllqkjQOjVQJXDfN/R4YMyAZw4MVm7EJinyV8 2k11Uhv6zCyw7dAMVud4C0ICdFPt4TXctdbJvdZKUGn24LsibGhtNWHRjl+pDdq6nxm+ MgVw== X-Gm-Message-State: AOJu0YyQX7y7Uck8TC6bIhjG6jLQE2hHEdQAsLE0cYFuaHRrVBh0udpA mUnji4rRTbJGLKkKsBO63Y4LsyNcBZkj/qMXwUnlxAV3k8CsQ5ic3QDFomWmjJvRvW9U5E6bzDm L/LZaDW+P6SZtiJdKWzkKyrtBBKIHJoo12pvSyKRy X-Google-Smtp-Source: AGHT+IEDZgF+DNejALT437oWhjtxvktwG1mlD6FpwoT5uoNWmDNiBtQgWG7Dg/W1F+2JiaV151hdrUBAkTqYF1lqXSY= X-Received: by 2002:a05:6870:214:b0:261:236c:2bc1 with SMTP id 586e51a60fabf-26891d3cf1cmr15175795fac.12.1722871093758; Mon, 05 Aug 2024 08:18:13 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2001:4860:4864:20::43; envelope-from=execvy@gmail.com; helo=mail-oa1-x43.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:322380 Archived-At: I enter `coredumpctl gdb`, got this: ```(gdb) p pixel_to_char_size $1 =3D {void (Dimension, Dimension, int *, int *, EmacsFrame)} 0x69e310 ``` 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.