LyX closes when searching and replacing within an equation.
T Rex
sixpalax at gmail.com
Sat Jul 13 04:14:17 UTC 2024
The file and the backtrace:
/usr/include/c++/13.2.0/bits/stl_vector.h:1232: std::vector<_Tp,
_Alloc>::reference std::vector<_Tp, _Alloc>::back() [with _Tp =
lyx::CursorSlice; _Alloc = std::allocator<lyx::CursorSlice>; reference =
lyx::CursorSlice&]: Assertion '!this->empty()' failed.
Thread 1 "lyx" received signal SIGABRT, Aborted.
0x00007ffff6590e14 in __pthread_kill_implementation () from
/usr/lib/x86_64-linux-gnu/libc.so.6
(gdb) backtrace
#0 0x00007ffff6590e14 in __pthread_kill_implementation () at
/usr/lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff653edce in raise () at /usr/lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff652683f in abort () at /usr/lib/x86_64-linux-gnu/libc.so.6
#3 0x00007ffff68e9ecd in () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x0000555555bfbd43 in std::vector<lyx::CursorSlice,
std::allocator<lyx::CursorSlice> >::back() (this=0x7fffffffab88)
at /usr/include/c++/13.2.0/bits/stl_vector.h:1232
#5 0x0000555555c01a05 in std::vector<lyx::CursorSlice,
std::allocator<lyx::CursorSlice> >::back() (this=<optimized out>)
at /usr/include/c++/13.2.0/bits/stl_vector.h:1242
#6 lyx::DocIterator::top() (this=<optimized out>) at
/run/build/lyx/src/DocIterator.h:80
#7 lyx::DocIterator::pit() (this=<optimized out>) at
/run/build/lyx/src/DocIterator.h:100
#8 lyx::(anonymous namespace)::findBackwards (onlysel=true,
find_del=false, match=..., endcur=..., cur=...) at lyxfind.cpp:262
#9 lyx::findOne(lyx::BufferView*, std::__cxx11::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, bool,
bool, bool, bool, bool, bool, bool)
(bv=bv at entry=0x555558c75500, searchstr=L"{", case_sens=false,
whole=false, forward=false, find_del=find_del at entry=false, check_wrap=true,
auto_wrap=false, instant=false, onlysel=true) at lyxfind.cpp:335
#10 0x0000555555c023db in lyx::lyxfind(lyx::BufferView*, lyx::FuncRequest
const&) (bv=bv at entry=0x555558c75500, ev=...) at lyxfind.cpp:632
#11 0x0000555555bcb845 in lyx::BufferView::dispatch(lyx::FuncRequest
const&, lyx::DispatchResult&)
(this=this at entry=0x555558c75500, cmd=..., dr=...) at BufferView.cpp:1751
#12 0x0000555555f0530c in
lyx::frontend::GuiView::dispatchToBufferView(lyx::FuncRequest const&,
lyx::DispatchResult&)
(this=0x555556e07c40, cmd=..., dr=...) at GuiView.cpp:4368
#13 0x0000555555f171ce in lyx::frontend::GuiView::dispatch(lyx::FuncRequest
const&, lyx::DispatchResult&) (this=0x555556e07c40, cmd=..., dr=...)
at GuiView.cpp:5129
#14 0x0000555555edb08c in
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&,
lyx::DispatchResult&)
--Type <RET> for more, q to quit, c to continue without paging--
(this=0x555556568f30, cmd=..., dr=...) at GuiApplication.cpp:2284
#15 0x0000555555ed5571 in
lyx::frontend::GuiApplication::dispatch(lyx::FuncRequest const&)
(this=0x555556568f30, cmd=...)
at GuiApplication.cpp:1577
#16 0x00005555560f7a57 in
lyx::frontend::GuiSearchWidget::find(std::__cxx11::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool, bool,
bool, bool, bool, bool)
(this=this at entry=0x555558cc3a60, search=L"{", casesensitive=<optimized
out>, matchword=matchword at entry=false, forward=forward at entry=false,
instant=instant at entry=false, wrap=false, onlysel=true) at GuiSearch.cpp:513
#17 0x00005555560f7bb0 in lyx::frontend::GuiSearchWidget::doFind(bool,
bool) (this=0x555558cc3a60, backwards=<optimized out>, instant=false)
at GuiSearch.cpp:497
#18 0x00007ffff6dc7693 in () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff79f8a12 in QAbstractButton::clicked(bool) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff79f8c7a in () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff79fa797 in () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff79fa9a7 in QAbstractButton::mouseReleaseEvent(QMouseEvent*)
() at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff7948c98 in QWidget::event(QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff7906d6e in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff790f175 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x0000555555edeaff in lyx::frontend::GuiApplication::notify(QObject*,
QEvent*)
(this=0x555556568f30, receiver=<optimized out>, event=<optimized out>)
at GuiApplication.cpp:3001
#27 0x00007ffff6d8eca8 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007ffff790d4fe in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool,
bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff79617ad in () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#30 0x00007ffff7964aff in () at
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ffff7906d6e in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x0000555555edeaff in lyx::frontend::GuiApplication::notify(QObject*,
QEvent*)
(this=0x555556568f30, receiver=<optimized out>, event=<optimized out>)
at GuiApplication.cpp:3001
#33 0x00007ffff6d8eca8 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007ffff71ce11b in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
()
at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#35 0x00007ffff71a0e4c in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#36 0x00007ffff348f78a in () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#37 0x00007ffff3cc9e59 in g_main_context_dispatch () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007ffff3d272b8 in g_main_context_iterate.isra () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffff3cc7513 in g_main_context_iteration () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007ffff6de8586 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007ffff6d8d73b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007ffff6d95bd0 in QCoreApplication::exec() () at
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x0000555555a8e7fd in lyx::LyX::exec(int&, char**)
(this=this at entry=0x7fffffffdaf0,
argc=@0x7fffffffdaec: 1, argv=<optimized out>)
at LyX.cpp:377
#44 0x00005555558efaca in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at main.cpp:55
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240712/99328fb9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: brok.lyx
Type: application/x-lyx
Size: 2561 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240712/99328fb9/attachment-0001.lyx>
More information about the lyx-devel
mailing list