Bug 380080 - Crash when sending file from smartphone via KDE Connect
Summary: Crash when sending file from smartphone via KDE Connect
Status: RESOLVED DUPLICATE of bug 389848
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-05-22 10:52 UTC by Elias Probst
Modified: 2018-11-26 18:13 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 Elias Probst 2017-05-22 10:52:27 UTC
Application: baloo_file (5.35.0)
 (Compiled from sources)
Qt Version: 5.7.1
Frameworks Version: 5.35.0
Operating System: Linux 4.10.1-gentoo x86_64
Distribution: "Gentoo Base System release 2.3"

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

Although not clearly reproducable, it happens every now and then that Baloo crashes while receiving a file being sent via KDE Connect from my Smartphone.

Versions of involved components/dependencies:
kde-frameworks/baloo (git ):
 [  0]  kde-frameworks/baloo (git 70b47212)   
 [  1]  kde-frameworks/kconfig (git 7c7456d6)   
 [  1]  kde-frameworks/kcoreaddons (git 333ec6e6)
 [  1]  kde-frameworks/kcrash (git bf29c997)   
 [  1]  kde-frameworks/kdbusaddons (git 01e62e6e)   
 [  1]  kde-frameworks/kfilemetadata (git 4829ff03)   
 [  1]  kde-frameworks/ki18n (git bb627808)   
 [  1]  kde-frameworks/kidletime (git f33eff27)   
 [  1]  kde-frameworks/kio (git 10e53ca3)   
 [  1]  kde-frameworks/solid (git 5121ef49)   
 [  1]  dev-qt/qtdbus-5.7.1   
 [  1]  dev-qt/qtdeclarative-5.7.1   
 [  1]  dev-qt/qtgui-5.7.1   
 [  1]  dev-qt/qtwidgets-5.7.1   
 [  1]  dev-db/lmdb-0.9.18   
 [  1]  dev-libs/glib-2.50.3-r1
 [  1]  sys-devel/make-4.2.1   
 [  1]  dev-util/cmake-3.7.2   
 [  1]  sys-apps/sed-4.2.2   
 [  1]  x11-base/xorg-server-1.19.2   
 [  1]  x11-apps/xhost-1.0.7   
 [  1]  dev-util/desktop-file-utils-0.23   
 [  1]  x11-misc/shared-mime-info-1.4   
 [  1]  dev-vcs/git-2.13.0   
 [  1]  kde-frameworks/extra-cmake-modules (git f11a95b6)   
 [  1]  dev-qt/qttest-5.7.1   
 [  1]  dev-qt/qtcore-5.7.1-r3   
 [  1]  kde-frameworks/kf-env-4

The crash can be reproduced sometimes.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3ce6319800 (LWP 20817))]

Thread 3 (Thread 0x7f3cdb0e0700 (LWP 20836)):
#0  0x00007f3ce4419e6d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f3ce167a6fc in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f3cd4003220, timeout=-1, context=0x7f3cd4000990) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:4228
#2  g_main_context_iterate (context=context@entry=0x7f3cd4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3924
#3  0x00007f3ce167a80c in g_main_context_iteration (context=0x7f3cd4000990, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3990
#4  0x00007f3ce505a6ab in QEventDispatcherGlib::processEvents (this=0x7f3cd40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f3ce500c38a in QEventLoop::exec (this=this@entry=0x7f3cdb0dfd90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f3ce4e732e4 in QThread::exec (this=this@entry=0x7f3ce64bf7c0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#7  0x00007f3ce644b835 in QDBusConnectionManager::run (this=0x7f3ce64bf7c0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f3ce4e7752c in QThreadPrivate::start (arg=0x7f3ce64bf7c0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9  0x00007f3ce3aa8454 in start_thread (arg=0x7f3cdb0e0700) at pthread_create.c:333
#10 0x00007f3ce4422f4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f3cda5dd700 (LWP 16279)):
[KCrash Handler]
#6  mdb_midl_xmerge (idl=idl@entry=0x7efc2e075018, merge=merge@entry=0x7efcdbd3d010) at midl.c:206
#7  0x00007f3ce2c17c52 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f3cda5dc138, mc=0x7f3cda5dc680) at mdb.c:2215
#8  0x00007f3ce2c17f59 in mdb_page_touch (mc=mc@entry=0x7f3cda5dc680) at mdb.c:2364
#9  0x00007f3ce2c19b9f in mdb_cursor_touch (mc=mc@entry=0x7f3cda5dc680) at mdb.c:6279
#10 0x00007f3ce2c1ccfa in mdb_cursor_put (mc=0x7f3cda5dc680, key=0x7f3cda5dca70, data=0x7f3cda5dca80, flags=<optimized out>) at mdb.c:6413
#11 0x00007f3ce2c1f775 in mdb_put (txn=0xfe05e0, dbi=4, key=key@entry=0x7f3cda5dca70, data=data@entry=0x7f3cda5dca80, flags=flags@entry=0) at mdb.c:8771
#12 0x00007f3ce54ece3f in Baloo::DocumentDB::put (this=this@entry=0x7f3cda5dcb50, docId=docId@entry=14640061748411904, list=...) at /var/tmp/portage/kde-frameworks/baloo-9999/work/baloo-9999/src/engine/documentdb.cpp:77
#13 0x00007f3ce5513090 in Baloo::WriteTransaction::addDocument (this=0x7efccc0031f0, doc=...) at /var/tmp/portage/kde-frameworks/baloo-9999/work/baloo-9999/src/engine/writetransaction.cpp:62
#14 0x00007f3ce550c9a9 in Baloo::Transaction::addDocument (this=this@entry=0x7f3cda5dcc90, doc=...) at /var/tmp/portage/kde-frameworks/baloo-9999/work/baloo-9999/src/engine/transaction.cpp:226
#15 0x0000000000412e77 in Baloo::NewFileIndexer::run (this=0x10bdc60) at /var/tmp/portage/kde-frameworks/baloo-9999/work/baloo-9999/src/file/newfileindexer.cpp:72
#16 0x00007f3ce4e7450d in QThreadPoolThread::run (this=0x10dae00) at thread/qthreadpool.cpp:99
#17 0x00007f3ce4e7752c in QThreadPrivate::start (arg=0x10dae00) at thread/qthread_unix.cpp:368
#18 0x00007f3ce3aa8454 in start_thread (arg=0x7f3cda5dd700) at pthread_create.c:333
#19 0x00007f3ce4422f4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3ce6319800 (LWP 20817)):
#0  0x00007f3ce4419e6d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f3ce167a6fc in g_main_context_poll (priority=2147483647, n_fds=1, fds=0xff2f20, timeout=72920, context=0xfc7e20) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:4228
#2  g_main_context_iterate (context=context@entry=0xfc7e20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3924
#3  0x00007f3ce167a80c in g_main_context_iteration (context=0xfc7e20, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.50.3-r1/work/glib-2.50.3/glib/gmain.c:3990
#4  0x00007f3ce505a6ab in QEventDispatcherGlib::processEvents (this=0xfc7e00, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f3ce500c38a in QEventLoop::exec (this=this@entry=0x7ffcacf10590, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f3ce5013d8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#7  0x000000000040a06b in main (argc=1, argv=<optimized out>) at /var/tmp/portage/kde-frameworks/baloo-9999/work/baloo-9999/src/file/main.cpp:104

Reported using DrKonqi
Comment 1 Nate Graham 2018-10-17 15:56:23 UTC

*** This bug has been marked as a duplicate of bug 353483 ***
Comment 2 Nate Graham 2018-11-26 18:13:24 UTC

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