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 12:21:16 +0200 Message-ID: References: <87v823xvq1.fsf@localhost> <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; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6698"; 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 12:22:06 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 1sLKMH-0001Xt-Kn for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Jun 2024 12:22:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLKLb-0006Xe-Fn; Sun, 23 Jun 2024 06:21:23 -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 1sLKLZ-0006XT-Gp for emacs-devel@gnu.org; Sun, 23 Jun 2024 06:21:21 -0400 Original-Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLKLY-0001TT-1K; Sun, 23 Jun 2024 06:21:21 -0400 Original-Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a72510ebc3fso12001666b.2; Sun, 23 Jun 2024 03:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719138078; x=1719742878; darn=gnu.org; h=content-transfer-encoding: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=xuzasUGzoqJOO9DoYms1IMpT432kwXPCU7hHA1vl+6c=; b=N2YA399UHw2awYYqum7sO4RM13SMtU7nAcAZdW8XL53xV+Wf90/K8byf59HvtwCII2 fvIFsPGrbSLEDk0jwRl9lPLA7PCjf+3JOj+Oy8uL0CWRj8eF+Wfups4Y9vBHWMNhKnQY HzdXw/Wws6VhLMUAGNvTk1mcJSx1DXqso1YSLXJhE2rcLbIGLRRVULLolzGYtj2eZhe6 XCUCjPQFbwUjHXbe4RDWPtGG1/LXmrNoHescXFwhQkeaRdHvBOcYWi4PH70+cWlIJDM9 cPSvQURJe4BO2xwWz52al910nDbRDF+ba9vRz3bZvhWb/vrHHk1FARD+LvD3VOooRX// djoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719138078; x=1719742878; h=content-transfer-encoding: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=xuzasUGzoqJOO9DoYms1IMpT432kwXPCU7hHA1vl+6c=; b=J0BQAKMz6LXPGxmduWYNhNJGpsTQ70RdmEPy3/fcUge0S7CoK+einPEuLfu+yM5EIX M0DAM4CWnEx/J2yt2Bi1dnkjHZb0k+9b5+61kx/MqvuxsydNOWfJYe/UuQSraarWeyMK FLj1tsauq5bljJtPeI/N+esifZh8N0CFl+jhWASTXh010lCKo3nCaK//uURu6SeCpRrF cWD8OI91QEUE6+IR/qglH79Eo+Md40cu5Z8gQ0DbQbrJsng9edTwIst7pfHpGSjD179D QhwMv6YqeVjUSDHxhdzmTq38HbOTcB2O22u9LeZoZUXIKwbdPKOQYae15XcF+MipmFmA xLDw== X-Forwarded-Encrypted: i=1; AJvYcCWWaAImdTFPstf8u2smAqp2NRuf3mjHbyBPKXbkSI3S0FEH3BUASpX/DlEpvX/4+4bGIeSf62Kfq8utcZOdul5XkVXY X-Gm-Message-State: AOJu0Yw7ouFotgiiQycNtVh+eTNmM1+MMxEyahmGYDK115wh7el3yIvQ 0GP3tcY3kM6cuOfHXkAbX8vqEQi5HfjBhnZWJmQL/DNUKAG0nrbsZgdbqg== X-Google-Smtp-Source: AGHT+IGyOKYXsU0AGjR5am4n0olIM6EVdu++oo5CDlUi5w65y4yCR79VKGRrdzKK37omueJbADxWng== X-Received: by 2002:a17:907:c78b:b0:a6f:59dc:4ece with SMTP id a640c23a62f3a-a7242c2e5edmr208101466b.2.1719138077581; Sun, 23 Jun 2024 03:21:17 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3abd0.dip0.t-ipconnect.de. [79.227.171.208]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a70b248e582sm149328966b.59.2024.06.23.03.21.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jun 2024 03:21:17 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Sun, 23 Jun 2024 11:36:04 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x62b.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:320509 Archived-At: Gerd M=C3=B6llmann writes: > 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. FYI, I think I have it. Pushing later.