This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] CALL FOR TESTING: Cygwin 1.7.10


On 7 December 2011 21:03, Ken Brown <kbrown@cornell.edu> wrote:
> On 12/6/2011 10:22 PM, Christopher Faylor wrote:
>>
>> On Tue, Dec 06, 2011 at 09:51:32PM -0500, Ken Brown wrote:
>>>
>>> On 12/6/2011 3:02 PM, Corinna Vinschen wrote:
>>>>
>>>> On Dec Â6 13:28, Ken Brown wrote:
>>>>>
>>>>> On 12/6/2011 12:57 PM, Corinna Vinschen wrote:
>>>>>>
>>>>>> On Dec Â6 12:37, Ken Brown wrote:
>>>>>>>
>>>>>>> On 12/6/2011 4:37 AM, Corinna Vinschen wrote:
>>>>>>>>
>>>>>>>> A lot of changes and fixes have been made in Cygwin since 1.7.9 has
>>>>>>>> been released, so we're looking forward to release Cygwin 1.7.10
>>>>>>>> soon.
>>>>>>>>
>>>>>>>> Please test the latest developer snapshots at
>>>>>>>> http://cygwin.com/snapshots/
>>>>>>>> which should have "Release Candidate" quality.
>>>>>>>
>>>>>>>
>>>>>>> Here's an easily reproducible problem with the 2011-12-05
>>>>>>> cygwin1.dll snapshot:
>>>>>>>
>>>>>>> 1. Download cygwin-inst-20111205.tar.bz2 .
>>>>>>>
>>>>>>> 2. Start mintty from the Cygwin Terminal shortcut.
>>>>>>>
>>>>>>> 3. tar -C/ -xf /path/to/cygwin-inst-20111205.tar.bz2
>>>>>>> --exclude=usr/bin/cygwin1.dll
>>>>>>>
>>>>>>> An hourglass appears and tar doesn't run. ÂI'm on W7-64 if that
>>>>>>> makes a difference.
>>>>>>
>>>>>>
>>>>>> Works for me. ÂI just tried from mintty with bash as login shell as
>>>>>> well as with tcsh as login shell. ÂI even left out the --exclude and
>>>>>> it worked ;)
>>>>>>
>>>>>> Does that really occur reproducible on your machine, every try?
>>>>>
>>>>>
>>>>> Yes. ÂAnd I just tried twice more with the same behavior. ÂEarlier
>>>>> today I had a similar thing occur on a different machine, on which
>>>>> the 2011-12-04 dll was installed instead of the 2011-12-05 dll. ÂOn
>>>>> that machine (again W7-64), the mintty window simply disappeared
>>>>> when I gave the tar command.
>>>>
>>>>
>>>> Hmm, that's weird.
>>>>
>>>>> The only other detail I can think of is that I started mintty by
>>>>> right-clicking on the shortcut and choosing "Run as administrator".
>>>>
>>>>
>>>> Still works for me. ÂThat's puzzeling. ÂAny chance to debug that?
>>>> Stracing, attaching with GDB, building your own debug-enabled Cygwin,
>>>> etc?
>>>
>>>
>>> I ran the tar command under strace. ÂI'm not good at deciphering strace
>>> output, but you can see it here:
>>>
>>> Â http://www.math.cornell.edu/~kbrown/cygwin/strace.out
>>>
>>> A few further observations:
>>>
>>> - As the strace output shows, tar does in fact run, contrary to what I
>>> originally thought; it's just that there's no indication in the terminal
>>> that tar finished.
>>>
>>> - When I finally get tired of waiting and kill mintty (and the
>>> associated bash process) from another terminal, mintty leaves the
>>> following stackdump on the desktop:
>>>
>>> Exception: STATUS_ACCESS_VIOLATION at eip=610CD8B1
>>> eax=0000010C ebx=0028C880 ecx=00000000 edx=0000010C esi=00000000
>>> edi=0028C860
>>> ebp=0028C7C8 esp=0028C790 program=C:\cygwin\bin\mintty.exe, pid 4972,
>>> thread main
>>> cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
>>> Stack trace:
>>> Frame   Function ÂArgs
>>> 0028C7C8 Â610CD8B1 Â(0000010C, 0028C95C, 0028C880, 0028C860)
>>> 0028C938 Â610CDC42 Â(00000002, 0028C95C, 00000000, 00000000)
>>> 20052168 Â610D1FE5 Â(00630072, 00000000, 00000018, 00000033)
>>> 200524F0 Â00000000 Â(6E776F72, 6D64612D, 2E2F6E69, 746E696D)
>>> End of stack trace
>>>
>>> - Other mintty windows that are open become unusable. ÂThe title bar
>>> shows "not responding".
>>>
>>> Does any of this help? ÂShould I be stracing mintty rather than tar?
>>
>>
>> Apparently yes. ÂI can't reproduce this either. ÂThe strace you provided
>> does look perfectly normal.
>
>
> OK. ÂI started mintty from the Cygwin Terminal shortcut, attached strace to
> it in a second terminal, and ran the tar command in the first terminal. ÂThe
> strace output is at
>
> Âhttp://www.math.cornell.edu/~kbrown/cygwin/strace_mintty.out
>
> Here's one more data point: The problem occurs only in a mintty started from
> the shortcut. ÂIf I start mintty from an existing mintty, I can run the tar
> command without a problem.

In the first case, mintty has explorer.exe as parent.
A case of bad parenting? :)

Dima

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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]