https://bugs.kde.org/show_bug.cgi?id=496635
Bug ID: 496635 Summary: Documents browser shows Welcome page and crashes when clicked Classification: Applications Product: kate Version: Git Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: application Assignee: kwrite-bugs-n...@kde.org Reporter: win...@kde.org Target Milestone: --- STEPS TO REPRODUCE 1. I opened an older session 2. open the Documents browser. See "Open Widgets' with child "Welcome" 3. click on the Welcome => crash backtrace: Core was generated by `kate -b --tempfile'. Program terminated with signal SIGBUS, Bus error. #0 0x00007f0f127b9fce in QObject::installEventFilter(QObject*) () from /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Core.so.6 [Current thread is 1 (Thread 0x7f0f0c51fa80 (LWP 10008))] #0 0x00007f0f127b9fce in QObject::installEventFilter(QObject*) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Core.so.6 #1 0x00007f0f16581be0 in KateViewSpace::addWidgetAsTab (this=0x30633c80, widget=0x309b83f0) at /data/KDE/src/kde/utilities/kate/apps/lib/kateviewspace.cpp:945 #2 0x00007f0f164f998a in KateMainWindow::addWidget (this=0x2fe42460, widget=0x309b83f0) at /data/KDE/src/kde/utilities/kate/apps/lib/katemainwindow.cpp:1487 #3 0x00007f0f164f9aac in KateMainWindow::activateWidget (this=0x2fe42460, widget=0x309b83f0) at /data/KDE/src/kde/utilities/kate/apps/lib/katemainwindow.cpp:1510 #4 0x00007f0f164fab87 in KateMainWindow::qt_static_metacall (_o=0x2fe42460, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0x7ffc8906f6c0) at /home/data/KDE/src/kde/utilities/kate/build-qt67-master-gcc/apps/lib/kateprivate_autogen/include/moc_katemainwindow.cpp:389 #5 0x00007f0f12775ab3 in QMetaMethodInvoker::invokeImpl(QMetaMethod, void*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Core.so.6 #6 0x00007f0f12776623 in QMetaObject::invokeMethodImpl(QObject*, char const*, Qt::ConnectionType, long long, void const* const*, char const* const*, QtPrivate::QMetaTypeInterface const* const*) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Core.so.6 #7 0x00007f0f15ff2873 in QMetaObject::invokeMethod<void, QMetaMethodArgument> (obj=0x2fe42460, member=0x7f0f16102bba "activateWidget", c=Qt::DirectConnection, r=...) at /home/data/Qt/online/6.7.3/gcc_64/include/QtCore/qobjectdefs.h:376 #8 0x00007f0f15ff179c in QMetaObject::invokeMethod<QMetaMethodArgument> (obj=0x2fe42460, member=0x7f0f16102bba "activateWidget", c=Qt::DirectConnection) at /home/data/Qt/online/6.7.3/gcc_64/include/QtCore/qobjectdefs.h:389 #9 0x00007f0f15ff0db2 in KTextEditor::MainWindow::activateWidget (this=0x2ffe52e0, widget=0x309b83f0) at /data/KDE/src/frameworks/ktexteditor/src/utils/mainwindow.cpp:253 #10 0x00007f0ef40b9050 in operator() (__closure=0x30b4eb50, w=0x309b83f0) at /data/KDE/src/kde/utilities/kate/addons/filetree/katefiletreeplugin.cpp:218 #11 0x00007f0ef40bc825 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QWidget*>, void, KateFileTreePluginView::KateFileTreePluginView(KTextEditor::MainWindow*, KateFileTreePlugin*)::<lambda(QWidget*)> >::call(struct {...} &, void **) (f=..., arg=0x7ffc8906f970) at /home/data/Qt/online/6.7.3/gcc_64/include/QtCore/qobjectdefs_impl.h:137 #12 0x00007f0ef40bc737 in QtPrivate::FunctorCallable<KateFileTreePluginView::KateFileTreePluginView(KTextEditor::MainWindow*, KateFileTreePlugin*)::<lambda(QWidget*)>, QWidget*>::call<QtPrivate::List<QWidget*>, void>(struct {...} &, void *, void **) (f=..., arg=0x7ffc8906f970) at /home/data/Qt/online/6.7.3/gcc_64/include/QtCore/qobjectdefs_impl.h:345 #13 0x00007f0ef40bc646 in QtPrivate::QCallableObject<KateFileTreePluginView::KateFileTreePluginView(KTextEditor::MainWindow*, KateFileTreePlugin*)::<lambda(QWidget*)>, QtPrivate::List<QWidget*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x30b4eb40, r=0x3058eaa0, a=0x7ffc8906f970, ret=0x0) at /home/data/Qt/online/6.7.3/gcc_64/include/QtCore/qobjectdefs_impl.h:555 #14 0x00007f0f127c066a in ??? () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Core.so.6 #15 0x00007f0ef408c7c9 in KateFileTree::activateWidget (this=0x30b263a0, _t1=0x309b83f0) at /home/data/KDE/src/kde/utilities/kate/build-qt67-master-gcc/addons/filetree/katefiletreeplugin_autogen/include/moc_katefiletree.cpp:477 #16 0x00007f0ef4089456 in KateFileTree::mouseClicked (this=0x30b263a0, index=...) at /data/KDE/src/kde/utilities/kate/addons/filetree/katefiletree.cpp:368 #17 0x00007f0ef40976e7 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (KateFileTree::*)(QModelIndex const&)>::call (f=(void (KateFileTree::*)(class KateFileTree * const, const class QModelIndex &)) 0x7f0ef4089376 <KateFileTree::mouseClicked(QModelIndex const&)>, o=0x30b263a0, arg=0x7ffc8906fb70) at /home/data/Qt/online/6.7.3/gcc_64/include/QtCore/qobjectdefs_impl.h:145 #18 0x00007f0ef4095602 in QtPrivate::FunctionPointer<void (KateFileTree::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void> (f=(void (KateFileTree::*)(class KateFileTree * const, const class QModelIndex &)) 0x7f0ef4089376 <KateFileTree::mouseClicked(QModelIndex const&)>, o=0x30b263a0, arg=0x7ffc8906fb70) at /home/data/Qt/online/6.7.3/gcc_64/include/QtCore/qobjectdefs_impl.h:182 #19 0x00007f0ef409391d in QtPrivate::QCallableObject<void (KateFileTree::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl (which=1, this_=0x30067a60, r=0x30b263a0, a=0x7ffc8906fb70, ret=0x0) at /home/data/Qt/online/6.7.3/gcc_64/include/QtCore/qobjectdefs_impl.h:553 #20 0x00007f0f127c066a in ??? () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Core.so.6 #21 0x00007f0f13e2fd55 in QAbstractItemView::clicked(QModelIndex const&) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Widgets.so.6 #22 0x00007f0f13e3ac56 in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Widgets.so.6 #23 0x00007f0f13bdc50e in QWidget::event(QEvent*) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Widgets.so.6 #24 0x00007f0f13c68ef2 in QFrame::event(QEvent*) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Widgets.so.6 #25 0x00007f0f12761aaa in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Core.so.6 #26 0x00007f0f13b84621 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Widgets.so.6 #27 0x00007f0f13b8cf50 in QApplication::notify(QObject*, QEvent*) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Widgets.so.6 #28 0x00007f0f12761d3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Core.so.6 #29 0x00007f0f13b8c2a0 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Widgets.so.6 #30 0x00007f0f13bee7c1 in ??? () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Widgets.so.6 #31 0x00007f0f13bf143b in ??? () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Widgets.so.6 #32 0x00007f0f13b84632 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Widgets.so.6 #33 0x00007f0f12761d3a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Core.so.6 #34 0x00007f0f12fc88e0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Gui.so.6 #35 0x00007f0f13022d5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Gui.so.6 #36 0x00007f0efeda404a in ??? () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6XcbQpa.so.6 #37 0x00007f0f0fc6ce5c in g_main_dispatch (context=0x7f0ef8000ef0) at ../glib/gmain.c:3476 #38 g_main_context_dispatch_unlocked (context=0x7f0ef8000ef0) at ../glib/gmain.c:4284 #39 0x00007f0f0fcc7f68 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f0ef8000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4349 #40 0x00007f0f0fc6aad3 in g_main_context_iteration (context=0x7f0ef8000ef0, may_block=1) at ../glib/gmain.c:4414 #41 0x00007f0f12a1aafa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Core.so.6 #42 0x00007f0f1276d573 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Core.so.6 #43 0x00007f0f1276a00e in QCoreApplication::exec() () at /home/data/Qt/online/6.7.3/gcc_64/lib/libQt6Core.so.6 #44 0x000000000040c40d in ??? () #45 0x00007f0f112f0b90 in ??? () #46 0x0000000000000003 in ??? () #47 0x00000000000004d8 in ??? () #48 0x00007ffc89071970 in ??? () #49 0x00007ffc89072a48 in ??? () #50 0x0000000316ad53a1 in ??? () #51 0x0000000000000017 in ??? () #52 0x00007f0f0f950000 in ??? () #53 0x00007ffc890709d0 in ??? () #54 0x00007f0f16ad5b26 in _dl_new_object (realname=0x10000fc89072920 <error: Cannot access memory at address 0x10000fc89072920>, libname=<optimized out>, type=0, loader=<optimized out>, mode=4307496, nsid=<optimized out>) at dl-object.c:245 #55 0x00007f0f1204614a in __libc_start_call_main (main=main@entry=0x4082dc, argc=argc@entry=3, argv=argv@entry=0x7ffc89072a48) at ../sysdeps/nptl/libc_start_call_main.h:58 #56 0x00007f0f1204620b in __libc_start_main_impl (main=0x4082dc, argc=3, argv=0x7ffc89072a48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc89072a38) at ../csu/libc-start.c:360 EXPECTED RESULT don't crash SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 39 KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.116.0 Qt Version: 6.7.3 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.