Bug 626955 - Socket searched for under different paths
Summary: Socket searched for under different paths
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kdirstat
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Chitlesh GOORAH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-24 18:19 UTC by Göran Uddeborg
Modified: 2010-10-23 07:04 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-10-23 07:04:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Göran Uddeborg 2010-08-24 18:19:04 UTC
Description of problem:
I have a problem when using kdirstat.  I don't run the KDE desktop, and I suspect the problem could be on a lower level in the KDE stack.  But I don't know where to point.  So I thought I start where I see the problem, and maybe someone can help me get a more direct test case.

Out of the box, kdirstat doesn't find any files.  I've used strace, and figured out it tries to use a socket under two different file names:

    /tmp/ksocket-göran/klauncherFSfDRg.slave-socket
    /tmp/ksocket-göran/klauncherFSfDRg.slave-socket

Those having fought with character encodings might recognize "ö" as what you get if you convert the letter "ö" from latin-1 to utf-8.  But what kdirstat tries to look up is the above paths with a UTF-8 encoding.  I.e. "ö" are the bytes 0303 0266 while "ö" are the bytes 0303 0203 0302 0266.

The path that actually exists is /tmp/ksocket-göran/klauncherFSfDRg.slave-socket.  But it kdirstat also tries to bind() and connect() to the longer path.

If I do a symbolic link frpm ksocket-göran to ksocket-göran in /tmp, kdirstat starts to work normally.  So this does indeed seem to be the problem.

Maybe having a non-ASCII letter in my login name is to stretch the formal standards a bit.  But this looks like a bug in any case.

Could this be a kdirstat problem, or is it as I suspect something lower in the stack?  In the latter case, would anyone know what a more direct test case would be?


Version-Release number of selected component (if applicable):
kdirstat-2.5.3-10.fc12.x86_64

How reproducible:
Every time

Comment 1 Chitlesh GOORAH 2010-10-23 07:04:53 UTC
kdistart will be obsoleted by k4dirstat.


Note You need to log in before you can comment on or make changes to this bug.