<?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>264738</bug_id>
          
          <creation_ts>2011-01-29 13:50:59 +0000</creation_ts>
          <short_desc>plasma desktop crash virtuoso-t running at 100% after nfs umount</short_desc>
          <delta_ts>2011-11-21 11:56:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>plasma4</product>
          <component>desktop</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Bruno Friedmann">bruno</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          
          
          <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>1080573</commentid>
    <comment_count>0</comment_count>
    <who name="Bruno Friedmann">bruno</who>
    <bug_when>2011-01-29 13:50:59 +0000</bug_when>
    <thetext>Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

Open new bug as asked by Dario in Bug 209263

- What I was doing when the application crashed: unfortunately there&apos;s a case
we can crash it. I didn&apos;t try to reproduce it actually ( takes times and must go away, but can be done at anytime )

This is how to reproduce it even wth 4.6.0
I&apos;ve to explain my setup : 

/ioda/data can have to state, serve as mountpoint when I&apos;m connected to my main
nfs server, otherwise it&apos;s a symlink to my local synchronised (by unison) data
pointing to /home/ioda_data

Some of my pim data, and also nepomuk indexed folders are on this place.


Reproducible: Didn&apos;t try

Steps to Reproduce:
So this time I&apos;ve start kde with the nfs mounted. and launch the syncronizing
process. No trouble.
At this end of the process, I unmount the nfs share and replace it by it&apos;s
symlink.
(the umount process goes well, so we can affirm at this time no files where
open)
I&apos;ve only konversation open at that time + konsole 

Once the symlink has been in place virtuoso-t start running at 100% cpu during
4-5minutes. In the mean times, I loose plasma control (can&apos;t change desktop by
clicking on icon in systray bar. but able to change with ctrl+F# )
60 to 80 minutes after virtuoso-t running at 100% plasma-desktop start using
100% cpu too. Then crash (this backtrace) and restart properly.

After plasma-desktop restart everything works as expected.

It&apos;s pretty easy to me to reproduce it, so if dev&apos;s give me the how to get a
good valgrind trace (which process must be analized) I can give that one.


Actual Results:  
crash bad

Expected Results:  
working good :-)

I repeat, if any dev&apos;s can drive me to backtrace it more deeply or granually, just drop me a note about what and how to do it
I&apos;m frequently on irc (tigerfoot) in #opensuse-kde for example.


drkonqui backtrace is here 
http://bugs.kde.org/attachment.cgi?id=56612

-- Backtrace (Reduced):
#8  0x00007f0e95228b3d in __gnu_cxx::__verbose_terminate_handler () at
../../../../libstdc++-v3/libsupc++/vterminate.cc:93
#9  0x00007f0e95226d56 in __cxxabiv1::__terminate (handler=&lt;value optimized
out&gt;) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:39
#10 0x00007f0e95226d83 in std::terminate () at
../../../../libstdc++-v3/libsupc++/eh_terminate.cc:49
#11 0x00007f0e95226ed6 in __cxxabiv1::__cxa_rethrow () at
../../../../libstdc++-v3/libsupc++/eh_throw.cc:116
#12 0x00007f0e9648d373 in QEventLoop::exec (this=0x7fff9c9cc780, flags=...) at
kernel/qeventloop.cpp:214</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1187908</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron J. Seigo">aseigo</who>
    <bug_when>2011-11-21 09:12:47 +0000</bug_when>
    <thetext>sorry, removing and then replacing the filesystem underneath plasma while it is running is not supported.

virtuoso is reindexing what it sees as a changed fs (which it is; perhaps it could handle it more gracefully) and plasma is likely going into a deathspiral due to having one or more of its mmap&apos;d caches removed underneath it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1188008</commentid>
    <comment_count>2</comment_count>
    <who name="Bruno Friedmann">bruno</who>
    <bug_when>2011-11-21 11:56:44 +0000</bug_when>
    <thetext>If I can understand the roots of it. 
Why did we have the option about removable media? 
Shouldn&apos;t be treated the same?

Actually I&apos;ve changed my mind about it, and have the nfs no more replacing the local copy. unison is used to sync them. And I anticipated your fix :D
forbidden virtuoso/nepomuk to go there....</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>