Re: Bug-report - LyX crash
Am 15.09.2023 um 11:44 schrieb Jean-Marc Lasgouttes : > > Le 15/09/2023 à 11:40, luxhacker a écrit : >> Hi Pavel, >> Please create an account for me. I am very interested in LyX. >> It's difficult to reproduce or seize a problem without knowing anything >> about it. >> When looking at the stack, I get - perhaps wrongly - the impression it's >> user-interface related. Which surprises me a lot. > > To me, this looks like this one: > https://www.lyx.org/trac/ticket/12818 > > We have a problem on macOS with the interpretation of the return values of > QMessageBox. > > I see the patch there is not backported to 2.3.x. Is this normal? I think it’s not backported because it’s reported for 2.4.0dev. Stephan -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Backup feature creates two backups
> Do you happen to have a defaults file (~/.lyx/templates/defaults.lyx) > which is in 2.3 format? > > If so, every new file is first created in 2.3 format, and then the > backup is saved on conversion. I think. > Pfff... you are absolutely right. I created the defaults.lyx with the distribution-packaged version of LyX (\lyx_format 544). It made sense all of a sudden. Output of "lyx -dbg info" filtered with grep confirming what you hinted 2898:Buffer.cpp (1378): Running 'python3 -tt "/home/minsan/Git/lyx/lib/lyx2lyx/lyx2lyx" -t 619 -o "/tmp/lyx_tmpdir.DKUPsgKSeKlM/Buffer_convertLyXFormatUCHSIM.lyx" "/home/minsan/.lyx/templates/defaults.lyx"' 2899:filetools.cpp (1089): Running: python3 -tt "/home/minsan/Git/lyx/lib/lyx2lyx/lyx2lyx" -t 619 -o "/tmp/lyx_tmpdir.DKUPsgKSeKlM/Buffer_convertLyXFormatUCHSIM.lyx" "/home/minsan/.lyx/templates/defaults.lyx" Sorry for the fuss and dankeschön for your patiente. Daniel. -- Enviat amb Tutanota. -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Backup feature creates two backups
> Am Donnerstag, dem 14.09.2023 um 00:21 +0200 schrieb Dan: > >> Follow these steps to reproduce the behaviour >> > > OK, I now closely followed your recipe, but I get only one file (after > step 6) right with the correct name which is then overwritten > thereafter. > I am attaching the output of "lyx -dbg files" (should have done this to begin with, sorry), there you can see 1. An actual backup file created with name "newfile1-lyx23.lyx~". 2. The expected backup file (with "!" chars) created AFTERWARDS and used then on. I have trimmed the output (loading of icons and so on). SYSTEM INFO LinuxMint 21.2 (Victoria) with DE Cinnamon LyX 2.4.0~RC1.devel (not released yet) Git commit hash 8e7ae688 Configuration Host type: x86_64-pc-linux-gnu Special build flags: build=development warnings assertions stdlib-assertions callback-printing use-enchant Bundled libraries: nod C++ Compiler: g++ (11.4.0) C++ Compiler flags: -Wall -Wextra -fPIC -g -O -std=c++17 -Wno-deprecated-copy C++ Compiler user flags: Linker flags: -rdynamic Linker user flags: Qt Frontend: Qt version: 5.15.3 Packaging: posix Daniel. -- Enviat amb Tutanota. ConverterCache.cpp (61): Add file cache item /home/verboten/Git/lyx/lib/images/undo.svgz png /home/verboten/.lyx/cache/1432879843-png 1693497783 2847669085. TempFile.cpp (35): Temporary file in /tmp/lyx_tmpdir.inDkPvFUNRKd/Buffer_convertLyXFormatXX.lyx TempFile.cpp (37): Temporary file `/tmp/lyx_tmpdir.inDkPvFUNRKd/Buffer_convertLyXFormatigOePf.lyx' created. Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (2613): Bibinfo cache was invalid. Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5760): Pushed. Stack now: Buffer.cpp (5765): /home/verboten/newfile1.lyx Buffer.cpp (5774): Popped. Stack now: Buffer.cpp (5776): EMPTY! Buffer.cpp (5126): Bibfiles unchanged. Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5760): Pushed. Stack now: Buffer.cpp (5765): /home/verboten/newfile1.lyx Buffer.cpp (5774): Popped. Stack now: Buffer.cpp (5776): EMPTY! Buffer.cpp (5126): Bibfiles unchanged. Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5760): Pushed. Stack now: Buffer.cpp (5765): /home/verboten/newfile1.lyx Buffer.cpp (5774): Popped. Stack now: Buffer.cpp (5776): EMPTY! Buffer.cpp (5126): Bibfiles unchanged. Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5760): Pushed. Stack now: Buffer.cpp (5765): /home/verboten/newfile1.lyx Buffer.cpp (5774): Popped. Stack now: Buffer.cpp (5776): EMPTY! Buffer.cpp (5126): Bibfiles unchanged. Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx BufferParams.cpp (330): Checking whether document is in a system dir... no FileName.cpp (628): Checksumming "/home/verboten/newfile1.lyx" 4091183537 lasted 0 ms. Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx FileName.cpp (628): Checksumming "/home/verboten/newfile1.lyx" 4091183537 lasted 0 ms. Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5760): Pushed. Stack now: Buffer.cpp (5765): /home/verboten/newfile1.lyx Buffer.cpp (5774): Popped. Stack now: Buffer.cpp (5776): EMPTY! Buffer.cpp (5126): Bibfiles unchanged. Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5760): Pushed. Stack now: Buffer.cpp (5765): /home/verboten/newfile1.lyx Buffer.cpp (5774): Popped. Stack now: Buffer.cpp (5776): EMPTY! Buffer.cpp (5126): Bibfiles unchanged. Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx FileName.cpp (628): Checksumming "/home/verboten/newfile1.lyx" 4091183537 lasted 0 ms. Buffer.cpp (5714): External modification but checksum unchanged: /home/verboten/newfile1.lyx Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5760): Pushed. Stack now: Buffer.cpp (5765): /home/verboten/newfile1.lyx Buffer.cpp (5774): Popped. Stack now: Buffer.cpp (5776): EMPTY! Buffer.cpp (5126): Bibfiles unchanged. Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5803): Clearing include list for /home/verboten/newfile1.lyx Buffer.cpp (5760): Pushed. Stack now: Buffer.cpp (5765):
Re: Bug report: SIGSEGV when copying cross-reference from "description" layout on LyX 2.4.0 beta 5
Le 15/09/2023 à 16:23, Jürgen Spitzmüller a écrit : (Wasn't this bug caught at some point by a static analyser? It seems to be a too common error in C++ for it to slip through.) Apparently not. Coverity scan only tags this if in some other places of the code there is a test for a null pointer, AFAIU. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bug-report - LyX crash
Am 15.09.2023 um 15:26 schrieb Jean-Marc Lasgouttes : > > Le 15/09/2023 à 13:18, Stephan Witt a écrit : >>> To me, this looks like this one: >>> https://www.lyx.org/trac/ticket/12818 >>> >>> We have a problem on macOS with the interpretation of the return values of >>> QMessageBox. >>> >>> I see the patch there is not backported to 2.3.x. Is this normal? >> I think it’s not backported because it’s reported for 2.4.0dev. > > Yes, I saw that. Can you confirm that it does not happen in 2.3.x? Hm, I didn’t try it yet. Stephan -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bug report: SIGSEGV when copying cross-reference from "description" layout on LyX 2.4.0 beta 5
On Fri, 15 Sept 2023 at 11:36, Jürgen Spitzmüller wrote: > Am Freitag, dem 15.09.2023 um 10:45 +0200 schrieb Léo de Souza: > > 1. Create new document: File > New > > 2. Insert label: Insert > Label... > > 3. On a new line, switch layout to "Labeling" or "Description" > > 4. Insert cross-reference: Insert > Cross-Reference... > > 5. Try copying this cross-reference > > > > Expected result (LyX 2.3.6): The cross-reference is copied to the > > clipboard. > > > > Actual result (LyX 2.4.0 beta 5): LyX crashes with the message > > "SIGSEGV signal caught!" > > > Nullpointer issue due to local_font being non-defined in > InsetRef::xhtml(). > > The attached patch fixes this particular case, but there are many > similar uses in insets's xhtml methods which would need to be audited. > > Thibaut, Riki? > Your patch looks fine to me. It looks cumbersome, especially if we need to do that several times; maybe we could have a method at the inset level, say getLocalFontOrDefault(const OutputParams&), to return either OutputParams::local_font if it exists or buffer().params() otherwise? It would make correct code (much) easier to write. (Wasn't this bug caught at some point by a static analyser? It seems to be a too common error in C++ for it to slip through.) -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bug-report - LyX crash
Le 15/09/2023 à 13:18, Stephan Witt a écrit : To me, this looks like this one: https://www.lyx.org/trac/ticket/12818 We have a problem on macOS with the interpretation of the return values of QMessageBox. I see the patch there is not backported to 2.3.x. Is this normal? I think it’s not backported because it’s reported for 2.4.0dev. Yes, I saw that. Can you confirm that it does not happen in 2.3.x? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Backup feature creates two backups
Am Freitag, dem 15.09.2023 um 15:02 +0200 schrieb Dan: > I am attaching the output of "lyx -dbg files" (should have done this > to begin with, sorry), there you can see > 1. An actual backup file created with name "newfile1-lyx23.lyx~". > 2. The expected backup file (with "!" chars) created AFTERWARDS and > used then on. > > I have trimmed the output (loading of icons and so on). Do you happen to have a defaults file (~/.lyx/templates/defaults.lyx) which is in 2.3 format? If so, every new file is first created in 2.3 format, and then the backup is saved on conversion. I think. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bug report: SIGSEGV when copying cross-reference from "description" layout on LyX 2.4.0 beta 5
Am Freitag, dem 15.09.2023 um 15:41 +0200 schrieb Thibaut Cuvelier: > Your patch looks fine to me. > > It looks cumbersome, especially if we need to do that several times; > maybe we could have a method at the inset level, say > getLocalFontOrDefault(const OutputParams&), to return either > OutputParams::local_font if it exists or buffer().params() otherwise? > It would make correct code (much) easier to write. I agree. Do you want to do that? > (Wasn't this bug caught at some point by a static analyser? It seems > to be a too common error in C++ for it to slip through.) Apparently not. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bug report: Nomenclature no longer works on LyX 2.4.0 beta 5
Am Mittwoch, dem 13.09.2023 um 14:45 +0200 schrieb Léo de Souza: > I would like to report that the nomenclature function no longer works > for me on LyX 2.4.0 beta 5. Thanks. Confirmed and fixed in master. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Bug-report - LyX crash
Dear All, New to LyX and appreciating it ! found no way to register. Is this ok ? therefore mailing bug report Please find hereafter a crash of the LyX-system: ( 1) 1 lyx 0x00010bde4ddd _ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b : 1 lyx 0x00010bde4ddd _ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b + 199( 2) 2 lyx 0x00010bf7a6b1 _ZN3lyx8frontend18IntoGuiThreadMover18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv : 2 lyx 0x00010bf7a6b1 _ZN3lyx8frontend18IntoGuiThreadMover18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv + 115 ( 3) 3 QtCore 0x00010d773894 _ZN7QObject5eventEP6QEvent : 3 QtCore 0x00010d773894 _ZN7QObject5eventEP6QEvent + 900 ( 4) 4 QtWidgets 0x00010caeadf6 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent : 4 QtWidgets 0x00010caeadf6 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 262 ( 5) 5 QtWidgets 0x00010caec1a2 _ZN12QApplication6notifyEP7QObjectP6QEvent : 5 QtWidgets 0x00010caec1a2 _ZN12QApplication6notifyEP7QObjectP6QEvent + 466 ( 6) 6 lyx 0x00010bdf3cf3 _ZN3lyx8frontend14GuiApplication6notifyEP7QObjectP6QEvent : 6 lyx 0x00010bdf3cf3 _ZN3lyx8frontend14GuiApplication6notifyEP7QObjectP6QEvent + 21 ( 7) 7 QtCore 0x00010d74a0d6 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent : 7 QtCore 0x00010d74a0d6 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 166 ( 8) 8 QtCore 0x00010d74b213 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData : 8 QtCore 0x00010d74b213 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData + 803 ( 9) 9 libqcocoa.dylib 0x00010dbc4252 qt_plugin_instance : 9 libqcocoa.dylib 0x00010dbc4252 qt_plugin_instance + 197842 ( 10) 10 libqcocoa.dylib 0x00010dbc4958 qt_plugin_instance : 10 libqcocoa.dylib 0x00010dbc4958 qt_plugin_instance + 199640 ( 11) 11 CoreFoundation 0x7ff8190db06a __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ : 11 CoreFoundation 0x7ff8190db06a __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 ( 12) 12 CoreFoundation 0x7ff8190db00c __CFRunLoopDoSource0 : 12 CoreFoundation 0x7ff8190db00c __CFRunLoopDoSource0 + 157 ( 13) 13 CoreFoundation 0x7ff8190dade5 __CFRunLoopDoSources0 : 13 CoreFoundation 0x7ff8190dade5 __CFRunLoopDoSources0 + 217 ( 14) 14 CoreFoundation 0x7ff8190d9a6f __CFRunLoopRun : 14 CoreFoundation 0x7ff8190d9a6f __CFRunLoopRun + 916 ( 15) 15 CoreFoundation 0x7ff8190d9071 CFRunLoopRunSpecific : 15 CoreFoundation 0x7ff8190d9071 CFRunLoopRunSpecific + 560 ( 16) 16 HIToolbox 0x7ff822b41fcd RunCurrentEventLoopInMode : 16 HIToolbox 0x7ff822b41fcd RunCurrentEventLoopInMode + 292 ( 17) 17 HIToolbox 0x7ff822b41dde ReceiveNextEventCommon : 17 HIToolbox 0x7ff822b41dde ReceiveNextEventCommon + 657 ( 18) 18 HIToolbox 0x7ff822b41b38 _BlockUntilNextEventMatchingListInModeWithFilter : 18 HIToolbox 0x7ff822b41b38 _BlockUntilNextEventMatchingListInModeWithFilter + 64 ( 19) 19 AppKit 0x7ff81c16b7a0 _DPSNextEvent : 19 AppKit 0x7ff81c16b7a0 _DPSNextEvent + 858 ( 20) 20 AppKit 0x7ff81c16a64a -[NSApplication: 20 AppKit 0x7ff81c16a64a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1214 ( 21) 21 AppKit 0x7ff81c15ccb8 -[NSApplication run] : 21 AppKit 0x7ff81c15ccb8 -[NSApplication run] + 586 ( 22) 22 libqcocoa.dylib 0x00010dbc3734 qt_plugin_instance : 22 libqcocoa.dylib 0x00010dbc3734 qt_plugin_instance + 194996 ( 23) 23 QtCore 0x00010d7464d7
Re: Bug-report - LyX crash
On Fri, Sep 15, 2023 at 06:39:22AM +, luxhacker wrote: > New to LyX and appreciating it ! found no way to register. Is this ok ? > therefore mailing bug report It's ok. I can create the account if you are interested. > What I do before ;) ? > > Immediately when crashing, I was searching for help (keyword : non breaking > blank -> not found) Can you reproduce your problem again? If yes, can you write us exact recipy so we can try to reproduce on our machines? Thanks, Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bug report: SIGSEGV when copying cross-reference from "description" layout on LyX 2.4.0 beta 5
Am Freitag, dem 15.09.2023 um 10:45 +0200 schrieb Léo de Souza: > 1. Create new document: File > New > 2. Insert label: Insert > Label... > 3. On a new line, switch layout to "Labeling" or "Description" > 4. Insert cross-reference: Insert > Cross-Reference... > 5. Try copying this cross-reference > > Expected result (LyX 2.3.6): The cross-reference is copied to the > clipboard. > > Actual result (LyX 2.4.0 beta 5): LyX crashes with the message > "SIGSEGV signal caught!" Nullpointer issue due to local_font being non-defined in InsetRef::xhtml(). The attached patch fixes this particular case, but there are many similar uses in insets's xhtml methods which would need to be audited. Thibaut, Riki? -- Jürgen diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp index 746b9ea870..c7434a6a02 100644 --- a/src/insets/InsetRef.cpp +++ b/src/insets/InsetRef.cpp @@ -431,8 +431,11 @@ docstring InsetRef::xhtml(XMLStream & xs, OutputParams const & op) const // appropriate sort of text here. But to do that, we need to associate // some sort of counter with the label, and we don't have that yet. docstring const attr = "href=\"#" + xml::cleanAttr(ref) + '"'; + string const lang = (op.local_font != nullptr) + ? op.local_font->language()->lang() + : buffer().params().language->lang(); xs << xml::StartTag("a", to_utf8(attr)); - xs << displayString(ref, cmd, op.local_font->language()->lang());; + xs << displayString(ref, cmd, lang); xs << xml::EndTag("a"); return docstring(); } -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bug-report - LyX crash
Hi Pavel, Please create an account for me. I am very interested in LyX. It's difficult to reproduce or seize a problem without knowing anything about it. When looking at the stack, I get - perhaps wrongly - the impression it's user-interface related. Which surprises me a lot. Could you please give me some pointers what it could be. As a bloody beginner, one always makes curious things, and these bugs are important because they deter beginners I shall revert to you. Best regards, Mathias Sent with Proton Mail secure email. --- Original Message --- On Friday, September 15th, 2023 at 11:18 AM, Pavel Sanda wrote: > On Fri, Sep 15, 2023 at 06:39:22AM +, luxhacker wrote: > > > New to LyX and appreciating it ! found no way to register. Is this ok ? > > therefore mailing bug report > > > It's ok. I can create the account if you are interested. > > > What I do before ;) ? > > > > Immediately when crashing, I was searching for help (keyword : non breaking > > blank -> not found) > > > Can you reproduce your problem again? If yes, can you write us exact recipy > so we can try to reproduce on our machines? > > Thanks, > Pavel publickey - luxhacker@proton.me - 0x467E9812.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bug-report - LyX crash
Le 15/09/2023 à 11:40, luxhacker a écrit : Hi Pavel, Please create an account for me. I am very interested in LyX. It's difficult to reproduce or seize a problem without knowing anything about it. When looking at the stack, I get - perhaps wrongly - the impression it's user-interface related. Which surprises me a lot. To me, this looks like this one: https://www.lyx.org/trac/ticket/12818 We have a problem on macOS with the interpretation of the return values of QMessageBox. I see the patch there is not backported to 2.3.x. Is this normal? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Backup feature creates two backups
Am Donnerstag, dem 14.09.2023 um 00:21 +0200 schrieb Dan: > Follow these steps to reproduce the behaviour OK, I now closely followed your recipe, but I get only one file (after step 6) right with the correct name which is then overwritten thereafter. -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Bug report: SIGSEGV when copying cross-reference from "description" layout on LyX 2.4.0 beta 5
Hello, I would like to report that LyX crashes with SIGSEGV when copying a cross reference from a "labeled list" or "description" layout on LyX 2.4.0 beta 5. Environment: I compiled LyX 2.4.0 beta 5 on Ubuntu 22.04 with Qt6 enabled and my Tex Live install is up to date. Steps to reproduce: 1. Create new document: File > New 2. Insert label: Insert > Label... 3. On a new line, switch layout to "Labeling" or "Description" 4. Insert cross-reference: Insert > Cross-Reference... 5. Try copying this cross-reference Expected result (LyX 2.3.6): The cross-reference is copied to the clipboard. Actual result (LyX 2.4.0 beta 5): LyX crashes with the message "SIGSEGV signal caught!" Log: ``` ( 1) lyx-devel: lyx::frontend::Alert::doError(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, bool) ( 2) lyx-devel: lyx::frontend::Alert::error(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, bool) ( 3) lyx-devel: lyx-devel(+0x4d49c7) [0x561db228f9c7] ( 4) /lib/x86_64-linux-gnu/libc.so.6: /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f7669100520] ( 5) lyx-devel: lyx::InsetRef::xhtml[abi:cxx11](lyx::XMLStream&, lyx::OutputParams const&) const ( 6) lyx-devel: lyx::Paragraph::firstWordLyXHTML(lyx::XMLStream&, lyx::OutputParams const&) const ( 7) lyx-devel: lyx-devel(+0x522df7) [0x561db22dddf7] ( 8) lyx-devel: lyx::xhtmlParagraphs(lyx::Text const&, lyx::Buffer const&, lyx::XMLStream&, lyx::OutputParams const&) ( 9) lyx-devel: lyx::Buffer::writeLyXHTMLSource(std::basic_ostream >&, lyx::OutputParams const&, lyx::Buffer::OutputWhat) const ( 10) lyx-devel: lyx-devel(+0x45f751) [0x561db221a751] ( 11) lyx-devel: lyx::cap::copySelection(lyx::Cursor const&, std::__cxx11::basic_string, std::allocator > const&) ( 12) lyx-devel: lyx::cap::copySelection(lyx::Cursor const&) ( 13) lyx-devel: lyx::BufferView::dispatch(lyx::FuncRequest const&, lyx::DispatchResult&) ( 14) lyx-devel: lyx::frontend::GuiView::dispatchToBufferView(lyx::FuncRequest const&, lyx::DispatchResult&) ( 15) lyx-devel: lyx::frontend::GuiView::dispatch(lyx::FuncRequest const&, lyx::DispatchResult&) ( 16) lyx-devel: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&, lyx::DispatchResult&) ( 17) lyx-devel: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&) ( 18) lyx-devel: lyx::frontend::GuiApplication::processKeySym(lyx::KeySymbol const&, unsigned int) ( 19) /lib/x86_64-linux-gnu/libQt6Core.so.6: /lib/x86_64-linux-gnu/libQt6Core.so.6(+0x1ac273) [0x7f76697c7273] ( 20) lyx-devel: lyx::frontend::CompressorProxy::signal(lyx::KeySymbol, unsigned int) ( 21) lyx-devel: lyx::frontend::CompressorProxy::slot(lyx::KeySymbol, unsigned int, bool) ( 22) lyx-devel: lyx-devel(+0x91bcf9) [0x561db26d6cf9] ( 23) /lib/x86_64-linux-gnu/libQt6Core.so.6: QObject::event(QEvent*) ( 24) /lib/x86_64-linux-gnu/libQt6Widgets.so.6: QApplicationPrivate::notify_helper(QObject*, QEvent*) ( 25) lyx-devel: lyx::frontend::GuiApplication::notify(QObject*, QEvent*) ( 26) /lib/x86_64-linux-gnu/libQt6Core.so.6: QCoreApplication::notifyInternal2(QObject*, QEvent*) ( 27) /lib/x86_64-linux-gnu/libQt6Core.so.6: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ( 28) /lib/x86_64-linux-gnu/libQt6Core.so.6: /lib/x86_64-linux-gnu/libQt6Core.so.6(+0x37c637) [0x7f7669997637] ( 29) /lib/x86_64-linux-gnu/libglib-2.0.so.0: /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x26b) [0x7f7668fd2d3b] ( 30) /lib/x86_64-linux-gnu/libglib-2.0.so.0: /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xab258) [0x7f7669028258] ( 31) /lib/x86_64-linux-gnu/libglib-2.0.so.0: /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33) [0x7f7668fd03e3] ( 32) /lib/x86_64-linux-gnu/libQt6Core.so.6: QEventDispatcherGlib::processEvents(QFlags) ( 33) /lib/x86_64-linux-gnu/libQt6Core.so.6: QEventLoop::exec(QFlags) ( 34) /lib/x86_64-linux-gnu/libQt6Core.so.6: QCoreApplication::exec() ( 35) lyx-devel: lyx::LyX::exec(int&, char**) ( 36) lyx-devel: lyx-devel(main+0x59) [0x561db2124229] ( 37) /lib/x86_64-linux-gnu/libc.so.6: /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7f76690e7d90] ( 38) /lib/x86_64-linux-gnu/libc.so.6: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7f76690e7e40] ( 39) lyx-devel: lyx-devel(_start+0x25) [0x561db2132c65] ``` -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bug report: SIGSEGV when copying cross-reference from "description" layout on LyX 2.4.0 beta 5
Can repeat on Mac Ventura 13.5.2. /Anders > On 15 Sep 2023, at 10:45, Léo de Souza wrote: > > Hello, > > I would like to report that LyX crashes with SIGSEGV when copying a cross > reference from a "labeled list" or "description" layout on LyX 2.4.0 beta 5. > > Environment: > > I compiled LyX 2.4.0 beta 5 on Ubuntu 22.04 with Qt6 enabled and my Tex Live > install is up to date. > > Steps to reproduce: > > 1. Create new document: File > New > 2. Insert label: Insert > Label... > 3. On a new line, switch layout to "Labeling" or "Description" > 4. Insert cross-reference: Insert > Cross-Reference... > 5. Try copying this cross-reference > > Expected result (LyX 2.3.6): The cross-reference is copied to the clipboard. > > Actual result (LyX 2.4.0 beta 5): LyX crashes with the message "SIGSEGV > signal caught!" > > Log: > > ``` > ( 1) lyx-devel: > lyx::frontend::Alert::doError(std::__cxx11::basic_string std::char_traits, std::allocator > const&, > std::__cxx11::basic_string, > std::allocator > const&, bool) > ( 2) lyx-devel: > lyx::frontend::Alert::error(std::__cxx11::basic_string std::char_traits, std::allocator > const&, > std::__cxx11::basic_string, > std::allocator > const&, bool) > ( 3) lyx-devel: lyx-devel(+0x4d49c7) [0x561db228f9c7] > ( 4) /lib/x86_64-linux-gnu/libc.so.6: > /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f7669100520] > ( 5) lyx-devel: lyx::InsetRef::xhtml[abi:cxx11](lyx::XMLStream&, > lyx::OutputParams const&) const > ( 6) lyx-devel: lyx::Paragraph::firstWordLyXHTML(lyx::XMLStream&, > lyx::OutputParams const&) const > ( 7) lyx-devel: lyx-devel(+0x522df7) [0x561db22dddf7] > ( 8) lyx-devel: lyx::xhtmlParagraphs(lyx::Text const&, lyx::Buffer const&, > lyx::XMLStream&, lyx::OutputParams const&) > ( 9) lyx-devel: lyx::Buffer::writeLyXHTMLSource(std::basic_ostream std::char_traits >&, lyx::OutputParams const&, > lyx::Buffer::OutputWhat) const > ( 10) lyx-devel: lyx-devel(+0x45f751) [0x561db221a751] > ( 11) lyx-devel: lyx::cap::copySelection(lyx::Cursor const&, > std::__cxx11::basic_string, > std::allocator > const&) > ( 12) lyx-devel: lyx::cap::copySelection(lyx::Cursor const&) > ( 13) lyx-devel: lyx::BufferView::dispatch(lyx::FuncRequest const&, > lyx::DispatchResult&) > ( 14) lyx-devel: > lyx::frontend::GuiView::dispatchToBufferView(lyx::FuncRequest const&, > lyx::DispatchResult&) > ( 15) lyx-devel: lyx::frontend::GuiView::dispatch(lyx::FuncRequest const&, > lyx::DispatchResult&) > ( 16) lyx-devel: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest > const&, lyx::DispatchResult&) > ( 17) lyx-devel: lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest > const&) > ( 18) lyx-devel: lyx::frontend::GuiApplication::processKeySym(lyx::KeySymbol > const&, unsigned int) > ( 19) /lib/x86_64-linux-gnu/libQt6Core.so.6: > /lib/x86_64-linux-gnu/libQt6Core.so.6(+0x1ac273) [0x7f76697c7273] > ( 20) lyx-devel: lyx::frontend::CompressorProxy::signal(lyx::KeySymbol, > unsigned int) > ( 21) lyx-devel: lyx::frontend::CompressorProxy::slot(lyx::KeySymbol, > unsigned int, bool) > ( 22) lyx-devel: lyx-devel(+0x91bcf9) [0x561db26d6cf9] > ( 23) /lib/x86_64-linux-gnu/libQt6Core.so.6: QObject::event(QEvent*) > ( 24) /lib/x86_64-linux-gnu/libQt6Widgets.so.6: > QApplicationPrivate::notify_helper(QObject*, QEvent*) > ( 25) lyx-devel: lyx::frontend::GuiApplication::notify(QObject*, QEvent*) > ( 26) /lib/x86_64-linux-gnu/libQt6Core.so.6: > QCoreApplication::notifyInternal2(QObject*, QEvent*) > ( 27) /lib/x86_64-linux-gnu/libQt6Core.so.6: > QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) > ( 28) /lib/x86_64-linux-gnu/libQt6Core.so.6: > /lib/x86_64-linux-gnu/libQt6Core.so.6(+0x37c637) [0x7f7669997637] > ( 29) /lib/x86_64-linux-gnu/libglib-2.0.so.0: > /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x26b) > [0x7f7668fd2d3b] > ( 30) /lib/x86_64-linux-gnu/libglib-2.0.so.0: > /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xab258) [0x7f7669028258] > ( 31) /lib/x86_64-linux-gnu/libglib-2.0.so.0: > /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33) > [0x7f7668fd03e3] > ( 32) /lib/x86_64-linux-gnu/libQt6Core.so.6: > QEventDispatcherGlib::processEvents(QFlags) > ( 33) /lib/x86_64-linux-gnu/libQt6Core.so.6: > QEventLoop::exec(QFlags) > ( 34) /lib/x86_64-linux-gnu/libQt6Core.so.6: QCoreApplication::exec() > ( 35) lyx-devel: lyx::LyX::exec(int&, char**) > ( 36) lyx-devel: lyx-devel(main+0x59) [0x561db2124229] > ( 37) /lib/x86_64-linux-gnu/libc.so.6: > /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7f76690e7d90] > ( 38) /lib/x86_64-linux-gnu/libc.so.6: > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7f76690e7e40] > ( 39) lyx-devel: lyx-devel(_start+0x25) [0x561db2132c65] > ``` > -- > lyx-devel mailing list > lyx-devel@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-devel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bug-report - LyX crash
On Fri, Sep 15, 2023 at 09:40:08AM +, luxhacker wrote: > Please create an account for me. I am very interested in LyX. done. p -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel