Bug 404095 - Baloo File Extractor crash on Plasma startup
Summary: Baloo File Extractor crash on Plasma startup
Status: RESOLVED DUPLICATE of bug 403902
Alias: None
Product: frameworks-kfilemetadata
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.54.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-02-08 14:29 UTC by Nick
Modified: 2019-02-09 14:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2019-02-08 14:29:50 UTC
Application: baloo_file_extractor (5.54.0)

Qt Version: 5.12.0
Frameworks Version: 5.54.0
Operating System: Linux 4.15.0-45-generic x86_64
Distribution: KDE neon User Edition 5.14

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

Reboot computer, log-in and I am greeted with the crash report stating Baloo File Extractor has crashed. Happens every time on two PCs.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Extractor (baloo_file_extractor), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f66ffd8dc80 (LWP 1693))]

Thread 3 (Thread 0x7f66d828e700 (LWP 1710)):
#0  0x00007f66fc8950b4 in __GI___libc_read (fd=8, buf=0x7f66d828db60, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f66f8faacd0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f66f8f66027 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f66f8f664e0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f66f8f6664c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f66fd1dc15b in QEventDispatcherGlib::processEvents (this=0x7f66d0000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f66fd17d64a in QEventLoop::exec (this=this@entry=0x7f66d828dd70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f66fcfa541a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007f66feb71015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f66fcfa6bc2 in QThreadPrivate::start (arg=0x7f66fede8d80) at thread/qthread_unix.cpp:361
#10 0x00007f66fb4a06db in start_thread (arg=0x7f66d828e700) at pthread_create.c:463
#11 0x00007f66fc8a688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f66f1b4c700 (LWP 1694)):
#0  0x00007f66fc899bf9 in __GI___poll (fds=0x7f66f1b4bcb8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f66f8af5747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f66f8af736a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f66f470ed4a in QXcbEventQueue::run (this=0x564bff118220) at qxcbeventqueue.cpp:225
#4  0x00007f66fcfa6bc2 in QThreadPrivate::start (arg=0x564bff118220) at thread/qthread_unix.cpp:361
#5  0x00007f66fb4a06db in start_thread (arg=0x7f66f1b4c700) at pthread_create.c:463
#6  0x00007f66fc8a688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f66ffd8dc80 (LWP 1693)):
[KCrash Handler]
#6  0x00007f66d86a70ab in KFileMetaData::TagLibExtractor::extract (this=<optimized out>, result=0x7ffdfd7bafd0) at ./src/extractors/taglibextractor.cpp:857
#7  0x0000564bfd8c922b in Baloo::App::index (this=this@entry=0x7ffdfd7bb760, tr=0x564bff1d3d50, url=..., id=id@entry=60822771340475649) at ./src/file/extractor/app.cpp:191
#8  0x0000564bfd8c9b6e in Baloo::App::processNextFile (this=0x7ffdfd7bb760) at ./src/file/extractor/app.cpp:111
#9  0x00007f66fd1bbd04 in QtPrivate::QSlotObjectBase::call (a=0x7ffdfd7bb120, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#10 QSingleShotTimer::timerEvent (this=0x564bff22d3b0) at kernel/qtimer.cpp:318
#11 0x00007f66fd1af94b in QObject::event (this=0x564bff22d3b0, e=<optimized out>) at kernel/qobject.cpp:1271
#12 0x00007f66fdf7583c in QApplicationPrivate::notify_helper (this=this@entry=0x564bff114360, receiver=receiver@entry=0x564bff22d3b0, e=e@entry=0x7ffdfd7bb460) at kernel/qapplication.cpp:3752
#13 0x00007f66fdf7cdd0 in QApplication::notify (this=0x7ffdfd7bb730, receiver=0x564bff22d3b0, e=0x7ffdfd7bb460) at kernel/qapplication.cpp:3499
#14 0x00007f66fd17f328 in QCoreApplication::notifyInternal2 (receiver=0x564bff22d3b0, event=0x7ffdfd7bb460) at kernel/qcoreapplication.cpp:1061
#15 0x00007f66fd1db5a9 in QTimerInfoList::activateTimers (this=0x564bff15aec0) at kernel/qtimerinfo_unix.cpp:643
#16 0x00007f66fd1dbd71 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#17 0x00007f66f8f66387 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f66f8f665c0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f66f8f6664c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f66fd1dc13f in QEventDispatcherGlib::processEvents (this=0x564bff154970, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007f66fd17d64a in QEventLoop::exec (this=this@entry=0x7ffdfd7bb6b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#22 0x00007f66fd186800 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1364
#23 0x0000564bfd8c8204 in main (argc=<optimized out>, argv=0x7ffdfd7bb988) at ./src/file/extractor/main.cpp:60

The reporter indicates this bug may be a duplicate of or related to bug 404077.

Possible duplicates by query: bug 404077.

Reported using DrKonqi
Comment 1 Nate Graham 2019-02-08 17:50:03 UTC
Crashing in KFileMetaData::TagLibExtractor::extract.

Do you by any chance have any XML files with the .spx extension?

If not, you can figure out which file this is crashing on by using the `balooctl monitor` tool.
Comment 2 Nick 2019-02-08 20:33:50 UTC
Hi Nate

This could be it. balooctl monitor says it is indexing a file with .spx suffix, and it seems to be stuck on this file. It is actually a file relating to an Amiga emulator rather than being XML, but perhaps this is the problem.

I've tried excluding this folder from the file indexer, and disabled file contents scanning, but the balooctl monitor still states it is indexing this file. Any ideas?

Thanks
Nick
Comment 3 Nate Graham 2019-02-08 20:35:44 UTC
Yep, I thought so. We're on it and have various patches open that fix it.

You have to kill all the child processes; they don't get killed automatically due to Bug 373430 and Bug 353559.

*** This bug has been marked as a duplicate of bug 403902 ***
Comment 4 Nick 2019-02-09 08:48:08 UTC
That's great service! Many thanks. I'll probably exclude my emulation directory as a work-round for this and will track the bug for the fixes. Thanks again, Nick
Comment 5 Nate Graham 2019-02-09 14:11:48 UTC
No problem, just keep an eye on Bug 403902.

*** This bug has been marked as a duplicate of bug 403902 ***