Bug 415642

Summary: Buttons not working in Organise Files dialog, Amarok crashes when closing dialog
Product: [Applications] amarok Reporter: kde
Component: Collections/Organize Files DialogAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: normal CC: ralf-engels, tuomas
Priority: NOR    
Version: unspecified   
Target Milestone: kf5   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: DrKonqi output

Description kde 2019-12-28 13:43:34 UTC
Created attachment 124757 [details]
DrKonqi output

Application: amarok (2.9.70)

Qt Version: 5.13.1
Frameworks Version: 5.65.0
Operating System: Linux 5.3.12-2-default x86_64
Distribution: openSUSE Tumbleweed

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

I right-clicked on an album to automatically rename and sort the files. First window opened, clicked on "move without converting". Second window opened too small, buttons "Ok" and "cancel" would not react. Closed this window (files not being renamed or moved) and Amarok crashed.

The crash can be reproduced every time.
Comment 1 kde 2019-12-28 13:47:13 UTC
*** Bug 415640 has been marked as a duplicate of this bug. ***
Comment 2 Myriam Schweingruber 2019-12-28 14:41:14 UTC
relevant section of the backtrace (please always paste these inline):

FWIW: the crash is not in Amarok, but in Qt, I don't see what we could do about this

Thread 1 (Thread 0x7f4cb72e0540 (LWP 29449)):
[KCrash Handler]
#6  0x00007f4cc4504960 in QQmlData::signalHasEndpoint (this=0x55cb9e70f4c0, index=7) at /usr/src/debug/libqt5-qtdeclarative-5.13.1-1.2.x86_64/include/QtQml/5.13.1/QtQml/private/../../../../../src/qml/qml/qqmldata_p.h:370
#7  QQmlData::isSignalConnected (index=7, d=0x55cb9e70f4c0) at /usr/src/debug/libqt5-qtdeclarative-5.13.1-1.2.x86_64/src/qml/qml/qqmlengine.cpp:904
#8  QQmlData::isSignalConnected (d=0x55cb9e70f4c0, index=7) at /usr/src/debug/libqt5-qtdeclarative-5.13.1-1.2.x86_64/src/qml/qml/qqmlengine.cpp:899
#9  0x00007f4cc7f31d9a in QObjectPrivate::isDeclarativeSignalConnected (signal_index=7, this=<optimized out>) at kernel/qobject_p.h:110
#10 QMetaObject::activate (sender=0x55cb9e75d2d0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3675
#11 0x00007f4cc7f32638 in QtPrivate::QSlotObjectBase::call (a=0x7ffd321b1f90, r=0x55cb9e75d2d0, this=0x55cb9e707f00) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#12 QMetaObject::activate (sender=0x55cb9e70d7d0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3789
#13 0x00007f4cc7f32638 in QtPrivate::QSlotObjectBase::call (a=0x7ffd321b20e0, r=0x55cb9e70d7d0, this=0x55cb9e7ea650) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#14 QMetaObject::activate (sender=0x55cb9e7d8440, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3789
#15 0x00007f4cc7f32b5f in QObject::destroyed (this=this@entry=0x55cb9e7d8440, _t1=<optimized out>, _t1@entry=0x55cb9e7d8440) at .moc/moc_qobject.cpp:219
#16 0x00007f4cc8ae4ad3 in QWidget::~QWidget (this=0x55cb9e7d8440, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1662
#17 0x00007f4cc92894e3 in Token::~Token (this=0x55cb9e7d8440, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:326
#18 Token::~Token (this=0x55cb9e7d8440, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.9.70git.20191004T143525~5ed62f9a08-1.2.x86_64/src/widgets/Token.h:47
#19 0x00007f4cc7f3028e in QObjectPrivate::deleteChildren (this=this@entry=0x55cb9e75c9a0) at kernel/qobject.cpp:2019
#20 0x00007f4cc8ae4b39 in QWidget::~QWidget (this=0x55cb9e70d7d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#21 0x00007f4cc9753709 in TokenDropTarget::~TokenDropTarget (this=0x55cb9e70d7d0, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.9.70git.20191004T143525~5ed62f9a08-1.2.x86_64/src/widgets/TokenDropTarget.cpp:48
#22 0x00007f4cc7f3028e in QObjectPrivate::deleteChildren (this=this@entry=0x55cb9e6ee720) at kernel/qobject.cpp:2019
#23 0x00007f4cc8ae4b39 in QWidget::~QWidget (this=0x55cb9e662920, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#24 0x00007f4cc8b96659 in QFrame::~QFrame (this=0x55cb9e662920, __in_chrg=<optimized out>) at widgets/qframe.cpp:262
#25 0x00007f4cc7f3028e in QObjectPrivate::deleteChildren (this=this@entry=0x55cb9e6cbbe0) at kernel/qobject.cpp:2019
#26 0x00007f4cc8ae4b39 in QWidget::~QWidget (this=0x55cb9e6f3060, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#27 0x00007f4cc8ae4d29 in QWidget::~QWidget (this=0x55cb9e6f3060, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1558
#28 0x00007f4cc7f3028e in QObjectPrivate::deleteChildren (this=this@entry=0x55cb9e71f620) at kernel/qobject.cpp:2019
#29 0x00007f4cc8ae4b39 in QWidget::~QWidget (this=0x55cb9e721440, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#30 0x00007f4cc8c584e9 in QStackedWidget::~QStackedWidget (this=0x55cb9e721440, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:145
#31 0x00007f4cc7f3028e in QObjectPrivate::deleteChildren (this=this@entry=0x55cb9e6ef2b0) at kernel/qobject.cpp:2019
#32 0x00007f4cc8ae4b39 in QWidget::~QWidget (this=0x55cb9e70f4c0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#33 0x00007f4cc8bdd579 in QGroupBox::~QGroupBox (this=0x55cb9e70f4c0, __in_chrg=<optimized out>) at widgets/qgroupbox.cpp:201
#34 0x00007f4cc7f3028e in QObjectPrivate::deleteChildren (this=this@entry=0x55cb9e6997a0) at kernel/qobject.cpp:2019
#35 0x00007f4cc8ae4b39 in QWidget::~QWidget (this=0x55cb9e75d2d0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#36 0x00007f4cc928903c in FilenameLayoutWidget::~FilenameLayoutWidget (this=0x55cb9e75d2d0, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:326
#37 OrganizeCollectionWidget::~OrganizeCollectionWidget (this=0x55cb9e75d2d0, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.9.70git.20191004T143525~5ed62f9a08-1.2.x86_64/build/src/amaroklib_autogen/2NRMJ5X7RK/../../../../src/dialogs/OrganizeCollectionDialog.h:74
#38 OrganizeCollectionWidget::~OrganizeCollectionWidget (this=0x55cb9e75d2d0, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.9.70git.20191004T143525~5ed62f9a08-1.2.x86_64/build/src/amaroklib_autogen/2NRMJ5X7RK/../../../../src/dialogs/OrganizeCollectionDialog.h:74
#39 0x00007f4cc7f3028e in QObjectPrivate::deleteChildren (this=this@entry=0x55cb9e6c7e40) at kernel/qobject.cpp:2019
#40 0x00007f4cc8ae4b39 in QWidget::~QWidget (this=0x55cb9e724030, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#41 0x00007f4cc8ae4d29 in QWidget::~QWidget (this=0x55cb9e724030, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1558
#42 0x00007f4cc7f3028e in QObjectPrivate::deleteChildren (this=this@entry=0x55cb9e6fbb00) at kernel/qobject.cpp:2019
#43 0x00007f4cc8ae4b39 in QWidget::~QWidget (this=0x55cb9e7098b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#44 0x00007f4cc9286e31 in BoxWidget::~BoxWidget (this=0x55cb9e7098b0, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.9.70git.20191004T143525~5ed62f9a08-1.2.x86_64/src/widgets/BoxWidget.h:44
#45 BoxWidget::~BoxWidget (this=0x55cb9e7098b0, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.9.70git.20191004T143525~5ed62f9a08-1.2.x86_64/src/widgets/BoxWidget.h:44
#46 0x00007f4cc7f3028e in QObjectPrivate::deleteChildren (this=this@entry=0x55cb9e6ca410) at kernel/qobject.cpp:2019
#47 0x00007f4cc8ae4b39 in QWidget::~QWidget (this=0x55cb9e74afb0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1696
#48 0x00007f4cc96d7a3b in OrganizeCollectionDialog::~OrganizeCollectionDialog (this=0x55cb9e74afb0, __in_chrg=<optimized out>) at /usr/include/c++/9/bits/atomic_base.h:326
#49 0x00007f4cc96d7b49 in OrganizeCollectionDialog::~OrganizeCollectionDialog (this=0x55cb9e74afb0, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.9.70git.20191004T143525~5ed62f9a08-1.2.x86_64/src/dialogs/OrganizeCollectionDialog.cpp:209
#50 0x00007f4c8016e55d in Collections::OrganizeCollectionDelegateImpl::~OrganizeCollectionDelegateImpl (this=0x55cb9e6f7300, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.9.70git.20191004T143525~5ed62f9a08-1.2.x86_64/src/core-impl/collections/db/sql/SqlCollection.cpp:152
#51 Collections::OrganizeCollectionDelegateImpl::~OrganizeCollectionDelegateImpl (this=0x55cb9e6f7300, __in_chrg=<optimized out>) at /usr/src/debug/amarok-2.9.70git.20191004T143525~5ed62f9a08-1.2.x86_64/src/core-impl/collections/db/sql/SqlCollection.cpp:152
#52 0x00007f4cc7f32d00 in QObject::event (this=0x55cb9e6f7300, e=<optimized out>) at kernel/qobject.cpp:1251
#53 0x00007f4cc8aa6c62 in QApplicationPrivate::notify_helper (this=this@entry=0x55cb9a0358d0, receiver=receiver@entry=0x55cb9e6f7300, e=e@entry=0x7f4cb0009590) at kernel/qapplication.cpp:3703
#54 0x00007f4cc8ab01e0 in QApplication::notify (this=0x7ffd321b2f00, receiver=0x55cb9e6f7300, e=0x7f4cb0009590) at kernel/qapplication.cpp:3449
#55 0x00007f4cc7f07562 in QCoreApplication::notifyInternal2 (receiver=0x55cb9e6f7300, event=0x7f4cb0009590) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:143
#56 0x00007f4cc7f0a1f8 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55cb99fb4490) at kernel/qcoreapplication.cpp:1840
#57 0x00007f4cc7f5e333 in postEventSourceDispatch (s=0x55cb9a179d20) at kernel/qeventdispatcher_glib.cpp:277
#58 0x00007f4cbb9cff88 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#59 0x00007f4cbb9d0310 in ?? () from /usr/lib64/libglib-2.0.so.0
#60 0x00007f4cbb9d039f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#61 0x00007f4cc7f5d971 in QEventDispatcherGlib::processEvents (this=0x55cb9a17b2b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#62 0x00007f4cc7f060cb in QEventLoop::exec (this=this@entry=0x7ffd321b2d90, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#63 0x00007f4cc7f0dd32 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#64 0x000055cb98522876 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/amarok-2.9.70git.20191004T143525~5ed62f9a08-1.2.x86_64/src/main.cpp:396
Comment 3 Tuomas Nurmi 2024-04-07 13:54:45 UTC
Doesn't seem to be reproducible anymore with KF5 based 2.9.71+: the second "move without converting" window opens ok and the path customization tool is also available and functional. Closing.