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#24581: 25.1 crash in ns_scroll_run after closing a frame Date: Sat, 1 Oct 2016 21:35:03 +0100 Message-ID: <20161001203503.GA39868@breton.holly.idiocy.org> References: <5457C3AC-EEBA-403F-B27D-6C78F59F9F4A@univie.ac.at> <39492EB9-84DE-49A4-84BD-E48A31BE9492@gmail.com> 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 1475354193 19138 195.159.176.226 (1 Oct 2016 20:36:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Oct 2016 20:36:33 +0000 (UTC) User-Agent: Mutt/1.7.0 (2016-08-17) Cc: 24581@debbugs.gnu.org, konrad podczeck To: David Reitter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 01 22:36:29 2016 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 1bqR16-00034k-0p for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Oct 2016 22:36:16 +0200 Original-Received: from localhost ([::1]:57104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqR14-0008Lk-De for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Oct 2016 16:36:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqR0x-0008Ld-Sq for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 16:36:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqR0s-0005BV-Mv for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 16:36:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqR0s-0005BN-J5 for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 16:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bqR0s-0004ch-BI for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 16:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Oct 2016 20:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24581 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24581-submit@debbugs.gnu.org id=B24581.147535411417710 (code B ref 24581); Sat, 01 Oct 2016 20:36:02 +0000 Original-Received: (at 24581) by debbugs.gnu.org; 1 Oct 2016 20:35:14 +0000 Original-Received: from localhost ([127.0.0.1]:41368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqR06-0004ba-5W for submit@debbugs.gnu.org; Sat, 01 Oct 2016 16:35:14 -0400 Original-Received: from mail-wm0-f47.google.com ([74.125.82.47]:35452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqR04-0004bN-94 for 24581@debbugs.gnu.org; Sat, 01 Oct 2016 16:35:12 -0400 Original-Received: by mail-wm0-f47.google.com with SMTP id f193so43215392wmg.0 for <24581@debbugs.gnu.org>; Sat, 01 Oct 2016 13:35:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=x0pTBBUIpR+nfJrTipNeoY2FTsIHL36pGsOP7LQmZJo=; b=dmtEHkvHBpkp3T6UVPbIuwl/vbzj4iPxCv5yiKGiqN9iE50HloFGWvlwlhij16500g FwN9PgIaj+gOEaZM9DsApOaiNfFOE0CSpvZnb5OuPynkwKaYCqBF/cXYudUhkeqjBtMQ DaGnaimGcJYeseLBzKy/Sd8/cR/pPCMVNm9gGMYIoP2JoESPDNrvEylq09fbGTyt0EUN kKB//wRbQBPtmH6IYcGw1Bg+1VdschUT8OJliGB3vClEwSqal1MrQY+gSPfTuuBB2iiA NupL38z1+22E6FUYyPJW9RFyIr+aqkv4+e2UX5I5HmbDtS/AObTuXWpbEqsWDeCYY0ly Ay1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; 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=x0pTBBUIpR+nfJrTipNeoY2FTsIHL36pGsOP7LQmZJo=; b=LSSMW8JQg6mr1KQzsT0QtUSLWA8sBWnioZf7cuN09vHCW+XbW7KxmFmjw9PsqLX39Z /TeNvD3rwDS+MFvVMUldTrK0FG3UNI86yUdz23D5XT4b4CtakzyzUJDXo9T+FQYwhbsn DWucDTiqKfaGaA0QrA3OLta0Km6BmwkPXx2+/5s7cXatKggUnT2yWCoTkeXjEKbTOSgm IFDaCdYqBTo5uK9GY+LClo8nfiZ2pd7cbr64g9GgDnEOX5+05EfWRSCUM95+6kEBEANQ zMu/JMkxlaWvl3GaKYwLZkBq0RrdF53hgYcQ19Kzy/4fqnWyAA+4jdvYPXP7bBvZfE1j PWBA== X-Gm-Message-State: AA6/9Rl2PLosOxcxVCmTPksv2TEhWHuuXMLhD9WU5NMYSx3EHHTGQo8cBSK+upbzzhMyUQ== X-Received: by 10.194.83.166 with SMTP id r6mr3034925wjy.186.1475354106313; Sat, 01 Oct 2016 13:35:06 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-148d-3f02-0cb7-1071.holly.idiocy.org. [2001:8b0:3f8:8129:148d:3f02:cb7:1071]) by smtp.gmail.com with ESMTPSA id y4sm10711525wmy.22.2016.10.01.13.35.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Oct 2016 13:35:05 -0700 (PDT) Content-Disposition: inline In-Reply-To: <39492EB9-84DE-49A4-84BD-E48A31BE9492@gmail.com> 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:123876 Archived-At: On Sat, Oct 01, 2016 at 10:17:24AM -0400, David Reitter wrote: > X-Debbugs-CC: Konrad Podczeck > This is with our latest build, which is derived from the Emacs 25 branch. > > Is it possible that we’re trying to redisplay or scroll after the window was removed? > The stack trace might be actionable in this case, so I’m reporting this here. I’m inclined to suspect that we’re processing input while the OS is closing the frame. We got similar crashes when minimizing without blocking input. > > 21 org.gnu.Aquamacs 0x0000000100005907 update_frame + 135 > > 22 org.gnu.Aquamacs 0x0000000100029563 redisplay_internal + 6083 > > 23 org.gnu.Aquamacs 0x00000001000ca4af read_char + 1999 ^^^^^^^^^ > > 24 org.gnu.Aquamacs 0x00000001000c7bfa read_key_sequence + 1946 > > 25 org.gnu.Aquamacs 0x00000001000c6332 command_loop_1 + 1154 > > 26 org.gnu.Aquamacs 0x0000000100145349 internal_condition_case + 265 Unfortunately it looks like input is already blocked when closing the frame (nsterm.m:1657), so I’m a little at a loss. (I’m assuming that by ‘after closing a frame’ you mean as soon as you close it, and not that there’s a pause then the crash?) Is it possible to recompile with NSTRACE turned on so we can see the sequence of NS functions up to a crash? -- Alan Third