[Akonadi] [Bug 356747] New: Akonadiconsole crashes on a specific folder

2015-12-15 Thread jos poortvliet via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356747

Bug ID: 356747
   Summary: Akonadiconsole crashes on a specific folder
   Product: Akonadi
   Version: unspecified
  Platform: openSUSE RPMs
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: akonadiconsole
  Assignee: kdepim-bugs@kde.org
  Reporter: jospoortvl...@gmail.com

Today my Inbox folder suddenly became grayed out and I couldn't open it
anymore. I restarted Akonadi, which didn't help. Checked out the folder with
AkonadiConsole which crashed about 2 seconds in loading the folder, and keeps
doing that.

After restarting KMail, shutting down Akonadi and restarting it all, I can see
and enter the inbox again in KMail. Akonadiconsole keeps crashing upon entering
the Inbox folder, hope the backtrace is helpful.

Note that it doesn't crash on any other folder.

It is a disconnected IMAP account using Kerio on the server.

Reproducible: Always

Steps to Reproduce:
1. open Akonadiconsole
2. open the Inbox folder
3.

Actual Results:  
Crash

Expected Results:  
no crash

Application: akonadiconsole (0.99)
KDE Platform Version: 4.14.14
Qt Version: 4.8.7
Operating System: Linux 4.3.0-2-default x86_64
Distribution: "openSUSE Tumbleweed (20151124) (x86_64)"

-- Backtrace:
Application: Akonadi Console (akonadiconsole), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6eba4c3940 (LWP 20549))]

Thread 5 (Thread 0x7f6eb5649700 (LWP 20550)):
#0  0x0030010e2883 in select () at /lib64/libc.so.6
#1  0x003011b61a2f in  () at /usr/lib64/libQtCore.so.4
#2  0x003011a8023c in  () at /usr/lib64/libQtCore.so.4
#3  0x0030018074a4 in start_thread () at /lib64/libpthread.so.0
#4  0x0030010e9b9d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f6eb4e48700 (LWP 20557)):
#0  0x00300180d07f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x7f6ec23dfde6 in WTF::TCMalloc_PageHeap::scavengerThread() () at
/usr/lib64/libQtWebKit.so.4
#2  0x7f6ec23dfe19 in  () at /usr/lib64/libQtWebKit.so.4
#3  0x0030018074a4 in start_thread () at /lib64/libpthread.so.0
#4  0x0030010e9b9d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f6e742fd700 (LWP 20575)):
#0  0x00300180d07f in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x7f6ec21495e9 in JSC::BlockAllocator::blockFreeingThreadMain() () at
/usr/lib64/libQtWebKit.so.4
#2  0x7f6ec24078f6 in WTF::wtfThreadEntryPoint(void*) () at
/usr/lib64/libQtWebKit.so.4
#3  0x0030018074a4 in start_thread () at /lib64/libpthread.so.0
#4  0x0030010e9b9d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f6e72b80700 (LWP 20584)):
#0  0x0030010e120d in poll () at /lib64/libc.so.6
#1  0x7f6ebe13d264 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x7f6ebe13d36c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#3  0x003011bb424e in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib64/libQtCore.so.4
#4  0x003011b843e1 in
QEventLoop::processEvents(QFlags) () at
/usr/lib64/libQtCore.so.4
#5  0x003011b846f5 in
QEventLoop::exec(QFlags) () at
/usr/lib64/libQtCore.so.4
#6  0x003011a7da59 in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x003011a8023c in  () at /usr/lib64/libQtCore.so.4
#8  0x0030018074a4 in start_thread () at /lib64/libpthread.so.0
#9  0x0030010e9b9d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f6eba4c3940 (LWP 20549)):
[KCrash Handler]
#6  0x003035052c41 in KMime::Headers::Date::dateTime() const () at
/usr/lib64/libkmime.so.4
#7  0x0042d51b in  ()
#8  0x7f6ec41a6388 in  () at /usr/lib64/libQtGui.so.4
#9  0x7f6ec41a64da in  () at /usr/lib64/libQtGui.so.4
#10 0x7f6ec41a648f in  () at /usr/lib64/libQtGui.so.4
#11 0x7f6ec41a648f in  () at /usr/lib64/libQtGui.so.4
#12 0x7f6ec41a648f in  () at /usr/lib64/libQtGui.so.4
#13 0x7f6ec41a648f in  () at /usr/lib64/libQtGui.so.4
#14 0x7f6ec41a648f in  () at /usr/lib64/libQtGui.so.4
#15 0x7f6ec41a6447 in  () at /usr/lib64/libQtGui.so.4
#16 0x7f6ec41a6447 in  () at /usr/lib64/libQtGui.so.4
#17 0x7f6ec41a6447 in  () at /usr/lib64/libQtGui.so.4
#18 0x7f6ec41a648f in  () at /usr/lib64/libQtGui.so.4
#19 0x7f6ec419ef14 in  () at /usr/lib64/libQtGui.so.4
#20 0x7f6ec41a128a in  () at /usr/lib64/libQtGui.so.4
#21 0x7f6ec41a13bf in  () at /usr/lib64/libQtGui.so.4
#22 0x003011b98f60 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () at /usr/lib64/libQtCore.so.4
#23 0x003011be6fe4 in QAbstractItemModel::rowsInserted(QModelIndex const&,
int, int) () at /usr/lib64/libQtCore.so.4
#24 0x003011b7fa02 in QAbstractItemModel::endInsertRows() () at
/usr/lib64/libQtCore.so.4
#25 0x7f6ec419d9b5 in  () at /usr/lib64/libQtGui.so.4
#26 0x7f6ec41a1177 in  () at 

[Akonadi] [Bug 356747] Akonadiconsole crashes on a specific folder

2015-12-15 Thread jos poortvliet via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356747

jos poortvliet  changed:

   What|Removed |Added

   Severity|normal  |crash

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 355198] Feature: Navigation through Mails using Arrow Keys

2015-12-15 Thread OlafLostViking via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=355198

OlafLostViking  changed:

   What|Removed |Added

 CC||olaf.the.lost.viking@gmail.
   ||com

--- Comment #1 from OlafLostViking  ---
This is actually a regression from earlier KMail versions (pressing left/right
changed the messages, pressing up/down scrolled in the message view). Can you
change the priority from "wishlist" to actual "bug"?

When pressing SHIFT when "navigating" with the arrow keys, it's even a
combination of the old and the new behaviour ;-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 356751] New: akonadi 4:15.08.2-0ubuntu1 fails to read updates from IMAP server, reporting "log_kimap: Socket timeout!"

2015-12-15 Thread smihaila via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356751

Bug ID: 356751
   Summary: akonadi 4:15.08.2-0ubuntu1 fails to read updates from
IMAP server, reporting "log_kimap: Socket timeout!"
   Product: Akonadi
   Version: unspecified
  Platform: Other
OS: Linux
Status: UNCONFIRMED
  Severity: grave
  Priority: NOR
 Component: general
  Assignee: kdepim-bugs@kde.org
  Reporter: smiha...@gmail.com

After recently upgrading from Kubuntu 14.04 Trusty to 15.10 Willy, the
akonadi-server is no longer able to sync the local store (MySql-hosted) to the
IMAP server, for certain IMAP server folders, reporting an error message like
this:

log_imapresource: Starting retrieval for
"{folder_name_omitted_for_privacy_reasons}"
log_imapresource: Starting message retrieval. Elapsed(ms): 4112
log_imapresource: MessageCount: 1975 Local message count: 0
log_imapresource: UidNext: 1979 Local UidNext: 1979
log_imapresource: HighestModSeq: 0 Local HighestModSeq: 0
log_imapresource: Detected inconsistency in local cache, we're missing some
messages. Server: 1975 Local: 0
log_imapresource: Refetching complete mailbox.
akonadiagentbase_log: 1975
1975
log_imapresource: Fetching 1 intervals
Received: 1 In total: 1 Wanted: 1975
Received: 1 In total: 2 Wanted: 1975
Received: 1 In total: 3 Wanted: 1975
[...]
Received: 1 In total: 44 Wanted: 1975
Received: 1 In total: 45 Wanted: 1975

<== and here it hangs for a while and then it reports the error seen below:

log_kimap: Socket timeout!
log_kimap: close
log_imapresource: online= true
log_imapresource: online= false
log_imapresource:
log_imapresource: Cancel task: "killed"
The item sync is being rolled-back.
log_imapresource: online= true
log_imapresource: Fetch job failed "Connection to server lost."
Pass a valid window to KWallet::Wallet::openWallet().
log_kimap: KIMAP::LoginJob(0x100c4d0)
log_kimap: connectToHost "localhost" 1143
finished
log_imapresource: Cancelling this request. Probably there is no connection.
log_kimap: close

...And after a while the cycle repeats itself - akonadi will issue another IMAP
login command and re-try from the beginning to sync itself up with the IMAP
server - trying to read 1975 message items and bailing out at item #45.

This issue was not occurring with the akonadi version that came up with Kubuntu
14.10 Trusty.

Please help, now my e-mail send & receive capabilities are disfunctional, and I
cannot use Akonadi and KDE Mail anymore.



Reproducible: Always

Steps to Reproduce:
1. Fire up a Konsole shell and run: `akonadictrl restart`.
2. Keep this Konsole shell open, in order to see messages logged by the
akonadi-server.
3. Launch the KDE mail (kmail2 5.0.2) application.
4. Select the root of the e-mail folder for my IMAP account in the KDE Mail's
left-side folder view.
5. Right-clicking that root IMAP folder and select the "Update this folder and
all its subfolders" option.

Actual Results:  
1. Observe the error message reported in the Konsole shell.
2. Note how the KDE mail application's message progress toolbar on the
bottom-left does not get to 100%. Also observe how new messages in Inbox or
other folders do not get downloaded (not even the header).
3. Also any message deletions that were performed locally, do not seem to be
propagated to the IMAP server, and when accessing the IMAP server in a more
direct way i.e. via a web-based client provided by the MS Exchange Server
implementing the actual IMAP listener, the messages that were supposed to be
erased, are still listed there.


Expected Results:  
1. akonadi-server should be able to complete the message retrieval/sync-up i.e.
not getting stuck at "Received: 1 In total: 45 Wanted: 1975" log line and no
socket error or pending background retrieval job getting auto-canceled.
2. KDE mail should able to finalize the message donwload/syncup progress bar
and show new messages.
3. Any message deletions that happened locally, at KDE mail app level (i.e.
delete some messages from Inbox - either new or old) should be taken into
consideration by the IMAP server (either after the next send/receive cycle
which in this care is set to happen at each 5-minute interval, or upon explicit
"Synchronize this folder and all of its subfolders content").

A similar bug was submitted here:
https://bugs.launchpad.net/ubuntu/+source/akonadi/+bug/1526529

The IMAP server is a DavMail java process running locally, and acting as a
bridge to a corporate Microsoft Exchange server.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 356751] akonadi 4:15.08.2-0ubuntu1 fails to read updates from IMAP server, reporting "log_kimap: Socket timeout!"

2015-12-15 Thread smihaila via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356751

smihaila  changed:

   What|Removed |Added

   Platform|Other   |Kubuntu Packages

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Akonadi] [Bug 356758] New: IMAP Resource crash

2015-12-15 Thread Otter via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=356758

Bug ID: 356758
   Summary: IMAP Resource crash
   Product: Akonadi
   Version: 4.13
  Platform: openSUSE RPMs
OS: Linux
Status: UNCONFIRMED
  Severity: grave
  Priority: NOR
 Component: IMAP resource
  Assignee: chrig...@fastmail.fm
  Reporter: otter...@gmail.com
CC: kdepim-bugs@kde.org, vkra...@kde.org

Application: akonadi_imap_resource (4.89.0)

Qt Version: 5.5.0
Operating System: Linux 4.1.13-5-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
One IMAP out of three will not start syncing at Kmail startup.  I use
Akonadiconsole to go "offline" and then "online", "restart" and then "sync all"
to update this resource.  Today it has bben crashing like this.  The IMAP
resource is a Gmail account.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3c2a7fa840 (LWP 31452))]

Thread 3 (Thread 0x7f3c11a6a700 (LWP 31453)):
#0  0x7f3c24917c1d in poll () at /lib64/libc.so.6
#1  0x7f3c1f881422 in  () at /usr/lib64/libxcb.so.1
#2  0x7f3c1f88300f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x7f3c13dc6c29 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x7f3c2522555f in  () at /usr/lib64/libQt5Core.so.5
#5  0x7f3c1fa9e0a4 in start_thread () at /lib64/libpthread.so.0
#6  0x7f3c2492004d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f3c0afc7700 (LWP 31456)):
#0  0x7f3c24917c1d in poll () at /lib64/libc.so.6
#1  0x7f3c1e8ede64 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x7f3c1e8edf7c in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#3  0x7f3c25456a5b in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib64/libQt5Core.so.5
#4  0x7f3c253fda63 in
QEventLoop::exec(QFlags) () at
/usr/lib64/libQt5Core.so.5
#5  0x7f3c2522084a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x7f3c2522555f in  () at /usr/lib64/libQt5Core.so.5
#7  0x7f3c1fa9e0a4 in start_thread () at /lib64/libpthread.so.0
#8  0x7f3c2492004d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f3c2a7fa840 (LWP 31452)):
[KCrash Handler]
#6  0x7f3c24870187 in raise () at /lib64/libc.so.6
#7  0x7f3c24871538 in abort () at /lib64/libc.so.6
#8  0x7f3c24e8fb8d in __gnu_cxx::__verbose_terminate_handler() () at
/usr/lib64/libstdc++.so.6
#9  0x7f3c24e8dbf6 in  () at /usr/lib64/libstdc++.so.6
#10 0x7f3c24e8dc41 in  () at /usr/lib64/libstdc++.so.6
#11 0x7f3c24e8dea6 in __cxa_rethrow () at /usr/lib64/libstdc++.so.6
#12 0x00466a86 in QList::append(long long const&)
(this=this@entry=0x7ffdc6cae120, t=@0x7ffdc6cae080: 134217470) at
/usr/include/qt5/QtCore/qlist.h:574
#13 0x0046333b in MoveItemsTask::imapSetToList(KIMAP::ImapSet const&)
(t=@0x7ffdc6cae080: 134217470, this=0x7ffdc6cae120) at
/usr/include/qt5/QtCore/qlist.h:355
#14 0x0046333b in MoveItemsTask::imapSetToList(KIMAP::ImapSet const&)
(this=this@entry=0x15709f0, set=...) at
/usr/src/debug/kdepim-runtime-15.08.3/resources/imap/moveitemstask.cpp:313
#15 0x004637bd in MoveItemsTask::recordNewUid()
(this=this@entry=0x15709f0) at
/usr/src/debug/kdepim-runtime-15.08.3/resources/imap/moveitemstask.cpp:255
#16 0x0046423b in MoveItemsTask::onStoreFlagsDone(KJob*)
(this=0x15709f0, job=0x1478870) at
/usr/src/debug/kdepim-runtime-15.08.3/resources/imap/moveitemstask.cpp:180
#17 0x7f3c2542f40f in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib64/libQt5Core.so.5
#18 0x7f3c272b3d32 in KJob::result(KJob*, KJob::QPrivateSignal) () at
/usr/lib64/libKF5CoreAddons.so.5
#19 0x7f3c272b459f in KJob::finishJob(bool) () at
/usr/lib64/libKF5CoreAddons.so.5
#20 0x7f3c29407b98 in KIMAP::Job::handleErrorReplies(KIMAP::Message const&)
() at /usr/lib64/libKF5IMAP.so.5
#21 0x7f3c29432c22 in KIMAP::StoreJob::handleResponse(KIMAP::Message
const&) () at /usr/lib64/libKF5IMAP.so.5
#22 0x7f3c29425eba in
KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () at
/usr/lib64/libKF5IMAP.so.5
#23 0x7f3c25430796 in QObject::event(QEvent*) () at
/usr/lib64/libQt5Core.so.5
#24 0x7f3c26363e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib64/libQt5Widgets.so.5
#25 0x7f3c26368cd8 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib64/libQt5Widgets.so.5
#26 0x7f3c253ffba5 in QCoreApplication::notifyInternal(QObject*, QEvent*)
() at /usr/lib64/libQt5Core.so.5
#27 0x7f3c25401d67 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#28 0x7f3c254575c3 in  () at /usr/lib64/libQt5Core.so.5
#29 0x7f3c1e8edc84 in g_main_context_dispatch () at
/usr/lib64/libglib-2.0.so.0
#30 

[kmail2] [Bug 355198] Feature: Navigation through Mails using Arrow Keys

2015-12-15 Thread Laurent Montel via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=355198

Laurent Montel  changed:

   What|Removed |Added

 CC||mon...@kde.org

--- Comment #2 from Laurent Montel  ---
Version ?
it's fixed in 5.0.2 or 5.0.3

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kmail2] [Bug 350219] Kmail can't create IMAP top level folders

2015-12-15 Thread jos poortvliet via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=350219

jos poortvliet  changed:

   What|Removed |Added

 CC||jospoortvl...@gmail.com

--- Comment #8 from jos poortvliet  ---
Same on openSUSE Tumbleweed, but KMail version 4.14.10
Platform Version 4.14.14
Qt4 4.8.7
(Qt5Core 5.5.1)
I also, as added fun, suddenly can't access my Inbox anymore. It has
disappeared from my favorites and is greyed out. This started, like, 1 minute
ago, I was just doing a search and replied to an email.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs