From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by sourceware.org (Postfix) with ESMTPS id 7FC033856DE7 for ; Fri, 6 May 2022 14:05:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7FC033856DE7 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-il1-x133.google.com with SMTP id f5so4836513ilj.13 for ; Fri, 06 May 2022 07:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UW8xXkuFsb2C1xVe4M7p3Xjhrx+AVVFg1Oc8bwFl9rk=; b=Gw8JLXFl+6ZTOtF5ZJv/QPRjEkxqcvd/lvZY73MgqN1wueJ7r9+OahcxZ38ILuK2bB yEJF8jXqXkuw3IpgXWB3qQ24Fv3bqvrPikRg4ALcw+5SOhMyCtyunlX23uq8UWeNz4Gm MGaAyCefYwPMf8BFMEbMzhCUKHGgxBoQEtpXeMoUk0iTDwUMZDdfhWfbNpPJbc+QKkmd Vds63dbN4KMVbZ2NVS+3M9yqC4r/6QIttlgkByGm2Gqeq7VZ5V+S5NS+nVrjnkl1s3Mo v4T7NH/AEtbuZ8e16f26gPHBBExs2PWVSG/RZvFugGr5NGCJYrHDj8bVDONHMg0E/AOE p6dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UW8xXkuFsb2C1xVe4M7p3Xjhrx+AVVFg1Oc8bwFl9rk=; b=hERro66gsIX/O9ilT0IW2kj43n1f0+sg2omUIJmar1DUtoi/iwwkgbB3MfZu5f+Oqe xdm+1EQzZJoFMnpMSHvGN8Jgx4E+sZ3O62m7DVZcRp5iTj+DZGvOYR2ZzEEEEY9atcY+ /7AS9cqDkeKxuJsZg2CSHYDu19iYiyLq25BOjegVMueFAv3VSQg2zjNn7z8RjVNsWSF0 JpRdPdFYQoNNgBKK8Dt8+Ywg1zO2iMKL89zuuULZU0f+oB0uzfVL4m4gPQxEyIVEP4sH IwPDziJmUCjIAy/9PgYlxaIsEuHdEsd4Pmqca8dZHrecvl9ANROgVAQ1x+zvXUZa8CHA Wp8w== X-Gm-Message-State: AOAM531Vf8rLCnsZ9g/u2Sy5Hy6XhkEaXKQPBtwyyPcQt1793HO+GfVE IsCmc4qZALcMq7G2q63KiBB/9/Lv3y26NvPn7l0= X-Google-Smtp-Source: ABdhPJzViHbvNXqGxvgEa4pORh+zWdcxHt1r3oH49kcnnY6j/cGpqqbxU/MuXo4JV0nMcXpoD93LArzDpu3Xi0w113I= X-Received: by 2002:a92:c8ca:0:b0:2cb:fb69:b0e8 with SMTP id c10-20020a92c8ca000000b002cbfb69b0e8mr1345369ilq.238.1651845913685; Fri, 06 May 2022 07:05:13 -0700 (PDT) MIME-Version: 1.0 References: <20220504002343.4345bfe1630fa904276f0d37@nifty.ne.jp> <20220504011018.7c455cedb38571f786d72ae9@nifty.ne.jp> <20220504201610.125888f234ffe063fa6773c0@nifty.ne.jp> <20220505102045.fd6bfd46732e2eab0451e28c@nifty.ne.jp> <20220505102724.11b5675450f2b4f723a8b70e@nifty.ne.jp> <20220505105954.e910df2e6998d130a9373299@nifty.ne.jp> <20220505123307.e745d7c88877316b9a38d0c9@nifty.ne.jp> <20220505134120.242af45a631131d7e4217f5e@nifty.ne.jp> <20220505154440.d9002cc94e7d52b3c6c1f339@nifty.ne.jp> <20220506074851.3ce94db7a3ab2bedf7e07f93@nifty.ne.jp> In-Reply-To: <20220506074851.3ce94db7a3ab2bedf7e07f93@nifty.ne.jp> From: Orgad Shaneh Date: Fri, 6 May 2022 17:05:02 +0300 Message-ID: Subject: Re: mintty crashes on Windows 7 To: Takashi Yano Cc: cygwin@cygwin.com, Johannes Schindelin Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2022 14:05:16 -0000 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 causes even with bash built from original > source. > > Also, removing --with-installed-readline from configure and removing > READLINE_LDFLAGS= from make in PKGBUILD of MSYS2 bash package solves > the issue. > > So it seems to be a readline problem, not a bug in bash itself. Adding @Johannes Schindelin to the loop. Thanks for your investigation so far. So how do we proceed, assuming MSYS project does want to use the installed readline? I checked the readline PKGBUILD, and it only has very basic patches, none of them looks suspicious. Is (external) readline not used in cygwin/bash? Do you suggest that there's a bug in readline, that your change in the runtime uncovered? Or is it the other way around? What might we break if we revert the part I referenced earlier in fhandler_tty.cc? - Orgad