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

            Bug ID: 443226
           Summary: baloo_file Crashes With Extended Session
           Product: frameworks-baloo
           Version: 5.86.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Baloo File Daemon
          Assignee: baloo-bugs-n...@kde.org
          Reporter: ltstarwars...@gmail.com
  Target Milestone: ---

Created attachment 142083
  --> https://bugs.kde.org/attachment.cgi?id=142083&action=edit
drkonqi crash report file

SUMMARY
baloo_file can crash during background operations during system idle time.

STEPS TO REPRODUCE
1. Leave computer unattended for extended period of time (amount unknown)

While it has happened before, it is rare and unpredictable, so cannot provide
additional reproduction steps.

OBSERVED RESULT
baloo_file crashes.

EXPECTED RESULT
baloo_file continues operation.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Ubuntu 21.04

KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Hardware:
CPU: Ryzen 3950X
GPU: AMD 5700 XT
RAM: 32GB ECC 3200 MHz, JDEC default timings
Motherboard: ASrock x570 Creator
OS Drive: Corsair Force Series MP600 2TB NVMe

Note, system is dual boot with Win10.

baloo-kf5/hirsute,now 5.86.0-0ubuntu1~ubuntu21.04~ppa1

System is set up to get updates from the kbuntu updates and backports PPAs.

Backtrace:
Application: baloo_file (baloo_file), signal: Aborted

[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#5  0x00007fc7801a1864 in __GI_abort () at abort.c:79
#6  0x00007fc780204736 in __libc_message (action=action@entry=do_abort,
fmt=fmt@entry=0x7fc780329b9c "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#7  0x00007fc78020d08c in malloc_printerr (str=str@entry=0x7fc78032c6d0
"malloc(): unaligned tcache chunk detected") at malloc.c:5628
#8  0x00007fc78021242c in tcache_get (tc_idx=<optimized out>) at malloc.c:3103
#9  __GI___libc_malloc (bytes=512) at malloc.c:3221
#10 0x00007fc7807a6e31 in QArrayData::allocate (objectSize=objectSize@entry=8,
alignment=alignment@entry=8, capacity=capacity@entry=61, options=...,
options@entry=...) at tools/qarraydata.cpp:218
#11 0x00007fc780c35754 in QTypedArrayData<unsigned long long>::allocate
(options=..., capacity=<optimized out>, capacity=<optimized out>, options=...)
at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:224
#12 QVector<unsigned long long>::QVector (this=<optimized out>,
asize=<optimized out>, this=<optimized out>, asize=<optimized out>) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:514
#13 0x00007fc780c3bd16 in Baloo::IdTreeDB::get (this=this@entry=0x7ffc0d1d3570,
docId=<optimized out>, docId@entry=95701560801166085) at
./src/engine/idtreedb.cpp:83
#14 0x00007fc780c3da07 in Baloo::DocumentUrlDB::getId (fileName=...,
docId=95701560801166085, this=0x7ffc0d1d35f0) at
./src/engine/documenturldb.cpp:214
#15 Baloo::DocumentUrlDB::getId (this=0x7ffc0d1d35f0, docId=95701560801166085,
fileName=...) at ./src/engine/documenturldb.cpp:205
#16 0x00007fc780c497d8 in Baloo::Transaction::documentId
(this=this@entry=0x7ffc0d1d36a0, path=...) at ./src/engine/transaction.cpp:119
#17 0x00005651ff5df635 in Baloo::MetadataMover::removeMetadata
(this=this@entry=0x565200264360, tr=tr@entry=0x7ffc0d1d36a0, url=...) at
./src/file/metadatamover.cpp:60
#18 0x00005651ff5df735 in Baloo::MetadataMover::removeFileMetadata
(this=0x565200264360, file=...) at ./src/file/metadatamover.cpp:52
#19 0x00007fc7809be5c7 in QtPrivate::QSlotObjectBase::call (a=0x7ffc0d1d3820,
r=0x565200264360, this=0x5652002733e0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false> (sender=0x56520026fe70, signal_index=6,
argv=argv@entry=0x7ffc0d1d3820) at kernel/qobject.cpp:3886
#21 0x00007fc7809b7728 in QMetaObject::activate
(sender=sender@entry=0x56520026fe70, m=<optimized out>,
local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc0d1d3820)
at kernel/qobject.cpp:3946
#22 0x00005651ff5dde22 in Baloo::PendingFileQueue::removeFileIndex (_t1=...,
this=0x56520026fe70) at
./obj-x86_64-linux-gnu/src/file/baloofilecommon_autogen/EWIEGA46WW/moc_pendingfilequeue.cpp:228
#23 Baloo::PendingFileQueue::enqueue (this=0x56520026fe70, file=...) at
./src/file/pendingfilequeue.cpp:68
#24 0x00005651ff5ddfe0 in Baloo::FileWatch::slotFileDeleted
(this=0x7ffc0d1d4050, urlString=..., isDir=<optimized out>) at
./src/file/filewatch.cpp:105
#25 0x00007fc7809be5c7 in QtPrivate::QSlotObjectBase::call (a=0x7ffc0d1d3a60,
r=0x7ffc0d1d4050, this=0x565200273820) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#26 doActivate<false> (sender=0x565200273470, signal_index=8,
argv=argv@entry=0x7ffc0d1d3a60) at kernel/qobject.cpp:3886
#27 0x00007fc7809b7728 in QMetaObject::activate
(sender=sender@entry=0x565200273470, m=<optimized out>,
local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffc0d1d3a60)
at kernel/qobject.cpp:3946
#28 0x00005651ff5e7a75 in KInotify::deleted (_t2=false, _t1=...,
this=0x565200273470) at
./obj-x86_64-linux-gnu/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:334
#29 KInotify::slotEvent (this=0x565200273470, socket=220019264) at
./src/file/kinotify.cpp:406
#30 0x00007fc7809be5c7 in QtPrivate::QSlotObjectBase::call (a=0x7ffc0d1d3bb0,
r=0x565200273470, this=0x7fc77401acd0) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#31 doActivate<false> (sender=0x565200304350, signal_index=3,
argv=argv@entry=0x7ffc0d1d3bb0) at kernel/qobject.cpp:3886
#32 0x00007fc7809b7728 in QMetaObject::activate
(sender=sender@entry=0x565200304350, m=m@entry=0x7fc780c22160
<QSocketNotifier::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc0d1d3bb0)
at kernel/qobject.cpp:3946
#33 0x00007fc7809c1be3 in QSocketNotifier::activated
(this=this@entry=0x565200304350, _t1=..., _t2=<optimized out>, _t3=...) at
.moc/moc_qsocketnotifier.cpp:178
#34 0x00007fc7809c2413 in QSocketNotifier::event (this=0x565200304350,
e=0x7ffc0d1d3c90) at kernel/qsocketnotifier.cpp:302
#35 0x00007fc78098678f in doNotify (event=0x7ffc0d1d3c90,
receiver=0x565200304350) at kernel/qcoreapplication.cpp:1153
#36 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>,
this=<optimized out>) at kernel/qcoreapplication.cpp:1139
#37 QCoreApplication::notifyInternal2 (receiver=0x565200304350,
event=0x7ffc0d1d3c90) at kernel/qcoreapplication.cpp:1063
#38 0x00007fc7809e0e05 in socketNotifierSourceDispatch (source=0x565200258d20)
at kernel/qeventdispatcher_glib.cpp:107
#39 0x00007fc77ef0d8eb in g_main_dispatch (context=0x5652002569b0) at
../../../glib/gmain.c:3337
#40 g_main_context_dispatch (context=0x5652002569b0) at
../../../glib/gmain.c:4055
#41 0x00007fc77ef60d28 in g_main_context_iterate.constprop.0
(context=context@entry=0x5652002569b0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4131
#42 0x00007fc77ef0b023 in g_main_context_iteration (context=0x5652002569b0,
may_block=may_block@entry=1) at ../../../glib/gmain.c:4196
#43 0x00007fc7809e0204 in QEventDispatcherGlib::processEvents
(this=0x565200256030, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#44 0x00007fc78098511b in QEventLoop::exec (this=this@entry=0x7ffc0d1d3ea0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#45 0x00007fc78098d604 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#46 0x00005651ff5cd8aa in main (argc=<optimized out>, argv=<optimized out>) at
./src/file/main.cpp:78
[Inferior 1 (process 2526) detached]

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

Reply via email to