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: Fri, 21 Jun 2024 22:10:45 +0200 Message-ID: References: <87v823xvq1.fsf@localhost> <87tthm3gq2.fsf@gmail.com> <87sex6ags5.fsf@localhost> <87msne3flr.fsf@gmail.com> <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> 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="9186"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Helmut Eller , Eli Zaretskii , emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 21 22:11:52 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 1sKkbv-0002Dw-9y for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jun 2024 22:11:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKkay-0007Vm-Mj; Fri, 21 Jun 2024 16:10:52 -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 1sKkax-0007VY-EQ for emacs-devel@gnu.org; Fri, 21 Jun 2024 16:10:51 -0400 Original-Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKkav-0002bT-Ss; Fri, 21 Jun 2024 16:10:51 -0400 Original-Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-57cc1c00ba6so2891162a12.1; Fri, 21 Jun 2024 13:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719000647; x=1719605447; 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=V7ks43lXpuBZGSYurfZkz44f7cKQqsoGzms5eL6/H60=; b=GJKNJavgDFUQ6GQwnTCybHcpeV1QT3ju3PJx5YAnBfW4tjb5loDJcHKagxBvPvsxzY W1qdxzSHihMmjpQh47nnD/QCCj5QHIvshsK4bLyk7rkYnBJYInrVZgqg35BHbXRMk941 yKu9fMbDmeAO4o4x4Kv/jBxCGVFHnYbEeet+nSxYd7a9hvChL1e0B9yh347cPHmUpC7o MVpUGI8F12ExA86Epvc7QOumCFnsiEdCdQBMyQSNmgu+gJVdm0WjbpAurhaXAnBzNKsJ QRpzs+3xkgAa4GYreLvUYhczqk2/mDAd1jxpG8JURVF3NgeeqCmb+tYWs7OiRiF0Uc1n Grlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719000647; x=1719605447; 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=V7ks43lXpuBZGSYurfZkz44f7cKQqsoGzms5eL6/H60=; b=qo5lB6O7DK/vPYL74VuDHSMIax3aiXhFyUJZgNffDLHEDWdx50NTvaYhSdeOfUPPM+ Fz8rRmK9mqkvhuOEb1/TyYeLbMYQ0zJWNulmucCsCW2fNEaI8ksgUxzXYEz1lvLK+/ql tgQabNKZeZ1mRnb4Zk6WqDyuTEY9t2QXj1GByvH5vOERaFD6qPP9HoXGkeNU9vmp55C6 KEUe5Wr3ASW9LUYQxPqATKnjBtksB82MhFQwFlE7nSulAN1llk/SdTcb5ZF7VWThUa9d iCFs6Vr2W3ZD0SYvJLp4MxcRXoGlC7x/tsA/jx5siiCs2UL4rkXWDg6wO+oFiR23+5gu Ufjg== X-Forwarded-Encrypted: i=1; AJvYcCUrIuhPSXLu4qJhZ16cZ/6z2O44WxhfMezJJ1r7y0IHbWLy1WK191Ia1+5d8Ya6hPj6gZo7BKuepxFO3w7ZSaPuLfKsDhl4y2SbiBV04JL6C20= X-Gm-Message-State: AOJu0YzUgdIYfZbQ1CgU4ylwhrj3gOkvSTdb31szT5Vs4Bv/u6zmleGA eiETqoGCQfGqFvPRbt2tZFwCcCz460NHthd/0yxVOkOlWew0qyH3TSywdA== X-Google-Smtp-Source: AGHT+IHpwVIz8LmsfAcx4f9Pk3esQkQvmlVCDUtoM+5talFa7Dm6zFioOGbxR3WLmk1rYzPSoPtdrA== X-Received: by 2002:a17:906:aed7:b0:a5a:1562:518c with SMTP id a640c23a62f3a-a6fab77564bmr537291066b.48.1719000647011; Fri, 21 Jun 2024 13:10:47 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a72a.dip0.t-ipconnect.de. [79.227.167.42]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6fe2a22b6fsm5270466b.85.2024.06.21.13.10.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 13:10:46 -0700 (PDT) In-Reply-To: <87cyoa3w5d.fsf@localhost> (Ihor Radchenko's message of "Fri, 21 Jun 2024 19:58:54 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=gerd.moellmann@gmail.com; helo=mail-ed1-x534.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:320445 Archived-At: Ihor Radchenko writes: > Gerd M=C3=B6llmann writes: > >>>> I think current_thread and all_threads also need to be roots. >>> >>> Ok, thanks. >>>> >>>>> Unless someone(tm) is quicker, of course. >>>> >>>> I'll delay looking at threads until native compilation works :-) >>> >>> I thought native comp works for you? >> >> Pushed, please check. > > Now, there is no crash when I run my code that creates threads, but > there is a crash soon after :( > > thix.c:67: Emacs fatal error: assertion failed: SigCheck Thread: thread > Fatal error 6: Aborted Any chance to make this reproducible? Maybe by adding calls to (igc--collect) in various places? I don't know what you are doing...