https://bugs.kde.org/show_bug.cgi?id=507547

--- Comment #3 from Matthias Grimrath <[email protected]> ---
# backtrace of failed assertion
(gdb) bt
#0  0x00007ffff0ea5ddc in ?? () from /usr/lib/libc.so.6
#1  0x00007ffff0e4f4d8 in raise () from /usr/lib/libc.so.6
#2  0x00007ffff0e37669 in abort () from /usr/lib/libc.so.6
#3  0x00007ffff14911dc in ?? () from /usr/lib/libQt6Core.so.6
#4  0x00007ffff14920ee in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib/libQt6Core.so.6
#5  0x00007ffff148f7d6 in qt_assert(char const*, char const*, int) () from
/usr/lib/libQt6Core.so.6
#6  0x00005555555f941f in SubtitleComposer::SubtitleLine::index
(this=0x5555592b3320) at
/home/matthias/build/subtitlecomposer-upstream/src/core/subtitleline.cpp:230
#7  0x000055555565fd32 in SubtitleComposer::LinesModel::onModelReset
(this=this@entry=0x555555fa7b60)
    at
/home/matthias/build/subtitlecomposer-upstream/src/gui/treeview/linesmodel.cpp:339
#8  0x0000555555617430 in SubtitleComposer::LinesModel::processSelectionUpdate
(this=0x555555fa7b60)
    at
/home/matthias/build/subtitlecomposer-upstream/src/gui/treeview/linesmodel.h:51
#9  0x0000555555616d7d in saveSelection (current=0x555555bd7e0c,
selection=0x555555bd7e28) at
/home/matthias/build/subtitlecomposer-upstream/src/core/undo/undostack.cpp:81
#10 0x0000555555616e41 in SubtitleComposer::UndoStack::levelDecrease
(this=this@entry=0x555556102790, idx=idx@entry=1)
    at
/home/matthias/build/subtitlecomposer-upstream/src/core/undo/undostack.cpp:109
#11 0x00005555556173ae in SubtitleComposer::UndoStack::push
(this=0x555556102790, cmd=0x5555594117d0)
    at
/home/matthias/build/subtitlecomposer-upstream/src/core/undo/undostack.cpp:121
#12 0x00005555555eb0b8 in SubtitleComposer::Subtitle::processAction
(this=this@entry=0x555559232ca0, action=action@entry=0x5555594117d0)
    at
/home/matthias/build/subtitlecomposer-upstream/src/core/subtitle.cpp:1390
#13 0x00005555555ebd07 in SubtitleComposer::Subtitle::insertLine
(this=this@entry=0x555559232ca0, line=line@entry=0x5555592b3320,
index=index@entry=0)
    at /home/matthias/build/subtitlecomposer-upstream/src/core/subtitle.cpp:361
#14 0x00005555555ecb8e in SubtitleComposer::Subtitle::insertNewLine
(this=this@entry=0x555559232ca0, index=0, insertAfter=insertAfter@entry=false,
    target=target@entry=SubtitleComposer::Both) at
/home/matthias/build/subtitlecomposer-upstream/src/core/subtitle.cpp:400
#15 0x00005555555bbc37 in
SubtitleComposer::Application::insertBeforeCurrentLine (this=0x7fffffffdd30) at
/home/matthias/build/subtitlecomposer-upstream/src/application.cpp:420
#16 0x00005555555c60ee in QtPrivate::FunctorCall<std::integer_sequence<unsigned
long>, QtPrivate::List<>, void, void
(SubtitleComposer::Application::*)()>::call(void
(SubtitleComposer::Application::*)(), SubtitleComposer::Application*,
void**)::{lambda()#1}::operator()() const
(__closure=__closure@entry=0x7fffffffb8c0)
    at /usr/include/qt6/QtCore/qobjectdefs_impl.h:127
#17 0x00005555555c709c in QtPrivate::FunctorCallBase::call_internal<void,
QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>,
void, void (SubtitleComposer::Application::*)()>::call(void
(SubtitleComposer::Application::*)(), SubtitleComposer::Application*,
void**)::{lambda()#1}>(void**,
QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>,
void, void (SubtitleComposer::Application::*)()>::call(void
(SubtitleComposer::Application::*)(), SubtitleComposer::Application*,
void**)::{lambda()#1}&&) (args=<optimized out>, fn=...) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:65
#18 QtPrivate::FunctorCall<std::integer_sequence<unsigned long>,
QtPrivate::List<>, void, void (SubtitleComposer::Application::*)()>::call(void
(SubtitleComposer::Application::*)(), SubtitleComposer::Application*, void**) (
    f=(void (SubtitleComposer::Application::*)(SubtitleComposer::Application *
const)) 0x5555555bbb52
<SubtitleComposer::Application::insertBeforeCurrentLine()>,
    o=<optimized out>, arg=<optimized out>) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:126
#19 0x00005555555c70ee in QtPrivate::FunctionPointer<void
(SubtitleComposer::Application::*)()>::call<QtPrivate::List<>, void>(void
(SubtitleComposer::Application::*)(), SubtitleComposer::Application*, void**)
(f=<optimized out>, o=<optimized out>, arg=<optimized out>) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:174
#20 QtPrivate::QCallableObject<void (SubtitleComposer::Application::*)(),
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (
    which=<optimized out>, this_=<optimized out>, r=<optimized out>,
a=<optimized out>, ret=<optimized out>) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:545
#21 0x00007ffff15b2dba in ?? () from /usr/lib/libQt6Core.so.6
#22 0x00007ffff2164f99 in QAction::activate(QAction::ActionEvent) () from
/usr/lib/libQt6Gui.so.6
#23 0x00007ffff28d809a in ?? () from /usr/lib/libQt6Widgets.so.6
#24 0x00007ffff28dce99 in ?? () from /usr/lib/libQt6Widgets.so.6
#25 0x00007ffff274eecf in QWidget::event(QEvent*) () from
/usr/lib/libQt6Widgets.so.6
#26 0x00007ffff26fea7b in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt6Widgets.so.6
#27 0x00007ffff2702803 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt6Widgets.so.6
#28 0x00007ffff1557f48 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt6Core.so.6
#29 0x00007ffff26f6833 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
   from /usr/lib/libQt6Widgets.so.6
#30 0x00007ffff27695eb in ?? () from /usr/lib/libQt6Widgets.so.6
#31 0x00007ffff276a520 in ?? () from /usr/lib/libQt6Widgets.so.6
#32 0x00007ffff26fea7b in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt6Widgets.so.6
#33 0x00007ffff1557f48 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt6Core.so.6
#34 0x00007ffff1d88a45 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /usr/lib/libQt6Gui.so.6
#35 0x00007ffff1e081d4 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt6Gui.so.6
#36 0x00007fffdfa26c8f in ?? () from
/usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#37 0x00007fffef702c1f in ?? () from /usr/lib/libglib-2.0.so.0
#38 0x00007fffef764337 in ?? () from /usr/lib/libglib-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--c
#39 0x00007fffef7020d2 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#40 0x00007ffff17bf7a8 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt6Core.so.6
#41 0x00007ffff1562f95 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt6Core.so.6
#42 0x00007ffff28e0178 in ?? () from /usr/lib/libQt6Widgets.so.6
#43 0x00007ffff28e02a0 in QMenu::exec(QPoint const&, QAction*) () from
/usr/lib/libQt6Widgets.so.6
#44 0x0000555555662aca in SubtitleComposer::LinesWidget::contextMenuEvent
(this=0x555555f98a60, e=0x7fffffffcfc0)
    at
/home/matthias/build/subtitlecomposer-upstream/src/gui/treeview/lineswidget.cpp:439
#45 0x00007ffff274f16a in QWidget::event(QEvent*) () from
/usr/lib/libQt6Widgets.so.6
#46 0x00007ffff27eb224 in QFrame::event(QEvent*) () from
/usr/lib/libQt6Widgets.so.6
#47 0x00007ffff1557268 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib/libQt6Core.so.6
#48 0x00007ffff26fea6b in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt6Widgets.so.6
#49 0x00007ffff2703a34 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt6Widgets.so.6
#50 0x00007ffff1557f48 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt6Core.so.6
#51 0x00007ffff276ac42 in ?? () from /usr/lib/libQt6Widgets.so.6
#52 0x00007ffff26fea7b in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt6Widgets.so.6
#53 0x00007ffff1557f48 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt6Core.so.6
#54 0x00007ffff1df0fd6 in
QWindowPrivate::maybeSynthesizeContextMenuEvent(QMouseEvent*) () from
/usr/lib/libQt6Gui.so.6
#55 0x00007ffff27692fc in ?? () from /usr/lib/libQt6Widgets.so.6
#56 0x00007ffff276a520 in ?? () from /usr/lib/libQt6Widgets.so.6
#57 0x00007ffff26fea7b in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt6Widgets.so.6
#58 0x00007ffff1557f48 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt6Core.so.6
#59 0x00007ffff1d88a45 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() from /usr/lib/libQt6Gui.so.6
#60 0x00007ffff1e081d4 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt6Gui.so.6
#61 0x00007fffdfa26c8f in ?? () from
/usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#62 0x00007fffef702c1f in ?? () from /usr/lib/libglib-2.0.so.0
#63 0x00007fffef764337 in ?? () from /usr/lib/libglib-2.0.so.0
#64 0x00007fffef7020d2 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#65 0x00007ffff17bf7a8 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt6Core.so.6
#66 0x00007ffff1562f95 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt6Core.so.6
#67 0x00007ffff155af14 in QCoreApplication::exec() () from
/usr/lib/libQt6Core.so.6
#68 0x00005555555b9d36 in main (argc=<optimized out>, argv=<optimized out>) at
/home/matthias/build/subtitlecomposer-upstream/src/main.cpp:181

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to