From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65437 invoked by alias); 23 Feb 2016 18:13:41 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 65423 invoked by uid 89); 23 Feb 2016 18:13:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=sequences, Hx-languages-length:1398, volunteer, experimenting X-HELO: out4-smtp.messagingengine.com Received: from out4-smtp.messagingengine.com (HELO out4-smtp.messagingengine.com) (66.111.4.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 23 Feb 2016 18:13:39 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 9B510207CD for ; Tue, 23 Feb 2016 13:13:37 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Tue, 23 Feb 2016 13:13:37 -0500 Received: from [192.168.1.102] (host86-184-210-93.range86-184.btcentralplus.com [86.184.210.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 2AC05C00016; Tue, 23 Feb 2016 13:13:37 -0500 (EST) Subject: Re: Crash X11 with 3 commands To: cygwin@cygwin.com References: Reply-To: cygwin@cygwin.com Cc: Nem W Schlecht From: Jon Turney Message-ID: <56CCA145.1080706@dronecode.org.uk> Date: Tue, 23 Feb 2016 18:13:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-02/txt/msg00370.txt.bz2 On 11/12/2015 16:21, Nem W Schlecht wrote: > I was experimenting with Xterm escape sequences - trying to > resize/reposition a window while its iconized and found I can crash > X11 in just 3 escape commands in an Xterm (which I have in a shell > script): > > --------------------------------------------------------------- > #!/bin/bash -x > > # Iconify window > echo -ne "\e[2t" > > # Set height/width to 36x80 and position at +100+100 > # If I do just one of these X11 does *not* crash > > # Resize to 36x80. This one doesn't work, even if I run just it > # by itself so X11 doesn't crash. Also, this one has to be first. > # If I re-position, then change geometry, it doesn't crash. > echo -ne "\e[8;36;80t" > > # The re-position, next, actually does work behind the scenes, > # if I run just this alone and then de-iconify manually, its in the > # correct position. > echo -ne "\e[3;100;100t" > > # To de-iconify (doesn't work in Cygwin anyways, unfortunately) > echo -ne "\e[1t" > --------------------------------------------------------------- > > > Can anybody else confirm? (WARNING - if it does, it'll kill all your > X11 windows! Be careful.) Thanks for reporting this. I was able to reproduce the crash (sporadically), but only when I was using XWin with the -compositewm option. Are you using that? -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple