[Akonadi] [Bug 340614] New: assertion failure in KIMAP::ImapInterval::setBegin

RJVB rjvbertin at gmail.com
Mon Nov 3 22:04:17 GMT 2014


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

            Bug ID: 340614
           Summary: assertion failure in  KIMAP::ImapInterval::setBegin
           Product: Akonadi
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: IMAP resource
          Assignee: chrigi_1 at fastmail.fm
          Reporter: rjvbertin at gmail.com
                CC: kdepim-bugs at kde.org, vkrause at kde.org

Application: akonadi_imap_resource (4.14)
KDE Platform Version: 4.14.2 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 3.16.4-ck2-kubuntu-amdf10-rjvb x86_64
Distribution: Ubuntu 14.04.1 LTS

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

I had launched kontact for the 1st time after building and installing it from
ppa:rjvbertin/kdepim, a PPA holding current-as-of-today git/4.14 builds of
kdepimlibs, kdepim and kdepim-runtime, built with clang-3.5 and full
optimisation (as far as the CMake build system allows that).

NB: only akonadi and the aforementioned packages are built from source.

-- Backtrace:
Application: RJVB at gmail of type IMAP E-Mail Server (akonadi_imap_resource),
signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
To enable execution of this file add
    add-auto-load-safe-path
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20-gdb.py
line to your configuration file "/home/bertin/.gdbinit".
To completely disable this security protection add
    set auto-load safe-path /
line to your configuration file "/home/bertin/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
    info "(gdb)Auto-loading safe path"
[Current thread is 1 (Thread 0x7f866233f7c0 (LWP 12771))]

Thread 3 (Thread 0x7f864e081700 (LWP 12825)):
#0  0x00007f865db62c6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f865cae5fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f865cae60ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f866194c72e in QEventDispatcherGlib::processEvents
(this=0x7f86480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f866191a5af in QEventLoop::processEvents
(this=this at entry=0x7f864e080e20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f866191a8ed in QEventLoop::exec (this=this at entry=0x7f864e080e20,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f86617fd413 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#7  0x00007f86617ffe03 in QThreadPrivate::start (arg=0x1315940) at
thread/qthread_unix.cpp:349
#8  0x00007f865d1ca182 in start_thread (arg=0x7f864e081700) at
pthread_create.c:312
#9  0x00007f865db6ffbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f8647645700 (LWP 12842)):
#0  0x00007fffb97e9ff0 in clock_gettime ()
#1  0x00007f865db7e46d in __GI___clock_gettime (clock_id=<optimized out>,
tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f866185ee4f in do_gettime (frac=0x7f8647644b80, sec=0x7f8647644b70)
at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007f866194e115 in updateCurrentTime (this=0x7f863c002d30) at
kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7f863c002d30, tm=...) at
kernel/qeventdispatcher_unix.cpp:460
#6  0x00007f866194c5b4 in timerSourcePrepareHelper (src=<optimized out>,
timeout=0x7f8647644c54) at kernel/qeventdispatcher_glib.cpp:143
#7  0x00007f866194c68d in timerSourcePrepare (source=<optimized out>,
timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#8  0x00007f865cae568d in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f865cae5f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f865cae60ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f866194c72e in QEventDispatcherGlib::processEvents
(this=0x7f863c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0x00007f866191a5af in QEventLoop::processEvents
(this=this at entry=0x7f8647644e20, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f866191a8ed in QEventLoop::exec (this=this at entry=0x7f8647644e20,
flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f86617fd413 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#15 0x00007f86617ffe03 in QThreadPrivate::start (arg=0x12a53a0) at
thread/qthread_unix.cpp:349
#16 0x00007f865d1ca182 in start_thread (arg=0x7f8647645700) at
pthread_create.c:312
#17 0x00007f865db6ffbd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f866233f7c0 (LWP 12771)):
[KCrash Handler]
#6  0x00007f865daabbb9 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f865daaefc8 in __GI_abort () at abort.c:89
#8  0x00007f86617f4a98 in qt_message_output (msgType=<optimized out>,
msgType at entry=QtFatalMsg, buf=0x100fee8 "ASSERT: \"value <= d->end ||
!hasDefinedEnd()\" in file ../../kimap/imapset.cpp, line 130") at
global/qglobal.cpp:2386
#9  0x00007f86617f4e57 in qt_message(QtMsgType, const char *, typedef
__va_list_tag __va_list_tag *) (msgType=msgType at entry=QtFatalMsg,
msg=0x7f8661985718 "ASSERT: \"%s\" in file %s, line %d",
ap=ap at entry=0x7fffb9761508) at global/qglobal.cpp:2432
#10 0x00007f86617f56b4 in qFatal (msg=<optimized out>) at
global/qglobal.cpp:2615
#11 0x00007f865f462ae6 in KIMAP::ImapInterval::setBegin (this=0x10b62d8,
value=68540) at ../../kimap/imapset.cpp:130
#12 0x0000000000474f02 in BatchFetcher::start (this=0x10b6270) at
../../../resources/imap/batchfetcher.cpp:81
#13 0x000000000044e143 in RetrieveItemsTask::retrieveItems (this=0x129c580,
set=..., scope=..., incremental=<optimized out>, uidBased=<optimized out>) at
../../../resources/imap/retrieveitemstask.cpp:477
#14 0x000000000044cd3c in RetrieveItemsTask::onFinalSelectDone (this=0x129c580,
job=<optimized out>) at ../../../resources/imap/retrieveitemstask.cpp:424
#15 0x00007f866193195a in QMetaObject::activate (sender=sender at entry=0x10bc970,
m=m at entry=0x7f865ea90600 <KJob::staticMetaObject>,
local_signal_index=local_signal_index at entry=3, argv=argv at entry=0x7fffb9761a20)
at kernel/qobject.cpp:3567
#16 0x00007f865e700912 in KJob::result (this=this at entry=0x10bc970,
_t1=_t1 at entry=0x10bc970) at ./kjob.moc:207
#17 0x00007f865e700950 in KJob::emitResult (this=0x10bc970) at
../../kdecore/jobs/kjob.cpp:318
#18 0x00007f865f46881b in KIMAP::Job::handleErrorReplies (this=0x10bc970,
response=...) at ../../kimap/job.cpp:90
#19 0x00007f865f480969 in KIMAP::SelectJob::handleResponse (this=0x10bc970,
response=...) at ../../kimap/selectjob.cpp:174
#20 0x00007f865f4837e6 in KIMAP::SessionPrivate::responseReceived
(this=0x1246300, response=...) at ../../kimap/session.cpp:300
#21 0x00007f865f48520d in KIMAP::SessionPrivate::qt_static_metacall
(_o=0x1246300, _c=<optimized out>, _id=<optimized out>, _a=0x7f863c02bee0) at
./moc_session_p.cpp:77
#22 0x00007f866193635e in QObject::event (this=0x1246300, e=<optimized out>) at
kernel/qobject.cpp:1222
#23 0x00007f8660bd20ac in QApplicationPrivate::notify_helper
(this=this at entry=0xf395a0, receiver=receiver at entry=0x1246300,
e=e at entry=0x7f863c02d600) at kernel/qapplication.cpp:4570
#24 0x00007f8660bd90c5 in QApplication::notify (this=this at entry=0x7fffb9762640,
receiver=receiver at entry=0x1246300, e=e at entry=0x7f863c02d600) at
kernel/qapplication.cpp:4356
#25 0x00007f865ecc0cca in KApplication::notify (this=0x7fffb9762640,
receiver=0x1246300, event=0x7f863c02d600) at
../../kdeui/kernel/kapplication.cpp:311
#26 0x00007f866191bc04 in QCoreApplication::notifyInternal
(this=0x7fffb9762640, receiver=receiver at entry=0x1246300,
event=event at entry=0x7f863c02d600) at kernel/qcoreapplication.cpp:953
#27 0x00007f866191f957 in sendEvent (event=0x7f863c02d600, receiver=0x1246300)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0,
receiver at entry=0x7f866194d060 <postEventSourceDispatch(GSource*, GSourceFunc,
gpointer)>, event_type=event_type at entry=0, data=0xef5220) at
kernel/qcoreapplication.cpp:1577
#29 0x00007f866191fd07 in QCoreApplication::sendPostedEvents
(receiver=0x7f866194d060 <postEventSourceDispatch(GSource*, GSourceFunc,
gpointer)>, receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1470
#30 0x00007f866194d073 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=0xf25290) at
kernel/qeventdispatcher_glib.cpp:287
#32 0x00007f865cae5e04 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f865cae6048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f865cae60ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f866194c70f in QEventDispatcherGlib::processEvents (this=0xf27230,
flags=...) at kernel/qeventdispatcher_glib.cpp:434
#36 0x00007f8660c80d86 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f866191a5af in QEventLoop::processEvents
(this=this at entry=0x7fffb97625d0, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f866191a8ed in QEventLoop::exec (this=this at entry=0x7fffb97625d0,
flags=...) at kernel/qeventloop.cpp:204
#39 0x00007f86619209a9 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#40 0x00007f8661e0aa93 in Akonadi::ResourceBase::init (r=0x1255480) at
../../akonadi/resourcebase.cpp:583
#41 0x0000000000418e87 in Akonadi::ResourceBase::init<ImapResource>
(argc=<optimized out>, argv=<optimized out>) at
/usr/include/akonadi/resourcebase.h:193
#42 0x00007f865da96ec5 in __libc_start_main (main=0x418e00 <main(int, char**)>,
argc=3, argv=0x7fffb9762758, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffb9762748) at libc-start.c:287
#43 0x0000000000418d3c in _start ()

Reported using DrKonqi

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



More information about the Kdepim-bugs mailing list