From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dick Newsgroups: gmane.emacs.devel Subject: Re: Why does this thread code crash my emacs? Date: Fri, 15 Oct 2021 14:45:57 -0400 Message-ID: <87mtnajfdm.fsf@dick> References: <87pms6jmuk.fsf@ddavies.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39416"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Derek Davies Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 15 20:49:52 2021 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 1mbSHA-000A3p-6J for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Oct 2021 20:49:52 +0200 Original-Received: from localhost ([::1]:48554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbSH9-0005dx-1U for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Oct 2021 14:49:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbSDV-0000Va-6M for emacs-devel@gnu.org; Fri, 15 Oct 2021 14:46:05 -0400 Original-Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]:34731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbSDP-00076d-9r for emacs-devel@gnu.org; Fri, 15 Oct 2021 14:46:04 -0400 Original-Received: by mail-qk1-x736.google.com with SMTP id t63so9371114qkf.1 for ; Fri, 15 Oct 2021 11:45:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=80zN0GZcsAg3pRfOF7uooXb/9daHyE1eOKk9Acogw4c=; b=MFNCkfL0jEe4877Q0NHhjDfSrivvxZmb87A4+vrWEYW1YKCgD7GFY32w398IQ4lDGl IznUPQ516pJdqJT+CBsZiFU3P/WG6XvBVMJaMZdNHXoH2qWa5iUQeOygpydr4ejhypny GJtlNenNNc6+pxrNimlAJqxrwaHeWrbAjviRcdz/mkZY2LEHJYoTpbt53JIrYF3Zr+qF o9EBQVKBGNHHVultwG4pHgijmr+Y/ymMotrFJ31IHzpVhuryWjFYZEQzTKiHK0tQqDMV DHotiA332iRewO+KrjP966kPXFyY/C7RzKidlDAJI40yLgAdb9MuIVB9FNHiw5Wi/OVJ CVVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=80zN0GZcsAg3pRfOF7uooXb/9daHyE1eOKk9Acogw4c=; b=NXF6C2iEXjB1nWUSK5tcp3USt3ktEjhqViUH6GpBLy/dzOGAowB4kTzzRtmPWZ68WQ b6ZrDu8jW/x9AopDybk5ge0WA4/7BhCk1872RRnK7sGWdSasJOMuv9pBSJLx8uw269mM Enk+DCw2H+0docroyaVpWHF7ngkR5aMk9v+lPG+vS9t4ExpARHDa5SjYe3dKilaw81Cx l355ongDn3kxiEJZBRrDMOxJQA1a7vdI2gARpcDDX1ATKt9c4ICbOiZXu55FuGik4jv6 jTEeNf23WwK+zF+QP9LfN4TXEGBzIX9oyZdUucXp2kH1pj1uotqnQvxhEodsqJ2dwd4s J/9g== X-Gm-Message-State: AOAM531C8UHohfuui6VOyPNMS6e1i4DwBQXNss6X5eQK2YOXgPpzgBiG 7EMVCdE6QB4KHC0tPhTIpJZZfeXKl3c= X-Google-Smtp-Source: ABdhPJyruswsvK4j6NvqFxKhpq7ZohbM2xxu6J5f9IH5fvxYZ/VBZg8lZmPH4z3M2dH7RDRGrEhUkw== X-Received: by 2002:a37:274f:: with SMTP id n76mr11186152qkn.510.1634323557847; Fri, 15 Oct 2021 11:45:57 -0700 (PDT) Original-Received: from localhost ([68.237.93.126]) by smtp.gmail.com with ESMTPSA id t24sm3049863qkj.38.2021.10.15.11.45.57 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Oct 2021 11:45:57 -0700 (PDT) In-Reply-To: <87pms6jmuk.fsf@ddavies.net> (Derek Davies's message of "Fri, 15 Oct 2021 12:04:35 -0400") Received-SPF: pass client-ip=2607:f8b0:4864:20::736; envelope-from=dick.r.chiang@gmail.com; helo=mail-qk1-x736.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.23 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" Xref: news.gmane.io gmane.emacs.devel:277136 Archived-At: Yes, I've for a while noticed "s q" (thread-list-send-quit-signal) from `list-threads` produces crashes. I've entered a stopgap patch in bug#51229. The more correct fix is to get rid of a 1991 boolean called "waiting_for_input" but that bill would be much tougher to pass politically.