Am Sonntag, 14. Januar 2018 um 14:14:30, schrieb Pavel Sanda <[email protected]> > Hi, > aynone can reproduce this? > 1. launch lyx, new file > 2. insert program listing, put few chars into the inset > 3. ctrl+s to save , save to it to eg. /tmp/aaa.lyx > 4. kaboom
Same with qt5 here.
> I can't get reasonable backtrace. Master & qt4.
>
> Pavel
Program received signal SIGSEGV, Segmentation fault.
0x0000000000c93d2a in lyx::DocIterator::inMathed (this=0x3755ee0)
at /usr2/src/lyx/lyx-git/src/DocIterator.h:141
141 { return !empty() && inset().inMathed(); }
(gdb) bt
#0 0x0000000000c93d2a in lyx::DocIterator::inMathed (this=0x3755ee0)
at /usr2/src/lyx/lyx-git/src/DocIterator.h:141
#1 0x0000000000d01222 in lyx::DocIterator::lastpos (this=0x3755ee0)
at /usr2/src/lyx/lyx-git/src/DocIterator.cpp:270
#2 0x0000000000ce4702 in lyx::CursorData::checkNewWordPosition (this=0x3755dc8)
at /usr2/src/lyx/lyx-git/src/Cursor.cpp:469
#3 0x0000000000ce3295 in lyx::CursorData::resetAnchor (this=0x3755dc8)
at /usr2/src/lyx/lyx-git/src/Cursor.cpp:271
#4 0x0000000000ce49dc in lyx::CursorData::sanitize (this=0x3755dc8)
at /usr2/src/lyx/lyx-git/src/Cursor.cpp:521
#5 0x0000000000cec786 in lyx::Cursor::sanitize (this=0x3755dc8)
at /usr2/src/lyx/lyx-git/src/Cursor.cpp:2297
#6 0x0000000001124721 in lyx::frontend::GuiView::structureChanged
(this=0x2723a20)
at /usr2/src/lyx/lyx-git/src/frontends/qt4/GuiView.cpp:1725
#7 0x0000000000c0ce83 in lyx::Buffer::structureChanged (this=0x2266370)
at /usr2/src/lyx/lyx-git/src/Buffer.cpp:3910
#8 0x0000000000c12d91 in lyx::Buffer::updateBuffer (this=0x2266370,
scope=lyx::Buffer::UpdateMaster, utype=lyx::InternalUpdate)
at /usr2/src/lyx/lyx-git/src/Buffer.cpp:4717
#9 0x0000000000c169f2 in lyx::Buffer::updateBuffer (this=0x2266370)
at /usr2/src/lyx/lyx-git/src/Buffer.h:714
#10 0x0000000000c14979 in lyx::Buffer::reload (this=0x2266370)
at /usr2/src/lyx/lyx-git/src/Buffer.cpp:5110
#11 0x000000000112c1fa in lyx::frontend::GuiView::renameBuffer (this=0x2723a20,
b=...,
newname=..., kind=lyx::frontend::GuiView::LV_WRITE_AS)
at /usr2/src/lyx/lyx-git/src/frontends/qt4/GuiView.cpp:2676
#12 0x000000000112dd3f in lyx::frontend::GuiView::saveBuffer (this=0x2723a20,
b=..., fn=...)
at /usr2/src/lyx/lyx-git/src/frontends/qt4/GuiView.cpp:2770
#13 0x000000000112dc26 in lyx::frontend::GuiView::saveBuffer (this=0x2723a20,
b=...)
at /usr2/src/lyx/lyx-git/src/frontends/qt4/GuiView.cpp:2760
#14 0x0000000001135b50 in lyx::frontend::GuiView::dispatch (this=0x2723a20,
cmd=..., dr=...)
at /usr2/src/lyx/lyx-git/src/frontends/qt4/GuiView.cpp:3882
#15 0x00000000010e8329 in lyx::frontend::GuiApplication::dispatch
(this=0x1f602e0, cmd=..., dr=...)
at /usr2/src/lyx/lyx-git/src/frontends/qt4/GuiApplication.cpp:2061
#16 0x00000000010e42f8 in lyx::frontend::GuiApplication::dispatch
(this=0x1f602e0, cmd=...)
at /usr2/src/lyx/lyx-git/src/frontends/qt4/GuiApplication.cpp:1402
#17 0x0000000000daf421 in lyx::dispatch (action=...) at
/usr2/src/lyx/lyx-git/src/LyX.cpp:1462
#18 0x0000000001199fe2 in lyx::frontend::Action::action (this=0x2332890)
at /usr2/src/lyx/lyx-git/src/frontends/qt4/Action.cpp:87
#19 0x000000000119a058 in lyx::frontend::Action::qt_static_metacall
(_o=0x2332890,
_c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffcd30)
at
/BUILD/BUILDMint17/BuildLyxGitQt5.8self-gcc7.1/src/frontends/qt4/moc_Action.cpp:81
#20 0x00007ffff63751f5 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/BUILD/BuildQtRoot/lib/libQt5Core.so.5
#21 0x00007ffff6ca4e52 in QAction::triggered(bool) ()
from /usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#22 0x00007ffff6ca75bd in QAction::activate(QAction::ActionEvent) ()
from /usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#23 0x00007ffff6d8cac5 in ?? () from
/usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#24 0x00007ffff6d8cc04 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
from /usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#25 0x00007ffff6e4e21a in QToolButton::mouseReleaseEvent(QMouseEvent*) ()
from /usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#26 0x00007ffff6cef23a in QWidget::event(QEvent*) ()
from /usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#27 0x00007ffff6e4e2f9 in QToolButton::event(QEvent*) ()
from /usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#28 0x00007ffff6cab2bc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
from /usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#29 0x00007ffff6cb28f5 in QApplication::notify(QObject*, QEvent*) ()
from /usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#30 0x00000000010ec1af in lyx::frontend::GuiApplication::notify
(this=0x1f602e0,
receiver=0x2937430, event=0x7fffffffd470)
at /usr2/src/lyx/lyx-git/src/frontends/qt4/GuiApplication.cpp:2693
#31 0x00007ffff634d2b5 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
from /usr/BUILD/BuildQtRoot/lib/libQt5Core.so.5
#32 0x00007ffff6cb170b in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#33 0x00007ffff6d08741 in ?? () from
/usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#34 0x00007ffff6d0aca3 in ?? () from
/usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#35 0x00007ffff6cab2bc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
from /usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#36 0x00007ffff6cb2210 in QApplication::notify(QObject*, QEvent*) ()
from /usr/BUILD/BuildQtRoot/lib/libQt5Widgets.so.5
#37 0x00000000010ec1af in lyx::frontend::GuiApplication::notify
(this=0x1f602e0,
receiver=0x2803f50, event=0x7fffffffdaf0)
at /usr2/src/lyx/lyx-git/src/frontends/qt4/GuiApplication.cpp:2693
#38 0x00007ffff634d2b5 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
()
from /usr/BUILD/BuildQtRoot/lib/libQt5Core.so.5
#39 0x00007ffff66f97bb in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /usr/BUILD/BuildQtRoot/lib/libQt5Gui.so.5
#40 0x00007ffff66fb335 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
() from /usr/BUILD/BuildQtRoot/lib/libQt5Gui.so.5
#41 0x00007ffff66dae9b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/BUILD/BuildQtRoot/lib/libQt5Gui.so.5
#42 0x00007ffff7ec3c80 in ?? ()
from
/BUILD/BUILDMint17/BuildQt5.8self/plugins/platforms/../../lib/libQt5XcbQpa.so.5
#43 0x00007ffff478de04 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007ffff478e048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007ffff478e0ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007ffff639bd0c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/BUILD/BuildQtRoot/lib/libQt5Core.so.5
#47 0x00007ffff634b58b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/BUILD/BuildQtRoot/lib/libQt5Core.so.5
#48 0x00007ffff63533d4 in QCoreApplication::exec() ()
from /usr/BUILD/BuildQtRoot/lib/libQt5Core.so.5
#49 0x00000000010ea92b in lyx::frontend::GuiApplication::exec (this=0x1f602e0)
at /usr2/src/lyx/lyx-git/src/frontends/qt4/GuiApplication.cpp:2459
#50 0x0000000000da6ba3 in lyx::LyX::exec (this=0x7fffffffe110,
argc=@0x7fffffffe10c: 1,
argv=0x7fffffffe218) at /usr2/src/lyx/lyx-git/src/LyX.cpp:398
#51 0x0000000000eba827 in main (argc=1, argv=0x7fffffffe218)
at /usr2/src/lyx/lyx-git/src/main.cpp:42
Kornel
signature.asc
Description: This is a digitally signed message part.
