From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#30800: 26.0.91; unknown crash on macos Date: Wed, 21 Mar 2018 20:12:34 +0000 Message-ID: <20180321201234.GA39094@breton.holly.idiocy.org> References: <83muz1jrdv.fsf@gnu.org> <83k1u5jqxm.fsf@gnu.org> <83in9pjnkc.fsf@gnu.org> <83fu4tjmdv.fsf@gnu.org> <20180321191903.GA38993@breton.holly.idiocy.org> <83d0zxjk5p.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1521663557 1546 195.159.176.226 (21 Mar 2018 20:19:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2018 20:19:17 +0000 (UTC) User-Agent: Mutt/1.9.3 (2018-01-21) Cc: 30800@debbugs.gnu.org, aaronjensen@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 21 21:19:13 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eykCW-0000I6-Fb for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Mar 2018 21:19:12 +0100 Original-Received: from localhost ([::1]:57171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eykEZ-0002OT-LJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Mar 2018 16:21:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyk6e-0003Bc-94 for bug-gnu-emacs@gnu.org; Wed, 21 Mar 2018 16:13:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyk6a-0001SO-26 for bug-gnu-emacs@gnu.org; Wed, 21 Mar 2018 16:13:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38381) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyk6Z-0001SB-UK for bug-gnu-emacs@gnu.org; Wed, 21 Mar 2018 16:13:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eyk6Y-0000Su-G2 for bug-gnu-emacs@gnu.org; Wed, 21 Mar 2018 16:13:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Mar 2018 20:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30800 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30800-submit@debbugs.gnu.org id=B30800.15216631661767 (code B ref 30800); Wed, 21 Mar 2018 20:13:02 +0000 Original-Received: (at 30800) by debbugs.gnu.org; 21 Mar 2018 20:12:46 +0000 Original-Received: from localhost ([127.0.0.1]:46278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyk6G-0000SP-K7 for submit@debbugs.gnu.org; Wed, 21 Mar 2018 16:12:46 -0400 Original-Received: from mail-wr0-f172.google.com ([209.85.128.172]:38429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eyk6E-0000SC-R7 for 30800@debbugs.gnu.org; Wed, 21 Mar 2018 16:12:43 -0400 Original-Received: by mail-wr0-f172.google.com with SMTP id l8so6473464wrg.5 for <30800@debbugs.gnu.org>; Wed, 21 Mar 2018 13:12:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=qZgUBAzVv2eX9UCNyPr79vis2MWV5G/R/FXO0mvIm7A=; b=t0QT2l+J+PK0kMnwwWd1nRcBPjt1VW3ZSLBKcFBpra2XYaXb6koUNTx21vfcXox+Z2 O2azYJRZ1L5kr/TmLTvMiba5yOD3MMNfaLkrtfevE4VrNqfIIr0eso34fdw8bnNR13Vl PrgtSBxl2LHI8uL4mKsWqtEW0l9fQz6BDzuu5whTOJWWa4VMfzEf5Q8IfLC/yCIo789E MtSm0+hJAnWVdYe5NOd0sn0yzKDsoSHcoZrdWSZ8hgby3r4+HWYREA+cI+GEorbCLg8O qKdIQnYFwXIwdK+58P4JmqbTIUnQnlAca6vcqZLx2r8MPQUR4X9BbaUkPh8xtacv8Add 4Sxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=qZgUBAzVv2eX9UCNyPr79vis2MWV5G/R/FXO0mvIm7A=; b=Ikx/PPr1boCD2YjkAKh+bHUigIhi3IT5MOIpjImE5mh33Og6p97zhhC6oA4c37u9mM XU4cEM33xPYLcx0HOB/2tstk4wy8ShqNCti3KsSO1IKaYeO2clyfyF5Be2Sok7MmGgOV 7Th6jqHU3eYBVUI8KHfcjrEcoFbc+tbEfR62CY5klfhv4yuzOgiWq+7RU50KcKCF1lJV BxxiV+G7f+48NXXdNon2kgk2QzOUmnGjg4HcAVBj2FR5L9xn+N0Md+tBCQi1q8/0Nfvi 2PAjPcpbCIYcL0QHiVj7oFROYbcQOJ/GhRdk/jxW/b5UG0Mocaj30PgApUz47pJOt/W1 ipFA== X-Gm-Message-State: AElRT7FgV/Q/1E9AEB8A6zm+QtQWzJC+pwXixryj4HtlxRbr9lkuBqf/ b9mlfbZ3ZgGZx5Au6YpRS7A= X-Google-Smtp-Source: AG47ELtO6DFEl/97TEz46LvwsUZHG7K+cj71CwFlAsMB+r35nbhruWoNYySescqRR+mRQsilYuptqw== X-Received: by 10.223.151.1 with SMTP id r1mr17270302wrb.126.1521663157054; Wed, 21 Mar 2018 13:12:37 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-cd1d-06a5-d3d0-09f1.holly.idiocy.org. [2001:8b0:3f8:8129:cd1d:6a5:d3d0:9f1]) by smtp.gmail.com with ESMTPSA id e67sm9395040wmf.20.2018.03.21.13.12.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Mar 2018 13:12:36 -0700 (PDT) Content-Disposition: inline In-Reply-To: <83d0zxjk5p.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:144506 Archived-At: On Wed, Mar 21, 2018 at 09:36:18PM +0200, Eli Zaretskii wrote: > > Date: Wed, 21 Mar 2018 19:19:03 +0000 > > From: Alan Third > > Cc: Aaron Jensen , 30800@debbugs.gnu.org > > > > The commit that introduced represented_frame was fixing some > > flickering. What it seems to have done is move the updating of the > > represented filename from being set synchronously to asynchronously. > > The represented filename tells the WM which file is being edited so it > > can show a matching icon in the titlebar and maybe some other stuff. > > (I can’t help thinking it should be possible to update several frames > > in quick succession but only have the last actually updated since > > represented_filename and represented_frame are simply over‐written.) > > Yes, this machinery looks quite fragile to me. > > Is there any reason not to use selected_frame instead? I think we could end up in a similar situation if the selected frame changed soon after ns_set_represented_filename was called (i.e. it will set it for the wrong frame). It might be best to try setting the represented filename synchronously again and come up with some other way of avoiding the flicker. (Original bug report was 18757 and the commit was d9d383147219f8e6a90d4c177e1b454e19acfac9.) -- Alan Third