[Akonadi] [Bug 363741] akonadi server 16.08.1: crashing every few seconds

2016-09-22 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363741

hiwatari.se...@gmail.com changed:

   What|Removed |Added

 CC||hiwatari.se...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Akonadi] [Bug 365991] Starting Kontact/Kmail causes crash. Command line shows - akonadicore_log: Failed SpecialCollectionsRequestJob::slotResult "Failed to fetch the resource collection."

2016-09-22 Thread Pip via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=365991

--- Comment #8 from Pip  ---
I switched to MariaDB from SQLITE3 and it seemed to eliminate most of the
problems after rebuilding.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[akregator] [Bug 369204] New: Akregator random crashes

2016-09-22 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369204

Bug ID: 369204
   Summary: Akregator random crashes
   Product: akregator
   Version: unspecified
  Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: kdepim-bugs@kde.org
  Reporter: nicolas.ducl...@estaca.eu

Application: akregator (5.3.0 (QtWebEngine))

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.7.3-200.fc24.x86_64 x86_64
Distribution: "Fedora release 24 (Twenty Four)"

-- Information about the crash:
Akregator crashed every time I use it. The time before the crashed is between 1
and 5 minutes.
Sometimes, just after choosing between a session restore or a new one,
sometimes when it fetches feeds and sometimes when I read an article.
This happens since the upgrade to the 16.08.1 version.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Akregator (akregator), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5d0dd2b940 (LWP 2098))]

Thread 24 (Thread 0x7f5cb99da700 (LWP 2130)):
#0  0x7f5d26797bd0 in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x7f5d1c04bbc4 in QTWTF::TCMalloc_PageHeap::scavengerThread() () at
/lib64/libQt5Script.so.5
#2  0x7f5d1c04bc09 in  () at /lib64/libQt5Script.so.5
#3  0x7f5d267925ca in start_thread () at /lib64/libpthread.so.0
#4  0x7f5d30a8ef6d in clone () at /lib64/libc.so.6

Thread 23 (Thread 0x7f5cba7fc700 (LWP 2123)):
#0  0x7f5d26797bd0 in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x7f5d2bbaeb90 in mojo::system::Waiter::Wait(unsigned long, unsigned
int*) () at /lib64/libQt5WebEngineCore.so.5
#2  0x7f5d2bb9a48c in mojo::system::Core::WaitManyInternal(unsigned int
const*, unsigned int const*, unsigned int, unsigned long, unsigned int*,
mojo::system::HandleSignalsState*) () at /lib64/libQt5WebEngineCore.so.5
#3  0x7f5d2bb9a98c in
mojo::system::Core::WaitMany(mojo::system::UserPointer,
mojo::system::UserPointer, unsigned int, unsigned long,
mojo::system::UserPointer,
mojo::system::UserPointer) () at
/lib64/libQt5WebEngineCore.so.5
#4  0x7f5d2bb96de5 in MojoWaitMany () at /lib64/libQt5WebEngineCore.so.5
#5  0x7f5d2d210e47 in
mojo::common::MessagePumpMojo::DoInternalWork(mojo::common::MessagePumpMojo::RunState
const&, bool) () at /lib64/libQt5WebEngineCore.so.5
#6  0x7f5d2d21107e in
mojo::common::MessagePumpMojo::DoRunLoop(mojo::common::MessagePumpMojo::RunState*,
base::MessagePump::Delegate*) () at /lib64/libQt5WebEngineCore.so.5
#7  0x7f5d2d2111b9 in
mojo::common::MessagePumpMojo::Run(base::MessagePump::Delegate*) () at
/lib64/libQt5WebEngineCore.so.5
#8  0x7f5d2bc870f4 in base::RunLoop::Run() () at
/lib64/libQt5WebEngineCore.so.5
#9  0x7f5d2bc71f35 in base::MessageLoop::Run() () at
/lib64/libQt5WebEngineCore.so.5
#10 0x7f5d2bc9fc06 in base::Thread::ThreadMain() () at
/lib64/libQt5WebEngineCore.so.5
#11 0x7f5d2bc9c0fd in base::(anonymous namespace)::ThreadFunc(void*) () at
/lib64/libQt5WebEngineCore.so.5
#12 0x7f5d267925ca in start_thread () at /lib64/libpthread.so.0
#13 0x7f5d30a8ef6d in clone () at /lib64/libc.so.6

Thread 22 (Thread 0x7f5cbaffd700 (LWP 2122)):
#0  0x7f5d26797bd0 in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x7f5d2bc9ee79 in
base::SequencedWorkerPool::Inner::ThreadLoop(base::SequencedWorkerPool::Worker*)
() at /lib64/libQt5WebEngineCore.so.5
#2  0x7f5d2bc9f540 in base::SequencedWorkerPool::Worker::Run() () at
/lib64/libQt5WebEngineCore.so.5
#3  0x7f5d2bc9f710 in base::SimpleThread::ThreadMain() () at
/lib64/libQt5WebEngineCore.so.5
#4  0x7f5d2bc9c0fd in base::(anonymous namespace)::ThreadFunc(void*) () at
/lib64/libQt5WebEngineCore.so.5
#5  0x7f5d267925ca in start_thread () at /lib64/libpthread.so.0
#6  0x7f5d30a8ef6d in clone () at /lib64/libc.so.6

Thread 21 (Thread 0x7f5cbb7fe700 (LWP 2121)):
#0  0x7f5d26797bd0 in pthread_cond_wait@@GLIBC_2.3.2 () at
/lib64/libpthread.so.0
#1  0x7f5d2bc9ee79 in
base::SequencedWorkerPool::Inner::ThreadLoop(base::SequencedWorkerPool::Worker*)
() at /lib64/libQt5WebEngineCore.so.5
#2  0x7f5d2bc9f540 in base::SequencedWorkerPool::Worker::Run() () at
/lib64/libQt5WebEngineCore.so.5
#3  0x7f5d2bc9f710 in base::SimpleThread::ThreadMain() () at
/lib64/libQt5WebEngineCore.so.5
#4  0x7f5d2bc9c0fd in base::(anonymous namespace)::ThreadFunc(void*) () at
/lib64/libQt5WebEngineCore.so.5
#5  0x7f5d267925ca in start_thread () at /lib64/libpthread.so.0
#6  0x7f5d30a8ef6d in clone () at /lib64/libc.so.6

Thread 20 (Thread 0x7f5cbbfff700 (LWP 2120)):
#0  0x7f5d30a833ed in poll () at /lib64/libc.so.6
#1  0x7f5d2559da06 in g_main_context_iterate.isra () at
/lib64/libglib-2.0.so.0
#2  

[Akonadi] [Bug 369203] New: CollectionFetchJob::exec() hangs forever

2016-09-22 Thread Patrick Ohly via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369203

Bug ID: 369203
   Summary: CollectionFetchJob::exec() hangs forever
   Product: Akonadi
   Version: unspecified
  Platform: Debian testing
   URL: https://bugs.freedesktop.org/show_bug.cgi?id=97609
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: libakonadi
  Assignee: kdepim-bugs@kde.org
  Reporter: patrick.o...@intel.com

SyncEvolution uses the blocking API to execute jobs. That used to work fine
with older Akonadi, but on Debian Stretch (= 4.14.10-5) it just hangs. Below is
a stand-alone test program demonstrating the problem.

On Debian Jessie, the output is:
$ ./akonadi-lsDatabase "akonadi" opened using driver "QMYSQL" 
akonadi_ical_resource_0


On Debian Stretch:
$ ./akonadi-ls
^C
Shutting down "0x277afc0" ...

Here it got aborted after two hours.

Akonadi seems okay on Debian Stretch:
$ akonadictl status
Akonadi Control: running
Akonadi Server: running
akonadiprivate_log: search paths:  ("lib/x86_64-linux-gnu",
"lib/x86_64-linux-gnu/qt5/plugins/", "lib/x86_64-linux-gnu/kf5/",
"lib/x86_64-linux-gnu/kf5/plugins/", "/usr/lib/qt5/plugins/",
"/usr/lib/x86_64-linux-gnu/qt5/plugins", "/usr/bin")
Akonadi Server Search Support: available (Remote Search)
Available Agent Types: akonadi_akonotes_resource, akonadi_birthdays_resource,
akonadi_contacts_resource, akonadi_davgroupware_resource,
akonadi_googlecalendar_resource, akonadi_googlecontacts_resource,
akonadi_ical_resource, akonadi_icaldir_resource, akonadi_imap_resource,
akonadi_invitations_agent, akonadi_kalarm_dir_resource,
akonadi_kalarm_resource, akonadi_knut_resource, akonadi_kolab_resource,
akonadi_maildir_resource, akonadi_maildispatcher_agent, akonadi_mbox_resource,
akonadi_migration_agent, akonadi_mixedmaildir_resource,
akonadi_newmailnotifier_agent, akonadi_notes_resource,
akonadi_openxchange_resource, akonadi_pop3_resource, akonadi_vcard_resource,
akonadi_vcarddir_resource

akonadiconsole shows that there are collections.

Reproducible: Always

Steps to Reproduce:
1. cat >akonadi-ls.cpp <
#include 

#include 
#include 
#include 

#include 
#include 
#include 

using namespace Akonadi;

/**
 * We take over ownership of jobs by storing them in smart pointers
 * (RAII).  This is how SyncEvolution does things and more predictable
 * than assuming that a future exec() call will auto-delete them as
 * part of its event processing.
 *
 * To avoid double frees, we need to disable auto-deletion.
 * This method does that. Use like this:
 * std::auto_ptr statisticsJob(DisableAutoDelete(new
CollectionStatisticsJob(m_collection)));
 */
template J *DisableAutoDelete(J *job) { job->setAutoDelete(false);
return job; }

int main(int argc, char **argv)
{
KAboutData aboutData(// The program name used internally.
 "syncevolution",
 // The message catalog name
 // If null, program name is used instead.
 0,
 // A displayable program name string.
 ki18n("SyncEvolution"),
 // The program version string.
 "1.0",
 // Short description of what the app does.
 ki18n("Lets Akonadi synchronize with a SyncML Peer"),
 // The license this code is released under
 KAboutData::License_GPL,
 // Copyright Statement
 ki18n("(c) 2010-12"),
 // Optional text shown in the About box.
 // Can contain any information desired.
 ki18n(""),
 // The program homepage string.
 "http://www.syncevolution.org/;,
 // The bug report email address
 "syncevolut...@syncevolution.org");

KCmdLineArgs::init(argc, argv, );
KApplication app(false);

//  std::unique_ptr fetchJob(DisableAutoDelete(new
CollectionFetchJob(Collection::root(),
// CollectionFetchJob::Recursive)));
CollectionFetchJob *fetchJob = new CollectionFetchJob(Collection::root(),
CollectionFetchJob::Recursive);

   
fetchJob->fetchScope().setContentMimeTypes(QString("text/calendar").split(","));
if (!fetchJob->exec()) {
std::cerr << "Cannot fetch collections." << std::endl;
return 1;
}

Collection::List collections = fetchJob->collections();
foreach (const Collection , collections) {
std::cout << collection.name().toUtf8().constData() << std::endl;
}
return 0;
}
EOF
2. g++ -I/usr/include/KDE -I/usr/include/qt4 -I/usr/include/qt4/QtCore -g
akonadi-ls.cpp -o akonadi-ls -lakonadi-kde -lkdecore -lkdeui -lQtCore 
3. ./akonadi-ls


Actual Results:  
It hangs. gdb stacktrace:

(gdb) where

[Akonadi] [Bug 340931] Read status of emails not updated when changed outside KMail, but only for GMail accounts via IMAP

2016-09-22 Thread Martin Tlustos via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=340931

Martin Tlustos  changed:

   What|Removed |Added

 CC||martin.tlus...@gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[kontact] [Bug 369193] New: akonadi crashes when displaying event invitations

2016-09-22 Thread Stephan Mueller via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369193

Bug ID: 369193
   Summary: akonadi crashes when displaying event invitations
   Product: kontact
   Version: unspecified
  Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: kdepim-bugs@kde.org
  Reporter: smuel...@chronox.de

Application: kontact (5.3.0 (QtWebEngine))

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.7.3-200.fc24.x86_64 x86_64
Distribution: "Fedora release 24 (Twenty Four)"

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

When clicking on an email that contains an event invitation, kmail crashes
before the invitation is rendered.

This crash also occurs when displaying the email with akonadiconsole

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbb49d92940 (LWP 5915))]

Thread 39 (Thread 0x7fba013ad700 (LWP 6029)):
#0  0x7fffd69a3a6a in __vdso_clock_gettime (clock=1, ts=0x7fba013ac9d0) at
arch/x86/entry/vdso/vclock_gettime.c:261
#1  0x7fbb61f1c4e6 in clock_gettime () at /lib64/libc.so.6
#2  0x7fbb62bb6ab3 in qt_gettime() () at /lib64/libQt5Core.so.5
#3  0x7fbb62d06869 in QTimerInfoList::updateCurrentTime() () at
/lib64/libQt5Core.so.5
#4  0x7fbb62d06c65 in QTimerInfoList::timerWait(timespec&) () at
/lib64/libQt5Core.so.5
#5  0x7fbb62d07dac in timerSourcePrepareHelper(GTimerSource*, int*) () at
/lib64/libQt5Core.so.5
#6  0x7fbb62d07e75 in timerSourcePrepare(_GSource*, int*) () at
/lib64/libQt5Core.so.5
#7  0x7fbb589e6f59 in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#8  0x7fbb589e792b in g_main_context_iterate.isra () at
/lib64/libglib-2.0.so.0
#9  0x7fbb589e7b1c in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#10 0x7fbb62d0824b in
QEventDispatcherGlib::processEvents(QFlags) ()
at /lib64/libQt5Core.so.5
#11 0x7fbb62cb75ea in
QEventLoop::exec(QFlags) () at
/lib64/libQt5Core.so.5
#12 0x7fbb62b16343 in QThread::exec() () at /lib64/libQt5Core.so.5
#13 0x7fbb62b1a99a in QThreadPrivate::start(void*) () at
/lib64/libQt5Core.so.5
#14 0x7fbb5a69c5ca in start_thread () at /lib64/libpthread.so.0
#15 0x7fbb61f0df6d in clone () at /lib64/libc.so.6

Thread 38 (Thread 0x7fba01bae700 (LWP 6027)):
#0  0x7fbb58a2ba09 in g_mutex_lock () at /lib64/libglib-2.0.so.0
#1  0x7fbb589e7900 in g_main_context_iterate.isra () at
/lib64/libglib-2.0.so.0
#2  0x7fbb589e7b1c in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#3  0x7fbb62d0824b in
QEventDispatcherGlib::processEvents(QFlags) ()
at /lib64/libQt5Core.so.5
#4  0x7fbb62cb75ea in
QEventLoop::exec(QFlags) () at
/lib64/libQt5Core.so.5
#5  0x7fbb62b16343 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x7fbb62b1a99a in QThreadPrivate::start(void*) () at
/lib64/libQt5Core.so.5
#7  0x7fbb5a69c5ca in start_thread () at /lib64/libpthread.so.0
#8  0x7fbb61f0df6d in clone () at /lib64/libc.so.6

Thread 37 (Thread 0x7fba023af700 (LWP 6025)):
#0  0x7fbb58a2ba24 in g_mutex_unlock () at /lib64/libglib-2.0.so.0
#1  0x7fbb589e79fa in g_main_context_iterate.isra () at
/lib64/libglib-2.0.so.0
#2  0x7fbb589e7b1c in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#3  0x7fbb62d0824b in
QEventDispatcherGlib::processEvents(QFlags) ()
at /lib64/libQt5Core.so.5
#4  0x7fbb62cb75ea in
QEventLoop::exec(QFlags) () at
/lib64/libQt5Core.so.5
#5  0x7fbb62b16343 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x7fbb62b1a99a in QThreadPrivate::start(void*) () at
/lib64/libQt5Core.so.5
#7  0x7fbb5a69c5ca in start_thread () at /lib64/libpthread.so.0
#8  0x7fbb61f0df6d in clone () at /lib64/libc.so.6

Thread 36 (Thread 0x7fba02bb0700 (LWP 6023)):
#0  0x7fbb58a2ba24 in g_mutex_unlock () at /lib64/libglib-2.0.so.0
#1  0x7fbb589e6f4c in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#2  0x7fbb589e792b in g_main_context_iterate.isra () at
/lib64/libglib-2.0.so.0
#3  0x7fbb589e7b1c in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#4  0x7fbb62d0824b in
QEventDispatcherGlib::processEvents(QFlags) ()
at /lib64/libQt5Core.so.5
#5  0x7fbb62cb75ea in
QEventLoop::exec(QFlags) () at
/lib64/libQt5Core.so.5
#6  0x7fbb62b16343 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x7fbb62b1a99a in QThreadPrivate::start(void*) () at
/lib64/libQt5Core.so.5
#8  0x7fbb5a69c5ca in start_thread () at /lib64/libpthread.so.0
#9  0x7fbb61f0df6d in clone () at /lib64/libc.so.6

Thread 35 (Thread 0x7fba033b1700 (LWP 6021)):
#0  0x7fffd69a3977 in vread_tsc () at arch/x86/include/asm/msr.h:165
#1  0x7fffd69a3977 in vread_tsc () at 

[Akonadi] [Bug 361157] Akonadi does not work properly after Update to KDE FW 5.20, Plasma 5.6 and Qt5.6 on Opensuse Leap 42.1

2016-09-22 Thread Steven Franzen via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=361157

Steven Franzen  changed:

   What|Removed |Added

 CC||sfranze...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.


[kmail2] [Bug 353671] Full Search does not find any Mails

2016-09-22 Thread Rex Dieter via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=353671

Rex Dieter  changed:

   What|Removed |Added

 CC||rdie...@math.unl.edu

-- 
You are receiving this mail because:
You are the assignee for the bug.


[kmail2] [Bug 369186] [security] XSS when viewing plain text mail

2016-09-22 Thread Florian Pritz via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369186

--- Comment #1 from Florian Pritz  ---
Created attachment 101225
  --> https://bugs.kde.org/attachment.cgi?id=101225=edit
test message containing XSS

-- 
You are receiving this mail because:
You are the assignee for the bug.


[kmail2] [Bug 369186] New: [security] XSS when viewing plain text mail

2016-09-22 Thread Florian Pritz via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369186

Bug ID: 369186
   Summary: [security] XSS when viewing plain text mail
   Product: kmail2
   Version: unspecified
  Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
  Severity: critical
  Priority: NOR
 Component: UI
  Assignee: kdepim-bugs@kde.org
  Reporter: bluew...@xinu.at

When opening the following mail from the full-disclosure mailing list, I get a
javascript alert window with the message "1" (without quotes):
[FD] SEC Consult SA-20160922-0 :: Potential backdoor access through multiple
vulnerabilities in Kerio Control Unified Threat Management

Reproducible: Always

Steps to Reproduce:
Open the message attached to this report in kmail.

Actual Results:  
A javascript alert pops up instantly.

Expected Results:  
No alert window

Arch Linux
kmail 16.08.1-1 (version 5.3.0 in the about dialog)

Can't seem to attach the mail yet. I'll do so in a comment.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Akonadi] [Bug 366112] [regression] Akonadi does not load remote calendar source

2016-09-22 Thread Cyrille Berger via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366112

Cyrille Berger  changed:

   What|Removed |Added

 CC||cber...@cberger.net

--- Comment #2 from Cyrille Berger  ---
I have the same problem on Kubuntu 16.04 with KOrganizer 5.1.3 and Akonadi
15.12.3

-- 
You are receiving this mail because:
You are the assignee for the bug.


[kmail2] [Bug 353671] Full Search does not find any Mails

2016-09-22 Thread Alvin via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=353671

Alvin  changed:

   What|Removed |Added

 CC||i...@alvin.be

--- Comment #11 from Alvin  ---
Add Kmail 5.3.0 to the list. 0 search results.

-- 
You are receiving this mail because:
You are the assignee for the bug.