Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1560198img; Tue, 19 Mar 2019 10:13:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqwdUhIgAVIRlcPvUJ1Ng/RoL3ejaV8ljMV4Hu4TdBK9MF/LLt+2Hq7Q7fQHzM2M2j/2JiqG X-Received: by 2002:a65:620e:: with SMTP id d14mr3239710pgv.28.1553015606254; Tue, 19 Mar 2019 10:13:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553015606; cv=none; d=google.com; s=arc-20160816; b=CqYfYo2JgZnU0JnFesIKv5tv8gjP9fFhVfO+OgrfT/RBkhgIj58XBykubE7BZWD2Dp 8owca75g57iy29hFi/05DsF3QC6mP0XvfitHiAwcU8bX1rnomXgP0bnPp5L3LbsOngVE NYfUW/hUFwotRsmLzM6+cx/VK/+uGh4GMV3J12rQJb/HWg9Dh6Bo4vF+C1yiYOeVbos9 QoMGN5koExAQX0rTK08fKfrqi3y3Xsc/khfeIHhpJMfJPXY6TOoPcBdN20CZUHWFSdqW tZ8spaLCVAWhdjT0ASGMm+4ern69t/QFSbEtwYj2Ol4/OJF3TIOScpAciX30sw3oxrQK KIDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=WbxfIhr7n+M8ukH21p613+F/engNPk4U4FrxBwPBJ+4=; b=mOo+UzaJuwq61f4bC3pftocdbXiFyDnTfXzuSViQ1xhV7MYyls527hHPr3xsZQUbPW IpnNWys7FE/fYZkuMzE+1OinttNtOBCuYpAsTwlEQsjdvEcyvhgAiNTkS7K3bC2vujzn zzAx6ihFegBPYnIBT7gpxZxYxaI3dvF61S3ev7oi+6u9FPMg/A13RRMu3EFzOYJpnoOV 13+oDkWDg620865mT5FQo/1O+ov0+CSgtFCkI5DnhNnDqsypYHO1UiKLWuZMrX07N2jF lREBchB65Q/RzHuudL8O8K36FlrJ/4dQlmNLfEl210RPLLEj+ui+R40jjQVO4ZgNY3/x JFrw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g30si13144831plg.102.2019.03.19.10.13.10; Tue, 19 Mar 2019 10:13:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727188AbfCSRMT (ORCPT + 99 others); Tue, 19 Mar 2019 13:12:19 -0400 Received: from tartarus.angband.pl ([54.37.238.230]:57152 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726776AbfCSRMS (ORCPT ); Tue, 19 Mar 2019 13:12:18 -0400 Received: from kilobyte by tartarus.angband.pl with local (Exim 4.92) (envelope-from ) id 1h6IHO-0002bp-KA; Tue, 19 Mar 2019 18:11:58 +0100 Date: Tue, 19 Mar 2019 18:11:58 +0100 From: Adam Borowski To: Alan Cox Cc: Samuel Thibault , Chris Brannon , Okash Khawaja , Greg Kroah-Hartman , speakup@linux-speakup.org, devel@driverdev.osuosl.org, William Hubbs , Kirk Reiser , linux-kernel@vger.kernel.org Subject: Re: Staging status of speakup Message-ID: <20190319171158.GA6807@angband.pl> References: <20190315130035.6a8f16e9@narunkot> <87ef77obtg.fsf@cmbmachine.messageid.invalid> <20190316093543.w4i6djt5uuqtx5xr@function> <20190319163121.5e7ab8c7@alans-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190319163121.5e7ab8c7@alans-desktop> X-Junkbait: aaron@angband.pl, zzyx@angband.pl User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 19, 2019 at 04:31:21PM +0000, Alan Cox wrote: > On Sat, 16 Mar 2019 10:35:43 +0100 > Samuel Thibault wrote: > > Chris Brannon, le ven. 15 mars 2019 18:19:39 -0700, a ecrit: > > > What kind of reproducer do you need here? It's straightforward to > > > reproduce in casual use, at least with a software synthesizer. > > > > we need a walk-through of the kind of operation that > > produces the issue. It does not have to be reproducible each time it is > > done. Perhaps (I really don't know what that bug is about actually) it > > is a matter of putting text in the selection buffer, and try to paste it > > 100 times, and once every 10 times it will be garbled, for instance. > > paste_selection still says > > /* Insert the contents of the selection buffer into the > * queue of the tty associated with the current console. > * Invoked by ioctl(). > * > * Locking: called without locks. Calls the ldisc wrongly with > * unsafe methods, > */ > > from which I deduce that with everyone using X nobody ever bothered to > fix it. So before you look too hard at the speakup code you might want to > review the interaction with selection.c too. This looks like https://bugs.debian.org/849474 which causes a lockup, and for which Bill Allombert wrote a nice reproducer. Meow! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Did ya know that typing "test -j8" instead of "ctest -j8" ⢿⡄⠘⠷⠚⠋⠀ will make your testsuite pass much faster, and fix bugs? ⠈⠳⣄⠀⠀⠀⠀