X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:reply-to:cc:from :message-id:date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=ddpxojfiH2e8uHJG 7a15sgsaGHllEXNIrHPSOGNShHvuakQGMWJ9bxJX9LKgfd4S4QtZMcGWe0VGGMl5 UzroizFtPb/iky6iZnO13I9zLU22YmN+LDAbt/xuSQpckaQFZj0VAlf3N9Swofca XFI1lN5fObIoVu2sxG9U/WZz5l4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:reply-to:cc:from :message-id:date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=uS6F+p924eFUiNsdshYF22 G0UZ4=; b=UQ6pOND854nMHSROK9s/1DawjVLIwhyaaLIhXy6+cwfdRheVkM/Q91 2Ibqb2xtvy8BsoAh5bSzNA45vrSaHPSpT40bA7FL1rjxciQOfOS7jGe7G9iHVyu9 LWUuLnq6T1h0WHcrTDxq4FRPQUM7iUc3RIC25bpz/WiA75VXQxb0M= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Subject: Re: Crash X11 with 3 commands To: cygwin AT cygwin DOT com References: Reply-To: cygwin AT cygwin DOT com Cc: Nem W Schlecht From: Jon Turney Message-ID: <56CCA145.1080706@dronecode.org.uk> Date: Tue, 23 Feb 2016 18:13:25 +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 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