Bug 363526 - git master - running latest build (May 25th) via master ppa causes the user's home directory to be deleted.
Summary: git master - running latest build (May 25th) via master ppa causes the user's...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 363518 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-05-25 21:53 UTC by Unknown
Modified: 2016-06-06 21:23 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot example (11.82 KB, image/png)
2016-05-31 17:30 UTC, Unknown
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2016-05-25 21:53:11 UTC
I seriously don't know what happened, but this is critical. I did a fresh install of Ubuntu GNOME 16.04, added the gnome3-team/gnome3 ppa and then the kdenlive/kdenlive-master ppa, updated, installed Kdenlive, and ran kdenlive from terminal. After it went through the set-up wizard, it went to the main screen (mind you, it was using the Fusion style, not Breeze like normal). It said that there was no Kdenlive folder, and if I wanted to create it. I said yes, and, literally, the entire home directory was deleted. Everything went back to stock. No kdenlive folder, no music, documents, downloads, or any non-hidden folder. Even the hidden ones that weren't stock were erased. This was verified on two fresh installations on two very different PC's

Reproducible: Always

Steps to Reproduce:
1. Install fresh copy of Ubuntu GNOME 16.04
2. From terminal, run: sudo apt-add-repository ppa:gnome3-team/gnome3 && sudo apt-add-repository ppa:kdenlive/kdenlive-master
3. run: sudo apt update
4. run: sudo apt dist-upgrade
5. Restart PC and login after restart
6. run: install kdenlive
7. execute Kdenlive (from terminal or menu)
8. Go through set-up wizard
9. When kdenlive asks if you want to create a kdenlive folder, select yes

Actual Results:  
Immediately after, the entire home directory gets reverted back to stock, like it was immediately after install. All music, pictures, documents, Dropbox files... everything is deleted.

Expected Results:  
No data gets deleted.

Bug discovered using Kdenlive 16.07.70 git master build from ppa:kdenlive/kdenlive-master. Ubuntu GNOME 16.04 x64, Gnome 3.18 desktop environment.
Comment 1 Unknown 2016-05-25 22:19:37 UTC
UPDATE: Selecting "no" after the set-up wizard also has this effect. Also, the gnome3-team/gnome3 ppa is irrelevant -- this bug happens whether its installed or not.
Comment 2 Unknown 2016-05-25 22:21:53 UTC
UPDATE #2: the only relevant terminal lines I can possibly see that are different from the norm' are these two:

Removing cache at "/home/jesse/.cache/kdenlive-thumbs.kcache"
...

  *  *  *  *TL PREVIEW NOT INITIALIZED!!!
Comment 3 Unknown 2016-05-25 22:22:50 UTC
UPDATE #3: restarting the PC after the bug and logging in will show your user account. You log in with the password, but the wallpaper is default, all of the system settings are default, the favorites are default, and still all of the personal files are gone. Definitely irrecoverable.
Comment 4 Unknown 2016-05-25 22:45:32 UTC
Update #4: news from the dev's is that this bug was present in the latest git build, and has been pulled from the master ppa list. Awaiting any update on the status, and will update bug as news becomes available.
Comment 5 Christoph Feck 2016-05-25 22:53:46 UTC
It also happens if you say "no" to create the kdenlive folder, see bug 363518.
Comment 6 irrlicht 2016-05-26 12:20:56 UTC
Run into the same issue. Fuck you Jean-Baptiste Mardelle. Just go play outside instead of writing software.
Comment 7 Steve 2016-05-26 18:24:20 UTC
JBM,

Ignore Irrlicht. It is understandable that he got mad. However, mistakes happen. You didn't intend this to happen and his elevated anger does not help the community of grateful users.

We appreciate all that you and the team of developers do.
Comment 8 Wegwerf 2016-05-26 20:06:13 UTC
Jean-Baptiste, you are still doing a tremendous job in improving Kdenlive!

Strong foul language as used by "irrlicht" (="will-o'-wisp") is simply unacceptable.
Comment 9 Wegwerf 2016-05-26 20:11:57 UTC
(In reply to irrlicht from comment #6)
Irrlicht, please take note of KDE's Code of Conduct, to be found here: https://www.kde.org/code-of-conduct/ You may want to use Google Translate in case you don't understand the language.

Be respectful

In order for the KDE community to stay healthy its members must feel comfortable and accepted. Treating one another with respect is absolutely necessary for this. In a disagreement, in the first instance assume that people mean well.

We do not tolerate personal attacks, racism, sexism or any other form of discrimination. Disagreement is inevitable, from time to time, but respect for the views of others will go a long way to winning respect for your own view. Respecting other people, their work, their contributions and assuming well-meaning motivation will make community members feel comfortable and safe and will result in motivation and productivity.

We expect members of our community to be respectful when dealing with other contributors, users and communities. Remember that KDE is an international project and that you may be unaware of important aspects of other cultures.
Comment 10 Unknown 2016-05-26 20:51:22 UTC
Well said, everyone. It's in the past, now, and precautions are being done to avoid this happening again in the future. Lets all keep moving forward in the right direction.

I'm going to make a firm encouragement that anyone using the master ppa of Kdenlive do:
(A) Use the ppa on a testing machine only, not a production machine or active workstation.
(B) Have all important files backed up on an external HDD or cloud storage (I had all of my files backed up on Dropbox at the time of the incident)
(C) Keep in mind that these occurrences are rare, but they do happen. This is definitely a wake-up call for all of us to take the word of developers seriously: that development software is not, per se, stable software.

Lets all do our part as well to support JB and the rest of the Kdenlive dev's. They work tremendously hard, and its reflected in the daily git changes as well as the product itself.

Once the master ppa is back Online with updated/fixed packages, I'll note it in this bug that the issue has been fixed/resolved.
Comment 11 Wegwerf 2016-05-27 06:00:04 UTC
Data corruption can happen at any time. At two instances in the past I had file system corruption beyond repair. Instead of using foul language in the direction of developers I simply moved on, quickly reinstalling my system and restoring important $HOME data from my little NAS. But then, I had a really active past of a developer so I have all the understanding that bad things may happen despite taking a lot of precautions. While working on projects I always have two backup sets to cope with the (albeit rare) case of either my own user stupidity where I accidentally kill some data during sync which I shouldn't, or unnoticed data corruption. In the days of USB 3.0 portable hard disks this is cheap, simple, and fast. Anyone not doing backups should really consider her own professionalism instead of foul language. But then, "nomen est omen" still holds, it seems.
Comment 12 Unknown 2016-05-31 17:30:39 UTC
Created attachment 99288 [details]
Screenshot example
Comment 13 Unknown 2016-05-31 17:33:34 UTC
This bug has now been fixed in the latest git master build. The dev's have added a warning in the status bar after running the Kdenlive master version from the kdenilve-master ppa (I added a screenshot before posting this comment).

Issue has been fixed/resolved. Thanks JB for all your hard work! As always. :)
Comment 14 Wegwerf 2016-05-31 17:34:30 UTC
Hehe, nice reminder. Now we need someone to draw up some animated KDE mascot eating my homework!
Comment 15 management 2016-06-06 21:23:16 UTC
*** Bug 363518 has been marked as a duplicate of this bug. ***