Bug 488587 - Baloo crashes on creating index
Summary: Baloo crashes on creating index
Status: RESOLVED DUPLICATE of bug 475975
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 6.3.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-06-16 16:13 UTC by hoyanmok
Modified: 2024-06-21 15:59 UTC (History)
1 user (show)

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 hoyanmok 2024-06-16 16:13:01 UTC
Application: baloo_file_extractor (6.3.0)

Qt Version: 6.7.1
Frameworks Version: 6.3.0
Operating System: Linux 6.9.4-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.0.5 [CoredumpBackend]

-- Information about the crash:
I constantly encountered the issue that
* I cannot find some certain file via searching in Dolphin even if exact file name has been entered
* Dolphin fails to show meta data of my media files in `Details` mode
* Sometimes Baloo keeps crashing for tens of hundreds times, keeping generating Dr Konqi dialog

So... I tried disabling, purging the indices, and reenabling the indexing via balooctl

What I got:
spamming output to stdout like `QTextHtmlParser::applyAttributes: Unknown color name '<orange'` (too much to paste here)
and like `virtual QStringList Solid::Backends::UPower::UPowerManager::allDevices()  error:  "org.freedesktop.DBus.Error.NameHasNoOwner"`

And, after a while, the crashing began, Baloo keep crashing, inconsistently, once to 10 times per minute.

Having taken some effort installing the debug symbol, I finally get to report the crash (not very smooth experience I must say, the `download debug symbol package butten` never works, and I had to look up the Arch Wiki and installing debug packages, which are suggested by `pacman -F <file listed in the Dr Konqi's missing debug files>`.
I wouldn't have done the whole process if I had no experience in developing.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo 文件提取程序 (baloo_file_extractor), signal: Aborted

[New LWP 946717]
[New LWP 946766]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/kf6/baloo_file_extractor'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007b75498a8e44 in ?? () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7b75459fc980 (LWP 946717))]
Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7b75459fc980 (LWP 946717))]

Thread 2 (Thread 0x7b3544e006c0 (LWP 946766)):
#0  0x00007b754991c39d in poll () from /usr/lib/libc.so.6
#1  0x00007b75487768fd in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007b7548713f95 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007b754a1a28dd in QEventDispatcherGlib::processEvents (this=0x7b3540000b70, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#4  0x00007b7549f4f10e in QEventLoop::processEvents (this=0x7b3544dffb60, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#5  QEventLoop::exec (this=0x7b3544dffb60, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#6  0x00007b754a03a4e0 in QThread::exec (this=this@entry=0x7b7549dfeb20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#7  0x00007b7549d75dfe in QDBusConnectionManager::run (this=0x7b7549dfeb20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:144
#8  0x00007b754a0c96e7 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:326
#9  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:262
#10 QThreadPrivate::start (arg=0x7b7549dfeb20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:285
#11 0x00007b75498a6ded in ?? () from /usr/lib/libc.so.6
#12 0x00007b754992a0dc in ?? () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7b75459fc980 (LWP 946717)):
[KCrash Handler]
#4  0x00007b75498a8e44 in ?? () from /usr/lib/libc.so.6
#5  0x00007b7549850a30 in raise () from /usr/lib/libc.so.6
#6  0x00007b75498384c3 in abort () from /usr/lib/libc.so.6
#7  0x00007b7549e8c6b7 in qAbort () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qglobal.cpp:136
#8  qt_message_fatal<QString&> (context=..., message=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qlogging.cpp:2052
#9  qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x7b7549500890 "QFontDatabase: Must construct a QGuiApplication before accessing QFontDatabase", ap=ap@entry=0x7ffc523b3f80) at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qlogging.cpp:374
#10 0x00007b7549e8ce5b in QMessageLogger::fatal (this=this@entry=0x7ffc523b4070, msg=msg@entry=0x7b7549500890 "QFontDatabase: Must construct a QGuiApplication before accessing QFontDatabase") at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qlogging.cpp:889
#11 0x00007b7548ee2220 in QFontDatabasePrivate::ensureFontDatabase () at /usr/src/debug/qt6-base/qtbase/src/gui/text/qfontdatabase.cpp:1333
#12 0x00007b75491c6c7a in QFontDatabasePrivate::findFont (req=..., script=script@entry=2, preferScriptOverFamily=preferScriptOverFamily@entry=false) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qfontdatabase.cpp:2370
#13 0x00007b75491c7e30 in QFontDatabasePrivate::load (d=<optimized out>, script=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qfontdatabase.cpp:2560
#14 0x00007b75494aa7aa in QFontPrivate::engineForScript(int) const [clone .constprop.0] (this=0x58357458e3c0, script=2) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qfont.cpp:253
#15 0x00007b75491cc373 in QFontMetrics::height (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qfontmetrics.cpp:293
#16 0x00007b7549363eeb in lengthValueFromData (data=..., f=...) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qcssparser.cpp:404
#17 0x00007b7549363fca in QCss::ValueExtractor::lengthValue (this=this@entry=0x7ffc523b4870, decl=...) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qcssparser.cpp:417
#18 0x00007b7549364ced in QCss::ValueExtractor::extractBox (this=0x7ffc523b4870, margins=0x58357458e1dc, paddings=0x58357458e1ec, spacing=0x0) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qcssparser.cpp:516
#19 0x00007b75492608c6 in QTextHtmlParserNode::applyCssDeclarations (this=this@entry=0x58357458e020, declarations=..., resourceProvider=resourceProvider@entry=0x7ffc523b5020) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qtexthtmlparser.cpp:1182
#20 0x00007b7549263ef2 in QTextHtmlParserNode::parseStyleAttribute (this=<optimized out>, value=..., resourceProvider=0x7ffc523b5020) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qtexthtmlparser.cpp:1558
#21 QTextHtmlParser::applyAttributes (this=<optimized out>, attributes=...) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qtexthtmlparser.cpp:1769
#22 0x00007b754921626b in QTextHtmlParser::parseTag (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qtexthtmlparser.cpp:678
#23 QTextHtmlParser::parse (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qtexthtmlparser.cpp:606
#24 QTextHtmlParser::parse (this=<optimized out>, text=..., _resourceProvider=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qtexthtmlparser.cpp:549
#25 QTextHtmlImporter::QTextHtmlImporter (this=<optimized out>, _doc=<optimized out>, _html=..., mode=<optimized out>, resourceProvider=<optimized out>, this=<optimized out>, _doc=<optimized out>, _html=..., mode=<optimized out>, resourceProvider=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qtextdocumentfragment.cpp:456
#26 0x00007b75491f53c0 in QTextDocument::setHtml (this=0x7ffc523b5020, html=...) at /usr/src/debug/qt6-base/qtbase/src/gui/text/qtextdocument.cpp:1301
#27 0x00007b75458ca723 in ?? () from /usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_mobiextractor.so
#28 0x0000583558b1b451 in Baloo::App::index (this=this@entry=0x7ffc523b5c90, tr=0x58357435a640, url=..., id=id@entry=127792450583558506) at /usr/src/debug/baloo/baloo-6.3.0/src/file/extractor/app.cpp:180
#29 0x0000583558b1c7ad in Baloo::App::processNextFile (this=0x7ffc523b5c90) at /usr/include/c++/14.1.1/bits/unique_ptr.h:193
#30 0x00007b7549fa17e7 in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:469
#31 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4086
#32 0x00007b7549ecf534 in QSingleShotTimer::timeout (this=0x583574350710) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/7GB2EGQPHR/moc_qsingleshottimer_p.cpp:139
#33 QSingleShotTimer::timerEvent (this=0x583574350710) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/7GB2EGQPHR/../../../../../qtbase/src/corelib/kernel/qsingleshottimer_p.h:116
#34 0x00007b7549f8c0b9 in QObject::event (this=0x583574350710, e=0x7ffc523b58c0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1427
#35 0x00007b7549f44e13 in doNotify (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1243
#36 QCoreApplication::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1226
#37 QCoreApplication::notifyInternal2 (receiver=0x583574350710, event=0x7ffc523b58c0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1142
#38 0x00007b754a0c3c38 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7ffc523b58c0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1583
#39 QTimerInfoList::activateTimers (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:434
#40 0x00007b754a1a45d1 in timerSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:150
#41 idleTimerSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:197
#42 0x00007b7548714a89 in ?? () from /usr/lib/libglib-2.0.so.0
#43 0x00007b75487769b7 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0x00007b7548713f95 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0x00007b754a1a2902 in QEventDispatcherGlib::processEvents (this=0x5835743246b0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#46 0x00007b7549f4f10e in QEventLoop::processEvents (this=0x7ffc523b5ba0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#47 QEventLoop::exec (this=0x7ffc523b5ba0, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:182
#48 0x00007b7549f4945d in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#49 0x0000583558b11374 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo/baloo-6.3.0/src/file/extractor/main.cpp:33

Reported using DrKonqi
Comment 1 tagwerk19 2024-06-16 21:44:35 UTC
(In reply to hoyanmok from comment #0)
> #27 0x00007b75458ca723 in ?? () from /usr/lib/qt6/plugins/kf6/kfilemetadata/kfilemetadata_mobiextractor.so
There are problems with .mobi files, see Bug 475975
Comment 2 tagwerk19 2024-06-21 15:59:54 UTC

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