Summary: | Cannot start KDE - kdeinit: Communication error with launcher. Exiting! | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | Alex Walker <alex> |
Component: | klauncher | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
output of strace
kinit_klauncher.patch output of strace, with kdelibs patched. |
Description
Alex Walker
2003-03-06 00:20:43 UTC
Subject: Re: New: Cannot start KDE - kdeinit: Communication error with launcher. Exiting! On Thursday 06 March 2003 00:20, you wrote: > Compiler: gcc-3.2.2 CFLAGS & CXXFLAGS = -march=pentium3 -O3 -pipe > -fomit-frame-pointer -fforce-addr -falign-functions=4 > -fprefetch-loop-arrays OS: Linux > > Compiled latest CVS, which worked up to about 2 weeks ago, but now I can't > start KDE. [Snip] > kdeinit: Communication error with launcher. Exiting! > Communication error with KInit. Most likely a compile(r) error. For some reason kdeinit and klauncher can't communicate with each other. Start dcopserver manually with "dcopserver" (does that complain about anything?) and then try stracing "kdeinit --no-kded --no-dcop" e.g. with "strace -o /tmp/kdeinit -tt -f -ff kdeinit --no-kded --no-dcop". Cheers, Waldo dcopserver starts up without errors. Strace give the following output: Process 5245 attached Process 5246 attached Process 5245 suspended Process 5245 resumed Process 5246 detached Process 5247 attached kdeinit: Communication error with launcher. Exiting! Process 5245 detached Process 5248 attached kded: cannot connect to X server :0 Process 5248 detached kded: ERROR: KUniqueApplication: DCOP communication error! Process 5247 detached attached is a tarball of /tmp/kdeinit* Sorry, gave the wrong command line (I had --nokded instead of --no-kded) Strace run straight from command line gives the following output: $ strace -o ~/stuff/kdebug/kdeinit -tt -f -ff kdeinit --no-kded --no-dcop Process 5268 attached Process 5269 attached Process 5268 suspended Process 5268 resumed Process 5269 detached kdeinit: Can't connect to the X Server. kdeinit: Might not terminate at end of session. kdeinit: Communication error with launcher. Exiting! Process 5268 detached Strace run from within X with just xterm loaded gives the following output: $ strace -o ~/stuff/kdebug/kdeinit2 -tt -f -ff kdeinit --no-kded --no-dcop Process 5300 attached Process 5301 attached Process 5300 suspended Process 5300 resumed Process 5301 detached kdeinit: Communication error with launcher. Exiting! Process 5300 detached attached is a tarball of ~/stuff/kdebug/kdeinit* (so kdeinit is without X loaded and kdeinit2 is with X loaded) Created attachment 1113 [details]
output of strace
Subject: Re: Cannot start KDE - kdeinit: Communication error with launcher. Exiting! Does the following patch make any difference? Cheers, Waldo Created an attachment (id=1115) kinit_klauncher.patch Unfortunately, this does not change anything... want another strace etc? Still get: kdeinit: Communication error with launcher. Exiting! Warning: connect() failed: : Connection refused Subject: Re: Cannot start KDE - kdeinit: Communication error with launcher. Exiting! Can you send me a new strace with this patch in? Created attachment 1125 [details]
output of strace, with kdelibs patched.
Outside X (kdeinit3 in tarball):
Process 31489 attached
Process 31490 attached
Process 31489 suspended
Process 31489 resumed
Process 31490 detached
kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
kdeinit: Communication error with launcher. Exiting!
Inside X (kdeinit4 in tarball):
Process 31528 attached
Process 31529 attached
Process 31528 suspended
Process 31528 resumed
Process 31529 detached
kdeinit: Communication error with launcher. Exiting!
Process 31528 detached
main() nor kdemain() in klauncher is ever reached, that suggests that this problem is caused by either a compilation or a compiler error. So do I post a bug against gcc then? Or is this going to be of no help to them? I suppose I should try another version of the compiler and see if that fixes it... Subject: Re: Cannot start KDE - kdeinit: Communication error with launcher. Exiting!
On Friday 07 March 2003 13:31, you wrote:
> ------- Additional Comments From alex@x3ja.co.uk 2003-03-07 13:31 -------
> So do I post a bug against gcc then? Or is this going to be of no help to
> them? I suppose I should try another version of the compiler and see if
> that fixes it...
I suggest you try to find out if if there is any particular relation between
compile flags and/or compiler version. Once you can pinpoint it to something
in particular and this is indeed still a problem in the most recent version
of gcc, then I would contact the gcc developers.
Cheers,
Waldo
|