<?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>329805</bug_id>
          
          <creation_ts>2014-01-10 12:52:59 +0000</creation_ts>
          <short_desc>After disabling all &quot;local subscriptions&quot; and restarting kmail akonadi_imap_resource always crashes</short_desc>
          <delta_ts>2014-05-20 23:12:52 +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>4.12</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>squan</reporter>
          <assigned_to name="Christian Mollekopf">chrigi_1</assigned_to>
          <cc>irajic2</cc>
    
    <cc>mollekopf</cc>
    
    <cc>pim-bugs-null</cc>
    
    <cc>vkrause</cc>
          
          <cf_commitlink>http://commits.kde.org/kdepim-runtime/5e8808a6e2eb7171b8aafeeb0f553a8e89ae3a8f</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>1423878</commentid>
    <comment_count>0</comment_count>
    <who name="">squan</who>
    <bug_when>2014-01-10 12:52:59 +0000</bug_when>
    <thetext>Application: akonadi_imap_resource (4.12)
KDE Platform Version: 4.12.0
Qt Version: 4.8.5
Operating System: Linux 3.11.6-4-desktop x86_64
Distribution: &quot;openSUSE 13.1 (Bottle) (x86_64)&quot;

-- Information about the crash:
- What I was doing when the application crashed:
1) Disabled several &quot;local subscriptions&quot; of an IMAP account in kmail
Result:
 -  All mail folders of this mail account disappeared from the kmail tree view.
 - The &quot;server subscription&quot; list became inaccessible
2) Restarted kmail 
Result:
 - akonadi_imap_resource continuously crashes
3) akonadi_ctl restart does not resolve the problem, but reports
plasma-desktop(9415)/libakonadi Akonadi::SessionPrivate::socketError: Socket error occurred: &quot;QLocalSocket: Remote closed&quot; 
on startup (before &quot;KCrash: Application &apos;akonadi_imap_resource&apos; crashing&quot;)

As a result _all_ my IMAP accounts are inaccessible now.

The crash can be reproduced every time.

-- Backtrace:
Application: inchron vom Typ IMAP-E-Mail-Server (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f82edecf880 (LWP 15845))]

Thread 2 (Thread 0x7f82d9de5700 (LWP 15890)):
#0  0x00007f82e85e4ffa in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f82e85e52b9 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f82e85a54bd in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f82e85a570c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f82ed2e3d76 in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#5  0x00007f82ed2b5d0f in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#6  0x00007f82ed2b6005 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#7  0x00007f82ed1b4fef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f82ed1b768f in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f82e910b0db in start_thread () from /lib64/libpthread.so.0
#10 0x00007f82e987890d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f82edecf880 (LWP 15845)):
[KCrash Handler]
#6  QSharedDataPointer (o=..., this=0x7fffa3d70020) at /usr/include/QtCore/qshareddata.h:93
#7  assignEntityPrivate (one=..., other=...) at /usr/src/debug/kdepimlibs-4.12.0/akonadi/entity.cpp:49
#8  0x00007f82ed91a3f5 in Akonadi::Entity::Entity (this=0x7fffa3d70080, other=...) at /usr/src/debug/kdepimlibs-4.12.0/akonadi/entity.cpp:55
#9  0x000000000041dd64 in _start ()

Possible duplicates by query: bug 325911, bug 323883, bug 323115, bug 322413, bug 320611.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1437403</commentid>
    <comment_count>1</comment_count>
    <who name="Christian Mollekopf">mollekopf</who>
    <bug_when>2014-03-25 09:31:05 +0000</bug_when>
    <thetext>*** Bug 331678 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446477</commentid>
    <comment_count>2</comment_count>
    <who name="Christian Mollekopf">mollekopf</who>
    <bug_when>2014-05-07 15:36:14 +0000</bug_when>
    <thetext>I tried reproducing this but failed with current master (4.14). Please reopen if you can reproduce it in 4.14</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446642</commentid>
    <comment_count>3</comment_count>
    <who name="Christian Mollekopf">chrigi_1</who>
    <bug_when>2014-05-08 08:43:38 +0000</bug_when>
    <thetext>Git commit e376267dda6972ffc2eeea215901f08145e3c993 by Christian Mollekopf.
Committed on 08/05/2014 at 08:42.
Pushed by cmollekopf into branch &apos;KDE/4.13&apos;.

IMAP-Resource: Don&apos;t crash if IDLE collection is not subscribed locally.

M  +13   -12   resources/imap/imapresource.cpp

http://commits.kde.org/kdepim-runtime/e376267dda6972ffc2eeea215901f08145e3c993</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1449998</commentid>
    <comment_count>4</comment_count>
    <who name="Christian Mollekopf">chrigi_1</who>
    <bug_when>2014-05-20 23:12:52 +0000</bug_when>
    <thetext>Git commit 5e8808a6e2eb7171b8aafeeb0f553a8e89ae3a8f by Christian Mollekopf.
Committed on 08/05/2014 at 15:18.
Pushed by cmollekopf into branch &apos;kolab/integration/4.13.0&apos;.

IMAP-Resource: Don&apos;t crash if IDLE collection is not subscribed locally.

M  +12   -11   resources/imap/imapresource.cpp

http://commits.kde.org/kdepim-runtime/5e8808a6e2eb7171b8aafeeb0f553a8e89ae3a8f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>