[Bug 388636] [NEW] [hardy] KDE applications crash on clients with CIFS mounted home directory

Dragomir Minkovski dragomir.minkovski at canonical.com
Wed Jun 17 20:08:59 UTC 2009


Public bug reported:

Binary package hint: kdebase

I can reproduce this bug 100% of the time. Many KDE applications crash
with the following output from the command line (K Interactive Geometry
(kig) is an example here and 'user' is a user logged in via his LDAP
account):

WARNING: Problem deleting stale lockfile
/home/KAS/user/.kde/share/config/kigrc.lock

Other KDE apps like kgoldrunner, ksokoban, and kbruch also produce the
same error.

This is only happening with users who have logged in via their LDAP
account on clients. If you log in using an account local to the machine,
all of these applications run just fine.

We are using Ubuntu 8.04.2 on all client machines and same with the
server.

Just to make sure, I created a brand new account (teststudent) on the
server and tried running ksokoban and kig on a client. The error just
loops until I kill it with ctrl-Z.

The files in question do exist. Here is the output of the folder:

teststudent at gnu6:~/.kde/share/config$ ls -l
total 3072
-rwxr--r-- 1 teststudent student 23 2009-04-30 12:16 kconf_updaterc.lock
-rwxr--r-- 1 teststudent student 14 2009-04-30 12:19 kigrc.lock
-rwxr--r-- 1 teststudent student 19 2009-04-30 12:18 ksokobanrc.lock"

The original bug is against LDAP, but I don't think that's related. I
reproduced the bug using the same environment, but haven't tried to
reproduce it without LDAP authentication. The result is the application
newer appears on the desktop, and is producing the errors on the
terminal:

WARNING: Problem deleting stale lockfile /home/KAS/stu/.kde/share/config/kconf_updaterc.lock
WARNING: Problem deleting stale lockfile /home/KAS/stu/.kde/share/config/kconf_updaterc.lock
...
- cut -

After deleting manually the lock file the error appear again with new
lock file:

WARNING: Problem deleting stale lockfile /home/KAS/stu/.kde/share/config/kdeglobals.lock
WARNING: Problem deleting stale lockfile /home/KAS/stu/.kde/share/config/kdeglobals.lock
...
- cut -

The upstream bug is http://bugs.kde.org/show_bug.cgi?id=156759

Comments 19 through 36 look to be the most relevant ...
http://bugs.kde.org/show_bug.cgi?id=156759#c19

Particularly comment 24 - http://bugs.kde.org/show_bug.cgi?id=156759#c24

"For all users which can not wait for an KDE update. Here is a
workaround:

Add the option "serverino" when mounting a CIFS share. I tested this which
Samba 3.x on the server side. I do not know if this works with Windows on the
server side too."

...

"Thanks for the tip. It solved the problem for me on two out of three
shares.

Just a warning though: According to the mount.cifs man page you should NOT use
this workaround if your share spans more than one disk partition on the server,
as that would give you duplicate inode numbers on the client (two files, same
mount, same inode number = trouble)."

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[hardy] KDE applications crash on clients with CIFS mounted home directory
https://bugs.launchpad.net/bugs/388636
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdebase in ubuntu.




More information about the kubuntu-bugs mailing list