Re: mintty crashes on Windows 7

2022-05-08 Thread Orgad Shaneh
On Sun, May 8, 2022 at 2:09 PM Takashi Yano wrote: > I have pushed two patches to cygwin-3_3-branch. I am not sure > why, but the issue (bash with readline crash) seems to disappear. > > Could you please try? It no longer crashes with these fixes. Thanks! - Orgad -- Problem reports: http

Re: mintty crashes on Windows 7

2022-05-08 Thread Takashi Yano
On Sat, 7 May 2022 09:20:51 +0900 Takashi Yano wrote: > On Sat, 7 May 2022 05:13:23 +0900 > Takashi Yano wrote: > > On Fri, 6 May 2022 21:16:10 +0200 (CEST) > > Johannes Schindelin wrote: > > > Takashi, for the record, I find it hard to believe that the bug is > > > libreadline's because Orgad's sc

Re: mintty crashes on Windows 7

2022-05-06 Thread Takashi Yano
On Sat, 7 May 2022 05:13:23 +0900 Takashi Yano wrote: > On Fri, 6 May 2022 21:16:10 +0200 (CEST) > Johannes Schindelin wrote: > > Takashi, for the record, I find it hard to believe that the bug is > > libreadline's because Orgad's scenario works if he reverts that patch in > > the _MSYS2 runtime_,

Re: mintty crashes on Windows 7

2022-05-06 Thread Takashi Yano
On Fri, 6 May 2022 21:16:10 +0200 (CEST) Johannes Schindelin wrote: > Takashi, for the record, I find it hard to believe that the bug is > libreadline's because Orgad's scenario works if he reverts that patch in > the _MSYS2 runtime_, _and_ it is rather dubious that libreadline would > potentially

Re: mintty crashes on Windows 7

2022-05-06 Thread Johannes Schindelin
Hi Orgad, On Fri, 6 May 2022, Orgad Shaneh wrote: > Adding @Johannes Schindelin to the loop. Thank you, but that unfortunately does not work on this list. Due to the policy to never reply-to-all, the subsequent replies immediately lost me. The reason why MSYS2's Bash does not depend on the `lib

Re: mintty crashes on Windows 7

2022-05-06 Thread Takashi Yano
On Fri, 6 May 2022 17:05:02 +0300 Orgad Shaneh wrote: > On Fri, May 6, 2022 at 1:49 AM Takashi Yano wrote: > > > Only bash in msys2 package fails. > > > > I identified the difference which causes the issue > > between bash built from original source and msys2 bash. > > > > If --enable-readline and

Re: mintty crashes on Windows 7

2022-05-06 Thread Brian Inglis
On 2022-05-06 08:05, Orgad Shaneh wrote: On Fri, May 6, 2022 at 1:49 AM Takashi Yano wrote: Only bash in msys2 package fails. I identified the difference which causes the issue between bash built from original source and msys2 bash. If --enable-readline and --with-installed-readline is specif

Re: mintty crashes on Windows 7

2022-05-06 Thread Orgad Shaneh
On Fri, May 6, 2022 at 1:49 AM Takashi Yano wrote: > > Only bash in msys2 package fails. > > I identified the difference which causes the issue > between bash built from original source and msys2 bash. > > If --enable-readline and --with-installed-readline is specified > to configure, the problem

Re: mintty crashes on Windows 7

2022-05-05 Thread Takashi Yano
On Thu, 5 May 2022 15:44:40 +0900 Takashi Yano wrote: > On Thu, 5 May 2022 13:41:20 +0900 > Takashi Yano wrote: > > I downloaded bash source files from: > > https://git.savannah.gnu.org/git/bash.git > > and built it by: > > ./configure && make > > and replaced /usr/bin/bash. > > > > Then the issue

Re: mintty crashes on Windows 7

2022-05-04 Thread Takashi Yano
On Thu, 5 May 2022 13:41:20 +0900 Takashi Yano wrote: > I downloaded bash source files from: > https://git.savannah.gnu.org/git/bash.git > and built it by: > ./configure && make > and replaced /usr/bin/bash. > > Then the issue disappeared. > Now, I start to suspect the issue is a bug of msys2 bash

Re: mintty crashes on Windows 7

2022-05-04 Thread Takashi Yano
On Thu, 5 May 2022 12:33:07 +0900 Takashi Yano wrote: > On Thu, 5 May 2022 10:59:54 +0900 > Takashi Yano wrote: > > On Thu, 5 May 2022 10:27:24 +0900 > > Takashi Yano wrote: > > > On Thu, 5 May 2022 10:20:45 +0900 > > > Takashi Yano wrote: > > > > > > > On Wed, 4 May 2022 16:27:43 +0300 > > > > Or

Re: mintty crashes on Windows 7

2022-05-04 Thread Takashi Yano
On Thu, 5 May 2022 10:59:54 +0900 Takashi Yano wrote: > On Thu, 5 May 2022 10:27:24 +0900 > Takashi Yano wrote: > > On Thu, 5 May 2022 10:20:45 +0900 > > Takashi Yano wrote: > > > > > On Wed, 4 May 2022 16:27:43 +0300 > > > Orgad Shaneh wrote: > > > > On Wed, May 4, 2022 at 2:16 PM Takashi Yano

Re: mintty crashes on Windows 7

2022-05-04 Thread Takashi Yano
On Thu, 5 May 2022 10:27:24 +0900 Takashi Yano wrote: > On Thu, 5 May 2022 10:20:45 +0900 > Takashi Yano wrote: > > > On Wed, 4 May 2022 16:27:43 +0300 > > Orgad Shaneh wrote: > > > On Wed, May 4, 2022 at 2:16 PM Takashi Yano > > > wrote: > > > > > > > > > Reduced the revert to this: > > > > >

Re: mintty crashes on Windows 7

2022-05-04 Thread Takashi Yano
On Thu, 5 May 2022 10:20:45 +0900 Takashi Yano wrote: > On Wed, 4 May 2022 16:27:43 +0300 > Orgad Shaneh wrote: > > On Wed, May 4, 2022 at 2:16 PM Takashi Yano > > wrote: > > > > > > > Reduced the revert to this: > > > > @@ -979,16 +979,10 @@ fhandler_pty_slave::open (int flags, mode_t) > > >

Re: mintty crashes on Windows 7

2022-05-04 Thread Takashi Yano
On Wed, 4 May 2022 16:27:43 +0300 Orgad Shaneh wrote: > On Wed, May 4, 2022 at 2:16 PM Takashi Yano wrote: > > > > > Reduced the revert to this: > > > @@ -979,16 +979,10 @@ fhandler_pty_slave::open (int flags, mode_t) > > > code does not work as expected because it calls Win32 > > >

Re: mintty crashes on Windows 7

2022-05-04 Thread Orgad Shaneh
On Wed, May 4, 2022 at 2:16 PM Takashi Yano wrote: > > > Reduced the revert to this: > > @@ -979,16 +979,10 @@ fhandler_pty_slave::open (int flags, mode_t) > > code does not work as expected because it calls Win32 > > API directly rather than cygwin read()/write(). Due to > >

Re: mintty crashes on Windows 7

2022-05-04 Thread Takashi Yano
On Wed, 4 May 2022 12:46:28 +0300 Orgad Shaneh wrote: > On Wed, May 4, 2022 at 12:33 PM Orgad Shaneh wrote: > > > > On Tue, May 3, 2022 at 7:10 PM Takashi Yano > > wrote: > > > > > > On Tue, 3 May 2022 18:52:28 +0300 > > > Orgad Shaneh wrote: > > > > On Tue, May 3, 2022 at 6:23 PM Takashi Yano

Re: mintty crashes on Windows 7

2022-05-04 Thread Orgad Shaneh
On Wed, May 4, 2022 at 12:33 PM Orgad Shaneh wrote: > > On Tue, May 3, 2022 at 7:10 PM Takashi Yano wrote: > > > > On Tue, 3 May 2022 18:52:28 +0300 > > Orgad Shaneh wrote: > > > On Tue, May 3, 2022 at 6:23 PM Takashi Yano > > > wrote: > > > > > > > > On Tue, 3 May 2022 14:47:17 +0300 > > > > O

Re: mintty crashes on Windows 7

2022-05-04 Thread Orgad Shaneh
On Tue, May 3, 2022 at 7:10 PM Takashi Yano wrote: > > On Tue, 3 May 2022 18:52:28 +0300 > Orgad Shaneh wrote: > > On Tue, May 3, 2022 at 6:23 PM Takashi Yano > > wrote: > > > > > > On Tue, 3 May 2022 14:47:17 +0300 > > > Orgad Shaneh wrote: > > > > Hi, > > > > > > > > Running `mintty ./bash` cr

Re: mintty crashes on Windows 7

2022-05-03 Thread Takashi Yano
On Tue, 3 May 2022 18:52:28 +0300 Orgad Shaneh wrote: > On Tue, May 3, 2022 at 6:23 PM Takashi Yano wrote: > > > > On Tue, 3 May 2022 14:47:17 +0300 > > Orgad Shaneh wrote: > > > Hi, > > > > > > Running `mintty ./bash` crashes on Windows 7 on cygwin-3_3-branch. > > > > > > Tested in MSYS2 on merge

Re: mintty crashes on Windows 7

2022-05-03 Thread Orgad Shaneh
On Tue, May 3, 2022 at 6:23 PM Takashi Yano wrote: > > On Tue, 3 May 2022 14:47:17 +0300 > Orgad Shaneh wrote: > > Hi, > > > > Running `mintty ./bash` crashes on Windows 7 on cygwin-3_3-branch. > > > > Tested in MSYS2 on merge-3.3 branch from > > https://github.com/orgads/msys2-runtime-1. It inclu

Re: mintty crashes on Windows 7

2022-05-03 Thread Takashi Yano
On Tue, 3 May 2022 14:47:17 +0300 Orgad Shaneh wrote: > Hi, > > Running `mintty ./bash` crashes on Windows 7 on cygwin-3_3-branch. > > Tested in MSYS2 on merge-3.3 branch from > https://github.com/orgads/msys2-runtime-1. It includes the tip of > cygwin-3_3-branch as of today (05827d2df8). > > St