SIGSEGV on master when exporting MergedManuals.lyx in GUI

Scott Kostyshak skostysh at lyx.org
Fri Dec 3 16:04:23 UTC 2021


On Fri, Nov 05, 2021 at 12:10:20AM -0400, Scott Kostyshak wrote:
> On Wed, Apr 14, 2021 at 12:45:04PM -0400, Scott Kostyshak wrote:
> > On Tue, Apr 13, 2021 at 07:53:11PM +0100, José Abílio Matos wrote:
> > > On Tuesday, April 13, 2021 5:17:24 PM WEST Scott Kostyshak wrote:
> > > > I get the following terminal messages followed by a SIGSEGV when opening and
> > > > viewing MergedManuals.lyx in the GUI:
> > > > 
> > > >   QSocketNotifier: Invalid socket 16 and type 'Read', disabling...
> > > > 
> > > > Does anyone else see this on master?
> > > > 
> > > > Scott
> > > 
> > > For me it is socket 10. :-)
> > > 
> > > LyX does not crash but it enters an infinite cycle (read that after 5 minutes 
> > > it continues to output that line) sending that line to stderr.
> > > I am not sure if I am patient enough to wait for infinity before recovering 
> > > LyX's control. :-)
> > 
> > Thanks for confirming, José.
> 
> I can still reproduce the infinite cycle (but not the original SIGSEGV) on master.

Bisect leads to the following:

  65b674ba4eff34df1ef7a7cf0f9e6a2585294c00 is the first bad commit
  commit 65b674ba4eff34df1ef7a7cf0f9e6a2585294c00
  Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
  Date:   Thu Feb 18 15:35:42 2021 +0100
  
      Fix a crash when closing tabs
  
      Although I do not know how to reproduce the crash, the change makes sense.
  
      This is backported from gadmm's lyx-unstable tree
      https://gitlab.com/gadmm/lyx-unstable/-/commit/261ce4ea98d82625a07f0fcf85e40f9055d2db3b

I have no idea what the root cause is. Reverting that commit, it seems
to show the output (note that this is regarding the default output,
which is HTML), but in the terminal I get the following, which I'm not
sure is relevant:

  ATTENTION: default value of option mesa_glthread overridden by environment.
  ATTENTION: default value of option mesa_glthread overridden by environment.
  ATTENTION: default value of option mesa_glthread overridden by environment.
  ATTENTION: default value of option mesa_glthread overridden by environment.

I don't have a minimal document, but if you just edit MergedManuals.lyx
to remove everything after the introduction.lyx child that reproduces
the issue.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20211203/c0c31af8/attachment-0001.asc>


More information about the lyx-devel mailing list