Bug 470251 - Crash when ordering items
Summary: Crash when ordering items
Status: REPORTED
Alias: None
Product: ktimetracker
Classification: Applications
Component: general (show other bugs)
Version: 5.0.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Alexander Potashev
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-05-25 12:17 UTC by Łukasz Żarnowiecki
Modified: 2023-05-25 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Żarnowiecki 2023-05-25 12:17:32 UTC
Application: ktimetracker (5.0.1)

Qt Version: 5.15.9
Frameworks Version: 5.106.0
Operating System: Linux 6.3.3-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
Sometimes when you reorder tasks, move out of sub task, put into substask existing ones, application crashes.  Happened to me three times in a row, but I am not sure what causes it specifically, because not every move action triggers it.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KTimeTracker (ktimetracker), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007fedb0a7934c in QSortFilterProxyModel::sibling (this=<optimized out>, row=1465036853, column=0, idx=...) at itemmodels/qsortfilterproxymodel.cpp:2234
#7  0x00007fedb1a50457 in QModelIndex::sibling (acolumn=0, arow=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:446
#8  QTreeViewPrivate::viewIndex (this=0x56073701e100, _index=...) at itemviews/qtreeview.cpp:3599
#9  0x00007fedb1a49292 in QTreeView::visualRect (this=this@entry=0x560737019310, index=...) at itemviews/qtreeview.cpp:1112
#10 0x00007fedb19da595 in QAbstractItemViewPrivate::setHoverIndex (this=this@entry=0x56073701e100, index=...) at itemviews/qabstractitemview.cpp:164
#11 0x00007fedb19dcb2f in QAbstractItemView::viewportEvent (this=0x560737019310, event=0x7ffdfcd89cd0) at itemviews/qabstractitemview.cpp:1714
#12 0x00007fedb0a97b22 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x56073700fee0, event=event@entry=0x7ffdfcd89cd0) at kernel/qcoreapplication.cpp:1190
#13 0x00007fedb177892f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x56073700fee0, e=0x7ffdfcd89cd0) at kernel/qapplication.cpp:3634
#14 0x00007fedb0a9ab18 in QCoreApplication::notifyInternal2 (receiver=0x56073700fee0, event=0x7ffdfcd89cd0) at kernel/qcoreapplication.cpp:1064
#15 0x00007fedb0a9ab83 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#16 0x00007fedb177b669 in QApplicationPrivate::dispatchEnterLeave (enter=0x560736cde350, leave=<optimized out>, globalPosF=...) at kernel/qapplication.cpp:2251
#17 0x00007fedb17d05c3 in QWidgetWindow::handleEnterLeaveEvent (event=0x7ffdfcd89f80, this=0x560736b67ed0) at kernel/qwidgetwindow.cpp:447
#18 QWidgetWindow::event (this=0x560736b67ed0, event=0x7ffdfcd89f80) at kernel/qwidgetwindow.cpp:264
#19 0x00007fedb177893f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x560736b67ed0, e=0x7ffdfcd89f80) at kernel/qapplication.cpp:3640
#20 0x00007fedb0a9ab18 in QCoreApplication::notifyInternal2 (receiver=0x560736b67ed0, event=0x7ffdfcd89f80) at kernel/qcoreapplication.cpp:1064
#21 0x00007fedb0a9aba3 in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#22 0x00007fedb0f3a65c in QGuiApplicationPrivate::processLeaveEvent (e=0x56073705c470) at kernel/qguiapplication.cpp:2464
#23 QGuiApplicationPrivate::processLeaveEvent (e=0x56073705c470) at kernel/qguiapplication.cpp:2452
#24 0x00007fedb0f2a955 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#25 0x00007fedaeb5e8d5 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib/libQt5WaylandClient.so.5
#26 0x00007fedaf10f53b in g_main_dispatch (context=0x7feda4000ee0) at ../glib/glib/gmain.c:3460
#27 g_main_context_dispatch (context=0x7feda4000ee0) at ../glib/glib/gmain.c:4200
#28 0x00007fedaf16c219 in g_main_context_iterate.constprop.0 (context=0x7feda4000ee0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#29 0x00007fedaf10e1a2 in g_main_context_iteration (context=0x7feda4000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#30 0x00007fedb0ae9f0c in QEventDispatcherGlib::processEvents (this=0x56073686bab0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007fedb0a99824 in QEventLoop::exec (this=this@entry=0x56073721c840, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x00007fedb0f7d9fa in QBasicDrag::drag (this=0x56073684f8e0, o=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x00007fedb0f77960 in QDragManager::drag (this=0x56073732ca70, o=o@entry=0x560736cfb450) at kernel/qdnd.cpp:117
#34 0x00007fedb0f7d03f in QDrag::exec (this=this@entry=0x560736cfb450, supportedActions=..., supportedActions@entry=..., defaultDropAction=<optimized out>) at kernel/qdrag.cpp:283
#35 0x00007fedb19ea8d4 in QAbstractItemView::startDrag (this=this@entry=0x560737019310, supportedActions=...) at itemviews/qabstractitemview.cpp:3764
#36 0x00007fedb19dfe59 in QAbstractItemView::mouseMoveEvent (this=0x560737019310, event=<optimized out>) at itemviews/qabstractitemview.cpp:1845
#37 0x0000560735258dc3 in ?? ()
#38 0x00007fedb17aef57 in QWidget::event (this=0x560737019310, event=0x7ffdfcd8aa10) at kernel/qwidget.cpp:8663
#39 0x00007fedb185d583 in QFrame::event (this=0x560737019310, e=0x7ffdfcd8aa10) at widgets/qframe.cpp:550
#40 0x00007fedb0a97b22 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x56073700fee0, event=event@entry=0x7ffdfcd8aa10) at kernel/qcoreapplication.cpp:1190
#41 0x00007fedb177892f in QApplicationPrivate::notify_helper (this=this@entry=0x56073684a930, receiver=receiver@entry=0x56073700fee0, e=e@entry=0x7ffdfcd8aa10) at kernel/qapplication.cpp:3634
#42 0x00007fedb177ddef in QApplication::notify (this=<optimized out>, receiver=0x56073700fee0, e=0x7ffdfcd8aa10) at kernel/qapplication.cpp:3084
#43 0x00007fedb0a9ab18 in QCoreApplication::notifyInternal2 (receiver=0x56073700fee0, event=0x7ffdfcd8aa10) at kernel/qcoreapplication.cpp:1064
#44 0x00007fedb0a9aba3 in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#45 0x00007fedb177c12a in QApplicationPrivate::sendMouseEvent (receiver=0x56073700fee0, event=0x7ffdfcd8aa10, alienWidget=<optimized out>, nativeWidget=0x560736cde350, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#46 0x00007fedb17cced5 in QWidgetWindow::handleMouseEvent (this=this@entry=0x560736b67ed0, event=event@entry=0x7ffdfcd8ad70) at kernel/qwidgetwindow.cpp:684
#47 0x00007fedb17cec27 in QWidgetWindow::event (this=0x560736b67ed0, event=0x7ffdfcd8ad70) at kernel/qwidgetwindow.cpp:300
#48 0x00007fedb177893f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x560736b67ed0, e=0x7ffdfcd8ad70) at kernel/qapplication.cpp:3640
#49 0x00007fedb0a9ab18 in QCoreApplication::notifyInternal2 (receiver=0x560736b67ed0, event=0x7ffdfcd8ad70) at kernel/qcoreapplication.cpp:1064
#50 0x00007fedb0a9aba3 in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#51 0x00007fedb0f4121c in QGuiApplicationPrivate::processMouseEvent (e=0x7fed9c0025c0) at kernel/qguiapplication.cpp:2285
#52 0x00007fedb0f2a955 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#53 0x00007fedaeb5e8d5 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib/libQt5WaylandClient.so.5
#54 0x00007fedaf10f53b in g_main_dispatch (context=0x7feda4000ee0) at ../glib/glib/gmain.c:3460
#55 g_main_context_dispatch (context=0x7feda4000ee0) at ../glib/glib/gmain.c:4200
#56 0x00007fedaf16c219 in g_main_context_iterate.constprop.0 (context=0x7feda4000ee0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#57 0x00007fedaf10e1a2 in g_main_context_iteration (context=0x7feda4000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#58 0x00007fedb0ae9f0c in QEventDispatcherGlib::processEvents (this=0x56073686bab0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#59 0x00007fedb0a99824 in QEventLoop::exec (this=this@entry=0x7ffdfcd8b110, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#60 0x00007fedb0a9acc3 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#61 0x0000560735238c17 in ?? ()
#62 0x00007fedb0239850 in __libc_start_call_main (main=main@entry=0x5607352383e0, argc=argc@entry=1, argv=argv@entry=0x7ffdfcd8b388) at ../sysdeps/nptl/libc_start_call_main.h:58
#63 0x00007fedb023990a in __libc_start_main_impl (main=0x5607352383e0, argc=1, argv=0x7ffdfcd8b388, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdfcd8b378) at ../csu/libc-start.c:360
#64 0x000056073523908e in ?? ()
[Inferior 1 (process 2896) detached]

Reported using DrKonqi