Re: [OT] Wine + Cygwin: `script -e` exit status forwarding randomly return zero for non zero child process

2015-10-21 Thread Corinna Vinschen
On Oct 21 12:50, Qian Hong wrote: > Update: > > The script exit status issue is fixed in the Wine side in Wine Staging > 1.7.53, patch commited as > https://github.com/wine-compholio/wine-staging/commit/be51f622f7ed5a4f558bc54743314b310727ac4d > > (OT of OT: In WineConf2015, upstream WineHQ forma

Re: [OT] Wine + Cygwin: `script -e` exit status forwarding randomly return zero for non zero child process

2015-10-20 Thread Qian Hong
Update: The script exit status issue is fixed in the Wine side in Wine Staging 1.7.53, patch commited as https://github.com/wine-compholio/wine-staging/commit/be51f622f7ed5a4f558bc54743314b310727ac4d (OT of OT: In WineConf2015, upstream WineHQ formally announced Wine Staging become parts of offic

Re: [OT] Wine + Cygwin: `script -e` exit status forwarding randomly return zero for non zero child process

2015-09-08 Thread Corinna Vinschen
On Sep 8 01:13, Qian Hong wrote: > Hi Corinna, > > Thanks again for the quick reply. > > On Mon, Sep 7, 2015 at 8:28 PM, Corinna Vinschen wrote: > > The terminate_thread_frees_stack flag is set to false for XP/2003 and to > > true for any newer OS. I guess this is a double-free because Wine's >

Re: [OT] Wine + Cygwin: `script -e` exit status forwarding randomly return zero for non zero child process

2015-09-07 Thread Qian Hong
Hi Corinna, Thanks again for the quick reply. On Mon, Sep 7, 2015 at 8:28 PM, Corinna Vinschen wrote: > Guys, no offense meant, but I'd really appreciate if you could peruse > and refer to the original upstream Cygwin repo at > > https://sourceware.org/git/?p=newlib-cygwin.git > > This is what w

Re: [OT] Wine + Cygwin: `script -e` exit status forwarding randomly return zero for non zero child process

2015-09-07 Thread Corinna Vinschen
On Sep 7 19:02, Qian Hong wrote: > Hi Corinna, > > Sorry for delay, our progress on this issue is slow. > > Many thanks for your great information, it does help us became closer > to the reason. > > On Thu, Sep 3, 2015 at 6:55 PM, Corinna Vinschen > wrote: > > Comparing the straces, two intere

Re: [OT] Wine + Cygwin: `script -e` exit status forwarding randomly return zero for non zero child process

2015-09-07 Thread Qian Hong
Hi Corinna, Sorry for delay, our progress on this issue is slow. Many thanks for your great information, it does help us became closer to the reason. On Thu, Sep 3, 2015 at 6:55 PM, Corinna Vinschen wrote: > Comparing the straces, two interesting facts are conspicuous: > - After the forked scri

Re: [OT] Wine + Cygwin: `script -e` exit status forwarding randomly return zero for non zero child process

2015-09-03 Thread Corinna Vinschen
Hi Qian, On Sep 2 22:27, Qian Hong wrote: > Dear list, > > Before the actual question, I wonder whether Wine specific issues are > considered as off-topic here, and whether it is allowed here? Anyway, > thanks for your great contribution on Cygwin! > > In the past few months, we were working on

Re: [OT] Wine + Cygwin: `script -e` exit status forwarding randomly return zero for non zero child process

2015-09-02 Thread Qian Hong
Dear folks, here is a few update: This bug was originally found with MSYS2, but I've confirm it happens on Cygwin (CYGWIN_NT-5.1 2.2.1(0.289/5/3) 2015-08-20 11:40 i686 Cygwin) as well. For convenient of compile&test I'm mostly debugging on MSYS2, which is rebased above the below Cygwin commit: c