Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
On Fri, Jan 28, 2022 at 06:18:29PM +0100, Pavel Sanda wrote: > On Mon, Jan 24, 2022 at 11:07:38AM +0100, Pavel Sanda wrote: > > On Mon, Dec 27, 2021 at 10:01:12PM +0100, Jean-Marc Lasgouttes wrote: > > > Le 27/12/2021 ?? 19:53, Scott Kostyshak a écrit : > > > >>It is not that I am not interested, but rather that I am incompetent in > > > >>these things. Did someone look for subsequent commits in the > > > >>lyx-unstable > > > >>tree? > > > > > > > >I took a quick look and did not see anything right after. > > > > > > > >I just compiled lyx-unstable and reproduce the bug on it (i.e., on > > > >branch "unstable"). > > > > > > Thanks for checking. > > > > Given that we either can not reproduce the crash which should have been > > fixed > > nor we have clue how to fix the current one caused by the fix I'll revert > > soon. > > Done at 33c68d7750e. Thanks, Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
On Mon, Jan 24, 2022 at 11:07:38AM +0100, Pavel Sanda wrote: > On Mon, Dec 27, 2021 at 10:01:12PM +0100, Jean-Marc Lasgouttes wrote: > > Le 27/12/2021 ?? 19:53, Scott Kostyshak a écrit : > > >>It is not that I am not interested, but rather that I am incompetent in > > >>these things. Did someone look for subsequent commits in the lyx-unstable > > >>tree? > > > > > >I took a quick look and did not see anything right after. > > > > > >I just compiled lyx-unstable and reproduce the bug on it (i.e., on > > >branch "unstable"). > > > > Thanks for checking. > > Given that we either can not reproduce the crash which should have been fixed > nor we have clue how to fix the current one caused by the fix I'll revert > soon. Done at 33c68d7750e. > Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
On Mon, Dec 27, 2021 at 10:01:12PM +0100, Jean-Marc Lasgouttes wrote: > Le 27/12/2021 ?? 19:53, Scott Kostyshak a écrit : > >>It is not that I am not interested, but rather that I am incompetent in > >>these things. Did someone look for subsequent commits in the lyx-unstable > >>tree? > > > >I took a quick look and did not see anything right after. > > > >I just compiled lyx-unstable and reproduce the bug on it (i.e., on > >branch "unstable"). > > Thanks for checking. Given that we either can not reproduce the crash which should have been fixed nor we have clue how to fix the current one caused by the fix I'll revert soon. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
Le 27/12/2021 à 19:53, Scott Kostyshak a écrit : It is not that I am not interested, but rather that I am incompetent in these things. Did someone look for subsequent commits in the lyx-unstable tree? I took a quick look and did not see anything right after. I just compiled lyx-unstable and reproduce the bug on it (i.e., on branch "unstable"). Thanks for checking. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
On Mon, Dec 27, 2021 at 12:30:23PM +0100, Jean-Marc Lasgouttes wrote: > Le 27/12/2021 à 10:43, Pavel Sanda a écrit : > > On Sun, Dec 26, 2021 at 11:06:54PM -0500, Scott Kostyshak wrote: > > > > Anyway if no one is interested in understading underlying issue I would > > > > favour > > > > reverting 65b674ba4eff of unknown crash than keeping known freeze :) > > > > > > Thanks, Pavel. This seems like a tricky issue to debug. > > > > If JMarc is not interested, let's just revert. Pavel > > > It is not that I am not interested, but rather that I am incompetent in > these things. Did someone look for subsequent commits in the lyx-unstable > tree? I took a quick look and did not see anything right after. I just compiled lyx-unstable and reproduce the bug on it (i.e., on branch "unstable"). Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
Le 27/12/2021 à 10:43, Pavel Sanda a écrit : On Sun, Dec 26, 2021 at 11:06:54PM -0500, Scott Kostyshak wrote: Anyway if no one is interested in understading underlying issue I would favour reverting 65b674ba4eff of unknown crash than keeping known freeze :) Thanks, Pavel. This seems like a tricky issue to debug. If JMarc is not interested, let's just revert. Pavel It is not that I am not interested, but rather that I am incompetent in these things. Did someone look for subsequent commits in the lyx-unstable tree? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
On Sun, Dec 26, 2021 at 11:06:54PM -0500, Scott Kostyshak wrote: > > Anyway if no one is interested in understading underlying issue I would > > favour > > reverting 65b674ba4eff of unknown crash than keeping known freeze :) > > Thanks, Pavel. This seems like a tricky issue to debug. If JMarc is not interested, let's just revert. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
On Sun, Dec 26, 2021 at 10:33:08PM +0100, Pavel Sanda wrote: > On Sat, Dec 25, 2021 at 07:38:22PM +0100, Pavel Sanda wrote: > > 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. > > The infinite cycle can be reproduced by way simpler document. > 1) Create master a and child b. > 2) Put into child equation. > 3) In master Document->Settings->Math Output->Images > 4) View in XHTML. > 5) Freeze in cycle QSocketNotifier: Invalid socket 16 and type 'Read', > disabling... > > I do not see the same problem in 2.3 and can confirm that reverting > 65b674ba4eff > fixes the problem though I do not see straightforward connection between > images creation and document childern business. > > Anyway if no one is interested in understading underlying issue I would favour > reverting 65b674ba4eff of unknown crash than keeping known freeze :) Thanks, Pavel. This seems like a tricky issue to debug. Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
On Sat, Dec 25, 2021 at 07:38:22PM +0100, Pavel Sanda wrote: > 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. The infinite cycle can be reproduced by way simpler document. 1) Create master a and child b. 2) Put into child equation. 3) In master Document->Settings->Math Output->Images 4) View in XHTML. 5) Freeze in cycle QSocketNotifier: Invalid socket 16 and type 'Read', disabling... I do not see the same problem in 2.3 and can confirm that reverting 65b674ba4eff fixes the problem though I do not see straightforward connection between images creation and document childern business. Anyway if no one is interested in understading underlying issue I would favour reverting 65b674ba4eff of unknown crash than keeping known freeze :) Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
On Sat, Dec 25, 2021 at 07:38:22PM +0100, Pavel Sanda wrote: > 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. > > I can see SIGSEGV, but only in case I run the instance under GDB (the app > does not crash, > I think because it happens only in additional thread). Thanks, Pavel. If you have time (no worries if not), can you also confirm that if you revert 65b674ba then you cannot reproduce the SIGSEGV (in GDB) ? Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
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. I can see SIGSEGV, but only in case I run the instance under GDB (the app does not crash, I think because it happens only in additional thread). . Backtrace: [Switching to Thread 0x7fffe8f1c700 (LWP 230667)] 0x56478e0f in lyx::Buffer::listMacroNames (this=0x0, macros=...) at Buffer.cpp:3915 3915if (d->macro_lock) (gdb) bt #0 0x56478e0f in lyx::Buffer::listMacroNames (this=0x0, macros=...) at Buffer.cpp:3915 #1 0x568f403a in lyx::InsetMathHull::preparePreview (this=0x585d51d0, pos=..., forexport=true) at mathed/InsetMathHull.cpp:814 #2 0x568f4f4f in lyx::InsetMathHull::loadPreview (this=0x585d51d0, pos=...) at mathed/InsetMathHull.cpp:878 #3 0x569001cd in lyx::InsetMathHull::xhtml[abi:cxx11](lyx::XMLStream&, lyx::OutputParams const&) const (this=0x585d51d0, xs=..., op=...) at mathed/InsetMathHull.cpp:2682 #4 0x566e3da7 in lyx::Paragraph::simpleLyXHTMLOnePar[abi:cxx11](lyx::Buffer const&, lyx::XMLStream&, lyx::OutputParams const&, l yx::Font const&, bool, bool, long) const (this=0x5832f940, buf=..., xs=..., runparams=..., outerfont=..., start_paragraph=true, close_paragraph=true, initial=0) at Paragraph.cpp:3986 #5 0x566cd6c6 in lyx::(anonymous namespace)::makeParagraphs (buf=..., xs=..., runparams=..., text=..., pbegin= {itemdepth = 0 '\000', d = 0x5832f960}, pend={itemdepth = 1 '\001', d = 0x0}) at output_xhtml.cpp:345 #6 0x566cf6b6 in lyx::xhtmlParagraphs (text=..., buf=..., xs=..., runparams=...) at output_xhtml.cpp:667 #7 0x56b5151e in lyx::InsetText::insetAsXHTML[abi:cxx11](lyx::XMLStream&, lyx::OutputParams const&, lyx::InsetText::XHTMLOptions ) const (this=0x5832f840, xs=..., rp=..., opts=lyx::InsetText::JustText) at insets/InsetText.cpp:863 #8 0x56b1b2a2 in lyx::InsetTableCell::xhtml[abi:cxx11](lyx::XMLStream&, lyx::OutputParams const&) const (this=0x5832f840, xs=..., rp=...) at insets/InsetTabular.cpp:4317 #9 0x56b174d3 in lyx::Tabular::xhtmlRow[abi:cxx11](lyx::XMLStream&, unsigned long, lyx::OutputParams const&, bool) const ( this=0x58329330, xs=..., row=8, runparams=..., header=false) at insets/InsetTabular.cpp:3847 #10 0x56b18533 in lyx::Tabular::xhtml[abi:cxx11](lyx::XMLStream&, lyx::OutputParams const&) const (this=0x58329330, xs=..., runparams=...) at insets/InsetTabular.cpp:3930 #11 0x56b24b0a in lyx::InsetTabular::xhtml[abi:cxx11](lyx::XMLStream&, lyx::OutputParams const&) const (this=0x58329320, xs=..., rp=...) at insets/InsetTabular.cpp:6189 #12 0x566e3da7 in lyx::Paragraph::simpleLyXHTMLOnePar[abi:cxx11](lyx::Buffer const&, lyx::XMLStream&, lyx::OutputParams const&, l yx::Font const&, bool, bool, long) const (this=0x58329050, buf=..., xs=..., runparams=..., outerfont=..., start_paragraph=true, close_paragraph=true, initial=0) at Paragraph.cpp:3986 #13 0x566cd6c6 in lyx::(anonymous namespace)::makeParagraphs (buf=..., xs=..., runparams=..., text=..., pbegin= {itemdepth = 0 '\000', d = 0x583282b0}, pend={itemdepth = 3 '\003', d = 0x0}) at output_xhtml.cpp:345 #14 0x566cf6b6 in lyx::xhtmlParagraphs (text=..., buf=..., xs=..., runparams=...) at output_xhtml.cpp:667 #15 0x56b51af4 in lyx::InsetText::insetAsXHTML[abi:cxx11](lyx::XMLStream&, lyx::OutputParams const&, lyx::InsetText::XHTMLOptions ) const (this=0x583280a0, xs=..., rp=..., opts=6) at insets/InsetText.cpp:899 #16 0x56a2e4ca in lyx::InsetFloat::xhtml[abi:cxx11](lyx::XMLStream&, lyx::OutputParams const&) const (this=0x583280a0, xs=..., rp=..
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
On Fri, Dec 03, 2021 at 11:04:23AM -0500, Scott Kostyshak wrote: > 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. After reverting that commit, in addition to the above terminal messages, I also see: ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
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 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 signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
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. Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
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é. Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI
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. :-) -- José Abílio -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
SIGSEGV on master when exporting MergedManuals.lyx in GUI
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 signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel