Bug 440474 - baloo_file_extractor constantly crashes
Summary: baloo_file_extractor constantly crashes
Status: RESOLVED DUPLICATE of bug 389848
Alias: None
Product: baloo-widgets
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 21.07.90
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-01 05:00 UTC by Aaron Williams
Modified: 2021-08-02 20:34 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 Aaron Williams 2021-08-01 05:00:37 UTC
SUMMARY


STEPS TO REPRODUCE
1. Log in.
2. Wait
3. Get periodic popups indicating that baloo_file_extractor has crashed

OBSERVED RESULT
Application: baloo_file_extractor (baloo_file_extractor), signal: Aborted
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f041c04ce40 (LWP 33669))]
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f041987ea01 in __GI_abort () at abort.c:79
#8  0x00007f04198c0877 in __libc_message (action=action@entry=(do_abort | do_backtrace), fmt=fmt@entry=0x7f04199c9ab0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:181
#9  0x00007f04198c7093 in malloc_printerr (action=<optimized out>, str=0x7f04199c656d "realloc(): invalid pointer", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5428
#10 0x00007f04198cbb44 in realloc_check (oldmem=0x7ec3f0246010, bytes=2097152, caller=<optimized out>) at hooks.c:353
#11 0x00007f0418080295 in mdb_midl_grow (idp=idp@entry=0x55bb270449b8, num=num@entry=131071) at midl.c:134
#12 0x00007f0418080554 in mdb_midl_append_range (idp=idp@entry=0x55bb270449b8, id=id@entry=1048063, n=n@entry=4) at midl.c:189
#13 0x00007f041807694c in mdb_ovpage_free (mp=<optimized out>, mc=<optimized out>, mc=<optimized out>) at mdb.c:5548
#14 0x00007f041807d89e in mdb_cursor_put (mc=0x7ffc86db1ee0, key=0x7ffc86db22c0, data=0x7ffc86db22d0, flags=<optimized out>) at mdb.c:6693
#15 0x00007f041807fb1b in mdb_put (txn=0x55bb27044990, dbi=2, key=key@entry=0x7ffc86db22c0, data=data@entry=0x7ffc86db22d0, flags=flags@entry=0) at mdb.c:8800
#16 0x00007f041b4eecfc in Baloo::PostingDB::put (this=this@entry=0x7ffc86db23d0, term=..., list=...) at /usr/src/debug/baloo5-5.84.0-lp152.264.2.x86_64/src/engine/postingdb.cpp:67
#17 0x00007f041b5000d5 in Baloo::WriteTransaction::commit (this=0x55bb477e7e30) at /usr/src/debug/baloo5-5.84.0-lp152.264.2.x86_64/src/engine/writetransaction.cpp:309
#18 0x00007f041b4f6bef in Baloo::Transaction::commit (this=0x55bb445fafd0) at /usr/src/debug/baloo5-5.84.0-lp152.264.2.x86_64/src/engine/transaction.cpp:272
#19 0x000055bb260bae04 in Baloo::App::processNextFile (this=0x7ffc86db2940) at /usr/src/debug/baloo5-5.84.0-lp152.264.2.x86_64/src/file/extractor/app.cpp:109
#20 0x00007f041a2e426b in QObject::event (this=0x7ffc86db2940, e=0x55bb591e3410) at kernel/qobject.cpp:1314
#21 0x00007f041a2b0073 in QCoreApplication::notifyInternal2 (receiver=0x7ffc86db2940, event=0x55bb591e3410) at kernel/qcoreapplication.cpp:1064
#22 0x00007f041a2b024e in QCoreApplication::sendEvent (receiver=receiver@entry=0x7ffc86db2940, event=event@entry=0x55bb591e3410) at kernel/qcoreapplication.cpp:1462
#23 0x00007f041a2b2a91 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55bb26d40520) at kernel/qcoreapplication.cpp:1821
#24 0x00007f041a2b3018 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1680
#25 0x00007f041a312fa3 in postEventSourceDispatch (s=0x55bb26d49b00) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f0415340624 in g_main_dispatch (context=0x55bb26d62920) at ../glib/gmain.c:3216
#27 g_main_context_dispatch (context=context@entry=0x55bb26d62920) at ../glib/gmain.c:3881
#28 0x00007f04153409c0 in g_main_context_iterate (context=context@entry=0x55bb26d62920, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3954
#29 0x00007f0415340a4c in g_main_context_iteration (context=0x55bb26d62920, may_block=may_block@entry=1) at ../glib/gmain.c:4015
#30 0x00007f041a31264c in QEventDispatcherGlib::processEvents (this=0x55bb26d4a650, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f041a2ae8ea in QEventLoop::exec (this=this@entry=0x7ffc86db28a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:232
#32 0x00007f041a2b80f7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1375
#33 0x00007f041a8faf1c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#34 0x000055bb260b7b65 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.84.0-lp152.264.2.x86_64/src/file/extractor/main.cpp:37
[Inferior 1 (process 33669) detached]


EXPECTED RESULT
It shouldn't crash

When I look at the index file, it is reporting that it is 2.1EB!!! 
12600048 -rw-r--r-- 1 aaronw users 2332900204208992256 /home/xxxxxx/.local/share/baloo/index

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

Baloo version 5.84.0
ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-08-02 20:34:03 UTC

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