delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/02/23/13:14:00

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: <CA+2x6-LySp7b3UzNdvnb6bsUujpY+-As5LqQjUtanH_qSD4scQ AT mail DOT gmail DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Nem W Schlecht <nemws1 AT gmail DOT com>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
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: <CA+2x6-LySp7b3UzNdvnb6bsUujpY+-As5LqQjUtanH_qSD4scQ@mail.gmail.com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019