https://bugs.kde.org/show_bug.cgi?id=458607

            Bug ID: 458607
           Summary: Elisa crashes on launch with existing playlist and
                    shuffle enabled
           Product: Elisa
           Version: 22.08.0
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: matthieu_gall...@yahoo.fr
          Reporter: krazyk...@hotmail.com
  Target Milestone: ---

Application: elisa (22.08.0)

Qt Version: 5.15.5
Frameworks Version: 5.97.0
Operating System: Linux 5.19.4-200.fc36.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 36 (KDE Plasma)
DrKonqi: 5.25.4 [KCrashBackend]

-- Information about the crash:
When Elisa is launched with an existing playlist, and shuffle is enabled it has
a chance to crash. This is not 100% reproducible, but after opening and closing
the application 5-10 times this can be observed. 
The window will open without the sidebar visible and then immediately close
This happens more frequently with larger playlists (tested with 59 tracks) but
has been observed with as low as 6 tracks. 
This does not seem related to a specific track. 
Hiding the sidebar does not resolve the issue. 
Disabling shuffle solved the issue entirely.
I cannot reproduce in Wayland.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Elisa (elisa), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f528061b9d7 in
KFileMetaData::ExtractorCollectionPrivate::getExtractors(QString const&) ()
from /lib64/libKF5FileMetaData.so.3
#5  0x00007f528061be5c in
KFileMetaData::ExtractorCollection::fetchExtractors(QString const&) const ()
from /lib64/libKF5FileMetaData.so.3
#6  0x00007f52781b9caa in FileScanner::scanOneFile
(this=this@entry=0x5644c54011c0, scanFile=..., scanFileInfo=...) at
/usr/include/c++/12/bits/unique_ptr.h:191
#7  0x00007f52781ba344 in FileScanner::scanOneFile (this=0x5644c54011c0,
scanFile=...) at
/usr/src/debug/elisa-player-22.08.0-2.fc36.x86_64/src/filescanner.cpp:164
#8  0x00007f52781d73c2 in operator() (__closure=0x5644c7b6d2e8) at
/usr/src/debug/elisa-player-22.08.0-2.fc36.x86_64/src/models/trackmetadatamodel.cpp:593
#9  QtConcurrent::StoredFunctorCall0<QString,
TrackMetadataModel::fetchLyrics()::<lambda()> >::runFunctor
(this=0x5644c7b6d2c0) at
/usr/include/qt5/QtConcurrent/qtconcurrentstoredfunctioncall.h:60
#10 QtConcurrent::RunFunctionTask<QString>::run (this=0x5644c7b6d2c0) at
/usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:108
#11 0x00007f5294eba4f2 in QThreadPoolThread::run() () from
/lib64/libQt5Core.so.5
#12 0x00007f5294eb7487 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#13 0x00007f5294a25e2d in start_thread () from /lib64/libc.so.6
#14 0x00007f5294aab1b0 in clone3 () from /lib64/libc.so.6

Thread 8 (Thread 0x7f52677fe640 (LWP 25242) "Thread (pooled)"):
#1  0x00007f5294eb77c5 in QBasicMutex::lockInternal() () from
/lib64/libQt5Core.so.5
#2  0x00007f52781d73ae in QMutexLocker::QMutexLocker (m=0x5644c54011c8,
this=<synthetic pointer>) at /usr/include/qt5/QtCore/qmutex.h:238
#3  operator() (__closure=0x5644c54f2e58) at
/usr/src/debug/elisa-player-22.08.0-2.fc36.x86_64/src/models/trackmetadatamodel.cpp:592
#4  QtConcurrent::StoredFunctorCall0<QString,
TrackMetadataModel::fetchLyrics()::<lambda()> >::runFunctor
(this=0x5644c54f2e30) at
/usr/include/qt5/QtConcurrent/qtconcurrentstoredfunctioncall.h:60
#5  QtConcurrent::RunFunctionTask<QString>::run (this=0x5644c54f2e30) at
/usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:108
#6  0x00007f5294eba4f2 in QThreadPoolThread::run() () from
/lib64/libQt5Core.so.5
#7  0x00007f5294eb7487 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#8  0x00007f5294a25e2d in start_thread () from /lib64/libc.so.6
#9  0x00007f5294aab1b0 in clone3 () from /lib64/libc.so.6

Thread 7 (Thread 0x7f5267fff640 (LWP 25241) "Thread (pooled)"):
#1  0x00007f5294eb77c5 in QBasicMutex::lockInternal() () from
/lib64/libQt5Core.so.5
#2  0x00007f52781d73ae in QMutexLocker::QMutexLocker (m=0x5644c54011c8,
this=<synthetic pointer>) at /usr/include/qt5/QtCore/qmutex.h:238
#3  operator() (__closure=0x5644c5c9ec58) at
/usr/src/debug/elisa-player-22.08.0-2.fc36.x86_64/src/models/trackmetadatamodel.cpp:592
#4  QtConcurrent::StoredFunctorCall0<QString,
TrackMetadataModel::fetchLyrics()::<lambda()> >::runFunctor
(this=0x5644c5c9ec30) at
/usr/include/qt5/QtConcurrent/qtconcurrentstoredfunctioncall.h:60
#5  QtConcurrent::RunFunctionTask<QString>::run (this=0x5644c5c9ec30) at
/usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:108
#6  0x00007f5294eba4f2 in QThreadPoolThread::run() () from
/lib64/libQt5Core.so.5
#7  0x00007f5294eb7487 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#8  0x00007f5294a25e2d in start_thread () from /lib64/libc.so.6
#9  0x00007f5294aab1b0 in clone3 () from /lib64/libc.so.6

Thread 6 (Thread 0x7f526c8e6640 (LWP 25240) "Thread (pooled)"):
#1  0x00007f5294eb77c5 in QBasicMutex::lockInternal() () from
/lib64/libQt5Core.so.5
#2  0x00007f52781d73ae in QMutexLocker::QMutexLocker (m=0x5644c54011c8,
this=<synthetic pointer>) at /usr/include/qt5/QtCore/qmutex.h:238
#3  operator() (__closure=0x5644c7b6d368) at
/usr/src/debug/elisa-player-22.08.0-2.fc36.x86_64/src/models/trackmetadatamodel.cpp:592
#4  QtConcurrent::StoredFunctorCall0<QString,
TrackMetadataModel::fetchLyrics()::<lambda()> >::runFunctor
(this=0x5644c7b6d340) at
/usr/include/qt5/QtConcurrent/qtconcurrentstoredfunctioncall.h:60
#5  QtConcurrent::RunFunctionTask<QString>::run (this=0x5644c7b6d340) at
/usr/include/qt5/QtConcurrent/qtconcurrentrunbase.h:108
#6  0x00007f5294eba4f2 in QThreadPoolThread::run() () from
/lib64/libQt5Core.so.5
#7  0x00007f5294eb7487 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#8  0x00007f5294a25e2d in start_thread () from /lib64/libc.so.6
#9  0x00007f5294aab1b0 in clone3 () from /lib64/libc.so.6

Thread 5 (Thread 0x7f526f1fe640 (LWP 25239) "QQuickPixmapRea"):
#1  0x00007f52950c781d in QElapsedTimer::isMonotonic() () from
/lib64/libQt5Core.so.5
#2  0x00007f52950c65d2 in QTimerInfoList::repairTimersIfNeeded() () from
/lib64/libQt5Core.so.5
#3  0x00007f52950c6647 in QTimerInfoList::timerWait(timespec&) () from
/lib64/libQt5Core.so.5
#4  0x00007f52950c81be in timerSourcePrepare(_GSource*, int*) () from
/lib64/libQt5Core.so.5
#5  0x00007f5293129b59 in g_main_context_prepare () from
/lib64/libglib-2.0.so.0
#6  0x00007f529317f0b3 in g_main_context_iterate.constprop () from
/lib64/libglib-2.0.so.0
#7  0x00007f5293127940 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#8  0x00007f52950c7f66 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#9  0x00007f5295075c6a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#10 0x00007f5294eb618a in QThread::exec() () from /lib64/libQt5Core.so.5
#11 0x00007f529457c3fa in QQuickPixmapReader::run() () from
/lib64/libQt5Quick.so.5
#12 0x00007f5294eb7487 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#13 0x00007f5294a25e2d in start_thread () from /lib64/libc.so.6
#14 0x00007f5294aab1b0 in clone3 () from /lib64/libc.so.6

Thread 4 (Thread 0x7f5278fef640 (LWP 25238) "QQmlThread"):
#1  0x00007f529317f23d in g_main_context_iterate.constprop () from
/lib64/libglib-2.0.so.0
#2  0x00007f5293127940 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#3  0x00007f52950c7f66 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#4  0x00007f5295075c6a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#5  0x00007f5294eb618a in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f5295694c59 in QQmlThreadPrivate::run() () from
/lib64/libQt5Qml.so.5
#7  0x00007f5294eb7487 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#8  0x00007f5294a25e2d in start_thread () from /lib64/libc.so.6
#9  0x00007f5294aab1b0 in clone3 () from /lib64/libc.so.6

Thread 3 (Thread 0x7f52817d4640 (LWP 25237) "QDBusConnection"):
#1  0x00007f5293129b59 in g_main_context_prepare () from
/lib64/libglib-2.0.so.0
#2  0x00007f529317f0b3 in g_main_context_iterate.constprop () from
/lib64/libglib-2.0.so.0
#3  0x00007f5293127940 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#4  0x00007f52950c7f66 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#5  0x00007f5295075c6a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#6  0x00007f5294eb618a in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007f5293ce3b1b in QDBusConnectionManager::run() () from
/lib64/libQt5DBus.so.5
#8  0x00007f5294eb7487 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#9  0x00007f5294a25e2d in start_thread () from /lib64/libc.so.6
#10 0x00007f5294aab1b0 in clone3 () from /lib64/libc.so.6

Thread 2 (Thread 0x7f528255e640 (LWP 25236) "QXcbEventQueue"):
#1  0x00007f5292a26fba in _xcb_conn_wait.part.0 () from /lib64/libxcb.so.1
#2  0x00007f5292a2894c in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f52826a4e81 in QXcbEventQueue::run() () from
/lib64/libQt5XcbQpa.so.5
#4  0x00007f5294eb7487 in QThreadPrivate::start(void*) () from
/lib64/libQt5Core.so.5
#5  0x00007f5294a25e2d in start_thread () from /lib64/libc.so.6
#6  0x00007f5294aab1b0 in clone3 () from /lib64/libc.so.6

Thread 1 (Thread 0x7f528fd64400 (LWP 25235) "elisa"):
#1  0x00007f5294a25210 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libc.so.6
#2  0x00007f5292a2750b in _xcb_out_flush_to () from /lib64/libxcb.so.1
#3  0x00007f5292a284ee in xcb_flush () from /lib64/libxcb.so.1
#4  0x00007f52826a5e67 in xcbSourceDispatch(_GSource*, int (*)(void*), void*)
() from /lib64/libQt5XcbQpa.so.5
#5  0x00007f5293129faf in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#6  0x00007f529317f2c8 in g_main_context_iterate.constprop () from
/lib64/libglib-2.0.so.0
#7  0x00007f5293127940 in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#8  0x00007f52950c7f4a in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt5Core.so.5
#9  0x00007f5295075c6a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt5Core.so.5
#10 0x00007f529507dd32 in QCoreApplication::exec() () from
/lib64/libQt5Core.so.5
#11 0x00005644c28211a5 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/elisa-player-22.08.0-2.fc36.x86_64/src/main.cpp:161
[Inferior 1 (process 25235) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to