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 make-thread Date: Sun, 23 Jun 2024 11:36:04 +0200 Message-ID: References: <87v823xvq1.fsf@localhost> <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> <864j9kfbm0.fsf@gnu.org> <86zfrcdoqt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20912"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: yantar92@posteo.net, eller.helmut@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 23 11:36:50 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 1sLJeU-0005Fg-4m for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Jun 2024 11:36:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLJdr-00070z-Oz; Sun, 23 Jun 2024 05:36:11 -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 1sLJdp-00070j-LM for emacs-devel@gnu.org; Sun, 23 Jun 2024 05:36:09 -0400 Original-Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLJdn-0002Eo-Qp; Sun, 23 Jun 2024 05:36:09 -0400 Original-Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-57cc1c00ba6so4008030a12.1; Sun, 23 Jun 2024 02:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719135366; x=1719740166; 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=8B+hqgoylyG/2ypXZ7DgKB+xYepM0UxE4p45s5VHgMA=; b=iT8XBXzqwmpjsOmnpTav6y9xirZ1rQKRCpkdiArryCiWigXMongE9NGLIBEHu7Utmk CFfJAYqaxYTEXum4GY3k//AVsAKWOO7bRBwtBXmPF3IHr0q4XuBNEankMtdmhNJlEYtp kvKR03R0WIzo4j0IGdICsNwMswaPtmscjEc70KG0iB3zw+Uw1q/dmyolTpeSC8uGcqCi 96tZJwJtJhdmwe9WshkyOVgq4xbb6xONoItsGkeJ8z0wtT0uL288SuILGV8NnIVzCYvb Gv3pdxdjYdi8NW57Et5a8EvZd4/+VYhXjaYBRp1/F3A2nNrd4JPwM9yA4Nyg9yj9vUrs qghQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719135366; x=1719740166; 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=8B+hqgoylyG/2ypXZ7DgKB+xYepM0UxE4p45s5VHgMA=; b=vbXZW6ukBNcJDFnfYSmDfWKmPkv1Fr6Dz+J0TbKlJuTz1hoHZvGJFY+KdYy/wiU4S4 u885zkYGVO2nkEhEw4yOt+ugkYQb03pk5SVBc70QcUe//MS42v9AQBuXQtF+C68QOgWx 6djAYlg2Ua++U8okM1g13Xrx9aEWFbREgJdrVmbjJNxboKdyR0icf011v65PuYoECSyu CgttHjSd9OUFKptCn1guPQYAN0bQn9VNcVku+Ip6pbBHuSNReAGyuCS2P3fgdMm7haEU 2anjyieOUmtowqZOxB3UWpxZbfsz9bfD42zSEKT4+zvlcr+WgnGWxhWevXh88O4eopi1 qcVg== X-Forwarded-Encrypted: i=1; AJvYcCUTSeH8Ro38QI1/yiqWHUd9wVCk0VRno5C1ZZoxGg+o262bFB4nMDfboBO0EhfAXQe9+AQy0lw1GZJR/sFfY929xNUo X-Gm-Message-State: AOJu0Ywdc2TBYCfmYVXzqvuSAuBUhf1W4d5NfMzeFmqn2OxaN8iDQikX vFD2mlmEPCQ2GVAR09A5H6dfNlUM6bf4YBHAxHwJcSyEZ6VDVkIW31FaJA== X-Google-Smtp-Source: AGHT+IH8lvbidEz6PQMpICt+qPaFbkzKVzzC7oRiNbWfi7EFFiSm5RFpBppz2NXdMpkX0D5F9/h6qg== X-Received: by 2002:a50:d75a:0:b0:57c:f96a:26de with SMTP id 4fb4d7f45d1cf-57d4bdbfd13mr994054a12.28.1719135365366; Sun, 23 Jun 2024 02:36:05 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3abd0.dip0.t-ipconnect.de. [79.227.171.208]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57d303d7cdesm3331419a12.7.2024.06.23.02.36.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 02:36:04 -0700 (PDT) In-Reply-To: <86zfrcdoqt.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 23 Jun 2024 11:53:14 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x52a.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:320507 Archived-At: Eli Zaretskii writes: >> igc_collect calls mps_arena_collect which acquires the MPS lock, does a >> full collection, and leaves the arena in parked state, so that the >> caller has to mps_release it itself, which we do in igc_collect. This is >> explicitly only intended for debugging purposes. It is thread-safe. > > Then why did we get the MPS assertion about warm and cold in this case? I don't know, but I think the real error happens before that. The backtrace from my debug version shows that something is wrong with the mps_thr_t that it is using.