From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MPS make-thread Date: Sun, 23 Jun 2024 09:19:05 +0300 Message-ID: <861q4ofag6.fsf@gnu.org> References: <87v823xvq1.fsf@localhost> <87frt63dvt.fsf@gmail.com> <86o77ulgk8.fsf@gnu.org> <87zfre1p3r.fsf@gmail.com> <87zfreo5u6.fsf@localhost> <87plsa1n8k.fsf@gmail.com> <87wmmio3vq.fsf@localhost> <87jzii1hbs.fsf_-_@gmail.com> <8734p61evv.fsf@gmail.com> <87cyoa3w5d.fsf@localhost> <87le2whkt2.fsf@localhost> <86sex4g53k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38567"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, eller.helmut@gmail.com, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 23 08:19:47 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 1sLGZl-0009ml-8O for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Jun 2024 08:19:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLGZC-0006LU-Lv; Sun, 23 Jun 2024 02:19: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 1sLGZA-0006KU-OH for emacs-devel@gnu.org; Sun, 23 Jun 2024 02:19:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLGZ9-0006hy-QB; Sun, 23 Jun 2024 02:19:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=VMow5edit0+GhkfXXlsZf55kikD2ZuVh1WV97RCxBZs=; b=cxlh1+Oa2OpePmRqOuFl MovPmfg3qSTjxeTTbYJVKFcMrWdp5kIBAwnOGmls6qb9G5xdQpLMUlPMIhQ7ORf/HTg2q8fvl7iGD nXo1Msfzkkf7Zq6JuAaVQa4izD4KmsFnE5hSPJmftgn4U0CtOHlX/fU8Tpz+FjR52mKbQCA1qoaA+ oKsyDt/sI4d8IvQ2XamtAb83DUy/YwYeQkAZRdKE0t2KZugQlDhknzhA0HGIxlkIWieac3WfqQlW3 MT73S2aokz4elxMqzRoFoCDlBPiJm07fooRxNV14xprCfETVf2s6+g0wrnwT58ib29yTeKjt2dBN1 oZ6l0mw1rQkYNw==; In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Sun, 23 Jun 2024 06:54:09 +0200) 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:320498 Archived-At: > From: Gerd Möllmann > Cc: Ihor Radchenko , eller.helmut@gmail.com, > emacs-devel@gnu.org > Date: Sun, 23 Jun 2024 06:54:09 +0200 > > >> I get a crash only after running this several times. It looks like > >> this: > >> > >> ss.c:66: Emacs fatal error: assertion failed: warmest < stackCold > > Looks like I get something different, with this config: > > #define EMACS_CONFIG_OPTIONS "--enable-checking=all,igc_debug --with-native-compilation=no > --with-mps=debug CC=clang 'CFLAGS=-g -O0'" > > I would say always use --with-mps=debug when reproducing something, and > maybe also CLAGS="-g -O0". If that's possible, of course. I know. I deliberately use the production build because if we all use the debug build, problems that appear only in production will never happen to any of us. In particular, some problems only happen in an optimized build, so I build with -O2.