Error: attempt to compare iterators from different sequences

Scott Kostyshak skostysh at lyx.org
Sun May 19 17:55:16 UTC 2024


On Sun, May 19, 2024 at 07:27:42PM GMT, Jean-Marc Lasgouttes wrote:
> Le 18/05/2024 à 17:28, Scott Kostyshak a écrit :
> > When I compile LyX with some compiler debug flags and extra checks, I
> > get the output below when trying to compile a .lyx file to PDF.
> > 
> > Anything worth fixing here?
> 
> Definitely. Could you run it under gdb and tell us where the error happened
> to happen (if I may say)?

Backtrace attached.

Scott
-------------- next part --------------
/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/debug/safe_iterator.h:472:
In function:
    bool gnu_debug::operator==(const gnu_debug::_Safe_iterator::_Self &, 
    const gnu_debug::_Safe_iterator::_Self &)

Error: attempt to compare iterators from different sequences.

Objects involved in the operation:
    iterator "lhs" @ 0x7fffc8de8750 {
      type = std::_Rb_tree_const_iterator<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (constant iterator);
      state = dereferenceable (start-of-sequence);
      references sequence with type 'std::debug::set<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' @ 0x7fffc8de8708
    }
    iterator "rhs" @ 0x7fffc8de86a8 {
      type = std::_Rb_tree_const_iterator<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (constant iterator);
      state = past-the-end;
      references sequence with type 'std::debug::set<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' @ 0x7fffc8de8660
    }

Thread 15 "Thread (pooled)" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffc8dfe6c0 (LWP 298957)]
__pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
Download failed: Invalid argument.  Continuing without source file ./nptl/./nptl/pthread_kill.c.                                                                                              
44	./nptl/pthread_kill.c: No such file or directory.
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo at entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff603c3b6 in __GI_raise (sig=sig at entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff602287c in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff64a7fd7 in __gnu_debug::_Error_formatter::_M_error() const (this=0x555556b40dc8 <__gnu_debug::_Error_formatter::_S_at(char const*, unsigned int, char const*)::__formatter>)
    at ../../../../../src/libstdc++-v3/src/c++11/debug.cc:1304
#6  0x000055555583e9e7 in __gnu_debug::operator==(__gnu_debug::_Safe_iterator<std::_Rb_tree_const_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__debug::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::bidirectional_iterator_tag> const&, __gnu_debug::_Safe_iterator<std::_Rb_tree_const_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__debug::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::bidirectional_iterator_tag> const&) (__lhs="url", __rhs="") at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/debug/safe_iterator.h:472
#7  0x0000555555ace820 in lyx::Paragraph::Private::latexSpecialChar(lyx::otexstream&, lyx::BufferParams const&, lyx::OutputParams const&, lyx::Font const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, lyx::Layout const&, lyx::InsetLayout const&, long&, long, unsigned int&) const
    (this=0x555559dfd1c0, os=..., bparams=..., runparams=..., running_font=..., alien_script="", style=..., il=..., i=@0x7fffc8dea820: 35, end_pos=-1, column=@0x7fffc8deaa24: 36)
    at /home/scott/lyxbuilds/master-master/repo/src/Paragraph.cpp:1250
#8  0x0000555555adb753 in lyx::Paragraph::latex(lyx::BufferParams const&, lyx::Font const&, lyx::otexstream&, lyx::OutputParams const&, int, int, bool) const
    (this=0x555559dfd1a0, bparams=..., outerfont=..., os=..., runparams=..., start_pos=-1, end_pos=-1, force=false) at /home/scott/lyxbuilds/master-master/repo/src/Paragraph.cpp:3186
#9  0x0000555555c9764b in lyx::TeXOnePar(lyx::Buffer const&, lyx::Text const&, long, lyx::otexstream&, lyx::OutputParams const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, bool) (buf=..., text=..., pit=0, os=..., runparams_in=..., everypar="", start_pos=-1, end_pos=-1, force=false)
    at /home/scott/lyxbuilds/master-master/repo/src/output_latex.cpp:849
#10 0x0000555555c9fe90 in lyx::latexParagraphs(lyx::Buffer const&, lyx::Text const&, lyx::otexstream&, lyx::OutputParams const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (buf=..., text=..., os=..., runparams=..., everypar="") at /home/scott/lyxbuilds/master-master/repo/src/output_latex.cpp:1730
#11 0x0000555555fce188 in lyx::InsetText::latex(lyx::otexstream&, lyx::OutputParams const&) const (this=0x555559dfd010, os=..., runparams=...)
    at /home/scott/lyxbuilds/master-master/repo/src/insets/InsetText.cpp:562
#12 0x0000555555ace016 in lyx::Paragraph::Private::latexInset(lyx::BufferParams const&, lyx::otexstream&, lyx::OutputParams&, lyx::Font&, lyx::Font&, lyx::Font const&, bool&, lyx::Change&, lyx::Layout const&, long&, unsigned int&, bool, bool, bool) const
    (this=0x555559dfc6e0, bparams=..., os=..., runparams=..., running_font=..., basefont=..., outerfont=..., open_font=@0x7fffc8df0b1f: true, running_change=..., style=..., i=@0x7fffc8df0a90: 29, column=@0x7fffc8df0c94: 27, fontswitch_inset=false, closeLanguage=false, lang_switched_at_inset=false) at /home/scott/lyxbuilds/master-master/repo/src/Paragraph.cpp:1203
#13 0x0000555555adb1a5 in lyx::Paragraph::latex(lyx::BufferParams const&, lyx::Font const&, lyx::otexstream&, lyx::OutputParams const&, int, int, bool) const
    (this=0x555559dfc6c0, bparams=..., outerfont=..., os=..., runparams=..., start_pos=-1, end_pos=-1, force=false) at /home/scott/lyxbuilds/master-master/repo/src/Paragraph.cpp:3139
#14 0x0000555555c9a2f9 in lyx::TeXOnePar(lyx::Buffer const&, lyx::Text const&, long, lyx::otexstream&, lyx::OutputParams const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, bool) (buf=..., text=..., pit=0, os=..., runparams_in=..., everypar="", start_pos=-1, end_pos=-1, force=false)
    at /home/scott/lyxbuilds/master-master/repo/src/output_latex.cpp:1214
#15 0x0000555555c9fe90 in lyx::latexParagraphs(lyx::Buffer const&, lyx::Text const&, lyx::otexstream&, lyx::OutputParams const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (buf=..., text=..., os=..., runparams=..., everypar="") at /home/scott/lyxbuilds/master-master/repo/src/output_latex.cpp:1730
#16 0x0000555555fce188 in lyx::InsetText::latex(lyx::otexstream&, lyx::OutputParams const&) const (this=0x555559dfc530, os=..., runparams=...)
    at /home/scott/lyxbuilds/master-master/repo/src/insets/InsetText.cpp:562
#17 0x0000555555e73370 in lyx::InsetFoot::latex(lyx::otexstream&, lyx::OutputParams const&) const (this=0x555559dfc530, os=..., runparams=...)
    at /home/scott/lyxbuilds/master-master/repo/src/insets/InsetFoot.cpp:121
#18 0x0000555555ace016 in lyx::Paragraph::Private::latexInset(lyx::BufferParams const&, lyx::otexstream&, lyx::OutputParams&, lyx::Font&, lyx::Font&, lyx::Font const&, bool&, lyx::Change&, lyx::Layout const&, long&, unsigned int&, bool, bool, bool) const
    (this=0x555559dfb990, bparams=..., os=..., runparams=..., running_font=..., basefont=..., outerfont=..., open_font=@0x7fffc8df6dbf: false, running_change=..., style=..., i=@0x7fffc8df6d3--Type <RET> for more, q to quit, c to continue without paging--
0: 347, column=@0x7fffc8df6f34: 56, fontswitch_inset=true, closeLanguage=true, lang_switched_at_inset=true) at /home/scott/lyxbuilds/master-master/repo/src/Paragraph.cpp:1203
#19 0x0000555555adb1a5 in lyx::Paragraph::latex(lyx::BufferParams const&, lyx::Font const&, lyx::otexstream&, lyx::OutputParams const&, int, int, bool) const
    (this=0x555559dfb930, bparams=..., outerfont=..., os=..., runparams=..., start_pos=-1, end_pos=-1, force=false) at /home/scott/lyxbuilds/master-master/repo/src/Paragraph.cpp:3139
#20 0x0000555555c9a2f9 in lyx::TeXOnePar(lyx::Buffer const&, lyx::Text const&, long, lyx::otexstream&, lyx::OutputParams const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, bool) (buf=..., text=..., pit=1176, os=..., runparams_in=..., everypar="", start_pos=-1, end_pos=-1, force=false)
    at /home/scott/lyxbuilds/master-master/repo/src/output_latex.cpp:1214
#21 0x0000555555c9fe90 in lyx::latexParagraphs(lyx::Buffer const&, lyx::Text const&, lyx::otexstream&, lyx::OutputParams const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (buf=..., text=..., os=..., runparams=..., everypar="") at /home/scott/lyxbuilds/master-master/repo/src/output_latex.cpp:1730
#22 0x000055555577adfd in lyx::Buffer::writeLaTeXSource(lyx::otexstream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, lyx::OutputParams const&, lyx::Buffer::OutputWhat) const (this=0x555559913ba0, os=..., original_path="/home/scott/lyxbuilds/master-master/repo/lib/doc/es/", runparams_in=..., output=lyx::Buffer::FullSource)
    at /home/scott/lyxbuilds/master-master/repo/src/Buffer.cpp:2094
#23 0x00005555557771a9 in lyx::Buffer::makeLaTeXFile(lyx::support::FileName const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, lyx::OutputParams const&, lyx::Buffer::OutputWhat) const
    (this=0x555559913ba0, fname=..., original_path="/home/scott/lyxbuilds/master-master/repo/lib/doc/es/", runparams_in=..., output=lyx::Buffer::FullSource)
    at /home/scott/lyxbuilds/master-master/repo/src/Buffer.cpp:1797
#24 0x000055555578e48f in lyx::Buffer::doExport(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) const (this=0x555559913ba0, target="pdf2", put_in_tempdir=true, includeall=false, result_file="")
    at /home/scott/lyxbuilds/master-master/repo/src/Buffer.cpp:4601
#25 0x000055555578ff9d in lyx::Buffer::preview(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const
    (this=0x555559913ba0, format="pdf2", includeall=false) at /home/scott/lyxbuilds/master-master/repo/src/Buffer.cpp:4750
#26 0x000055555578fece in lyx::Buffer::preview(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (this=0x555559913ba0, format="pdf2")
    at /home/scott/lyxbuilds/master-master/repo/src/Buffer.cpp:4735
#27 0x00005555560bf281 in std::__invoke_impl<lyx::Buffer::ExportStatus, lyx::Buffer::ExportStatus (lyx::Buffer::* const&)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const, lyx::Buffer* const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(std::__invoke_memfun_deref, lyx::Buffer::ExportStatus (lyx::Buffer::* const&)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const, lyx::Buffer* const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    (__f=@0x7fffc8dfd880: (enum lyx::Buffer::ExportStatus (lyx::Buffer::*)(const class lyx::Buffer * const, const class std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &)) 0x55555578fe60 <lyx::Buffer::preview(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const>, __t=@0x7fffc8dfd890: 0x555559913ba0, __args="pdf2") at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:74
#28 0x00005555560bf1c5 in std::__invoke<lyx::Buffer::ExportStatus (lyx::Buffer::* const&)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const, lyx::Buffer* const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(lyx::Buffer::ExportStatus (lyx::Buffer::* const&)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const, lyx::Buffer* const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    (__fn=@0x7fffc8dfd880: (enum lyx::Buffer::ExportStatus (lyx::Buffer::*)(const class lyx::Buffer * const, const class std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > &)) 0x55555578fe60 <lyx::Buffer::preview(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const>, __args=@0x7fffc8dfd890: 0x555559913ba0, __args="pdf2") at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:96
#29 0x00005555560bf192 in std::_Bind<lyx::Buffer::ExportStatus (lyx::Buffer::*(lyx::Buffer*, std::_Placeholder<1>))(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const>::__call_c<lyx::Buffer::ExportStatus, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, 0ul, 1ul>(std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>&&, std::_Index_tuple<0ul, 1ul>) const (this=0x7fffc8dfd880, __args=...)
    at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/functional:506
#30 0x00005555560bf122 in std::_Bind<lyx::Buffer::ExportStatus (lyx::Buffer::*(lyx::Buffer*, std::_Placeholder<1>))(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const>::operator()<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, lyx::Buffer::ExportStatus>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const (this=0x7fffc8dfd880, __args="pdf2") at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/functional:592
#31 0x00005555560ac445 in lyx::frontend::GuiView::GuiViewPrivate::runAndDestroy<std::_Bind<lyx::Buffer::ExportStatus (lyx::Buffer::*(lyx::Buffer*, std::_Placeholder<1>))(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const> >(std::_Bind<lyx::Buffer::ExportStatus (lyx::Buffer::*(lyx::Buffer*, std::_Placeholder<1>))(std::__cxx11::basic_str--Type <RET> for more, q to quit, c to continue without paging--
ing<char, std::char_traits<char>, std::allocator<char> > const&) const> const&, lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (func=..., orig=0x555557b09b90, clone=0x555559913ba0, format="pdf2") at /home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiView.cpp:4257
#32 0x00005555560a44d4 in lyx::frontend::GuiView::GuiViewPrivate::previewAndDestroy(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (orig=0x555557b09b90, clone=0x555559913ba0, format="pdf2") at /home/scott/lyxbuilds/master-master/repo/src/frontends/qt/GuiView.cpp:4291
#33 0x00005555560b47b3 in std::__invoke_impl<lyx::Buffer::ExportStatus, lyx::Buffer::ExportStatus (*&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*&, lyx::Buffer*&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>(std::__invoke_other, lyx::Buffer::ExportStatus (*&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*&, lyx::Buffer*&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)
    (__f=@0x7fffc8dfd9a0: 0x5555560a4480 <lyx::frontend::GuiView::GuiViewPrivate::previewAndDestroy(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, __args=@0x7fffc8dfd998: 0x555557b09b90, __args=@0x7fffc8dfd990: 0x555559913ba0, __args="pdf2")
    at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:61
#34 0x00005555560b476d in std::__invoke<lyx::Buffer::ExportStatus (*&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*&, lyx::Buffer*&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>(lyx::Buffer::ExportStatus (*&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*&, lyx::Buffer*&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)
    (__fn=@0x7fffc8dfd9a0: 0x5555560a4480 <lyx::frontend::GuiView::GuiViewPrivate::previewAndDestroy(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, __args=@0x7fffc8dfd998: 0x555557b09b90, __args=@0x7fffc8dfd990: 0x555559913ba0, __args="pdf2")
    at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:96
#35 0x00005555560b472d in std::invoke<lyx::Buffer::ExportStatus (*&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*&, lyx::Buffer*&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>(lyx::Buffer::ExportStatus (*&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*&, lyx::Buffer*&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)
    (__fn=@0x7fffc8dfd9a0: 0x5555560a4480 <lyx::frontend::GuiView::GuiViewPrivate::previewAndDestroy(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, __args=@0x7fffc8dfd998: 0x555557b09b90, __args=@0x7fffc8dfd990: 0x555559913ba0, __args="pdf2")
    at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/functional:110
#36 0x00005555560b46f4 in QtConcurrent::StoredFunctionCall<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::runFunctor()::{lambda(lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)#1}::operator()(lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) const
    (this=0x7fffc8dfdb30, function=0x5555560a4480 <lyx::frontend::GuiView::GuiViewPrivate::previewAndDestroy(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, args=0x555557b09b90, args=0x555559913ba0, args="") at /usr/include/x86_64-linux-gnu/qt6/QtConcurrent/qtconcurrentstoredfunctioncall.h:116
#37 0x00005555560b4678 in std::__invoke_impl<lyx::Buffer::ExportStatus, QtConcurrent::StoredFunctionCall<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::runFunctor()::{lambda(lyx::Buffer::ExportStatus (* const&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)#1}, lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__invoke_other, QtConcurrent::StoredFunctionCall<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::runFunctor()::{lambda(lyx::Buffer::ExportStatus (* const&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)#1}, lyx::Buffer::ExportStatus (*&&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*&&, lyx::Buffer*&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)
    (__f=..., __args=@0x55555a254de0: 0x5555560a4480 <lyx::frontend::GuiView::GuiViewPrivate::previewAndDestroy(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, __args=@0x55555a254dd8: 0x555557b09b90, __args=@0x55555a254dd0: 0x555559913ba0, __args=...)
--Type <RET> for more, q to quit, c to continue without paging--
    at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:61
#38 0x00005555560b4575 in std::__invoke<QtConcurrent::StoredFunctionCall<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::runFunctor()::{lambda(lyx::Buffer::ExportStatus (* const&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)#1}, lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(QtConcurrent::StoredFunctionCall<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::runFunctor()::{lambda(lyx::Buffer::ExportStatus (* const&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)#1}, lyx::Buffer::ExportStatus (*&&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*&&, lyx::Buffer*&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)
    (__fn=..., __args=@0x55555a254de0: 0x5555560a4480 <lyx::frontend::GuiView::GuiViewPrivate::previewAndDestroy(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, __args=@0x55555a254dd8: 0x555557b09b90, __args=@0x55555a254dd0: 0x555559913ba0, __args=...)
    at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:96
#39 0x00005555560b4530 in std::__apply_impl<QtConcurrent::StoredFunctionCall<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::runFunctor()::{lambda(lyx::Buffer::ExportStatus (* const&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)#1}, std::tuple<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, 0ul, 1ul, 2ul, 3ul>(QtConcurrent::StoredFunctionCall<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::runFunctor()::{lambda(lyx::Buffer::ExportStatus (* const&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)#1}, std::tuple<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&&, std::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>)
    (__f=..., __t=...) at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/tuple:1852
#40 0x00005555560b42bd in std::apply<QtConcurrent::StoredFunctionCall<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::runFunctor()::{lambda(lyx::Buffer::ExportStatus (* const&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)#1}, std::tuple<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >(QtConcurrent::StoredFunctionCall<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::runFunctor()::{lambda(lyx::Buffer::ExportStatus (* const&)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)#1}, std::tuple<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&&) (__f=..., __t=...)
    at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/tuple:1863
#41 0x00005555560b407a in QtConcurrent::StoredFunctionCall<lyx::Buffer::ExportStatus (*)(lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), lyx::Buffer const*, lyx::Buffer*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::runFunctor() (this=0x55555a254d90)
    at /usr/include/x86_64-linux-gnu/qt6/QtConcurrent/qtconcurrentstoredfunctioncall.h:122
#42 0x00005555560b3eb9 in QtConcurrent::RunFunctionTaskBase<lyx::Buffer::ExportStatus>::run() (this=0x55555a254d90)
    at /usr/include/x86_64-linux-gnu/qt6/QtConcurrent/qtconcurrentrunbase.h:83
#43 0x00007ffff6a63575 in QThreadPoolThread::run() (this=0x55555911e400) at /usr/src/qt6-base-6.4.2+dfsg-6/src/corelib/thread/qthreadpool.cpp:66
#44 0x00007ffff6a63069 in operator() (__closure=<optimized out>) at /usr/src/qt6-base-6.4.2+dfsg-6/src/corelib/thread/qthread_unix.cpp:321
#45 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/qt6-base-6.4.2+dfsg-6/src/corelib/thread/qthread_unix.cpp:257
--Type <RET> for more, q to quit, c to continue without paging--
#46 QThreadPrivate::start(void*) (arg=0x55555911e400) at /usr/src/qt6-base-6.4.2+dfsg-6/src/corelib/thread/qthread_unix.cpp:280
#47 0x00007ffff608f6ba in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
#48 0x00007ffff611e120 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb) 


-------------- 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/20240519/e2fd09c0/attachment-0001.asc>


More information about the lyx-devel mailing list