[frameworks-baloo] [Bug 362333] baloo_file Closed Unexpectedly a short while after starting KDE

2016-05-05 Thread Steve Youngs via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362333

--- Comment #1 from Steve Youngs  ---
I seem to have found a way around this.

`balooctl status' was telling me that there wasn't any files indexed which made
me think that this bug was biting pretty early in the process and it wasn't
even getting to the initial indexing stage.  I tentatively tried 'balooctl
index somedir/*' and that gave me a few files in the index.

I then decided (probably foolishly) that if I could manually index one
directory, why not do the whole dang lot, so...

  $ find ${HOME} -type d -exec sh -c 'balooctl index {}/*' \;

That took a LONG time, I can't tell you exactly how long because I stopped it
after it went beyond 24 hours!  And it hit a few bumps along the way.  Had a
few of

"ASSERT failure in PositionDB::put: "MDB_MAP_FULL: Environment mapsize limit
reached", file /usr/src/kde/kf5src/frameworks/baloo/src/engine/positiondb.cpp,
line 80 "

At this point I had just on 170K files in the index (indexer wasn't running). 
I crossed my fingers and restarted KDE.  The bug hit just like always.  Then it
occurred to me that the bug was preventing the initial indexing, but I had
pretty much done that manually now.  ~/.config/baloofilerc hinted that the
initial indexing had not been done.  So maybe all I had to do was change the
config...

  $ sed -i 's/\(first run=\)true/\1false/' ~/.config/baloofilerc

More finger crossing, another KDE restart.  This time... success!  Didn't get
the crash, and baloo seems to be functioning properly.  Searching via krunner,
or baloosearch is working just how I'd expect.  balooshow is returning good
info.  New files are getting added to the index automatically, likewise deleted
files are being removed.

  $ balooctl status
Baloo File Indexer is running
Indexer state: Indexing file content
Indexed 170229 / 170229 files
Current size of index is 1,021.54 MiB

I am now happy and this bug is no longer affecting me.

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


[plasmashell] [Bug 348123] Some processes (kuiserver) are left running after exiting KDE

2016-04-28 Thread Steve Youngs via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=348123

--- Comment #27 from Steve Youngs  ---
OK, something else must have been at play because that patch is working for me
now.  Weird.

Sorry for the noise.

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


[plasmashell] [Bug 348123] Some processes (kuiserver) are left running after exiting KDE

2016-04-28 Thread Steve Youngs via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=348123

Steve Youngs  changed:

   What|Removed |Added

 CC||st...@steveyoungs.com

--- Comment #24 from Steve Youngs  ---
(In reply to John Stanley from comment #18)
> Created attachment 95270 [details]
> Use QApplication (instead of QCoreApplication) for apps with GUI components

I just tried this patch, and with it KDE won't start.  It goes no further than
the splash screen.  This was with plasma-workspace v5.6.3-233-g37a70c0

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


[Baloo] [Bug 362333] New: baloo_file Closed Unexpectedly a short while after starting KDE

2016-04-26 Thread Steve Youngs via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=362333

Bug ID: 362333
   Summary: baloo_file Closed Unexpectedly a short while after
starting KDE
   Product: Baloo
   Version: unspecified
  Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: General
  Assignee: m...@vhanda.in
  Reporter: st...@steveyoungs.com
CC: pinak.ah...@gmail.com

Application: baloo_file (5.21.0)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.21.0
Operating System: Linux 4.5.0-12626-g15dbc13 x86_64

-- Information about the crash:
It happens onces per session, a couple of minutes after startup.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fec2f372900 (LWP 1983))]

Thread 3 (Thread 0x7fec14f90700 (LWP 1984)):
#0  0x7fec2c81379d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x7fec2709f810 in g_wakeup_acknowledge (wakeup=0x1817bc0) at
/usr/src/glib/glib/glib/gwakeup.c:210
#2  0x7fec2705d504 in g_main_context_check
(context=context@entry=0x7fec1990, max_priority=2147483647,
fds=fds@entry=0x7fec10003220, n_fds=n_fds@entry=1) at
/usr/src/glib/glib/glib/gmain.c:3632
#3  0x7fec2705d978 in g_main_context_iterate
(context=context@entry=0x7fec1990, block=block@entry=1,
dispatch=dispatch@entry=1, self=) at
/usr/src/glib/glib/glib/gmain.c:3837
#4  0x7fec2705dadc in g_main_context_iteration (context=0x7fec1990,
may_block=1) at /usr/src/glib/glib/glib/gmain.c:3901
#5  0x7fec2d8f31e4 in QEventDispatcherGlib::processEvents
(this=0x7fec18c0, flags=...) at
/usr/src/qt/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:419
#6  0x7fec2d8753ec in QEventLoop::processEvents (this=0x7fec14f8fc30,
flags=...) at /usr/src/qt/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:128
#7  0x7fec2d8756e8 in QEventLoop::exec (this=0x7fec14f8fc30, flags=...) at
/usr/src/qt/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:204
#8  0x7fec2d63f3bc in QThread::exec (this=0x7fec2eec3000 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/usr/src/qt/qt5/qtbase/src/corelib/thread/qthread.cpp:504
#9  0x7fec2ec29bf0 in QDBusConnectionManager::run (this=0x7fec2eec3000
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/usr/src/qt/qt5/qtbase/src/dbus/qdbusconnection.cpp:181
#10 0x7fec2d64742b in QThreadPrivate::start (arg=0x7fec2eec3000 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
/usr/src/qt/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:340
#11 0x7fec2ac23084 in start_thread (arg=0x7fec14f90700) at
pthread_create.c:309
#12 0x7fec2c81fead in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7feac700 (LWP 3266)):
[KCrash Handler]
#6  0x7fec2c76ad47 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x7fec2c76c0f8 in __GI_abort () at abort.c:89
#8  0x7fec2d631e5d in qt_message_fatal (context=..., message=...) at
/usr/src/qt/qt5/qtbase/src/corelib/global/qlogging.cpp:1645
#9  0x7fec2d62e170 in QMessageLogger::fatal (this=0x7feacfffe890,
msg=0x7fec2d9aecf0 "ASSERT: \"%s\" in file %s, line %d") at
/usr/src/qt/qt5/qtbase/src/corelib/global/qlogging.cpp:790
#10 0x7fec2d6275ee in qt_assert (assertion=0x7fec2e0e3f15 "info.mTime",
file=0x7fec2e0e3e90
"/usr/src/kde/kf5src/frameworks/baloo/src/engine/documenttimedb.cpp", line=61)
at /usr/src/qt/qt5/qtbase/src/corelib/global/qglobal.cpp:2999
#11 0x7fec2e0c52ca in Baloo::DocumentTimeDB::put (this=0x7feacfffe9b0,
docId=27587086043318277, info=...) at
/usr/src/kde/kf5src/frameworks/baloo/src/engine/documenttimedb.cpp:61
#12 0x7fec2e0db89c in Baloo::WriteTransaction::addDocument
(this=0x7feac8002f90, doc=...) at
/usr/src/kde/kf5src/frameworks/baloo/src/engine/writetransaction.cpp:80
#13 0x7fec2e0d6f1d in Baloo::Transaction::addDocument (this=0x7feacfffea50,
doc=...) at /usr/src/kde/kf5src/frameworks/baloo/src/engine/transaction.cpp:226
#14 0x004159b8 in Baloo::FirstRunIndexer::run (this=0x1974c40) at
/usr/src/kde/kf5src/frameworks/baloo/src/file/firstrunindexer.cpp:76
#15 0x7fec2d640bdb in QThreadPoolThread::run (this=0x1a30bd0) at
/usr/src/qt/qt5/qtbase/src/corelib/thread/qthreadpool.cpp:93
#16 0x7fec2d64742b in QThreadPrivate::start (arg=0x1a30bd0) at
/usr/src/qt/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:340
#17 0x7fec2ac23084 in start_thread (arg=0x7feac700) at
pthread_create.c:309
#18 0x7fec2c81fead in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fec2f372900 (LWP 1983)):
#0  0x7fec2c81379d in read () at ../sysdeps/unix/syscall-template.S:81
#1  

[Akonadi] [Bug 360792] akonadi_davgroupware_resource crashes constandly

2016-04-23 Thread Steve Youngs via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=360792

Steve Youngs  changed:

   What|Removed |Added

 CC||st...@steveyoungs.com

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


[kdeconnect] [Bug 357083] New: Clearing notifications from the kdeconnect widget sometimes results in a crash

2015-12-22 Thread Steve Youngs via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357083

Bug ID: 357083
   Summary: Clearing notifications from the kdeconnect widget
sometimes results in a crash
   Product: kdeconnect
   Version: unspecified
  Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: common
  Assignee: albertv...@gmail.com
  Reporter: st...@steveyoungs.com

Application: kdeconnectd (0.1)
KDE Platform Version: 4.14.9 (Compiled from sources)
Qt Version: 4.8.7
Operating System: Linux 4.1.0-rc8-00036-gd2228e4 x86_64

-- Information about the crash:
- What I was doing when the application crashed:
Exactly as the title says, attempting to clear the notifications by clicking
the 'x' button on the notification in the widget's popup.

The crash can be reproduced sometimes.

-- Backtrace:
Application: kdeconnect (kdeconnectd), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8ff491b840 (LWP 1960))]

Thread 3 (Thread 0x7f8fd1697700 (LWP 1970)):
#0  g_main_context_acquire (context=0x7f8fcc0009a0) at
/usr/src/glib/glib/glib/gmain.c:3176
#1  0x7f8fedc90795 in g_main_context_iterate
(context=context@entry=0x7f8fcc0009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=) at
/usr/src/glib/glib/glib/gmain.c:3758
#2  0x7f8fedc909cc in g_main_context_iteration (context=0x7f8fcc0009a0,
may_block=1) at /usr/src/glib/glib/glib/gmain.c:3869
#3  0x7f8ff1ec3f50 in QEventDispatcherGlib::processEvents
(this=0x7f8fcc0008c0, flags=...) at
/usr/src/qt/qt4/src/corelib/kernel/qeventdispatcher_glib.cpp:427
#4  0x7f8ff1e853ca in QEventLoop::processEvents (this=0x7f8fd1696d20,
flags=...) at /usr/src/qt/qt4/src/corelib/kernel/qeventloop.cpp:149
#5  0x7f8ff1e85554 in QEventLoop::exec (this=0x7f8fd1696d20, flags=...) at
/usr/src/qt/qt4/src/corelib/kernel/qeventloop.cpp:204
#6  0x7f8ff1d4cfab in QThread::exec (this=0xff3c80) at
/usr/src/qt/qt4/src/corelib/thread/qthread.cpp:538
#7  0x7f8ff1d4d14e in QThread::run (this=0xff3c80) at
/usr/src/qt/qt4/src/corelib/thread/qthread.cpp:605
#8  0x7f8ff1d4facc in QThreadPrivate::start (arg=0xff3c80) at
/usr/src/qt/qt4/src/corelib/thread/qthread_unix.cpp:352
#9  0x7f8ff2250084 in start_thread (arg=0x7f8fd1697700) at
pthread_create.c:309
#10 0x7f8ff11c6ead in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f8fcaf15700 (LWP 3632)):
#0  0x7f8ff1ec5054 in QList::const_iterator::const_iterator
(this=0x7f8fcaf14a00, n=0x7f8ff22476f8 ) at
../../include/QtCore/../../../qt4/src/corelib/tools/qlist.h:238
#1  0x7f8ff1ec8788 in QList::constEnd (this=0x7f8fc4002ed0) at
../../include/QtCore/../../../qt4/src/corelib/tools/qlist.h:272
#2  0x7f8ff1ec6924 in QTimerInfoList::timerWait (this=0x7f8fc4002ed0,
tm=...) at /usr/src/qt/qt4/src/corelib/kernel/qeventdispatcher_unix.cpp:465
#3  0x7f8ff1ec323d in timerSourcePrepareHelper (src=0x7f8fc4002e70,
timeout=0x7f8fcaf14ac4) at
/usr/src/qt/qt4/src/corelib/kernel/qeventdispatcher_glib.cpp:136
#4  0x7f8ff1ec33e3 in timerSourcePrepare (source=0x7f8fc4002e70,
timeout=0x7f8fcaf14ac4) at
/usr/src/qt/qt4/src/corelib/kernel/qeventdispatcher_glib.cpp:169
#5  0x7f8fedc8fea5 in g_main_context_prepare
(context=context@entry=0x7f8fc40009a0, priority=priority@entry=0x7f8fcaf14b48)
at /usr/src/glib/glib/glib/gmain.c:3410
#6  0x7f8fedc907f0 in g_main_context_iterate
(context=context@entry=0x7f8fc40009a0, block=block@entry=1,
dispatch=dispatch@entry=1, self=) at
/usr/src/glib/glib/glib/gmain.c:3788
#7  0x7f8fedc909cc in g_main_context_iteration (context=0x7f8fc40009a0,
may_block=1) at /usr/src/glib/glib/glib/gmain.c:3869
#8  0x7f8ff1ec3f50 in QEventDispatcherGlib::processEvents
(this=0x7f8fc40008c0, flags=...) at
/usr/src/qt/qt4/src/corelib/kernel/qeventdispatcher_glib.cpp:427
#9  0x7f8ff1e853ca in QEventLoop::processEvents (this=0x7f8fcaf14cf0,
flags=...) at /usr/src/qt/qt4/src/corelib/kernel/qeventloop.cpp:149
#10 0x7f8ff1e85554 in QEventLoop::exec (this=0x7f8fcaf14cf0, flags=...) at
/usr/src/qt/qt4/src/corelib/kernel/qeventloop.cpp:204
#11 0x7f8ff1d4cfab in QThread::exec (this=0x103aff0) at
/usr/src/qt/qt4/src/corelib/thread/qthread.cpp:538
#12 0x7f8ff1e604a9 in QInotifyFileSystemWatcherEngine::run (this=0x103aff0)
at /usr/src/qt/qt4/src/corelib/io/qfilesystemwatcher_inotify.cpp:265
#13 0x7f8ff1d4facc in QThreadPrivate::start (arg=0x103aff0) at
/usr/src/qt/qt4/src/corelib/thread/qthread_unix.cpp:352
#14 0x7f8ff2250084 in start_thread (arg=0x7f8fcaf15700) at
pthread_create.c:309
#15 0x7f8ff11c6ead in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f8ff491b840 (LWP 1960)):
[KCrash Handler]
#6  QHash