From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#16674: 24.3.50; crash: redisplay_internal, update_frame, using client-daemon in tmux Date: Sat, 26 Jul 2014 12:23:12 -0400 Message-ID: <87oawc84y7.fsf@holos.localdomain> References: <87sirwvsr0.fsf@holos.localdomain> <83y51nxuia.fsf@gnu.org> <87d2iyx5yn.fsf@holos.localdomain> <83ppmxx4wc.fsf@gnu.org> <877g9420rm.fsf@holos.localdomain> <83ha88urgz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1406391865 3685 80.91.229.3 (26 Jul 2014 16:24:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jul 2014 16:24:25 +0000 (UTC) To: 16674@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 26 18:24:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XB4ld-0000c7-Hl for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Jul 2014 18:24:17 +0200 Original-Received: from localhost ([::1]:60391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB4ld-0000Cj-4H for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Jul 2014 12:24:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB4lU-0000BL-D9 for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 12:24:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XB4lO-00043B-SW for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 12:24:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB4lO-000437-Ow for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 12:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XB4lO-0006nf-96 for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 12:24:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87sirwvsr0.fsf@holos.localdomain> Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Jul 2014 16:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16674 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140639182126110 (code B ref -1); Sat, 26 Jul 2014 16:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jul 2014 16:23:41 +0000 Original-Received: from localhost ([127.0.0.1]:39022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XB4l2-0006n3-6Y for submit@debbugs.gnu.org; Sat, 26 Jul 2014 12:23:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52146) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XB4kz-0006mo-4w for submit@debbugs.gnu.org; Sat, 26 Jul 2014 12:23:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XB4ko-000407-G6 for submit@debbugs.gnu.org; Sat, 26 Jul 2014 12:23:31 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB4ko-000403-Ct for submit@debbugs.gnu.org; Sat, 26 Jul 2014 12:23:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB4kj-00006e-8B for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 12:23:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XB4ke-0003yf-5F for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 12:23:21 -0400 Original-Received: from mail-qa0-f53.google.com ([209.85.216.53]:51971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XB4ke-0003yZ-18 for bug-gnu-emacs@gnu.org; Sat, 26 Jul 2014 12:23:16 -0400 Original-Received: by mail-qa0-f53.google.com with SMTP id v10so5821596qac.26 for ; Sat, 26 Jul 2014 09:23:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:user-agent:date :message-id:mime-version:content-type; bh=l2Q7khkdSaLp2V4ANK5+5DLUy9S/WuEKA/PzY7qlk6s=; b=bqZTUYSBhMOVNlQhT9a4khVfU7mLE/A2gKcfjGaCtrbAO17mDMcXYqGHx25TFcxML3 fJK01KyH26ZsXrTesdMgEX3yy22GWFputeyKUeo0zAgnAFqIxX2u8w+5HsC/xnDOjejC RpZHMv7rtVPK0NCYP1p6BowEIz1et9JoOVw7hxr+lNPP54Wgfuh6X/j7DFQV3joJ+BFN za5TIaMUoMObcEy1mxNWFTvHKtzOAzUadq5lSDHmVOKAA8BqUWc2+mTtRA27YPAO1DYr AZvSclBNWXjZSLQO8bzIkiUh5zNPEWdFCNaxhfFnRy8G6EIkvPvjFveq09Zx3lXL3sgG mcsA== X-Gm-Message-State: ALoCoQkeFqzpbgcpxrbNXjqrW4qwlDMlbxyLRfvMrE5vmvww+1vHCfpV8sFYOmPrdT5luSDdDdNd X-Received: by 10.140.107.4 with SMTP id g4mr26716159qgf.100.1406391795622; Sat, 26 Jul 2014 09:23:15 -0700 (PDT) Original-Received: from holos.localdomain (ip68-100-203-36.dc.dc.cox.net. [68.100.203.36]) by mx.google.com with ESMTPSA id f92sm15524337qgd.44.2014.07.26.09.23.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Jul 2014 09:23:15 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91834 Archived-At: Eli Zaretskii writes: >> From: Mark Oteiza >> Date: Sun, 09 Feb 2014 02:39:09 -0500 >> >> I found 0cd28af (references Bug#15025). > > Dmitry, this is bzr revision 113891. Perhaps the new code in > delete_frame should include a few more tests from candidate_frame? > (That's just a wild guess, though: I don't really understand what does > tmux do to Emacs -- are we selecting a frame that is no longer > displayed or something?) New recipe for crash (guided by Eli's comment on #18112): Open a terminal emulator (TE) window. In that window: emacs --daemon -Q emacsclient -t C-x 2 In another TE window, emacsclient -t C-x C-c Go back to the first TE. Widen it, and shorten it so that the top buffer is no longer visible. Send input -- now emacs should have crashed. For the record, here is the original recipe I had found for the crash: 1. emacs --daemon -Q 2. Split vertically the tmux window into two panes: % 3. Start a client in one of the tmux panes: emacsclient -t 4. C-x 2 5. Break out the tmux pane containing the client to a new window: -! 6. Split vertically the tmux window into two panes: % 7. Open a new client. 8. Exit the new client. 9. Close the new tmux pane (^D). Now the first client occupies half the tmux window and is unfocused 10. Shrink the terminal emulator. Things should look bad now. 11. Send input to the client.