www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/30/20:14:11

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E2DA93857C52
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=lyx.org
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=goc-cygwin AT m DOT gmane-mx DOT org
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Enrico Forestieri <forenr AT lyx DOT org>
Subject: Re: LyX becomes unresponsive to mouse
Date: Sun, 31 Jan 2021 02:13:12 +0100
Message-ID: <20210131011312.GA12353@GIOVE>
References: <12fcbdaf-601e-de8e-98bc-cdd20418d0ce AT alum DOT mit DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.12.1 (2019-06-15)
In-Reply-To: <12fcbdaf-601e-de8e-98bc-cdd20418d0ce@alum.mit.edu>
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00, BODY_8BITS,
HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 10V1Dq6a021928

On Sat, Jan 30, 2021 at 02:53:29PM -0500, Chris Marshall wrote:
> Hi,
> 
> Yesterday I started some documentation work using my favorite LyX cygwin
> install:
> 
> > CYGWIN_NT-10.0 mypc 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin
> 
> and
> 
> >  lyx --version
> > LyX 2.3.5-1 (2020-06-02)
> > Configuration
> >   Host type:               x86_64-pc-cygwin
> >   Special build flags:      build=release std-regex use-hunspell
> > use-aspell use-enchant
> >   Bundled libraries:        boost mythes
> >   C++ Compiler:            g++ (9.3.0)
> >   C++ Compiler flags:       -O2 -std=c++14
> >   C++ Compiler user flags:   -std=c++14  -ggdb -O2 -pipe -Wall
> > -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong
> > --param=ssp-buffer-size=4 -fdebug-prefix-map=/pub/devel/lyx/lyx-2.3.5.1-1.x86_64/build=/usr/src/debug/lyx-2.3.5.1-1 -fdebug-prefix-map=/pub/devel/lyx/lyx-2.3.5.1-1.x86_64/src/lyx-2.3.5-1=/usr/src/debug/lyx-2.3.5.1-1
> >   Linker flags:
> >   Linker user flags:
> >   Qt Frontend:
> >       Qt version:          5.9.4
> >   Packaging:               posix
> >   LyX binary dir:          /usr/bin
> >   LyX files dir:           /usr/share/lyx
> 
> After about 5 minutes, the LyX window and frame became completely
> unresponsive to mouse interaction.  I could resize the window but the
> contents did not resize/rearrange to fit the change in window shape.
> 
> Doing "kill -9 PID-of-lyx" had no effect but if I killed the PPID-of-lyx
> then the lyx window would close.
> 
> I tried running LyX with "strace lyx" which was slow on starting from all
> the terminal output and then the window opened but the expected contents
> were never displayed.  It appears that the "hang" happened before the strace
> lyx could complete its initialization.
> 
> Again, "kill -9 PID-of-lyx" had no effect but it worked if I killed the
> PPID-of-lyx (i.e. strace and not bash this time).
> 
> I tried uninstalling and reinstalling  the previous cygwin release version
> and even the latest cygports version.  All showed the same problem.
> 
> It may be useful that I had not had this problem previously with lyx on
> windows 10 with cygwin.  I don't know those version numbers but it was
> before the move to Qt5 which I saw some discussion regarding LyX.
> 
> Has anyone seen this problem and/or have an idea for a fix?  It seems not to
> be specific to the recent LyX version number but I am not able to try
> earlier than the 2.3.4.2-2 cygwin release.
> 
> At the moment, I am stuck without LyX under cygwin.  I plan to try the
> native LyX for windows to see if I can get LyX running for the near term.

If you have specified a path for the LyXServer pipe in
Tools > Preferences > Paths, try removing it and restarting lyx.

I also observed this strange behavior recently, and removing that path
cured it. Possibly there has been a change in the fifo code in cygwin
that has impacted lyx.

-- 
Enrico

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019