Bug 402177 - Elisa crashes after trying to open watched folders
Summary: Elisa crashes after trying to open watched folders
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kfilemetadata
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.53.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-12-15 23:30 UTC by Natalia Portillo
Modified: 2019-06-20 04:33 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Natalia Portillo 2018-12-15 23:30:13 UTC
Application: elisa (0.3.0)

Qt Version: 5.12.0
Frameworks Version: 5.53.0
Operating System: Linux 4.19.8-arch1-1-ARCH x86_64
Distribution: "Arch Linux"

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

Opened the application, saw a dialog saying that Baloo prevented it to watch the folders, chosen to modify Baloo.

From then on, it crashes on every load.

The crash can be reproduced every time.

-- Backtrace:
Application: Elisa (elisa), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9031ce8f40 (LWP 5997))]

Thread 12 (Thread 0x7f9004888700 (LWP 6010)):
#0  0x00007f90374a6afc in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f9038b5dadc in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f9038b5dbca in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f9037b8c4cd in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f9037b8c73c in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f9038b579cc in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f90374a0a9d in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f903883fb23 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f9005089700 (LWP 6009)):
#0  0x00007f90374a6ef6 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f9038b5da59 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f9038b5db97 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f9038b5bbb4 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f9038b579cc in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f90374a0a9d in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f903883fb23 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f900588a700 (LWP 6008)):
#0  0x00007f90388307a4 in read () at /usr/lib/libc.so.6
#1  0x00007f9036854781 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f90368a4a50 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f90368a5e86 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f90368a5fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f9038d695c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f9038d1258c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f9038b565c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f9038b579cc in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f90374a0a9d in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f903883fb23 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f900608b700 (LWP 6007)):
[KCrash Handler]
#6  0x00007f901ab1c65a in  () at /usr/lib/qt/plugins/kf5/kfilemetadata/kfilemetadata_taglibextractor.so
#7  0x00007f903a2df663 in  () at /usr/lib/elisa/libelisaLib.so.0
#8  0x00007f903a2d9c19 in AbstractFileListing::scanOneFile(QUrl const&) () at /usr/lib/elisa/libelisaLib.so.0
#9  0x00007f903a305449 in  () at /usr/lib/elisa/libelisaLib.so.0
#10 0x00007f903a304f41 in  () at /usr/lib/elisa/libelisaLib.so.0
#11 0x00007f903a2d974a in AbstractFileListing::restoredTracks(QString const&, QHash<QUrl, QDateTime>) () at /usr/lib/elisa/libelisaLib.so.0
#12 0x00007f903a2d7ee5 in  () at /usr/lib/elisa/libelisaLib.so.0
#13 0x00007f9038d3eb62 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#14 0x00007f9039775e34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f903977d671 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f9038d138f9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007f9038d16998 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#18 0x00007f9038d69fd4 in  () at /usr/lib/libQt5Core.so.5
#19 0x00007f90368a43cf in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#20 0x00007f90368a5f89 in  () at /usr/lib/libglib-2.0.so.0
#21 0x00007f90368a5fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#22 0x00007f9038d695a9 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#23 0x00007f9038d1258c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x00007f9038b565c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#25 0x00007f9038b579cc in  () at /usr/lib/libQt5Core.so.5
#26 0x00007f90374a0a9d in start_thread () at /usr/lib/libpthread.so.0
#27 0x00007f903883fb23 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f9007268700 (LWP 6004)):
#0  0x00007f9038834c21 in poll () at /usr/lib/libc.so.6
#1  0x00007f90368a5ee0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f90368a5fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f9038d695c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f9038d1258c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f9038b565c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f9038b579cc in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f90374a0a9d in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f903883fb23 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f9019b41700 (LWP 6003)):
#0  0x00007f90368543a9 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f90368a57b7 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f90368a5e06 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f90368a5fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f9038d695c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f9038d1258c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f9038b565c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f9038b579cc in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f90374a0a9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f903883fb23 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f901a342700 (LWP 6002)):
#0  0x00007f9036854414 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f90368a579d in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f90368a5e06 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f90368a5fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f9038d695c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f9038d1258c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f9038b565c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f9038b579cc in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f90374a0a9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f903883fb23 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f901b32d700 (LWP 6001)):
#0  0x00007f9036854414 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f90368a5df8 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f90368a5fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f9038d695c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f9038d1258c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f9038b565c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f9037b04e5b in  () at /usr/lib/libQt5Quick.so.5
#7  0x00007f9038b579cc in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f90374a0a9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f903883fb23 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f902ded0700 (LWP 6000)):
#0  0x00007f90388307a4 in read () at /usr/lib/libc.so.6
#1  0x00007f9036854781 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f90368a4a50 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f90368a5e86 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f90368a5fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f9038d695c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f9038d1258c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f9038b565c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f9039f9db89 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f9038b579cc in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f90374a0a9d in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f903883fb23 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f902f0e1700 (LWP 5999)):
#0  0x00007f9038834c21 in poll () at /usr/lib/libc.so.6
#1  0x00007f90368a5ee0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f90368a5fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f9038d695c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f9038d1258c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f9038b565c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f9037e96ba6 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f9038b579cc in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f90374a0a9d in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f903883fb23 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f9030657700 (LWP 5998)):
#0  0x00007f9038834c21 in poll () at /usr/lib/libc.so.6
#1  0x00007f9035c10630 in  () at /usr/lib/libxcb.so.1
#2  0x00007f9035c122db in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f903161496b in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f9038b579cc in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f90374a0a9d in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f903883fb23 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f9031ce8f40 (LWP 5997)):
#0  0x00007f90368543a9 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f903689ca32 in g_main_context_query () at /usr/lib/libglib-2.0.so.0
#2  0x00007f90368a5e5c in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f90368a5fce in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f9038d695c4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f9038d1258c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f9038d1a896 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#7  0x0000564cbf7ad973 in  ()
#8  0x00007f9038768223 in __libc_start_main () at /usr/lib/libc.so.6
#9  0x0000564cbf7adb1e in  ()
[Inferior 1 (process 5997) detached]

Reported using DrKonqi
Comment 1 Christoph Feck 2019-01-09 02:41:53 UTC
Running with strace could reveal which file causes the taglib extractor to fail.
Comment 2 Matthieu Gallien 2019-05-02 20:50:12 UTC
(In reply to Christoph Feck from comment #1)
> Running with strace could reveal which file causes the taglib extractor to
> fail.

Should I move this report to KFileMetaData as I do not plan in the close future to modify Elisa such that a crash in the extractor would not crash the application itself ?
Comment 3 Christoph Feck 2019-05-21 21:00:31 UTC
To further investigate this issue, KDE developers need the information requested in comment #1. If you can provide it, or need help with finding that information, please add a comment.
Comment 4 Bug Janitor Service 2019-06-05 04:33:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2019-06-20 04:33:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!