[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [plasma] [Bug 334156] New: split plasmids off into their own threads (or even better, their own proc
From:       David S. Bolding <boldingd () gmail ! com>
Date:       2014-04-30 20:13:20
Message-ID: bug-334156-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=334156

            Bug ID: 334156
           Summary: split plasmids off into their own threads (or even
                    better, their own processes)
    Classification: Unclassified
           Product: plasma
           Version: unspecified
          Platform: Mint (Debian based)
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: containment-desktop
          Assignee: plasma-bugs@kde.org
          Reporter: boldingd@gmail.com

I filed bug 314479 last year; basically, the problem is that the comics
plasmoid accepts "comics providers" to manage individual comics; those
providers are written in javascript, and fetched from kdefiles.  I installed
the Dr. McNinja comic provider; it's got an infinite loop in it, which hangs
the comics plasmoid and ultimately brings down the whole plasma desktop
environment.

There are a lot of problems there, but I think the worst one is that a the
comics plasmoid is so poorly isolated from the rest of the system that one
misbehaving javascript provider (fetched from an uncurated collection, by the
way) can bring down the entire plasma desktop.  It would be better if the
plasmoids were isolated from the rest of the plasma desktop in such a way that,
for example, one plasmoid could hang or crash individually without bringing the
entire desktop down.

Reproducible: Always

Steps to Reproduce:
1. Install comics plasmoid
2. install Dr. McNinja comics provider
3. go to previous comic
4. attempt to go forward to current comic
5. watch the entire plasma session crash.

You could also just write a provider yourself that has a deliberate infinite
loop in it.
Actual Results:  
The entire plasma desktop crashes

Expected Results:  
comics plasmoid hangs individually; plasma detects hang, reinitialises or
removes plasmoid

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic