Bug 442583 - Crash when returning from a file listing
Summary: Crash when returning from a file listing
Status: REPORTED
Alias: None
Product: amarok
Classification: Applications
Component: Collection Browser (show other bugs)
Version: 2.9.71
Platform: openSUSE Linux
: NOR crash
Target Milestone: kf5
Assignee: Amarok Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-09-17 09:05 UTC by Dan Leinir Turthra Jensen
Modified: 2021-10-26 11:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Stuck like this - any click on the circled controls causes the crash (826.14 KB, image/png)
2021-09-17 09:08 UTC, Dan Leinir Turthra Jensen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Leinir Turthra Jensen 2021-09-17 09:05:57 UTC
Application: amarok (2.9.71)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.14.1-1-default x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

Attempted to navigate back in the sidebar from a file listing, and any of the options (either the home icon, >, or Files, causes a crash. I noticed that the breadcrumbs only show "[home] > Files", and not the path shown in the file browser (not sure if related, but probably best to mention it).

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fa09d2adfc0 (LWP 21928))]
[KCrash Handler]
#6  std::__atomic_base<QThreadData*>::load(std::memory_order) const (__m=std::memory_order_acquire, this=0x6c) at /usr/include/c++/11/bits/atomic_base.h:836
#7  std::atomic<QThreadData*>::load(std::memory_order) const (__m=std::memory_order_acquire, this=0x6c) at /usr/include/c++/11/atomic:570
#8  QAtomicOps<QThreadData*>::loadAcquire<QThreadData*>(std::atomic<QThreadData*> const&) (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:251
#9  QBasicAtomicPointer<QThreadData>::loadAcquire() const (this=0x6c) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:255
#10 QCoreApplicationPrivate::lockThreadPostEventList(QObject*) (object=<optimized out>) at kernel/qcoreapplication.cpp:1494
#11 0x00007fa0a84d0f49 in QCoreApplication::postEvent(QObject*, QEvent*, int) (receiver=0x3316ab0, event=0x3eb1c60, priority=0) at kernel/qcoreapplication.cpp:1546
#12 0x00007fa0a9a30b05 in BrowserCategory::clearAdditionalItems() (this=0x3229640) at /home/leinir/projects/amarok/src/browsers/BrowserCategory.cpp:168
#13 0x00007fa0a9a31d3f in BrowserCategoryList::home() (this=0x2a75680) at /home/leinir/projects/amarok/src/browsers/BrowserCategoryList.cpp:120
#14 0x00007fa0a9a2e8f5 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (BrowserCategoryList::*)()>::call(void (BrowserCategoryList::*)(), BrowserCategoryList*, void**) (f=(void (BrowserCategoryList::*)(class BrowserCategoryList * const)) 0x7fa0a9a31cc8 <BrowserCategoryList::home()>, o=0x2a75680, arg=0x7fffdf5ed370) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#15 0x00007fa0a9a2e678 in QtPrivate::FunctionPointer<void (BrowserCategoryList::*)()>::call<QtPrivate::List<>, void>(void (BrowserCategoryList::*)(), BrowserCategoryList*, void**) (f=(void (BrowserCategoryList::*)(class BrowserCategoryList * const)) 0x7fa0a9a31cc8 <BrowserCategoryList::home()>, o=0x2a75680, arg=0x7fffdf5ed370) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#16 0x00007fa0a9a2e2ba in QtPrivate::QSlotObject<void (BrowserCategoryList::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x4005620, r=0x2a75680, a=0x7fffdf5ed370, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#17 0x00007fa0a8504033 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7fffdf5ed370, r=0x2a75680, this=0x4005620) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false>(QObject*, int, void**) (sender=0x3c539e0, signal_index=9, argv=0x7fffdf5ed370) at kernel/qobject.cpp:3886
#19 0x00007fa0a84fd4ff in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x3c539e0, m=m@entry=0x7fa0a95964e0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffdf5ed370) at kernel/qobject.cpp:3946
#20 0x00007fa0a916b9f2 in QAbstractButton::clicked(bool) (this=this@entry=0x3c539e0, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#21 0x00007fa0a916bc6a in QAbstractButtonPrivate::emitClicked() (this=0x4007bf0) at widgets/qabstractbutton.cpp:415
#22 0x00007fa0a916d830 in QAbstractButtonPrivate::click() (this=0x4007bf0) at widgets/qabstractbutton.cpp:408
#23 0x00007fa0a916da53 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) (this=0x3c539e0, e=0x7fffdf5ed910) at widgets/qabstractbutton.cpp:1044
#24 0x00007fa0a90ba76e in QWidget::event(QEvent*) (this=0x3c539e0, event=0x7fffdf5ed910) at kernel/qwidget.cpp:9020
#25 0x00007fa0a9078a7f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x1fb2da0, receiver=receiver@entry=0x3c539e0, e=e@entry=0x7fffdf5ed910) at kernel/qapplication.cpp:3632
#26 0x00007fa0a9080584 in QApplication::notify(QObject*, QEvent*) (this=0x7fffdf5ed630, receiver=0x3c539e0, e=0x7fffdf5ed910) at kernel/qapplication.cpp:3076
#27 0x00007fa0a84cd9ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x3c539e0, event=0x7fffdf5ed910) at kernel/qcoreapplication.cpp:1064
#28 0x00007fa0a907f093 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=receiver@entry=0x3c539e0, event=event@entry=0x7fffdf5ed910, alienWidget=alienWidget@entry=0x3c539e0, nativeWidget=0x2323f00, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#29 0x00007fa0a90d383c in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=0x3393520, event=0x7fffdf5edbe0) at kernel/qwidgetwindow.cpp:683
#30 0x00007fa0a90d6c55 in QWidgetWindow::event(QEvent*) (this=0x3393520, event=0x7fffdf5edbe0) at kernel/qwidgetwindow.cpp:300
#31 0x00007fa0a9078a7f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x3393520, e=0x7fffdf5edbe0) at kernel/qapplication.cpp:3632
#32 0x00007fa0a84cd9ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x3393520, event=0x7fffdf5edbe0) at kernel/qcoreapplication.cpp:1064
#33 0x00007fa0a89265d7 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x3eea890) at kernel/qguiapplication.cpp:2282
#34 0x00007fa0a88fc79c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#35 0x00007fa09b365d0a in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=source@entry=0x209cd00) at qxcbeventdispatcher.cpp:105
#36 0x00007fa0a3c0280f in g_main_dispatch (context=0x7fa094005000) at ../glib/gmain.c:3337
#37 g_main_context_dispatch (context=0x7fa094005000) at ../glib/gmain.c:4055
#38 0x00007fa0a3c02b98 in g_main_context_iterate (context=context@entry=0x7fa094005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#39 0x00007fa0a3c02c4f in g_main_context_iteration (context=0x7fa094005000, may_block=1) at ../glib/gmain.c:4196
#40 0x00007fa0a8524ec4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x209e470, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#41 0x00007fa0a84cc3eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffdf5edf10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#42 0x00007fa0a84d46d0 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#43 0x000000000040c56a in main(int, char**) (argc=1, argv=0x7fffdf5ef788) at /home/leinir/projects/amarok/src/main.cpp:389
[Inferior 1 (process 21928) detached]

Possible duplicates by query: bug 422533.

Reported using DrKonqi
Comment 1 Dan Leinir Turthra Jensen 2021-09-17 09:08:06 UTC
Created attachment 141641 [details]
Stuck like this - any click on the circled controls causes the crash
Comment 2 Dan Leinir Turthra Jensen 2021-09-17 15:35:36 UTC
It seems like this is likely related (i see something about updating breadcrumbs in the backtrace). This happens on quit, though, not while using the app in general.

Application: Amarok (amarok), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fd46a81ffc0 (LWP 6893))]
[KCrash Handler]
#6  0x00007fd47662e5a4 in QWidget::setParent(QWidget*) (this=0x196b1e0, parent=0x10cd370) at kernel/qwidget.cpp:10339
#7  0x00007fd476fa12c3 in BrowserBreadcrumbWidget::addBreadCrumbItem(BrowserBreadcrumbItem*) (this=0x10cad10, item=0x196b1e0) at /home/leinir/projects/amarok/src/browsers/BrowserBreadcrumbWidget.cpp:171
#8  0x00007fd476fa0edf in BrowserBreadcrumbWidget::addLevel(BrowserCategoryList*) (this=0x10cad10, list=0x10a3650) at /home/leinir/projects/amarok/src/browsers/BrowserBreadcrumbWidget.cpp:120
#9  0x00007fd476fa0d34 in BrowserBreadcrumbWidget::updateBreadcrumbs() (this=0x10cad10) at /home/leinir/projects/amarok/src/browsers/BrowserBreadcrumbWidget.cpp:84
#10 0x00007fd476fa2216 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (BrowserBreadcrumbWidget::*)()>::call(void (BrowserBreadcrumbWidget::*)(), BrowserBreadcrumbWidget*, void**) (f=(void (BrowserBreadcrumbWidget::*)(class BrowserBreadcrumbWidget * const)) 0x7fd476fa0cf8 <BrowserBreadcrumbWidget::updateBreadcrumbs()>, o=0x10cad10, arg=0x7ffdc58bce30) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#11 0x00007fd476fa20c2 in QtPrivate::FunctionPointer<void (BrowserBreadcrumbWidget::*)()>::call<QtPrivate::List<>, void>(void (BrowserBreadcrumbWidget::*)(), BrowserBreadcrumbWidget*, void**) (f=(void (BrowserBreadcrumbWidget::*)(class BrowserBreadcrumbWidget * const)) 0x7fd476fa0cf8 <BrowserBreadcrumbWidget::updateBreadcrumbs()>, o=0x10cad10, arg=0x7ffdc58bce30) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#12 0x00007fd476fa1ddc in QtPrivate::QSlotObject<void (BrowserBreadcrumbWidget::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x1039420, r=0x10cad10, a=0x7ffdc58bce30, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#13 0x00007fd475a76033 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdc58bce30, r=0x10cad10, this=0x1039420) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#14 doActivate<false>(QObject*, int, void**) (sender=0x10a3650, signal_index=7, argv=0x7ffdc58bce30) at kernel/qobject.cpp:3886
#15 0x00007fd476f0217f in BrowserCategoryList::viewChanged() (this=0x10a3650) at /home/leinir/projects/amarok/build/src/amaroklib_autogen/H7W3GF2ISY/moc_BrowserCategoryList.cpp:198
#16 0x00007fd476fa4280 in BrowserCategoryList::childViewChanged() (this=0x10a3650) at /home/leinir/projects/amarok/src/browsers/BrowserCategoryList.cpp:230
#17 0x00007fd476fa08f5 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (BrowserCategoryList::*)()>::call(void (BrowserCategoryList::*)(), BrowserCategoryList*, void**) (f=(void (BrowserCategoryList::*)(class BrowserCategoryList * const)) 0x7fd476fa4252 <BrowserCategoryList::childViewChanged()>, o=0x10a3650, arg=0x7ffdc58bd020) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#18 0x00007fd476fa0678 in QtPrivate::FunctionPointer<void (BrowserCategoryList::*)()>::call<QtPrivate::List<>, void>(void (BrowserCategoryList::*)(), BrowserCategoryList*, void**) (f=(void (BrowserCategoryList::*)(class BrowserCategoryList * const)) 0x7fd476fa4252 <BrowserCategoryList::childViewChanged()>, o=0x10a3650, arg=0x7ffdc58bd020) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#19 0x00007fd476fa02ba in QtPrivate::QSlotObject<void (BrowserCategoryList::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x1095d30, r=0x10a3650, a=0x7ffdc58bd020, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#20 0x00007fd475a76033 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdc58bd020, r=0x10a3650, this=0x1095d30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#21 doActivate<false>(QObject*, int, void**) (sender=0xf331e0, signal_index=7, argv=0x7ffdc58bd020) at kernel/qobject.cpp:3886
#22 0x00007fd476f0217f in BrowserCategoryList::viewChanged() (this=0xf331e0) at /home/leinir/projects/amarok/build/src/amaroklib_autogen/H7W3GF2ISY/moc_BrowserCategoryList.cpp:198
#23 0x00007fd476fa408e in BrowserCategoryList::removeCategory(BrowserCategory*) (this=0xf331e0, category=0x25944a0) at /home/leinir/projects/amarok/src/browsers/BrowserCategoryList.cpp:182
#24 0x00007fd476f9436b in ScriptableServiceManager::removeRunningScript(QString const&) (this=0x1933b20, name=...) at /home/leinir/projects/amarok/src/services/scriptable/ScriptableServiceManager.cpp:111
#25 0x00007fd477374c3e in ScriptItem::pause() (this=0x19cd710) at /home/leinir/projects/amarok/src/scripting/scriptmanager/ScriptItem.cpp:148
#26 0x00007fd477375fe5 in ScriptItem::stop() (this=0x19cd710) at /home/leinir/projects/amarok/src/scripting/scriptmanager/ScriptItem.cpp:326
#27 0x00007fd47737616c in ScriptItem::~ScriptItem() (this=0x19cd710, __in_chrg=<optimized out>) at /home/leinir/projects/amarok/src/scripting/scriptmanager/ScriptItem.cpp:355
#28 0x00007fd477376224 in ScriptItem::~ScriptItem() (this=0x19cd710, __in_chrg=<optimized out>) at /home/leinir/projects/amarok/src/scripting/scriptmanager/ScriptItem.cpp:356
#29 0x00007fd475a696fe in QObjectPrivate::deleteChildren() (this=0x1abd4f0) at kernel/qobject.cpp:2104
#30 0x00007fd475a74264 in QObject::~QObject() (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#31 0x00007fd4773705cc in ScriptManager::~ScriptManager() (this=0x1ac27d0, __in_chrg=<optimized out>) at /home/leinir/projects/amarok/src/scripting/scriptmanager/ScriptManager.cpp:73
#32 0x00007fd4773705e8 in ScriptManager::~ScriptManager() (this=0x1ac27d0, __in_chrg=<optimized out>) at /home/leinir/projects/amarok/src/scripting/scriptmanager/ScriptManager.cpp:73
#33 0x00007fd477370627 in ScriptManager::destroy() () at /home/leinir/projects/amarok/src/scripting/scriptmanager/ScriptManager.cpp:78
#34 0x00007fd477340f36 in App::~App() (this=0x7ffdc58bd4a0, __in_chrg=<optimized out>) at /home/leinir/projects/amarok/src/App.cpp:221
#35 0x000000000040c5b8 in main(int, char**) (argc=1, argv=0x7ffdc58bec08) at /home/leinir/projects/amarok/src/main.cpp:390
[Inferior 1 (process 6893) detached]