From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dick.r.chiang@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#36609: 27.0.50; Possible race-condition in threading implementation Date: Thu, 10 Jun 2021 07:52:45 -0400 Message-ID: <87bl8e2aya.fsf@dick> References: <87muhks3b5.fsf@hochschule-trier.de> <87fsxv8182.fsf@dick> <83wnr7gdd8.fsf@gnu.org> <875yyqg66k.fsf@dick> <83k0n6hjym.fsf@gnu.org> <87wnr2lnsj.fsf@dick> <83h7i6cj3z.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="22588"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.14 (Gnus v5.14pre) Emacs/28.0.50 (gnu/linux) Cc: 36609@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 10 13:53:53 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lrJFx-0005hl-J6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Jun 2021 13:53:53 +0200 Original-Received: from localhost ([::1]:53090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrJFw-0005Gg-H1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Jun 2021 07:53:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrJF8-0003FA-Om for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2021 07:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrJF8-0003sm-5Q for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2021 07:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lrJF8-0004Hc-2t for bug-gnu-emacs@gnu.org; Thu, 10 Jun 2021 07:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: dick.r.chiang@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Jun 2021 11:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 36609-submit@debbugs.gnu.org id=B36609.162332597516451 (code B ref 36609); Thu, 10 Jun 2021 11:53:02 +0000 Original-Received: (at 36609) by debbugs.gnu.org; 10 Jun 2021 11:52:55 +0000 Original-Received: from localhost ([127.0.0.1]:35634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrJF1-0004HF-9h for submit@debbugs.gnu.org; Thu, 10 Jun 2021 07:52:55 -0400 Original-Received: from mail-qv1-f51.google.com ([209.85.219.51]:38877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrJEy-0004Gy-6D for 36609@debbugs.gnu.org; Thu, 10 Jun 2021 07:52:54 -0400 Original-Received: by mail-qv1-f51.google.com with SMTP id t6so8637607qvp.5 for <36609@debbugs.gnu.org>; Thu, 10 Jun 2021 04:52:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=G5gOhau7OwddOgsuslG080qUr3P0q6a2IhhJsOIjURM=; b=PtBA+q3iRiWGRLUMVGIk9GebIGiI6Nj0Z7gi2CYMR2rUNq7vZX6kr/1CKheC2cbGWK 2cAGdDR0wdJne8lxAjguBHGcnsAlREUVUl8GrrQM+3f5R9Mf3fiPgQ3UPMRyE6Eh4O59 CPhi5CEjST2s1yRPvbhn/0qm6gRWhbk6C+2SgDgzCQN65muRcdydo5sgZDGQ1ZnTCLl9 wxtoAxLg+zBn8CfKoKYFA6KRNJ84iyg+5seks2JeYfDKQkNrcSkb/F1p1AA4VD28ToIw FwdW2BX1pVuIfGrD57aI1LtVMpIm6V4jXuHHJfmslaWlxYhulO6X1O3XwABkqWb/4Rus x+KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=G5gOhau7OwddOgsuslG080qUr3P0q6a2IhhJsOIjURM=; b=FCP+h3kTrnLPkcG7ccKejFCT+Tz8mkQaEB3K7aEv1B6nu7qO9pf8iYv1OEU9yzCLIW wlWHH5iPwwnLxRWA8wqcesfr+Rr2dsgqauoIXw8Eihl7WHE37CdFJMbiqrb/NjaTATRu uPtVnNSC8Ezi2BEr6zTHM6dVjEQeY0C35a1/HrM5oCTZlTEgSlBbCd2VaZNBqLU1ueQ2 5+BHjU5GlJCnEg+TPt2dxPSOuR3ydQiMlxZ41hnxQR+7FBeQ/CB8L6+W3yTes1TuI/+i 7tj/qXgYZ8+ElvsGcMYg03VnV2cACCi/Nveem/rsMK7UxkSa2GNzw7Yvma2Dj5OftlPk o10A== X-Gm-Message-State: AOAM5312qve2WTeTJJUd974/Sd4a2loj5DZGwUoaiLaCttsZ0l7m4cHZ ncmQEzHapl091QxoVbfEJAw= X-Google-Smtp-Source: ABdhPJy0G3LTwQ/LCSL8UWOwcGXfNkxoScet6opE8zl6k07qn/S9GqX/geftr9djoe5/zAN+7XQxdg== X-Received: by 2002:ad4:4863:: with SMTP id u3mr4556554qvy.7.1623325966636; Thu, 10 Jun 2021 04:52:46 -0700 (PDT) Original-Received: from localhost (pool-71-190-212-171.nycmny.fios.verizon.net. [71.190.212.171]) by smtp.gmail.com with ESMTPSA id e24sm1914610qtp.97.2021.06.10.04.52.45 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Jun 2021 04:52:45 -0700 (PDT) In-Reply-To: <83h7i6cj3z.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 10 Jun 2021 09:46:24 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:208317 Archived-At: [Standard disclaimer about not being a compiler semanticist] > a single word... change should ... be atomic. I've never heard that. I googled around; one helpful and only mildly sententious monograph on the topic is https://stefansf.de/post/qualifier-volatile-c/ Adding the volatile qualifier to `threads_holding_glib_lock` did not resolve my MRE on my particular architecture (whatever that may be).