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

            Bug ID: 361903
           Summary: Assert "DocumentUrlDB::del"
           Product: Baloo
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: m...@vhanda.in
          Reporter: cordlandw...@kde.org
                CC: pinak.ah...@gmail.com

Application: baloo_file_extractor (5.21.0)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.21.0
Operating System: Linux 4.4.0-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (stretch)

-- Information about the crash:
Normal background run of Baloo directly after login. I got the attached crash
with the named assert.
Pleast tell me, if you need any additional information.

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

Thread 3 (Thread 0x7fb6dcb2e700 (LWP 26995)):
#0  0x00007fb6e89a3e4d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb6e3b59382 in _xcb_conn_wait (__timeout=-1, __nfds=1,
__fds=0x7fb6dcb2db40) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007fb6e3b59382 in _xcb_conn_wait (c=c@entry=0x17c8f00,
cond=cond@entry=0x17c8f40, vector=vector@entry=0x0, count=count@entry=0x0) at
../../src/xcb_conn.c:459
#3  0x00007fb6e3b5aff7 in xcb_wait_for_event (c=0x17c8f00) at
../../src/xcb_in.c:693
#4  0x00007fb6e03a98c1 in QXcbEventReader::run() (this=0x17d3550) at
qxcbconnection.cpp:1321
#5  0x00007fb6e95b6cf1 in QThreadPrivate::start(void*) (arg=0x17d3550) at
thread/qthread_unix.cpp:340
#6  0x00007fb6e7ad0454 in start_thread (arg=0x7fb6dcb2e700) at
pthread_create.c:334
#7  0x00007fb6e89acecd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fb6d47a1700 (LWP 27049)):
#0  0x00007fb6e985fef0 in QTimerInfoList::updateCurrentTime()
(this=0x7fb6cc002ed0) at kernel/qtimerinfo_unix.cpp:84
#1  0x00007fb6e9860751 in QTimerInfoList::timerWait(timespec&)
(this=0x7fb6cc002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#2  0x00007fb6e986213b in timerSourcePrepareHelper(GTimerSource*, gint*)
(src=0x7fb6cc002e70, timeout=0x7fb6d47a09b4) at
kernel/qeventdispatcher_glib.cpp:126
#3  0x00007fb6e98622e3 in timerSourcePrepare(GSource*, gint*)
(source=0x7fb6cc002e70, timeout=0x7fb6d47a09b4) at
kernel/qeventdispatcher_glib.cpp:159
#4  0x00007fb6e43d28bd in g_main_context_prepare
(context=context@entry=0x7fb6cc000990, priority=priority@entry=0x7fb6d47a0a40)
at /build/glib2.0-2CrUwg/glib2.0-2.48.0/./glib/gmain.c:3442
#5  0x00007fb6e43d325b in g_main_context_iterate
(context=context@entry=0x7fb6cc000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-2CrUwg/glib2.0-2.48.0/./glib/gmain.c:3820
#6  0x00007fb6e43d343c in g_main_context_iteration (context=0x7fb6cc000990,
may_block=1) at /build/glib2.0-2CrUwg/glib2.0-2.48.0/./glib/gmain.c:3901
#7  0x00007fb6e9862d86 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fb6cc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#8  0x00007fb6e97e4fc2 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fb6d47a0bf0, flags=...) at kernel/qeventloop.cpp:128
#9  0x00007fb6e97e52be in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fb6d47a0bf0,
flags=...) at kernel/qeventloop.cpp:204
#10 0x00007fb6e95aec86 in QThread::exec() (this=0x7fb6ec1c3f40 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:504
#11 0x00007fb6ec12a6c0 in QDBusConnectionManager::run() (this=0x7fb6ec1c3f40
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:181
#12 0x00007fb6e95b6cf1 in QThreadPrivate::start(void*) (arg=0x7fb6ec1c3f40
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:340
#13 0x00007fb6e7ad0454 in start_thread (arg=0x7fb6d47a1700) at
pthread_create.c:334
#14 0x00007fb6e89acecd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fb6ec03d940 (LWP 26994)):
[KCrash Handler]
#6  0x00007fb6e88f7478 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007fb6e88f88fa in __GI_abort () at abort.c:89
#8  0x00007fb6e95a17ce in qt_message_fatal(QtMsgType, QMessageLogContext
const&, QString const&) (context=..., message=...) at global/qlogging.cpp:1645
#9  0x00007fb6e959dc86 in QMessageLogger::fatal(char const*, ...) const
(this=0x7ffd6019a660, msg=0x7fb6e98cff38 "ASSERT failure in %s: \"%s\", file
%s, line %d") at global/qlogging.cpp:790
#10 0x00007fb6e9596e61 in qt_assert_x(char const*, char const*, char const*,
int) (where=0x7fb6eb3b074b "DocumentUrlDB::del", what=0x7fb6eb3b0708 "This
folder still has sub-files in its cache. It cannot be deleted",
file=0x7fb6eb3b06b0 "/opt/kde/src/frameworks/baloo/src/engine/documenturldb.h",
line=134) at global/qglobal.cpp:3002
#11 0x00007fb6eb3a755a in
Baloo::DocumentUrlDB::replace<Baloo::WriteTransaction::removeDocument(quint64)::<lambda(quint64)>
>(quint64, const QByteArray &, Baloo::WriteTransaction::<lambda(quint64)>)
(this=0x7ffd6019a7b0, docId=35466160598157319, url=..., shouldDeleteFolder=...)
at /opt/kde/src/frameworks/baloo/src/engine/documenturldb.h:134
#12 0x00007fb6eb3a6c3a in
Baloo::DocumentUrlDB::del<Baloo::WriteTransaction::removeDocument(quint64)::<lambda(quint64)>
>(quint64, Baloo::WriteTransaction::<lambda(quint64)>) (this=0x7ffd6019a7b0,
docId=35466160598157319, shouldDeleteFolder=...) at
/opt/kde/src/frameworks/baloo/src/engine/documenturldb.h:53
#13 0x00007fb6eb3a5d13 in Baloo::WriteTransaction::removeDocument(unsigned long
long) (this=0x18219e0, id=35466160598157319) at
/opt/kde/src/frameworks/baloo/src/engine/writetransaction.cpp:132
#14 0x00007fb6eb3a0ebf in Baloo::Transaction::removeDocument(unsigned long
long) (this=0x186ec40, id=35466160598157319) at
/opt/kde/src/frameworks/baloo/src/engine/transaction.cpp:235
#15 0x000000000040a74f in Baloo::App::processNextFile() (this=0x7ffd6019b7b0)
at /opt/kde/src/frameworks/baloo/src/file/extractor/app.cpp:87
#16 0x000000000040d383 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (Baloo::App::*)()>::call(void (Baloo::App::*)(),
Baloo::App*, void**) (f=(void (Baloo::App::*)(Baloo::App * const)) 0x40a654
<Baloo::App::processNextFile()>, o=0x7ffd6019b7b0, arg=0x7ffd6019aa90) at
/opt/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:501
#17 0x000000000040d315 in QtPrivate::FunctionPointer<void
(Baloo::App::*)()>::call<QtPrivate::List<>, void>(void (Baloo::App::*)(),
Baloo::App*, void**) (f=(void (Baloo::App::*)(Baloo::App * const)) 0x40a654
<Baloo::App::processNextFile()>, o=0x7ffd6019b7b0, arg=0x7ffd6019aa90) at
/opt/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:520
#18 0x000000000040d055 in QtPrivate::QSlotObject<void (Baloo::App::*)(),
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (which=1, this_=0x18e92a0, r=0x7ffd6019b7b0, a=0x7ffd6019aa90,
ret=0x0) at /opt/qt5/qtbase/src/corelib/kernel/qobject_impl.h:143
#19 0x00007fb6e982c279 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(this=0x18e92a0, r=0x7ffd6019b7b0, a=0x7ffd6019aa90) at
../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#20 0x00007fb6e9835b6c in QSingleShotTimer::timerEvent(QTimerEvent*)
(this=0x18f0fd0) at kernel/qtimer.cpp:310
#21 0x00007fb6e982274c in QObject::event(QEvent*) (this=0x18f0fd0,
e=0x7ffd6019b3a0) at kernel/qobject.cpp:1237
#22 0x00007fb6ea3e05b0 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=0x17a9710, receiver=0x18f0fd0, e=0x7ffd6019b3a0) at
kernel/qapplication.cpp:3804
#23 0x00007fb6ea3dd97b in QApplication::notify(QObject*, QEvent*)
(this=0x7ffd6019b890, receiver=0x18f0fd0, e=0x7ffd6019b3a0) at
kernel/qapplication.cpp:3163
#24 0x00007fb6e97e864c in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x18f0fd0, event=0x7ffd6019b3a0) at kernel/qcoreapplication.cpp:1015
#25 0x00007fb6e97ec682 in QCoreApplication::sendEvent(QObject*, QEvent*)
(receiver=0x18f0fd0, event=0x7ffd6019b3a0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#26 0x00007fb6e986106c in QTimerInfoList::activateTimers() (this=0x17f07d0) at
kernel/qtimerinfo_unix.cpp:637
#27 0x00007fb6e986238a in timerSourceDispatch(GSource*, GSourceFunc, gpointer)
(source=0x17f0770) at kernel/qeventdispatcher_glib.cpp:176
#28 0x00007fb6e9862471 in idleTimerSourceDispatch(GSource*, GSourceFunc,
gpointer) (source=0x17f0820) at kernel/qeventdispatcher_glib.cpp:223
#29 0x00007fb6e43d3137 in g_main_context_dispatch (context=0x7fb6d80016f0) at
/build/glib2.0-2CrUwg/glib2.0-2.48.0/./glib/gmain.c:3154
#30 0x00007fb6e43d3137 in g_main_context_dispatch
(context=context@entry=0x7fb6d80016f0) at
/build/glib2.0-2CrUwg/glib2.0-2.48.0/./glib/gmain.c:3769
#31 0x00007fb6e43d3390 in g_main_context_iterate
(context=context@entry=0x7fb6d80016f0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-2CrUwg/glib2.0-2.48.0/./glib/gmain.c:3840
#32 0x00007fb6e43d343c in g_main_context_iteration (context=0x7fb6d80016f0,
may_block=1) at /build/glib2.0-2CrUwg/glib2.0-2.48.0/./glib/gmain.c:3901
#33 0x00007fb6e9862d57 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x17eed10, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#34 0x00007fb6e03f2a8c in
QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x17eed10, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:115
#35 0x00007fb6e97e4fc2 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7ffd6019b6f0, flags=...) at kernel/qeventloop.cpp:128
#36 0x00007fb6e97e52be in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffd6019b6f0,
flags=...) at kernel/qeventloop.cpp:204
#37 0x00007fb6e97e8d96 in QCoreApplication::exec() () at
kernel/qcoreapplication.cpp:1285
#38 0x00007fb6e9c13538 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1607
#39 0x00007fb6ea3dd35f in QApplication::exec() () at
kernel/qapplication.cpp:2979
#40 0x0000000000409a86 in main(int, char**) (argc=1, argv=0x7ffd6019ba68) at
/opt/kde/src/frameworks/baloo/src/file/extractor/main.cpp:57

Possible duplicates by query: bug 361817, bug 356019, bug 355096, bug 354692,
bug 353914.

Reported using DrKonqi

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

Reply via email to