<?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>285334</bug_id>
          
          <creation_ts>2011-10-30 17:13:28 +0000</creation_ts>
          <short_desc>nepomuk chrashes at start of kde</short_desc>
          <delta_ts>2011-11-01 14:03:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>nepomuk</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>283604</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="Ruediger">ruediger.kluge</reporter>
          <assigned_to name="Sebastian Trueg">sebastian</assigned_to>
          <cc>me</cc>
    
    <cc>trueg</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>1179120</commentid>
    <comment_count>0</comment_count>
    <who name="Ruediger">ruediger.kluge</who>
    <bug_when>2011-10-30 17:13:28 +0000</bug_when>
    <thetext>Application: nepomukservicestub (0.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

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

-- Backtrace:
Application: Nepomuk-Dienst (nepomukservicestub), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f0c31716b91 in Nepomuk::Repository::close (this=0x1b2e0d0) at ../../../../nepomuk/services/storage/repository.cpp:86
#7  0x00007f0c31716ccc in Nepomuk::Repository::~Repository (this=0x1b2e0d0, __in_chrg=&lt;optimized out&gt;) at ../../../../nepomuk/services/storage/repository.cpp:75
#8  0x00007f0c31716da9 in Nepomuk::Repository::~Repository (this=0x1b2e0d0, __in_chrg=&lt;optimized out&gt;) at ../../../../nepomuk/services/storage/repository.cpp:76
#9  0x00007f0c314dded7 in Soprano::Server::ServerCore::~ServerCore() () from /usr/lib/libsopranoserver.so.1
#10 0x00007f0c317159fc in Nepomuk::Core::~Core (this=0x1c2d630, __in_chrg=&lt;optimized out&gt;) at ../../../../nepomuk/services/storage/nepomukcore.cpp:45
#11 0x00007f0c31715aa9 in Nepomuk::Core::~Core (this=0x1c2d630, __in_chrg=&lt;optimized out&gt;) at ../../../../nepomuk/services/storage/nepomukcore.cpp:48
#12 0x00007f0c40b61d75 in QObjectPrivate::deleteChildren (this=0x1ca0630) at kernel/qobject.cpp:1955
#13 0x00007f0c40b67349 in QObject::~QObject (this=0x1ca3f70, __in_chrg=&lt;optimized out&gt;) at kernel/qobject.cpp:946
#14 0x00007f0c31714c83 in ~Storage (this=0x1ca3f70, __in_chrg=&lt;optimized out&gt;) at ../../../../nepomuk/services/storage/storage.cpp:54
#15 Nepomuk::Storage::~Storage (this=0x1ca3f70, __in_chrg=&lt;optimized out&gt;) at ../../../../nepomuk/services/storage/storage.cpp:56
#16 0x00007f0c40b61d75 in QObjectPrivate::deleteChildren (this=0x1c2d270) at kernel/qobject.cpp:1955
#17 0x00007f0c40b67349 in QObject::~QObject (this=0x1c2cf30, __in_chrg=&lt;optimized out&gt;) at kernel/qobject.cpp:946
#18 0x0000000000404419 in Nepomuk::ServiceControl::~ServiceControl (this=0x1c2cf30, __in_chrg=&lt;optimized out&gt;) at ../../../nepomuk/servicestub/servicecontrol.cpp:39
#19 0x00007f0c40b61d75 in QObjectPrivate::deleteChildren (this=0x1ad3ae0) at kernel/qobject.cpp:1955
#20 0x00007f0c40b67349 in QObject::~QObject (this=0x7fff8d5fc0e0, __in_chrg=&lt;optimized out&gt;) at kernel/qobject.cpp:946
#21 0x00007f0c3ee92f87 in QApplication::~QApplication (this=0x7fff8d5fc0e0, __in_chrg=&lt;optimized out&gt;) at kernel/qapplication.cpp:1093
#22 0x0000000000403a4d in main (argc=2, argv=0x7fff8d5fc588) at ../../../nepomuk/servicestub/main.cpp:102

This bug may be a duplicate of or related to bug 283604.

Possible duplicates by query: bug 285248, bug 285241, bug 285239, bug 285220, bug 285183.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1179321</commentid>
    <comment_count>1</comment_count>
      <attachid>65069</attachid>
    <who name="Raul Fernandes">rgfernandes</who>
    <bug_when>2011-10-31 11:26:14 +0000</bug_when>
    <thetext>Created attachment 65069
Patch to fix the crash

Deleting a invalid pointer.
It should have an error in open() function and doesn&apos;t create the instances for this pointer.
When calling close(), it tries to delete the pointer but it has random data as it haven&apos;t set to null. Setting to null fix the crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1179322</commentid>
    <comment_count>2</comment_count>
    <who name="Raul Fernandes">rgfernandes</who>
    <bug_when>2011-10-31 11:27:01 +0000</bug_when>
    <thetext>Try this patch and tell me the result.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1179327</commentid>
    <comment_count>3</comment_count>
    <who name="Raul Fernandes">rgfernandes</who>
    <bug_when>2011-10-31 11:38:58 +0000</bug_when>
    <thetext>It was fixed in master branch.
This bug is duplicated of https://bugs.kde.org/show_bug.cgi?id=285371 and https://bugs.kde.org/show_bug.cgi?id=283604 (fixed)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1179328</commentid>
    <comment_count>4</comment_count>
    <who name="Raul Fernandes">rgfernandes</who>
    <bug_when>2011-10-31 11:39:50 +0000</bug_when>
    <thetext>Duplicated of https://bugs.kde.org/show_bug.cgi?id=285371</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1179329</commentid>
    <comment_count>5</comment_count>
    <who name="Raul Fernandes">rgfernandes</who>
    <bug_when>2011-10-31 11:41:03 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; It was fixed in master branch.
&gt; This bug is duplicated of https://bugs.kde.org/show_bug.cgi?id=285371 and
&gt; https://bugs.kde.org/show_bug.cgi?id=283604 (fixed)

The other duplicated bug: 285371</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1179645</commentid>
    <comment_count>6</comment_count>
    <who name="Sebastian Trueg">trueg</who>
    <bug_when>2011-11-01 14:03:12 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 283604 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>65069</attachid>
            <date>2011-10-31 11:26:14 +0000</date>
            <delta_ts>2011-10-31 11:26:14 +0000</delta_ts>
            <desc>Patch to fix the crash</desc>
            <filename>kde-runtime-nepomuk_crash.patch</filename>
            <type>text/plain</type>
            <size>564</size>
            <attacher name="Raul Fernandes">rgfernandes</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL25lcG9tdWsvc2VydmljZXMvc3RvcmFnZS9yZXBvc2l0b3J5LmNwcCBiL25l
cG9tdWsvc2VydmljZXMvc3RvcmFnZS9yZXBvc2l0b3J5LmNwcAppbmRleCBiNjU2ZGI2Li45NzJh
ODEwIDEwMDY0NAotLS0gYS9uZXBvbXVrL3NlcnZpY2VzL3N0b3JhZ2UvcmVwb3NpdG9yeS5jcHAK
KysrIGIvbmVwb211ay9zZXJ2aWNlcy9zdG9yYWdlL3JlcG9zaXRvcnkuY3BwCkBAIC02Miw3ICs2
MiwxMCBAQCBOZXBvbXVrOjpSZXBvc2l0b3J5OjpSZXBvc2l0b3J5KCBjb25zdCBRU3RyaW5nJiBu
YW1lICkKICAgICAgIG1fbW9kZWwoIDAgKSwKICAgICAgIG1faW5mZXJlbmNlciggMCApLAogICAg
ICAgbV9yZW1vdmFibGVTdG9yYWdlTW9kZWwoIDAgKSwKKyAgICAgIG1fZGF0YU1hbmFnZW1lbnRN
b2RlbCggMCApLAorICAgICAgbV9kYXRhTWFuYWdlbWVudEFkYXB0b3IoIDAgKSwKICAgICAgIG1f
YmFja2VuZCggMCApLAorICAgICAgbV9ncmFwaE1haW50YWluZXIoIDAgKSwKICAgICAgIG1fbW9k
ZWxDb3B5Sm9iKCAwICksCiAgICAgICBtX29sZFN0b3JhZ2VCYWNrZW5kKCAwICkKIHsK
</data>

          </attachment>
      

    </bug>

</bugzilla>