[Akonadi] [Bug 361575] New: Background operation cause crash of akonadi_imap (Akonadi::Protocol::HelloResponse::HelloResponse)

Lukáš Karas via KDE Bugzilla bugzilla_noreply at kde.org
Sun Apr 10 08:29:42 BST 2016


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

            Bug ID: 361575
           Summary: Background operation cause crash of akonadi_imap
                    (Akonadi::Protocol::HelloResponse::HelloResponse)
           Product: Akonadi
           Version: GIT (master)
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: libakonadi
          Assignee: kdepim-bugs at kde.org
          Reporter: lukas.karas at centrum.cz

akonadi_imap_resource crashed after computer resume from suspend. 

Reproducible: Couldn't Reproduce

Steps to Reproduce:
I have no idea

Actual Results:  
Application: akonadi_imap_resource (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f188227a940 (LWP 9986))]

Thread 7 (Thread 0x7f1880164700 (LWP 10012)):
#0  0x00007f18918795ad in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f188d9c2c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f188d9c48d7 in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f1881e8f4a9 in QXcbEventReader::run (this=0x157e6e0) at
qxcbconnection.cpp:1253
#4  0x00007f18921857fe in QThreadPrivate::start (arg=0x157e6e0) at
thread/qthread_unix.cpp:331
#5  0x00007f188e5df6fa in start_thread (arg=0x7f1880164700) at
pthread_create.c:333
#6  0x00007f18918852dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f187e9c5700 (LWP 10093)):
#0  0x00007f18918750ed in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f188d2df6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f188d29be14 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f188d29c2d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f188d29c43c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f18923bca7b in QEventDispatcherGlib::processEvents
(this=0x7f18700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007f1892363d8a in QEventLoop::exec (this=this at entry=0x7f187e9c4c80,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f1892180854 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:503
#8  0x00007f18921857fe in QThreadPrivate::start (arg=0x15e1210) at
thread/qthread_unix.cpp:331
#9  0x00007f188e5df6fa in start_thread (arg=0x7f187e9c5700) at
pthread_create.c:333
#10 0x00007f18918852dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f187e1c4700 (LWP 10106)):
#0  0x00007f18918750ed in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f188d2df6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f188d29be14 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f188d29c2d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f188d29c43c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f18923bca7b in QEventDispatcherGlib::processEvents
(this=0x7f18740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007f1892363d8a in QEventLoop::exec (this=this at entry=0x7f187e1c3c80,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f1892180854 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:503
#8  0x00007f18921857fe in QThreadPrivate::start (arg=0x15fb9d0) at
thread/qthread_unix.cpp:331
#9  0x00007f188e5df6fa in start_thread (arg=0x7f187e1c4700) at
pthread_create.c:333
#10 0x00007f18918852dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f187cfb3700 (LWP 10212)):
#0  0x00007f18918750ed in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f188d2df6f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f188d29be14 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f188d29c2d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f188d29c43c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f18923bca7b in QEventDispatcherGlib::processEvents
(this=0x7f18680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007f1892363d8a in QEventLoop::exec (this=this at entry=0x7f187cfb2c80,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f1892180854 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:503
#8  0x00007f18921857fe in QThreadPrivate::start (arg=0x1684740) at
thread/qthread_unix.cpp:331
#9  0x00007f188e5df6fa in start_thread (arg=0x7f187cfb3700) at
pthread_create.c:333
#10 0x00007f18918852dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f186d598700 (LWP 10871)):
#0  0x00007f18918795ad in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f188d29c32c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f188d29c43c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f18923bca7b in QEventDispatcherGlib::processEvents
(this=0x7f18600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f1892363d8a in QEventLoop::exec (this=this at entry=0x7f186d597c80,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f1892180854 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:503
#6  0x00007f18921857fe in QThreadPrivate::start (arg=0x1693b80) at
thread/qthread_unix.cpp:331
#7  0x00007f188e5df6fa in start_thread (arg=0x7f186d598700) at
pthread_create.c:333
#8  0x00007f18918852dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f186fd96700 (LWP 13474)):
#0  0x00007f188d2993d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f188d29bc8a in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f188d29c2d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f188d29c43c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f18923bca7b in QEventDispatcherGlib::processEvents
(this=0x7f186402cf90, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f1892363d8a in QEventLoop::exec (this=this at entry=0x7f186fd95c80,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f1892180854 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:503
#7  0x00007f18921857fe in QThreadPrivate::start (arg=0x16b8640) at
thread/qthread_unix.cpp:331
#8  0x00007f188e5df6fa in start_thread (arg=0x7f186fd96700) at
pthread_create.c:333
#9  0x00007f18918852dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f188227a940 (LWP 9986)):
[KCrash Handler]
#6  0x00007f18917b3518 in __GI_raise (sig=sig at entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f18917b50ea in __GI_abort () at abort.c:89
#8  0x00007f18917abbe7 in __assert_fail_base (fmt=<optimized out>,
assertion=assertion at entry=0x7f18900646d0 "d_func()->commandType ==
Command::Invalid || d_func()->commandType == (Command::Hello |
Command::_ResponseBit)", file=file at entry=0x7f1890064360
"/media/karry/data/src/akonadi/src/private/protocol.cpp", line=line at entry=1590,
function=function at entry=0x7f1890066860
<Akonadi::Protocol::HelloResponse::HelloResponse(Akonadi::Protocol::Command
const&)::__PRETTY_FUNCTION__>
"Akonadi::Protocol::HelloResponse::HelloResponse(const
Akonadi::Protocol::Command&)") at assert.c:92
#9  0x00007f18917abc92 in __GI___assert_fail (assertion=0x7f18900646d0
"d_func()->commandType == Command::Invalid || d_func()->commandType ==
(Command::Hello | Command::_ResponseBit)", file=0x7f1890064360
"/media/karry/data/src/akonadi/src/private/protocol.cpp", line=1590,
function=0x7f1890066860
<Akonadi::Protocol::HelloResponse::HelloResponse(Akonadi::Protocol::Command
const&)::__PRETTY_FUNCTION__>
"Akonadi::Protocol::HelloResponse::HelloResponse(const
Akonadi::Protocol::Command&)") at assert.c:101
#10 0x00007f1890019783 in Akonadi::Protocol::HelloResponse::HelloResponse
(this=0x7ffcd69dd670, command=...) at
/media/karry/data/src/akonadi/src/private/protocol.cpp:1590
#11 0x00007f189458539b in Akonadi::SessionPrivate::handleCommand
(this=0x15e09a0, tag=0, cmd=...) at
/media/karry/data/src/akonadi/src/core/session.cpp:106
#12 0x00007f1894587603 in Akonadi::Session::qt_static_metacall (_o=0x15ef640,
_c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7f18700074e0) at
/media/karry/data/src/akonadi/myBuild/src/core/moc_session.cpp:116
#13 0x00007f1892395e81 in QObject::event (this=0x15ef640, e=<optimized out>) at
kernel/qobject.cpp:1239
#14 0x00007f1892c5905c in QApplicationPrivate::notify_helper
(this=this at entry=0x1564c00, receiver=receiver at entry=0x15ef640,
e=e at entry=0x7f187002bb50) at kernel/qapplication.cpp:3716
#15 0x00007f1892c5e516 in QApplication::notify (this=0x7ffcd69ddd70,
receiver=0x15ef640, e=0x7f187002bb50) at kernel/qapplication.cpp:3499
#16 0x00007f18923665cb in QCoreApplication::notifyInternal
(this=0x7ffcd69ddd70, receiver=0x15ef640, event=event at entry=0x7f187002bb50) at
kernel/qcoreapplication.cpp:965
#17 0x00007f18923689c6 in QCoreApplication::sendEvent (event=0x7f187002bb50,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0x15656f0) at
kernel/qcoreapplication.cpp:1593
#19 0x00007f1892368ea8 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1451
#20 0x00007f18923bc653 in postEventSourceDispatch (s=0x159ee20) at
kernel/qeventdispatcher_glib.cpp:271
#21 0x00007f188d29c137 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f188d29c390 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f188d29c43c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f18923bca5f in QEventDispatcherGlib::processEvents (this=0x159f6a0,
flags=...) at kernel/qeventdispatcher_glib.cpp:418
#25 0x00007f1892363d8a in QEventLoop::exec (this=this at entry=0x7ffcd69ddcb0,
flags=..., flags at entry=...) at kernel/qeventloop.cpp:204
#26 0x00007f189236be2c in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1229
#27 0x00007f189494b4ea in Akonadi::ResourceBase::init (r=0x15de350) at
/media/karry/data/src/akonadi/src/agentbase/resourcebase.cpp:605
#28 0x000000000041fc14 in Akonadi::ResourceBase::init<ImapResource> (argc=3,
argv=0x7ffcd69ddea8) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:196
#29 0x000000000041fa86 in main (argc=3, argv=0x7ffcd69ddea8) at
/media/karry/data/src/kdepim-runtime/resources/imap/main.cpp:22



I am using Kubuntu 16.04 (unreleased yet) with distro Qt 5.5.1 and Akonadi
compiled manually from git.  I compiled akonadi some days before, my HEAD is:
77fc3fff200f2647b01a91e996e080beb1d9125c

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



More information about the Kdepim-bugs mailing list