Sayonara crashes when I remove a library in its preferences and then click on "Apply" button
Version
1.7.0-stable3
Where did you get Sayonara from?
Arch User Repository (AUR)
Desktop environment
KDE Plasma
What's not working
Sayonara crashes when I remove a library in its preferences and then click on "Apply" button
What do you expect?
no crash
How to reproduce?
- open Sayonara
- create a new library
- scan for audio files
- when scan is completed, open Sayonara preferences, click on "Library" in the left side, select the library created in the step 2, click on "Remove" button and finally click on "Apply" button
Did this ever work? If yes, which version was the last version without the issue?
I do not know. This is the first time I'm trying Sayonara.
Here is a crash log generated with GDB debugger:
Thread 9 (Thread 0x7fd970e66640 (LWP 5088)):
#0 0x00007fd9769f8b2f in poll () at /usr/lib/libc.so.6
#1 0x00007fd978684b29 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007fd97862e871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007fd97729dfd6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4 0x00007fd977243d1c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007fd977058e12 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6 0x00007fd9776e6ae8 in () at /usr/lib/libQt5DBus.so.5
#7 0x00007fd977059fef in () at /usr/lib/libQt5Core.so.5
#8 0x00007fd976ada259 in start_thread () at /usr/lib/libpthread.so.0
#9 0x00007fd976a035e3 in clone () at /usr/lib/libc.so.6
Thread 8 (Thread 0x7fd94effd640 (LWP 5179)):
#0 0x00007fd9769fb323 in pselect () at /usr/lib/libc.so.6
#1 0x00007fd97118f524 in usbmuxd_listen_inotify () at libusbmuxd.c:923
#2 0x00007fd9711908a9 in usbmuxd_listen () at libusbmuxd.c:979
#3 device_monitor (data=<optimized out>) at libusbmuxd.c:1107
#4 0x00007fd976ada259 in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007fd976a035e3 in clone () at /usr/lib/libc.so.6
Thread 7 (Thread 0x7fd94f7fe640 (LWP 5095)):
#0 0x00007fd9769f8b2f in poll () at /usr/lib/libc.so.6
#1 0x00007fd978684b29 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007fd97862e871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007fd97729dfd6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4 0x00007fd977243d1c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5 0x00007fd977058e12 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6 0x00007fd977059fef in () at /usr/lib/libQt5Core.so.5
#7 0x00007fd976ada259 in start_thread () at /usr/lib/libpthread.so.0
#8 0x00007fd976a035e3 in clone () at /usr/lib/libc.so.6
Thread 6 (Thread 0x7fd95d689640 (LWP 5091)):
#0 0x00007fd976ae68ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1 0x00007fd976ae0270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2 0x00007fd95da67ecc in () at /usr/lib/dri/i965_dri.so
#3 0x00007fd95da67888 in () at /usr/lib/dri/i965_dri.so
#4 0x00007fd976ada259 in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007fd976a035e3 in clone () at /usr/lib/libc.so.6
Thread 5 (Thread 0x7fd95ce88640 (LWP 5092)):
#0 0x00007fd976ae68ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1 0x00007fd976ae0270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2 0x00007fd95da67ecc in () at /usr/lib/dri/i965_dri.so
#3 0x00007fd95da67888 in () at /usr/lib/dri/i965_dri.so
#4 0x00007fd976ada259 in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007fd976a035e3 in clone () at /usr/lib/libc.so.6
Thread 4 (Thread 0x7fd94ffff640 (LWP 5093)):
#0 0x00007fd976ae68ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1 0x00007fd976ae0270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2 0x00007fd95da67ecc in () at /usr/lib/dri/i965_dri.so
#3 0x00007fd95da67888 in () at /usr/lib/dri/i965_dri.so
#4 0x00007fd976ada259 in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007fd976a035e3 in clone () at /usr/lib/libc.so.6
Thread 3 (Thread 0x7fd947fff640 (LWP 5094)):
#0 0x00007fd976ae68ca in __futex_abstimed_wait_common64 () at /usr/lib/libpthread.so.0
#1 0x00007fd976ae0270 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#2 0x00007fd95da67ecc in () at /usr/lib/dri/i965_dri.so
#3 0x00007fd95da67888 in () at /usr/lib/dri/i965_dri.so
#4 0x00007fd976ada259 in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007fd976a035e3 in clone () at /usr/lib/libc.so.6
Thread 2 (Thread 0x7fd94cff9640 (LWP 5100)):
#0 0x00007fd9769cba95 in clock_nanosleep@GLIBC_2.2.5 () at /usr/lib/libc.so.6
#1 0x00007fd9769d0c77 in nanosleep () at /usr/lib/libc.so.6
#2 0x000055b0f2954f87 in std::this_thread::sleep_for<long, std::ratio<1l, 1000l> >(std::chrono::duration<long, std::ratio<1l, 1000l> > const&) (__rtime=<optimized out>, __rtime=<optimized out>) at /usr/include/c++/11.1.0/bits/this_thread_sleep.h:82
#3 Util::sleepMs(unsigned long) (ms=ms@entry=100) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Utils/Utils.cpp:340
#4 0x000055b0f2551959 in InstanceThread::run() (this=0x55b0f5614ea0) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Application/InstanceThread.cpp:136
#5 0x00007fd977059fef in () at /usr/lib/libQt5Core.so.5
#6 0x00007fd976ada259 in start_thread () at /usr/lib/libpthread.so.0
#7 0x00007fd976a035e3 in clone () at /usr/lib/libc.so.6
Thread 1 (Thread 0x7fd973860880 (LWP 5087)):
#0 std::operator==(std::_Deque_iterator<MetaData, MetaData&, MetaData*> const&, std::_Deque_iterator<MetaData, MetaData&, MetaData*> const&) (__y=<error reading variable: Cannot access memory at address 0x1e8>, __x=<error reading variable: Cannot access memory at address 0x208>) at /usr/include/c++/11.1.0/bits/stl_deque.h:268
#1 std::deque<MetaData, std::allocator<MetaData> >::empty() const (this=0x1d8) at /usr/include/c++/11.1.0/bits/stl_deque.h:1311
#2 MetaDataList::isEmpty() const (this=0x1d8) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Utils/MetaData/MetaDataList.cpp:376
#3 0x000055b0f27b7635 in AbstractLibrary::tracks() const (this=0x55b0f5b54cf0) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Components/Library/AbstractLibrary.cpp:403
#4 0x000055b0f260d5b7 in non-virtual thunk to Library::TrackModel::rowCount(QModelIndex const&) const () at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Gui/Library/TableView/TrackModel.cpp:253
#5 0x00007fd9771e02f3 in QAbstractItemModel::hasIndex(int, int, QModelIndex const&) const () at /usr/lib/libQt5Core.so.5
#6 0x00007fd9771e035f in QAbstractTableModel::index(int, int, QModelIndex const&) const () at /usr/lib/libQt5Core.so.5
#7 0x00007fd97826a739 in QTableView::sizeHintForRow(int) const () at /usr/lib/libQt5Widgets.so.5
#8 0x00007fd978228b8e in () at /usr/lib/libQt5Widgets.so.5
#9 0x00007fd9782294ba in QHeaderView::length() const () at /usr/lib/libQt5Widgets.so.5
#10 0x00007fd978273ccc in QTableView::updateGeometries() () at /usr/lib/libQt5Widgets.so.5
#11 0x00007fd97727c790 in () at /usr/lib/libQt5Core.so.5
#12 0x00007fd978231728 in QHeaderView::viewportEvent(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007fd977245102 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#14 0x00007fd977f96d51 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007fd9772453aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#16 0x00007fd977fd4bce in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007fd977fd4bb9 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007fd977fd4bb9 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007fd977fd4bb9 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007fd977fd4bb9 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007fd977fd4bb9 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007fd977fd4bb9 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007fd977fd4bb9 in QWidgetPrivate::hideChildren(bool) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007fd977fd4db3 in QWidgetPrivate::hide_helper() () at /usr/lib/libQt5Widgets.so.5
#25 0x00007fd977fd9dc9 in QWidgetPrivate::setVisible(bool) () at /usr/lib/libQt5Widgets.so.5
#26 0x000055b0f2636cb1 in GUI_Player::removeCurrentLibrary() (this=this@entry=0x55b0f4f17c90) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Gui/Player/GUI_Player.cpp:497
#27 0x000055b0f2636ceb in GUI_Player::addCurrentLibrary() (this=0x55b0f4f17c90) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Gui/Player/GUI_Player.cpp:480
#28 0x000055b0f2636e81 in GUI_Player::initLibrary() (this=0x55b0f4f17c90) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Gui/Player/GUI_Player.cpp:408
#29 GUI_Player::initLibrary() (this=0x55b0f4f17c90) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Gui/Player/GUI_Player.cpp:399
#30 0x000055b0f263757a in GUI_Player::showLibraryChanged() (this=0x55b0f4f17c90) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Gui/Player/GUI_Player.cpp:430
#31 0x00007fd97727c75b in () at /usr/lib/libQt5Core.so.5
#32 0x000055b0f27d2d01 in Library::PluginHandler::removeLocalLibrary(QString const&) (this=0x55b0f2b4a110 <Library::PluginHandler::instance()::instance>, name=<optimized out>) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Components/LibraryManagement/LibraryPluginHandler.cpp:297
#33 0x000055b0f2552b00 in Library::LocalLibraryWatcher::libraryRemoved(signed char) (this=0x55b0f554f7a0, id=<optimized out>) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Application/LocalLibraryWatcher.cpp:115
#34 0x00007fd97727c75b in () at /usr/lib/libQt5Core.so.5
#35 0x000055b0f274f1c3 in Library::Manager::sigRemoved(signed char) (this=this@entry=0x55b0f4efff70, _t1=<optimized out>, _t1@entry=0 '\000') at /usr/src/debug/sayonara-player-1.7.0-stable3/build/src/Components/sayonara_components_autogen/THWL7QLSIL/moc_LibraryManager.cpp:211
#36 0x000055b0f27cef93 in Library::Manager::removeLibrary(signed char) (this=0x55b0f4efff70, id=<optimized out>) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Components/LibraryManagement/LibraryManager.cpp:262
#37 0x000055b0f26bebd9 in LibraryListModel::commit() (this=0x55b0f6c4a3c0) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Gui/Preferences/Library/LibraryListModel.cpp:207
#38 0x000055b0f26cdb31 in GUI_PreferenceDialog::commit() (this=<optimized out>) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Gui/Preferences/PreferenceDialog/GUI_PreferenceDialog.cpp:200
#39 0x00007fd97727c75b in () at /usr/lib/libQt5Core.so.5
#40 0x00007fd97808e4e3 in QAbstractButton::clicked(bool) () at /usr/lib/libQt5Widgets.so.5
#41 0x00007fd97808e76c in () at /usr/lib/libQt5Widgets.so.5
#42 0x00007fd978090374 in () at /usr/lib/libQt5Widgets.so.5
#43 0x00007fd978090595 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#44 0x00007fd977fda0be in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#45 0x00007fd977f96d62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#46 0x00007fd977f9eac9 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#47 0x00007fd9772453aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#48 0x00007fd977f9d57b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#49 0x00007fd977ff3a84 in () at /usr/lib/libQt5Widgets.so.5
#50 0x00007fd977ff6db5 in () at /usr/lib/libQt5Widgets.so.5
#51 0x00007fd977f96d62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#52 0x00007fd9772453aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#53 0x00007fd97789b210 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#54 0x00007fd9778707e5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#55 0x00007fd9731d4101 in () at /usr/lib/libQt5WaylandClient.so.5
#56 0x00007fd97863110c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#57 0x00007fd978684b99 in () at /usr/lib/libglib-2.0.so.0
#58 0x00007fd97862e871 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#59 0x00007fd97729dfd6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#60 0x00007fd977243d1c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#61 0x00007fd97724c284 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#62 0x000055b0f254668f in main(int, char**) (argc=<optimized out>, argv=0x7ffc41465588) at /usr/src/debug/sayonara-player-1.7.0-stable3/src/Main.cpp:85