[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDE does not start on FreeBSD
From:       Lauri Watts <lauri () kde ! org>
Date:       2002-01-09 8:05:21
[Download RAW message or body]

On Wednesday 09 January 2002 01.15, Waldo Bastian wrote:

> Interesting.. I think I found a bug. But the fact that it gets triggered
> means that there is something else wrong as well.
>
> This time a patch for dcopclient.cpp (it should go on top of the other
> patch).. can you send me the output of "testdcop" as well?

It is testdcop I've been sending you, the machine is remote (ok, it's in my 
basement, and I got tired of running up and down stairs to try restart KDE.)  
The errors are the same though, as when I'm sitting in front of it.

This time I captured a (failed) kde startup on the machine itself, attached 
as x_output, and the results from testdcop, attached as testdcop_dcopclient

Perhaps irrelevant, but I get some warnings in the compiling:

/cvs/kdelibs/dcop/KDE-ICE/process.c: In function `ProcessConnectionSetup':
/cvs/kdelibs/dcop/KDE-ICE/process.c:945: warning: assignment discards 
qualifiers from pointer target type
/cvs/kdelibs/dcop/KDE-ICE/process.c: In function `ProcessProtocolSetup':
/cvs/kdelibs/dcop/KDE-ICE/process.c:1977: warning: passing arg 4 of 
`_KDE_IceGetPaValidAuthIndices' from incompatible pointer type

and 

/cvs/kdelibs/dcop/KDE-ICE/Xtrans.c: In function `_KDE_IceTransParseAddress':
/cvs/kdelibs/dcop/KDE-ICE/Xtrans.c:230: warning: assignment makes pointer 
from integer without a cast
/cvs/kdelibs/dcop/KDE-ICE/Xtrans.c:281: warning: assignment makes pointer 
from integer without a cast

["x_output" (text/plain)]

Script started on Wed Jan  9 08:57:17 2002

XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
	If the server is older than 6-12 months, or if your card is
	newer than the above date, look for a newer version before
	reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: FreeBSD 4.4 i386 [ELF] 

<snipped for brevity>

kdeinit: Launched DCOPServer, pid = 71046 result = 0
DCOPServer::watchConnection iceConn = 0x8068f80 fd = 6
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-71046' -> number of clients is now 1
DCOPServer up and running.
DCOPServer::removeConnection iceConn = 0x8068f80 fd = 6
DCOP: unregister 'anonymous-71046'
kdeinit: Launched KLauncher, pid = 71051 result = 0
DCOPServer::watchConnection iceConn = 0x8068f80 fd = 6
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'klauncher' -> number of clients is now 1
DCOPServer::watchConnection iceConn = 0x8075200 fd = 9
DCOPServer::removeConnection iceConn = 0x8068f80 fd = 6
DCOP: unregister 'klauncher'
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'klauncher' -> number of clients is now 1
DCOPServer::watchConnection iceConn = 0x8068f80 fd = 6
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true


DCOP: new daemon klauncher
DCOP: register 'anonymous-71051' -> number of clients is now 1
klauncher: Sending DCOPReplyFailed (not accepting calls) opcode = 2 sending to 'anonymous-71051'
ERROR: KUniqueApplication: DCOP communication error!
kdeinit: Launched KDED, pid = 71053 result = 0
DCOPServer::removeConnection iceConn = 0x8068f80 fd = 6
DCOP: unregister 'anonymous-71051'
DCOPServer::watchConnection iceConn = 0x8068f80 fd = 6
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'kded' -> number of clients is now 1
DCOPServer::removeConnection iceConn = 0x8068f80 fd = 6
DCOP: unregister 'kded'
DCOPServer::watchConnection iceConn = 0x8068f80 fd = 6
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'kded' -> number of clients is now 1
DCOPServer::watchConnection iceConn = 0x8075480 fd = 10
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-71053' -> number of clients is now 2
DCOPServer::watchConnection iceConn = 0x8075700 fd = 11
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-71054' -> number of clients is now 3
klauncher: Sending DCOPReplyFailed (not accepting calls) opcode = 2 sending to 'anonymous-71054'
DCOPServer::removeConnection iceConn = 0x8075700 fd = 11
DCOP: unregister 'anonymous-71054'
DCOPServer::watchConnection iceConn = 0x8075700 fd = 11
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-71043' -> number of clients is now 3
DCOP:  'anonymous-71043' now known as 'ksplash'
klauncher: Sending DCOPReplyFailed (not accepting calls) opcode = 2 sending to 'kded'
kded: Sending DCOPReplyFailed (not accepting calls) opcode = 2 sending to 'anonymous-71053'
ERROR: KUniqueApplication: DCOP communication error!
kdeinit: PID 71053 terminated.
DCOPServer::removeConnection iceConn = 0x8075480 fd = 10
DCOP: unregister 'anonymous-71053'
DCOP: new daemon kded
kio (KSycoca): findFactory: we have no database.... launching kdeinit
kdeinit: opened connection to :0.0
kdeinit: Launched 'kcminit', pid = 71057 result = 0
DCOPServer::watchConnection iceConn = 0x8075480 fd = 10
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'kcminit-71057' -> number of clients is now 2
kio (KSycoca): findFactory: we have no database.... launching kdeinit
kdeinit: Shutting down running client.
kdeinit: Killing kdeinit/klauncher.
kio (KLauncher): ERROR: KLauncher: KDEInit communication error! Commiting suicide!
DCOPServer::removeConnection iceConn = 0x8075200 fd = 9Mutex destroy failure: Device busy

DCOP: unregister 'klauncher'
kdeinit: Launched DCOPServer, pid = 71064 result = 0
---------------------------------
It looks like dcopserver is already running. If you are sure
that it is not already running, remove /home/lauri/.DCOPserver_whiterabbit.internal.hasta.se__0
and start dcopserver again.
---------------------------------

kdeinit: Launched KLauncher, pid = 71065 result = 0
DCOPServer::watchConnection iceConn = 0x8075200 fd = 9
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'klauncher' -> number of clients is now 3
DCOPServer::removeConnection iceConn = 0x8075200 fd = 9
DCOP: unregister 'klauncher'
DCOPServer::watchConnection iceConn = 0x8075200 fd = 9
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'klauncher' -> number of clients is now 3
DCOPServer::watchConnection iceConn = 0x8075980 fd = 12
DCOP: new daemon klauncher
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-71065' -> number of clients is now 3
klauncher: Sending DCOPReplyFailed (not accepting calls) opcode = 2 sending to 'anonymous-71065'
ERROR: KUniqueApplication: DCOP communication error!
DCOPServer::removeConnection iceConn = 0x8075980 fd = 12
DCOP: unregister 'anonymous-71065'
kdeinit: Launched KDED, pid = 71067 result = 0
DCOPServer::watchConnection iceConn = 0x8075980 fd = 12
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'kded' -> number of clients is now 3
DCOPServer::removeConnection iceConn = 0x8075980 fd = 12
DCOP: unregister 'kded-2'
DCOPServer::watchConnection iceConn = 0x8075980 fd = 12
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'kded' -> number of clients is now 3
DCOPServer::removeConnection iceConn = 0x8075980 fd = 12
DCOP: unregister 'kded-2'
DCOPServer::watchConnection iceConn = 0x8075980 fd = 12
KDE Daemon (kded) already running.
kdeinit: Got KWRAPPER 'ksmserver' from socket.
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-71067' -> number of clients is now 3
X Error of failed request:  BadAtom (invalid Atom parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Atom id in failed request:  0x0
  Serial number of failed request:  8
  Current serial number in output stream:  8
Communication error with KInit.
kdeinit: PID 71069 terminated.
kdeinit: terminate KDE.
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
KLauncher: Exiting on signal 1
DCOPServer::removeConnection iceConn = 0x8075980 fd = 12
DCOP aborting while waiting for answer from 'kded'
DCOP: unregister 'anonymous-71067'


waiting for X server to shut down ICE default IO error handler doing an exit(), pid = 71057, errno = 32
kdeinit: Launched DCOPServer, pid = 71077 result = 0
DCOPServer::watchConnection iceConn = 0x8068f80 fd = 6
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-71077' -> number of clients is now 1
DCOPServer up and running.
DCOPServer::removeConnection iceConn = 0x8068f80 fd = 6
DCOP: unregister 'anonymous-71077'
kdeinit: Launched KLauncher, pid = 71082 result = 0
DCOPServer::watchConnection iceConn = 0x8068f80 fd = 6
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'klauncher' -> number of clients is now 1
DCOPServer::removeConnection iceConn = 0x8068f80 fd = 6
DCOP: unregister 'klauncher'
DCOPServer::watchConnection iceConn = 0x8068f80 fd = 6
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'klauncher' -> number of clients is now 1
DCOPServer::watchConnection iceConn = 0x8075200 fd = 13
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = trueDCOP: new daemon klauncher

DCOP: register 'anonymous-71082' -> number of clients is now 1
klauncher: Sending DCOPReplyFailed (not accepting calls) opcode = 2 sending to 'anonymous-71082'
ERROR: KUniqueApplication: DCOP communication error!
DCOPServer::removeConnection iceConn = 0x8075200 fd = 13
DCOP: unregister 'anonymous-71082'
kdeinit: Launched KDED, pid = 71084 result = 0
DCOPServer::watchConnection iceConn = 0x8075200 fd = 13
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'kded' -> number of clients is now 1
DCOPServer::removeConnection iceConn = 0x8075200 fd = 13
DCOP: unregister 'kded'
DCOPServer::watchConnection iceConn = 0x8075200 fd = 13
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'kded' -> number of clients is now 1
DCOPServer::watchConnection iceConn = 0x8075480 fd = 14
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-71084' -> number of clients is now 2
DCOPServer::watchConnection iceConn = 0x8075700 fd = 15
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-71085' -> number of clients is now 3
klauncher: Sending DCOPReplyFailed (not accepting calls) opcode = 2 sending to 'anonymous-71085'
DCOPServer::removeConnection iceConn = 0x8075700 fd = 15
DCOP: unregister 'anonymous-71085'




Script done on Wed Jan  9 08:57:31 2002

["testdcop_dcopclient" (text/plain)]

Script started on Wed Jan  9 08:55:30 2002
DCOPClient::attachInternal. Attach failed Could not open network socket
kdeinit: Launched DCOPServer, pid = 70968 result = 0
DCOPServer::watchConnection iceConn = 0x8068f00 fd = 10
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-70968' -> number of clients is now 1
DCOPServer up and running.
DCOPServer::removeConnection iceConn = 0x8068f00 fd = 10
DCOP: unregister 'anonymous-70968'
kdeinit: Launched KLauncher, pid = 70973 result = 0
DCOPServer::watchConnection iceConn = 0x8068f00 fd = 10
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'klauncher' -> number of clients is now 1
DCOPServer::removeConnection iceConn = 0x8068f00 fd = 10
DCOP: unregister 'klauncher'
DCOPServer::watchConnection iceConn = 0x8068f00 fd = 10
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'klauncher' -> number of clients is now 1
DCOPServer::watchConnection iceConn = 0x8076180 fd = 13
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-70973' -> number of clients is now 2
klauncher: Sending DCOPReplyFailed (not accepting calls) opcode = 2 sending to \
                'anonymous-70973'
ERROR: KUniqueApplication: DCOP communication error!
DCOPServer::removeConnection iceConn = 0x8076180 fd = 13
DCOP: unregister 'anonymous-70973'
DCOP: new daemon klauncher
kdeinit: Launched KDED, pid = 70975 result = 0
DCOPServer::watchConnection iceConn = 0x8076180 fd = 13
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'kded' -> number of clients is now 1
DCOPServer::removeConnection iceConn = 0x8076180 fd = 13
DCOP: unregister 'kded'
DCOPServer::watchConnection iceConn = 0x8076180 fd = 13
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'kded' -> number of clients is now 1
DCOPServer::watchConnection iceConn = 0x8076400 fd = 14
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-70975' -> number of clients is now 2
DCOPServer::watchConnection iceConn = 0x8076680 fd = 15
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-70976' -> number of clients is now 3
klauncher: Sending DCOPReplyFailed (not accepting calls) opcode = 2 sending to \
'anonymous-70976' DCOPServer::removeConnection iceConn = 0x8076680 fd = 15
DCOP: unregister 'anonymous-70976'
klauncher: Sending DCOPReplyFailed (not accepting calls) opcode = 2 sending to 'kded'
kded: Sending DCOPReplyFailed (not accepting calls) opcode = 2 sending to \
                'anonymous-70975'
ERROR: KUniqueApplication: DCOP communication error!
DCOPServer::removeConnection iceConn = 0x8076400 fd = 14
DCOP: unregister 'anonymous-70975'
kdeinit: PID 70975 terminated.
DCOP: new daemon kded
kio (KSycoca): findFactory: we have no database.... launching kdeinit
kdeinit: opened connection to whiterabbit.internal.hasta.se:11.0
DCOPServer::watchConnection iceConn = 0x8076400 fd = 14
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'testdcop-70932' -> number of clients is now 1
DCOP:  'testdcop-70932' now known as 'testdcop'
I registered as 'testdcop'
indeed, we are registered!
connectDCOPSignal returns true
in MyDCOPObject::process, fun = aFunction(QString,int)
function got arg: fourty-two and 42
return type was 'void'
in MyDCOPObject::process, fun = aFunction(QString,int)
function got arg: fourty-two and 42
number of attached applications = 3
findObject: result = false, (null), (null)

kdeinit: Shutting down running client.
kdeinit: Killing kdeinit/klauncher.
kio (KLauncher): ERROR: KLauncher: KDEInit communication error! Commiting suicide!
DCOPServer::removeConnection iceConn = 0x8068f00 fd = 10
DCOP: unregister 'klauncher'
Mutex destroy failure: Device busy
kdeinit: Launched DCOPServer, pid = 70981 result = 0
---------------------------------
It looks like dcopserver is already running. If you are sure
that it is not already running, remove \
/home/lauri/.DCOPserver_whiterabbit.internal.hasta.se_whiterabbit.internal.hasta.se_11
 and start dcopserver again.
---------------------------------

kdeinit: Launched KLauncher, pid = 70982 result = 0
DCOPServer::watchConnection iceConn = 0x8068f00 fd = 10
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'klauncher' -> number of clients is now 2
DCOPServer::removeConnection iceConn = 0x8068f00 fd = 10
DCOP: unregister 'klauncher'
DCOPServer::watchConnection iceConn = 0x8068f00 fd = 10
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'klauncher' -> number of clients is now 2
DCOPServer::watchConnection iceConn = 0x8076680 fd = 15
DCOP: new daemon klauncher
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-70982' -> number of clients is now 2
klauncher: Sending DCOPReplyFailed (not accepting calls) opcode = 2 sending to \
                'anonymous-70982'
ERROR: KUniqueApplication: DCOP communication error!
DCOPServer::removeConnection iceConn = 0x8076680 fd = 15
DCOP: unregister 'anonymous-70982'
kdeinit: Launched KDED, pid = 70984 result = 0
DCOPServer::watchConnection iceConn = 0x8076680 fd = 15
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'kded' -> number of clients is now 2
DCOPServer::removeConnection iceConn = 0x8076680 fd = 15
DCOP: unregister 'kded-2'
DCOPServer::watchConnection iceConn = 0x8076680 fd = 15
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'kded' -> number of clients is now 2
DCOPServer::removeConnection iceConn = 0x8076680 fd = 15
DCOP: unregister 'kded-2'
DCOPServer::watchConnection iceConn = 0x8076680 fd = 15
KDE Daemon (kded) already running.
DCOPClient: We do NOT have SO_PEERCRED
DCOPClient: Foreign server = true
DCOP: register 'anonymous-70984' -> number of clients is now 2



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic