<?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>372954</bug_id>
          
          <creation_ts>2016-11-26 13:15:53 +0000</creation_ts>
          <short_desc>Plasmashell Crash when changing several partitions with parted and formatting them</short_desc>
          <delta_ts>2016-11-30 16:21:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Disks &amp; Devices widget</component>
          <version>5.8.4</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>345871</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Thomas Weissel">xapient</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>1641908</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Weissel">xapient</who>
    <bug_when>2016-11-26 13:15:53 +0000</bug_when>
    <thetext>every time i run a script that formats my usb flashdrives with 3 partitions 
(fat32, fat32, ext4) plasmashell crashes.

reproducable : 99%



this is the script:
  

        echo &quot;# PARTITIONING DEVICE #&quot;
   

        LIFESIZEEND=$(( $WINSHARESIZE + $LIFESIZE ))

        sudo partprobe $SDX

        sudo parted -s $SDX mktable MSDOS
        
        sleep 1
        
        sudo partprobe $SDX
        
        sudo parted -s $SDX mkpart primary fat32 0% $WINSHARESIZE
        sudo parted -s $SDX mkpart primary fat32 $WINSHARESIZE $LIFESIZEEND
        sudo parted -s $SDX mkpart primary ext4 $LIFESIZEEND 100%
        
      
        echo &quot;# setting boot flag to second partition   #&quot;
    
        
        sudo parted -s $SDX set 2 boot on
        sudo parted -s $SDX print
        

        echo &quot;&quot;
        echo &quot; WAITING FOR DEVICE TO SETTLE ...... &quot;
        echo &quot;&quot;
        sleep 4

        sudo partprobe $SDX

        echo &quot;&quot;
        echo &quot;#    CREATING FILESYSTEMS        #&quot;
        echo &quot;&quot;

        sudo mkfs.vfat -F 32 -n WINSHARE ${SDX}1
        sleep 1
        sudo mkfs.vfat -F 32 -n LIFECLIENT ${SDX}2
        sleep 1
        echo &quot;mkfs.ext4&quot;
        sudo mkfs.ext4 -L casper-rw ${SDX}3 &gt; /dev/null 2&gt;&amp;1  #hide output
        sleep 1
        #sudo mkfs.ext2 -b 4096 -L home-rw ${SDX}3
        sudo partprobe


        echo &quot;#    Finished Partitioning       #&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1642715</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2016-11-30 16:21:13 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 345871 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>