delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/12/09:04:04

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:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=ZAl39b/vxcL2njZWg7O/nrBp9xd9g
IXkYD3uiYSke/325ZmYpzmxQiwB0E04A2pLlCiRbigfxZroeWmiBz+pfuv+EH+Jm
mRCiTSjHabuiOEKpiOp0aNYGMYKdblnwkANeU9RCn8zlCwkx7w1z86H4ZcmDHJsJ
AOLr+Wj3C2vO64=
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:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=Y1msRCWvBNcV5FRo35IPYMmap/o=; b=Zqt
tlYGwHcWis2a9ehuj0yHhSM1ruw+QNwgAtXlfSAFyIDXIcDHTm5UKxAKxtAoHMTu
MWZprT2V3s4PFsGO6kBUqQ0WP0kf/Ko8Il3QSpcE6NhycEF8oBweFp1kFs/UFp60
3i+q3+iIfj9H96IptuqeTwzxCauNS0/kaM25AANc=
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=-0.7 required=5.0 tests=BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ea0-f194.google.com
MIME-Version: 1.0
X-Received: by 10.14.88.7 with SMTP id z7mr3090166eee.90.1394629423671; Wed, 12 Mar 2014 06:03:43 -0700 (PDT)
Date: Wed, 12 Mar 2014 09:03:43 -0400
Message-ID: <CAK2rWZWGaAgKrqa0LUx7aWKXf8aTcAYCfQb3-oju8oK9664FUQ@mail.gmail.com>
Subject: Problems with run.exe (silent crashes) - stopped working suddenly
From: Gulliver Smith <gulliver DOT m DOT smith AT gmail DOT com>
To: cygwin AT cygwin DOT com

My system is Windows 7 professional 64 bit. The Cygwin is 32 bit,
updated monthly

I have a backup script that used to run successfully from a Windows
shortcut or scheduled task as

C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c
"/home/gulliver/bin/backup >> /cygdrive/c/temp/backup.log 2>&1"

However, around August 2013 this stopped working (it took me a while to notice)

If I try in a windows command prompt it also crashed,

I get a small run.exe.stackdump file:

Stack trace:
Frame     Function  Args
00284B28  610303D2 (00000114, 0000EA60, 000000A4, 00284B78)
00284C38  610DA4DD (00000000, 00650000, 00284C78, 0028CE64)

The problem is not with the bash command or script - it runs fine from
both the command prompt or a shortcut if I change the command to

C:\cygwin\bin\bash.exe -l -c "/home/gulliver/bin/backup >>
/cygdrive/c/temp/backup.log 2>&1"

but then there is an empty Windows window open for the whole time.

A related issue is an xterm shortcut that used to work:

C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c "xterm.exe -title TTTTT
-bg '#EEFFFE' -e ssh -Y xxxx AT yyyy&"

This used to work as intended. Now it opens an xterm on the local host
only - the ssh command fails. Again, removing the "run" and executing
"bash" directly works but opens a second window.

Does anyone know what might be happening or how to debug this problem?

Thanks
Gulliver

--
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