Plasma 5 permenant corruption after file transfer

Bug #1453203 reported by Sherif
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
KDE Base Workspace
Invalid
High
kwin (Ubuntu)
Incomplete
Critical
Unassigned
Nominated for Vivid by Alberto Salvia Novella
plasma-workspace (Ubuntu)
Incomplete
Critical
Unassigned
Nominated for Vivid by Alberto Salvia Novella

Bug Description

While I was transfering files, I tried to do something. Then Plasma crashed and screen became black forever. After restart then logging in, everything is black, ALT+F2 shows command at the top, but I can't open any program and if I click laptop power button, it's shutdown without prompt to logout, restart or shutdown.
Deleting some folders in .config like bug #1435061 didn't work.
I created an account in recovery mode. After logging in, everything is slow and network manager was corrupted. I couldn't connect to wifi.
I reinstalled the distribution and Plasma crashed again. I had to reinstall it again.
It seems that Plasma 5 is vulnerable to corruption after crash.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: kwin 4:5.2.2a-0ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
Uname: Linux 3.19.0-16-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Fri May 8 12:12:59 2015
InstallationDate: Installed on 2015-05-08 (0 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: kwin
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sherif (ali-sherif10) wrote :
Revision history for this message
In , Sherif (ali-sherif10) wrote :

While I was transfering files, I tried to do something. Then Plasma crashed and screen became black forever. After restart then logging in, everything is black, ALT+F2 shows command at the top, but I can't open any program and if I click laptop power button, it's shutdown without prompt to logout, restart or shutdown. This always happen everytime I log in.
Deleting some folders in .config didn't work.
I created an account in recovery mode. After logging in, everything is slow and network manager was corrupted. I couldn't connect to wifi.
I reinstalled the distribution and Plasma crashed again. I had to reinstall it again.
It seems that Plasma 5 is vulnerable to corruption after crash.

Reproducible: Sometimes

Steps to Reproduce:
1. Transfer files
2. Do anything until plasma crashed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kwin (Ubuntu):
status: New → Confirmed
Revision history for this message
Sherif (ali-sherif10) wrote :
Revision history for this message
In , Sherif (ali-sherif10) wrote :

I use Kubuntu 15.04.

Revision history for this message
In , U26 (u26) wrote :

can you include the output of

ls -l .config
ls -l .cache

Revision history for this message
In , Sherif (ali-sherif10) wrote :
Download full text (3.9 KiB)

After corruption, I had to reinstall the distribution, so I don't know if the output'll be useful.

ls -l .config:
total 252
drwxrwxr-x 2 sherif sherif 4096 May 8 16:12 akonadi
drwxrwxr-x 2 sherif sherif 4096 May 8 15:43 autostart
-rw------- 1 sherif sherif 522 May 8 15:43 baloofilerc
drwx------ 8 sherif sherif 4096 May 10 15:52 google-chrome
drwxrwxr-x 2 sherif sherif 4096 May 8 15:43 gtk-3.0
-rw------- 1 sherif sherif 1509 May 10 15:21 gtkrc
-rw------- 1 sherif sherif 1544 May 10 15:21 gtkrc-2.0
-rw------- 1 sherif sherif 174 May 8 16:07 kactivitymanagerdrc
-rw------- 1 sherif sherif 83 May 8 16:03 kcmdrivermanagerrc
-rw------- 1 sherif sherif 71 May 9 23:14 kcminputrc
-rw------- 1 sherif sherif 36 May 8 18:17 kcmshell5rc
-rw------- 1 sherif sherif 272 May 8 15:43 kconf_updaterc
-rw------- 1 sherif sherif 86 May 8 23:47 kdebugrc
drwxrwxr-x 2 sherif sherif 4096 May 8 15:43 kdeconnect
-rw-rw-r-- 1 sherif sherif 2801 May 8 17:52 kdeglobals
-rw------- 1 sherif sherif 11245 May 10 15:21 kglobalshortcutsrc
-rw------- 1 sherif sherif 11178 May 9 02:01 kglobalshortcutsrc.kn1386
-rw------- 1 sherif sherif 11178 May 8 19:36 kglobalshortcutsrc.Ti1385
-rw------- 1 sherif sherif 30298 May 10 15:21 khotkeysrc
-rw------- 1 sherif sherif 524 May 8 19:36 kickoffrc
-rw------- 1 sherif sherif 202 May 8 18:11 kmenueditrc
-rw------- 1 sherif sherif 192 May 8 16:10 konsolerc
-rw------- 1 sherif sherif 286 May 10 03:50 krunnerrc
-rw------- 1 sherif sherif 94 May 8 15:45 ksmserverrc
-rw------- 1 sherif sherif 340 May 8 18:13 ksysguardrc
-rw------- 1 sherif sherif 104 May 8 23:48 ktimezonedrc
-rw------- 1 sherif sherif 307 May 10 15:21 kwinrc
-rw------- 1 sherif sherif 18 May 10 03:50 kwinrulesrc
-rw------- 1 sherif sherif 247 May 9 23:14 kxkbrc
drwx------ 3 sherif sherif 4096 May 8 17:51 menus
-rw------- 1 sherif sherif 199 May 9 14:32 muonrc
-rw-rw-r-- 1 sherif sherif 53 May 8 23:47 plasma-localerc
-rw------- 1 sherif sherif 2373 May 10 15:21 plasma-org.kde.plasma.desktop-appletsrc
-rw------- 1 sherif sherif 81 May 9 18:13 plasmashellrc
drwxrwxr-x 4 sherif sherif 4096 May 8 15:45 plasma-workspace
-rw------- 1 sherif sherif 44 May 8 15:43 powerdevilrc
-rw------- 1 sherif sherif 732 May 8 15:43 powermanagementprofilesrc
drwx------ 2 sherif sherif 4096 May 8 15:43 pulse
-rw-rw-r-- 1 sherif sherif 371 May 10 15:21 startupconfig
-rw-rw-r-- 1 sherif sherif 1627 May 10 15:21 startupconfigfiles
-rw-rw-r-- 1 sherif sherif 176 May 10 15:21 startupconfigkeys
-rw------- 1 sherif sherif 223 May 9 15:11 systemsettingsrc
-rw-rw-r-- 1 sherif sherif 21734 May 10 15:21 Trolltech.conf
-rw------- 1 sherif sherif 632 May 8 15:43 user-dirs.dirs
-rw-rw-r-- 1 sherif sherif 5 May 8 15:43 user-dirs.locale

ls -l.cache:
total 38156
-rw-r--r-- 1 sherif sherif 12288 May 9 00:09 event-sound-cache.tdb.6c0e944d4f1947e597ff79f86ec00ec8.x86_64-pc-linux-gnu
drwxr-xr-x 2 sherif sherif 4096 May 8 15:43 fontconfig
drwx------ 3 sherif sherif 4096 May 8 17:51 google-chrome
drwxrwxr-x 2 sherif sherif 4096 May 8 16:11 gstreamer-1.0
-rw-rw-r-- 1 sherif sherif 10547304 May 10 15:...

Read more...

Changed in kwin (Ubuntu):
importance: Undecided → Critical
Changed in kwin (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
In , Sherif (ali-sherif10) wrote :

I provided output, but no one changed bug status. Do you want any information?

Changed in kdebase-workspace:
importance: Unknown → High
status: Unknown → Incomplete
Revision history for this message
In , Sherif (ali-sherif10) wrote :

Plasma crashed, after I did similar thing and it was reported by me in bug 342438. I suspect it happened again. Sorry, I couldn't put the report in this bug.
Look at the crash, I reported.

*** This bug has been marked as a duplicate of bug 342438 ***

Revision history for this message
In , Sherif (ali-sherif10) wrote :
Download full text (31.1 KiB)

How did it happen?
Firstly, I ran sudo dolphin, then transfered large folders. After transfer, I closed dolphin.
Crash happen, after I opened dolphin normally, after what happened above.
Now, desktop is black except the default panel, which is completely white. After a short time, the default panel disappeared.
ALT+tab shows all programs except Chrome.
Dolphin shows images preview, but Gwenview says that it can't open image of type ...
I can open PDF with dolphin.

I hope KDE isn't corrupted. Isn't there any way to return it to normal without erasing account or reinstalling the ddistribution? All of my passwords will be lost again.

This's a copy of the report:
Application: plasmashell (5.2.2)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-18-generic x86_64
Distribution: Ubuntu 15.04
-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fae7c7807c0 (LWP 1574))]

Thread 26 (Thread 0x7fae684ea700 (LWP 1586)):
#0 0x00007fae7752d8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007fae79a9ab72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2 0x00007fae79a9c64f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3 0x00007fae6a831099 in QXcbEventReader::run (this=0x17e3340) at qxcbconnection.cpp:1105
#4 0x00007fae77baeb0e in QThreadPrivate::start (arg=0x17e3340) at thread/qthread_unix.cpp:337
#5 0x00007fae76db46aa in start_thread (arg=0x7fae684ea700) at pthread_create.c:333
#6 0x00007fae77538eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 25 (Thread 0x7fae661f1700 (LWP 1596)):
#0 0x00007fae73c7e789 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007fae73c39409 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fae73c39de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fae73c39fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fae77e45c6c in QEventDispatcherGlib::processEvents (this=0x7fae580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5 0x00007fae77dea3e2 in QEventLoop::exec (this=this@entry=0x7fae661f0de0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6 0x00007fae77ba9b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7 0x00007fae79937f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8 0x00007fae77baeb0e in QThreadPrivate::start (arg=0x18a8ce0) at thread/qthread_unix.cpp:337
#9 0x00007fae76db46aa in start_thread (arg=0x7fae661f1700) at pthread_create.c:333
#10 0x00007fae77538eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 24 (Thread 0x7fae56d8c700 (LWP 1606)):
#0 __GI___pthread_getspecific (key=3) at pthread_getspecific.c:57
#1 0x00007fae73c60e00 in g_thread_self () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fae73c38ddc in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fae73c39d75 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fae73c39fcc in g_main_context_iteration () from /lib/x86_64-linux-g...

Revision history for this message
In , Sherif (ali-sherif10) wrote :

Unfortunately, KDE became permanently corrupted. The same behavior in comment 1 happened and I had to reinstall Kubuntu 15.04.
Because the same behavior in comment 1 happened, after I had restarted in comment 6, you should pay attention to crash information.
I made it a duplicate of bug 342438, because DrKonqi said so and asked if I want to attack crash information to this bug. I don't know if it's the right thing.

Changed in kdebase-workspace:
status: Incomplete → Invalid
Revision history for this message
In , Sherif (ali-sherif10) wrote :

1. I ran: sudo dolphin.
2. I copied files from a partition to an another.
3. I opened Steam.
4. I clicked on application launcher.
5. Plasma crashed.
I had to reinstall Kubuntu 15.04 like the previous report.
Should I change the bug to critical?
Don't ignore this bug. You can loose all of your data with a crash. If you want more data, ask me.

Revision history for this message
In , Sherif (ali-sherif10) wrote :

I don't know if this is right.
I added regression, because KDE 4 was more stable.
I added release_blocker, because this bug would make using KDE 5 a hell.

Revision history for this message
In , 8p-k26-gj (8p-k26-gj) wrote :

Do not run GUI applications as root.

Revision history for this message
In , Sherif (ali-sherif10) wrote :

I changed version to 5.2.2, because plasma-workspace package version is 5.2.2 in Kubuntu 15.04.

@Kai Uwe Broulik, I ran dolphin as root, because the data were in a new partition, which I can't write into as I'm. I remember the deadly crash happened, after closing root dolphin then interacting with the default panel in the last time.
Thanks very much for replying to the bug. I hope I can provide you with all data you need.

Revision history for this message
In , Sherif (ali-sherif10) wrote :

But you may be right, because in all crash cases: I opened dolphin as root then copied files from a partition to an another.

Revision history for this message
In , Sherif (ali-sherif10) wrote :
Download full text (4.6 KiB)

Output of sudo dolphin:
Error: "/var/tmp/kdecache-sherif" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-sherif" is owned by uid 1000 instead of uid 0.
Error: "/run/user/1000/ksocket-sherif" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-sherif" is owned by uid 1000 instead of uid 0.
kdeinit4: Shutting down running client.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Error: "/run/user/1000/ksocket-sherif" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-sherif" is owned by uid 1000 instead of uid 0.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-sherif" is owned by uid 1000 instead of uid 0.
kbuildsycoca4 running...
Error: "/var/tmp/kdecache-sherif" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-sherif" is owned by uid 1000 instead of uid 0.
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /home/sherif/.config/ibus/bus
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
org.kde.kactivities.activities: Starting the KDE Activity Manager daemon QDateTime("2015-06-09 20:59:18.332 EET Qt::LocalTime")
Error: "/run/user/1000/ksocket-sherif" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-sherif" is owned by uid 1000 instead of uid 0.
dolphin(19328) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.sheet.binary.macroEnabled.12"
dolphin(19328) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.addin.macroEnabled.12"
dolphin(19328) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"
dolphin(19328) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.sheet.macroEnabled.12"
dolphin(19328) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.presentation.macroEnabled.12"
dolphin(19328) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-word.template.macroEnabled.12"
dolphin(19328) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-excel.template.macroEnabled.12"
dolphin(19328) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.template.macroEnabled.12"
dolphin(19328) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-word.document.macroEnabled.12"
dolphin(19328) KMimeTypeRepository::parents: "/usr/share/mime/subclasses" refers to unknown mimetype "application/vnd.ms-powerpoint.slide.macroEnabled.12"
dolphin(19328) KSambaSharePrivate::...

Read more...

Revision history for this message
In , Sherif (ali-sherif10) wrote :

After restarting, KDE was corrupted (As described above), even though Plasma didn't crash (At least crash menu didn't appear). It seems root dolphin corrupts some KDE files.
I think I'll have to use copy command to copy from partition.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in plasma-workspace (Ubuntu):
status: New → Confirmed
Revision history for this message
Arnold (arnoldgroot) wrote :

The same behaviour here: black screen, with working mouse pointer, ALT-F2 shows the command box at the top, but not able to enter anything. In my case it happened because in the previous session the plasmashell took 100% for a long time, so i killed it and tried to restart with "plasmashell" in konsole. But that only succeeded with "sudo plasmashell". (foolish me)
The next session gave the black screen.
It is related to that specific user, since it is possible to start a perfectly working KDE session for other users on the same machine.
Just a wild idea: Can this be fixed by adding a root user with a working KDE profile and retrying "sudo plasmashell" ?
Or is there any other way to simply reconfigure the corrupted KDE settings, since reinstalling is only the last resort.

Changed in plasma-workspace (Ubuntu):
importance: Undecided → Critical
status: Confirmed → Triaged
Revision history for this message
Scarlett Gately Moore (scarlettmoore) wrote :

This bug is very old, if it is still an issue please update the bug with information from a supported release.

Changed in kwin (Ubuntu):
status: Triaged → Incomplete
Changed in plasma-workspace (Ubuntu):
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.