<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>275893</bug_id>
          
          <creation_ts>2011-06-17 11:28:15 +0000</creation_ts>
          <short_desc>Akonadi continuously crashes after login after migrating from kmail v1</short_desc>
          <delta_ts>2011-07-13 14:52:06 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>Akonadi</product>
          <component>IMAP resource</component>
          <version>unspecified</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>253031</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kai Krakow">kai</reporter>
          <assigned_to name="Kevin Ottens">ervin</assigned_to>
          <cc>pim-bugs-null</cc>
    
    <cc>vkrause</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1132203</commentid>
    <comment_count>0</comment_count>
    <who name="Kai Krakow">kai</who>
    <bug_when>2011-06-17 11:28:15 +0000</bug_when>
    <thetext>Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-gentoo-r7 x86_64
Distribution (Platform): Gentoo Packages

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

I migrated from kmail1 to kmail2 - the process went fine except some notices about some bridge adapter already intialized. After rebooting and logging in again to KDE, the desktop always opens with a crash dialog about akonadi. Closing this dialog makes the next crash dialog appear a few seconds later. This repeats for about 20-30 times - very annoying.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f3262651760 (LWP 3997))]

Thread 2 (Thread 0x7f324e273700 (LWP 3999)):
#0  0x00007f325e028b43 in poll () from /lib64/libc.so.6
#1  0x00007f325cd70f81 in g_main_context_poll (context=0xdf04c0, block=&lt;value optimized out&gt;, dispatch=&lt;value optimized out&gt;, self=&lt;value optimized out&gt;) at gmain.c:3404
#2  g_main_context_iterate (context=0xdf04c0, block=&lt;value optimized out&gt;, dispatch=&lt;value optimized out&gt;, self=&lt;value optimized out&gt;) at gmain.c:3086
#3  0x00007f325cd713cc in g_main_context_iteration (context=0xdf04c0, may_block=1) at gmain.c:3154
#4  0x00007f3261ae2816 in QEventDispatcherGlib::processEvents (this=0xea4750, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f3261ab5d42 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f3261ab612d in QEventLoop::exec (this=0x7f324e272dd0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f32619c41bd in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:492
#8  0x00007f3260721753 in KIMAP::SessionThread::run (this=0xed79a0) at /var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4/kimap/sessionthread.cpp:166
#9  0x00007f32619c7165 in QThreadPrivate::start (arg=0xed79a0) at thread/qthread_unix.cpp:320
#10 0x00007f325d8dd9d1 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f325e0323fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f3262651760 (LWP 3997)):
[KCrash Handler]
#6  QSharedDataPointer (one=..., other=...) at /usr/include/qt4/QtCore/qshareddata.h:93
#7  assignEntityPrivate (one=..., other=...) at /var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4/akonadi/entity.cpp:49
#8  0x00007f32620dc134 in Akonadi::Entity::Entity (this=0x7fffeea39b60, other=...) at /var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4/akonadi/entity.cpp:56
#9  0x0000000000424b38 in ImapResource::onIdleCollectionFetchDone (this=0xe86db0, job=&lt;value optimized out&gt;) at /var/tmp/portage/kde-base/kdepim-runtime-4.6.0/work/kdepim-runtime-4.6.0/resources/imap/imapresource.cpp:503
#10 0x00000000004255a5 in ImapResource::qt_metacall (this=0xe86db0, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x7fffeea39cd0) at /var/tmp/portage/kde-base/kdepim-runtime-4.6.0/work/kdepim-runtime-4.6.0_build/resources/imap/imapresource.moc:135
#11 0x00007f3261ace82f in QMetaObject::activate (sender=0x7f32481d9b10, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0xfedce0) at kernel/qobject.cpp:3278
#12 0x00007f325e937de2 in KJob::result (this=0x7fffeea39b60, _t1=0x7f32481d9b10) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4_build/kdecore/kjob.moc:194
#13 0x00007f325e938080 in KJob::emitResult (this=0x7f32481d9b10) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/kdecore/jobs/kjob.cpp:312
#14 0x00007f326218f319 in delayedEmitResult (this=0x7f32481d9b10, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0xf01ca0) at /var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4/akonadi/job.cpp:144
#15 Akonadi::Job::qt_metacall (this=0x7f32481d9b10, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0xf01ca0) at /var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4_build/akonadi/job.moc:91
#16 0x00007f3262110635 in Akonadi::CollectionFetchJob::qt_metacall (this=0x7fffeea39b60, _c=33, _id=0, _a=0xfedce0) at /var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4_build/akonadi/collectionfetchjob.moc:73
#17 0x00007f3261ac8a6e in QObject::event (this=0x7f32481d9b10, e=0x7fffeea39b60) at kernel/qobject.cpp:1217
#18 0x00007f3260e5c22c in QApplicationPrivate::notify_helper (this=0xcafa60, receiver=0x7f32481d9b10, e=0xf8ef00) at kernel/qapplication.cpp:4462
#19 0x00007f3260e6293d in QApplication::notify (this=0x7fffeea3a7b0, receiver=0x7f32481d9b10, e=0xf8ef00) at kernel/qapplication.cpp:4341
#20 0x00007f325ef5d156 in KApplication::notify (this=0x7fffeea3a7b0, receiver=0x7f32481d9b10, event=0xf8ef00) at /var/tmp/portage/kde-base/kdelibs-4.6.4/work/kdelibs-4.6.4/kdeui/kernel/kapplication.cpp:311
#21 0x00007f3261ab6fbb in QCoreApplication::notifyInternal (this=0x7fffeea3a7b0, receiver=0x7f32481d9b10, event=0xf8ef00) at kernel/qcoreapplication.cpp:731
#22 0x00007f3261ab9f11 in sendEvent (receiver=0x0, event_type=&lt;value optimized out&gt;, data=0xc91510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=&lt;value optimized out&gt;, data=0xc91510) at kernel/qcoreapplication.cpp:1372
#24 0x00007f3261ae2c63 in sendPostedEvents (s=0xcb2290) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 postEventSourceDispatch (s=0xcb2290) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f325cd6cbc1 in g_main_dispatch (context=0xcb21b0) at gmain.c:2440
#27 g_main_context_dispatch (context=0xcb21b0) at gmain.c:3013
#28 0x00007f325cd71218 in g_main_context_iterate (context=0xcb21b0, block=&lt;value optimized out&gt;, dispatch=&lt;value optimized out&gt;, self=&lt;value optimized out&gt;) at gmain.c:3091
#29 0x00007f325cd713cc in g_main_context_iteration (context=0xcb21b0, may_block=1) at gmain.c:3154
#30 0x00007f3261ae27c3 in QEventDispatcherGlib::processEvents (this=0xc90cf0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007f3260f0cfae in QGuiEventDispatcherGlib::processEvents (this=0x7fffeea39b60, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007f3261ab5d42 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=) at kernel/qeventloop.cpp:149
#33 0x00007f3261ab612d in QEventLoop::exec (this=0x7fffeea3a720, flags=) at kernel/qeventloop.cpp:201
#34 0x00007f3261aba123 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#35 0x00007f32621ae4f3 in Akonadi::ResourceBase::init (r=0xe86db0) at /var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4/akonadi/resourcebase.cpp:390
#36 0x0000000000423238 in init&lt;ImapResource&gt; (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at /usr/include/akonadi/resourcebase.h:188
#37 main (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at /var/tmp/portage/kde-base/kdepim-runtime-4.6.0/work/kdepim-runtime-4.6.0/resources/imap/imapresource.cpp:597

Possible duplicates by query: bug 272440, bug 266108, bug 264994, bug 259924, bug 258684.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1141373</commentid>
    <comment_count>1</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-07-13 14:52:06 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 253031 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>