<?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>283615</bug_id>
          
          <creation_ts>2011-10-08 18:05:39 +0000</creation_ts>
          <short_desc>&quot;Mimetype tree is not a DAG!&quot; errors + crashes when using SMI 0.91</short_desc>
          <delta_ts>2011-10-30 14:14:26 +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>libakonadi</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>1</everconfirmed>
          <reporter name="Alin M Elena">alinm.elena</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>a</cc>
    
    <cc>balcaen.john</cc>
    
    <cc>bjo</cc>
    
    <cc>bruno</cc>
    
    <cc>daniel</cc>
    
    <cc>faure</cc>
    
    <cc>jhunt</cc>
    
    <cc>nedrigaylov.arz</cc>
    
    <cc>nzlbob2332</cc>
    
    <cc>robert</cc>
    
    <cc>scarpino</cc>
    
    <cc>v.krivotulov</cc>
    
    <cc>vkrause</cc>
    
    <cc>wstephenson</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>4.7.3</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1171240</commentid>
    <comment_count>0</comment_count>
    <who name="Alin M Elena">alinm.elena</who>
    <bug_when>2011-10-08 18:05:39 +0000</bug_when>
    <thetext>Application: kontact (4.8 pre)
KDE Platform Version: 4.7.2 (4.7.2) &quot;release 1&quot;
Qt Version: 4.8.0
Operating System: Linux 3.1.0-rc7-3-desktop x86_64
Distribution: &quot;openSUSE 12.1 Beta 1 (x86_64)&quot;

-- Information about the crash:
I open an email...
right click on sender and try to add it to address book... 
voila le crash!

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7f5d4d684760 (LWP 7275))]

Thread 5 (Thread 0x7f5d34e8b700 (LWP 7293)):
#0  0x00007f5d4503ee6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5d49e5c04c in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f5d49e5c179 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f5d4503af05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5d4ab9924d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f5d3458a700 (LWP 7294)):
#0  0x00007f5d4b305978 in QEventDispatcherGlib::processEvents (this=0x831b70, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:425
#1  0x00007f5d4b2d5722 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#2  0x00007f5d4b2d5977 in QEventLoop::exec (this=0x7f5d34589e20, flags=...) at kernel/qeventloop.cpp:204
#3  0x00007f5d4b1d70b7 in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:501
#4  0x00007f5d4b1da0db in QThreadPrivate::start (arg=0x63ed70) at thread/qthread_unix.cpp:298
#5  0x00007f5d4503af05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f5d4ab9924d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f5ce32fa700 (LWP 9943)):
#0  0x00007f5d4503f1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5d4b1da54f in wait (time=30000, this=0xd2fe50) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=&lt;optimized out&gt;, mutex=0xd2fdb8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f5d4b1cd95f in QThreadPoolThread::run (this=0xd3d370) at concurrent/qthreadpool.cpp:141
#4  0x00007f5d4b1da0db in QThreadPrivate::start (arg=0xd3d370) at thread/qthread_unix.cpp:298
#5  0x00007f5d4503af05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f5d4ab9924d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5ceca07700 (LWP 9987)):
#0  0x00007f5d4503f1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5d4b1da54f in wait (time=30000, this=0x2a4f1e0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=&lt;optimized out&gt;, mutex=0x2af7b28, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f5d4b1cd95f in QThreadPoolThread::run (this=0x1bd0cc0) at concurrent/qthreadpool.cpp:141
#4  0x00007f5d4b1da0db in QThreadPrivate::start (arg=0x1bd0cc0) at thread/qthread_unix.cpp:298
#5  0x00007f5d4503af05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f5d4ab9924d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5d4d684760 (LWP 7275)):
[KCrash Handler]
#6  0x00007f5d4aaf4d25 in raise () from /lib64/libc.so.6
#7  0x00007f5d4aaf623b in abort () from /lib64/libc.so.6
#8  0x00007f5d4af0cead in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6
#9  0x00007f5d4af0b056 in ?? () from /usr/lib64/libstdc++.so.6
#10 0x00007f5d4af0b083 in std::terminate() () from /usr/lib64/libstdc++.so.6
#11 0x00007f5d4af0b1c6 in __cxa_rethrow () from /usr/lib64/libstdc++.so.6
#12 0x00007f5d4b2d5c0c in QEventLoop::exec (this=&lt;optimized out&gt;, flags=&lt;optimized out&gt;) at kernel/qeventloop.cpp:218
#13 0x00007f5d4b2da4d5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#14 0x0000000000403919 in main (argc=3, argv=0x7fffcec15458) at /usr/src/debug/kdepim-4.7.43_20111007/kontact/src/main.cpp:218

Possible duplicates by query: bug 283593, bug 283581, bug 283565, bug 283545, bug 283527.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172006</commentid>
    <comment_count>1</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-11 09:24:51 +0000</bug_when>
    <thetext>Seems to be an OpenSuse regression in their 12.1 release. The origin isn&apos;t identified yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172265</commentid>
    <comment_count>2</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-11 23:05:16 +0000</bug_when>
    <thetext>ok, the cause was found by Andrea Scarpino.

Downgrading shared-mime-info from 0.91 to 0.90 fixes the bug immediately.

Adding David.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172267</commentid>
    <comment_count>3</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-11 23:05:26 +0000</bug_when>
    <thetext>*** Bug 283436 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172269</commentid>
    <comment_count>4</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-11 23:05:47 +0000</bug_when>
    <thetext>*** Bug 283828 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172272</commentid>
    <comment_count>5</comment_count>
    <who name="Andrea Scarpino">scarpino</who>
    <bug_when>2011-10-11 23:09:10 +0000</bug_when>
    <thetext>I reported this upstream https://bugs.freedesktop.org/show_bug.cgi?id=41701</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172276</commentid>
    <comment_count>6</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-11 23:47:26 +0000</bug_when>
    <thetext>After bisecting the SMI repo, this commit is the one causing this bug:

b465cec3db4056f6871ce3d5ab97d987c3f7799f is the first bad commit
commit b465cec3db4056f6871ce3d5ab97d987c3f7799f
Author: Ville Skyttä &lt;ville.skytta@iki.fi&gt;
Date:   Sat Jun 18 22:20:00 2011 +0300

    Use text/vcard instead of deprecated text/directory for vCards.

:100644 100644 4802c8fcbda96994b5ac8747e88db5e5757ff085 92d5c6c187caeffc2a62b96ffc090c9a75fb2c6d M      freedesktop.org.xml.in
:040000 040000 1788265ab6e0a09da25eaf2dcd8646dc8469551e 5a9a63836b373be9606fd72bdd8c754760f3f791 M      tests</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172310</commentid>
    <comment_count>7</comment_count>
    <who name="Will Stephenson">wstephenson</who>
    <bug_when>2011-10-12 07:05:48 +0000</bug_when>
    <thetext>So is the aliasing of text/vcard to text/directory in KMimeType failing?

Christophe, do you know if the not a DAG results from some type that we are looking for being disconnected from text/vcard?  I couldn&apos;t find any mimetypes that directly inherit text/directory in the kde mimetype xml in /usr/share/mime.

renamed text/directory, added alias:
http://cgit.freedesktop.org/xdg/shared-mime-info/commit/?id=b465cec3db4056f6871ce3d5ab97d987c3f7799f

failing function:
http://lxr.kde.org/source/kde/kdepimlibs/akonadi/typepluginloader.cpp#289</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172313</commentid>
    <comment_count>8</comment_count>
    <who name="Grégory Oestreicher">greg</who>
    <bug_when>2011-10-12 07:17:56 +0000</bug_when>
    <thetext>*** Bug 283833 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172365</commentid>
    <comment_count>9</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-12 09:55:09 +0000</bug_when>
    <thetext>Found the workaround for 0.91:

kaddressbook(10595)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file &quot;/kde/inst/kdepim-runtime/share/apps/akonadi/plugins/serializer/akonadi_serializer_addressee.desktop&quot; for (&quot;text/vcard&quot;, &quot;text/directory&quot;) @ (&quot;legacy&quot;, &quot;default&quot;, &quot;KABC::Addressee&quot;)

removing text/directory from the types declared in this desktop file fixes the issue with SMI 0.91 but obviously breaks with 0.90


(in kdepim-runtime)

diff --git a/plugins/akonadi_serializer_addressee.desktop b/plugins/akonadi_serializer_addressee.desktop
index 1e4205a..7b8a5a4 100644
--- a/plugins/akonadi_serializer_addressee.desktop
+++ b/plugins/akonadi_serializer_addressee.desktop
@@ -89,7 +89,7 @@ Comment[zh_CN]=对收信人对象进行序列转换的 Akonadi 插件
 Comment[zh_TW]=地址物件的 Akonadi 序列器外掛程式
 
 [Plugin]
-Type=text/vcard,text/directory
+Type=text/vcard
 X-Akonadi-Class=legacy;default;KABC::Addressee;
 X-KDE-Library=akonadi_serializer_addressee
 X-KDE-ClassName=Akonadi::SerializerPluginAddressee</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172371</commentid>
    <comment_count>10</comment_count>
    <who name="Andrea Scarpino">scarpino</who>
    <bug_when>2011-10-12 10:02:39 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; removing text/directory from the types declared in this desktop file fixes the
&gt; issue with SMI 0.91 but obviously breaks with 0.90
Confirmed. Great! Can we apply this patch in our packages?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172381</commentid>
    <comment_count>11</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-12 10:24:10 +0000</bug_when>
    <thetext>Not sure. Looks like removing text/vcard gives better results with both versions.

Please test with all kinds of resources providing contacts (vcard, contacts directory, akonadi-google * 2, kolab, dav, akonadi-facebook...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172396</commentid>
    <comment_count>12</comment_count>
    <who name="Will Stephenson">wstephenson</who>
    <bug_when>2011-10-12 11:05:34 +0000</bug_when>
    <thetext>Debug output from TypePluginLoader&apos;s findBestMatchImpl () function:
(on saving a new contact in kaddressbook):


kaddressbook(10184)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from &quot;/var/tmp/kdecache-testuser/ksycoca4&quot;
kaddressbook(10184)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file &quot;/home/space/kde/installs/48/share/apps/akonadi/plugins/serializer/akonadi_serializer_kalarm.desktop&quot; for (&quot;application/x-vnd.kde.alarm&quot;, &quot;application/x-vnd.kde.alarm.active&quot;, &quot;application/x-vnd.kde.alarm.archived&quot;, &quot;application/x-vnd.kde.alarm.template&quot;) @ (&quot;default&quot;, &quot;KAEvent&quot;)
kaddressbook(10184)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file &quot;/home/space/kde/installs/48/share/apps/akonadi/plugins/serializer/akonadi_serializer_bookmark.desktop&quot; for (&quot;application/x-xbel&quot;) @ (&quot;legacy&quot;, &quot;default&quot;, &quot;KBookmark&quot;)
kaddressbook(10184)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file &quot;/home/space/kde/installs/48/share/apps/akonadi/plugins/serializer/akonadi_serializer_addressee.desktop&quot; for (&quot;text/vcard&quot;, &quot;text/directory&quot;) @ (&quot;legacy&quot;, &quot;default&quot;, &quot;KABC::Addressee&quot;)
kaddressbook(10184)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file &quot;/home/space/kde/installs/48/share/apps/akonadi/plugins/serializer/akonadi_serializer_kcalcore.desktop&quot; for (&quot;text/calendar&quot;, &quot;application/x-vnd.akonadi.note&quot;, &quot;application/x-vnd.kde.notes&quot;) @ (&quot;default&quot;, &quot;KCalCore::Incidence*&quot;)
kaddressbook(10184)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file &quot;/home/space/kde/installs/48/share/apps/akonadi/plugins/serializer/akonadi_serializer_microblog.desktop&quot; for (&quot;application/x-vnd.kde.microblog&quot;) @ (&quot;legacy&quot;, &quot;default&quot;, &quot;Microblog::StatusItem&quot;)
kaddressbook(10184)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file &quot;/home/space/kde/installs/48/share/apps/akonadi/plugins/serializer/akonadi_serializer_contactgroup.desktop&quot; for (&quot;application/x-vnd.kde.contactgroup&quot;) @ (&quot;legacy&quot;, &quot;default&quot;, &quot;KABC::ContactGroup&quot;)
kaddressbook(10184)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file &quot;/home/space/kde/installs/48/share/apps/akonadi/plugins/serializer/akonadi_serializer_kcal.desktop&quot; for (&quot;text/calendar&quot;, &quot;application/x-vnd.akonadi.note&quot;, &quot;application/x-vnd.kde.notes&quot;) @ (&quot;legacy&quot;, &quot;KCal::Incidence*&quot;)
kaddressbook(10184)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file &quot;/home/space/kde/installs/48/share/apps/akonadi/plugins/serializer/akonadi_serializer_mail.desktop&quot; for (&quot;message/rfc822&quot;, &quot;message/news&quot;, &quot;text/x-vnd.akonadi.note&quot;) @ (&quot;legacy&quot;, &quot;default&quot;, &quot;KMime::Message*&quot;)
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::PluginRegistry: ItemSerializerPluginLoader:  found 44 plugins.
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: searching for type plugin for &quot;text/directory&quot;
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: &quot;text/vcard&quot; matches: &quot;application/octet-stream&quot;
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: &quot;text/vcard&quot; matches: &quot;text/directory&quot;
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: &quot;text/vcard&quot; matches: &quot;text/vcard&quot;
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: adding &quot;text/vcard&quot; to graph
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: adding &quot;text/vcard&quot; to graph
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: adding &quot;text/vcard&quot; to graph
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: adding &quot;text/vcard&quot; to graph
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: trying topo sort
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: Mimetype tree is not a DAG! 
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: searching for type plugin for &quot;text/directory&quot;
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: &quot;text/vcard&quot; matches: &quot;application/octet-stream&quot;
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: &quot;text/vcard&quot; matches: &quot;text/directory&quot;
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: &quot;text/vcard&quot; matches: &quot;text/vcard&quot;
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: adding &quot;text/vcard&quot; to graph
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: adding &quot;text/vcard&quot; to graph
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: adding &quot;text/vcard&quot; to graph
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: adding &quot;text/vcard&quot; to graph
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: trying topo sort
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: Mimetype tree is not a DAG! 
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: searching for type plugin for &quot;text/directory&quot;
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: &quot;text/vcard&quot; matches: &quot;application/octet-stream&quot;
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: &quot;text/vcard&quot; matches: &quot;text/directory&quot;
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: &quot;text/vcard&quot; matches: &quot;text/vcard&quot;
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: adding &quot;text/vcard&quot; to graph
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: adding &quot;text/vcard&quot; to graph
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: adding &quot;text/vcard&quot; to graph
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: adding &quot;text/vcard&quot; to graph
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: trying topo sort
kaddressbook(10184)/libakonadi Akonadi::PluginRegistry::findBestMatchImpl: Mimetype tree is not a DAG! 
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of &apos;Akonadi::PayloadException&apos;
  what():  Akonadi::PayloadException: Wrong payload type (requested: sp(0)&lt;QByteArray&gt;; present: sp(0)&lt;KABC::Addressee&gt;
KCrash: Application &apos;kaddressbook&apos; crashing...
K</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172405</commentid>
    <comment_count>13</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-12 11:43:46 +0000</bug_when>
    <thetext>you need to re-run kbuildsycoca4 --noincremental after up/downgrading smi or changing the desktop file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172545</commentid>
    <comment_count>14</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-12 21:14:31 +0000</bug_when>
    <thetext>*** Bug 283876 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172635</commentid>
    <comment_count>15</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-13 07:43:46 +0000</bug_when>
    <thetext>*** Bug 283751 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172679</commentid>
    <comment_count>16</comment_count>
    <who name="Will Stephenson">wstephenson</who>
    <bug_when>2011-10-13 08:58:43 +0000</bug_when>
    <thetext>Volker, please can you have a look at this soon?  Hacking the types in the plugin&apos;s desktop file is only postponing the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1172831</commentid>
    <comment_count>17</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-13 17:35:47 +0000</bug_when>
    <thetext>*** Bug 283505 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1173778</commentid>
    <comment_count>18</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2011-10-16 09:01:16 +0000</bug_when>
    <thetext>That code is resolving aliases everywhere, except in the list of mimetypes that it initially gets from the pluginloader (i.e. from the .desktop file I assume).

Does this patch help?
 http://www.davidfaure.fr/2011/typepluginloader.cpp.diff

(can&apos;t test it myself, currently setting up my new home computer for kde development)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1173824</commentid>
    <comment_count>19</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-16 11:01:39 +0000</bug_when>
    <thetext>Yes, no crash with your patch and 0.91</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1173924</commentid>
    <comment_count>20</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2011-10-16 15:15:07 +0000</bug_when>
    <thetext>Git commit e86bd47521fffd2d28d048c7d8ab6c4e6a4d909a by David Faure.
Committed on 16/10/2011 at 17:13.
Pushed by dfaure into branch &apos;master&apos;.

Resolve alias read from the desktop file too.

Fixes a crash with shared-mime-info 0.91 where text/directory
was replaced with text/vcard (which was made an alias).
BUG: 283615
FIXED-IN: 4.7.3

M  +9    -6    akonadi/typepluginloader.cpp

http://commits.kde.org/kdepimlibs/e86bd47521fffd2d28d048c7d8ab6c4e6a4d909a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1174156</commentid>
    <comment_count>21</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2011-10-17 08:33:40 +0000</bug_when>
    <thetext>Git commit 70197a817da44ff406e52ea0dd8ba3b2416c3097 by David Faure.
Committed on 16/10/2011 at 17:13.
Pushed by dfaure into branch &apos;KDE/4.7&apos;.

Resolve alias read from the desktop file too.

Fixes a crash with shared-mime-info 0.91 where text/directory
was replaced with text/vcard (which was made an alias).
BUG: 283615
FIXED-IN: 4.7.3
(cherry picked from commit e86bd47521fffd2d28d048c7d8ab6c4e6a4d909a)

M  +9    -6    akonadi/typepluginloader.cpp

http://commits.kde.org/kdepimlibs/70197a817da44ff406e52ea0dd8ba3b2416c3097</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1174218</commentid>
    <comment_count>22</comment_count>
    <who name="Will Stephenson">wstephenson</who>
    <bug_when>2011-10-17 10:23:04 +0000</bug_when>
    <thetext>Fixed, have added the patch to openSUSE packages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1175145</commentid>
    <comment_count>23</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-19 15:15:19 +0000</bug_when>
    <thetext>*** Bug 284453 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1178593</commentid>
    <comment_count>24</comment_count>
    <who name="Will Stephenson">wstephenson</who>
    <bug_when>2011-10-29 08:23:38 +0000</bug_when>
    <thetext>Downstream report: https://bugzilla.novell.com/show_bug.cgi?id=725243</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1178761</commentid>
    <comment_count>25</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-29 14:04:01 +0000</bug_when>
    <thetext>*** Bug 284983 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1179065</commentid>
    <comment_count>26</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-10-30 14:14:26 +0000</bug_when>
    <thetext>*** Bug 285307 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>