From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119435 invoked by alias); 24 Feb 2016 10:08:53 -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 119426 invoked by uid 89); 24 Feb 2016 10:08:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=sequences, resetting, experimenting, Schlecht X-HELO: mail-lb0-f173.google.com Received: from mail-lb0-f173.google.com (HELO mail-lb0-f173.google.com) (209.85.217.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 24 Feb 2016 10:08:51 +0000 Received: by mail-lb0-f173.google.com with SMTP id x4so7480213lbm.0 for ; Wed, 24 Feb 2016 02:08:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:reply-to:organization :user-agent:mime-version:to:subject:references:in-reply-to :content-type; bh=9NwC29KPKQOHUD4XrAjCYuMpWT+uDkXwvDAsSjNTQ+0=; b=hq725CS8xTZDaV4sC4fqOUqwKLd+AsrkS4TTcn3Vv+KbRktCo5kJZ7X862FK/Vsn3I 5pZ4vCqsV/JQEMFLcz3LBoGsahyCBM4sUlJmPBWqrhbbXmW17fyw2m6JRvGbkviVg7g0 AqdUGxUfceaVhlCUh8h9b1d8bntDYUKPMfoo7+7sIpZvsknPOia+Ss3KEtj9dQUdHJok SkgcyXEwCYtdCEEVSn2E3bJxuFcXhgji52s/eO3f3g4M3HWPnaY7kSODYE1h7rEfUxZC xbHRuV1GhYJ/89BcNviM7d49Cl1QA9AVuli1oRbUDDe9Pvum5Bxd9m4NHoHyzDN37fzR RTZA== X-Gm-Message-State: AG10YOQuzC7Dg0qymY7fiInq5UpZYMexxwLq8nmG3lTrCeKBxUhTG+St0/l1zISe6Zu11g== X-Received: by 10.112.171.100 with SMTP id at4mr13865192lbc.7.1456308528061; Wed, 24 Feb 2016 02:08:48 -0800 (PST) Received: from [172.23.202.33] ([194.67.36.34]) by smtp.gmail.com with ESMTPSA id i66sm282523lfg.4.2016.02.24.02.08.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Feb 2016 02:08:46 -0800 (PST) Message-ID: <56CD812C.5080305@gmail.com> Date: Wed, 24 Feb 2016 10:08:00 -0000 From: Andrey ``Bass'' Shcheglov Reply-To: andrewbass@gmail.com User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Crash X11 with 3 commands References: <56CCA145.1080706@dronecode.org.uk> In-Reply-To: <56CCA145.1080706@dronecode.org.uk> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="w1D6fexSbApDRSV5UtliadTooG0nkC3sX" X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00380.txt.bz2 --w1D6fexSbApDRSV5UtliadTooG0nkC3sX Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Content-length: 1613 Just my 2 cents. I can't reproduce this, but once the script is executed 3 or more times, I start seeing permanent visual artifacts in the xterm window, which may indicate memory corruption. The artifacts have nothing to do with the terminal state (hard resetting the terminal doesn't help). The screenshot is here: Regards, Andrey. > 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.) --w1D6fexSbApDRSV5UtliadTooG0nkC3sX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 181 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlbNgSwACgkQFX2weoTrDGcsxQCfY3eBlq81STOZcXZJrwFLYdtz 6PAAoImmWPyKV6pqnkPBMrlqLqbIE8dt =1TF+ -----END PGP SIGNATURE----- --w1D6fexSbApDRSV5UtliadTooG0nkC3sX--