From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: [MPS-test] scratch/igc branch (commit: 42731228d24) crashed Date: Mon, 05 Aug 2024 17:12:48 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32543"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Eval Exec Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 05 17:13: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 1sazP1-0008Hp-ET for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Aug 2024 17:13:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sazOK-000199-2i; Mon, 05 Aug 2024 11:12:56 -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 1sazOI-00018j-4R for emacs-devel@gnu.org; Mon, 05 Aug 2024 11:12:54 -0400 Original-Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sazOG-0003o3-J8 for emacs-devel@gnu.org; Mon, 05 Aug 2024 11:12:53 -0400 Original-Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a77ec5d3b0dso1202526566b.0 for ; Mon, 05 Aug 2024 08:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722870770; x=1723475570; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=kWHJATQmIq99mx/qEiMXoqWsfOoLcS9Ukcaphh2rLWY=; b=Bcnn+g4wq60sWxj0SSBeyxy0I5R5HnhmE2BDXcUEkXEC9ccPUhhcZB45e00okWgLAq p9u4GxkWegSdI7udUmT/OunTTm3SQwCniI0HaSnnRVJCHf9hJt/QrYo/C5yB0KO2S4PO 40iv+HBYtic6lofzyK2ptEB7/XM5t6QVR8KsBXwhN7GrkTY4wIqvD/uLtrR2nAVzpcNV ubtPgSDo5Y7z6JWjOdIH1CuWAQGj7YYazryvpk2o8v27sz5BfS7oXLc2wsYdjsTvt88A gT6wams6vCEjIeSJqgX2vFGv9MQC91fq6iMPdH69qR0d//6BUdUA3AJKgmBJVP/UZkg6 jSXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722870770; x=1723475570; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kWHJATQmIq99mx/qEiMXoqWsfOoLcS9Ukcaphh2rLWY=; b=KNhGylyTL+V+/UTUSpbPipZd82SkaTwlk7331djUsiLGZPexr8iLPoTAVzdE9j3c54 0OOUoZtbOmSh0jkUSDMavfW2dVrk2o9c6/LPgCtgafXd14Z55Kv9u4W8Spqkjf1XuMMt jB23Qshgty7D9eGXr3B2q4yiS4085U/Tp+q64mhHClWv7xDCdpfxmlKmUZHdLG6a30GQ K3Kk16D+L4LCVs3SFqWivj0H8F3DF2CtGzDotMf3Jr3XEMX5jEILRLhNwvktdSlQvk9q eMtHF+QsRoCHo6bptnHPe825e5ewAnVdY1UIz6Kws9IOXJoz/Z7uMh8vZD7jOxXwQsOf vC1Q== X-Gm-Message-State: AOJu0YxFS9x70pE7RZKQuU5ANbf13ZW1B0AMD6JudnRTOCSMVABvQQ2y IiG4S9k3JbJk0xR/FN0r3jzk9OtMgOi0CGitM7MlZ98NykusMJyGw8clUw== X-Google-Smtp-Source: AGHT+IGD2vQ6NCVmrFfOwG0p6xtEDWsgWnNw2Hnem5lBRJkH68KqR2Dmbi7UHRlQTU+tgiMq+nwg2g== X-Received: by 2002:a17:907:7da1:b0:a7d:a00a:aa02 with SMTP id a640c23a62f3a-a7dc4db57cfmr859725666b.1.1722870769768; Mon, 05 Aug 2024 08:12:49 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e366bb.dip0.t-ipconnect.de. [217.227.102.187]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7dc9d42615sm462414866b.99.2024.08.05.08.12.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 08:12:49 -0700 (PDT) In-Reply-To: (Eval Exec's message of "Mon, 5 Aug 2024 23:00:16 +0800") Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x634.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-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:322376 Archived-At: 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=$(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= out>) 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, 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.