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

List:       kde-bugs-dist
Subject:    [Bug 51355] six seconds delay when starting any KDE application
From:       Stephan Kulow <coolo () kde ! org>
Date:       2002-11-30 20:47:34
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=51355     




------- Additional Comments From coolo@kde.org  2002-11-30 21:47 -------
Subject: Re:  six seconds delay when starting any KDE application

On Samstag, 30. November 2002 21:36, Vlado Potisk wrote:
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>
> http://bugs.kde.org/show_bug.cgi?id=51355
>
>
>
>
> ------- Additional Comments From vlado_potisk@clex.sk  2002-11-30 21:36
> ------- Yes, I have $DISPLAY set to remotehost:0.0
>
> And it worked also for me without problems for a long time until
> I upgraded to KDE 3.0.3 and Mandrake 9.
>
> I put some debug messages to the function XOpenDisplay() in libX11.
> It gets called twice! First as XOpenDisplay(NULL) which is OK, because
> NULL means that the $DISPLAY value should be used. But then it is called
> again as XopenDIsplay(":0.0") and that causes those repeated attempts
> to contact non-existing local X server with sleep() between retries.
>
> That bogus second call is coming from:
> #0  XOpenDisplay () from /usr/X11R6/lib/libX11.so.6
> #1  qt_init_internal(int*, char**, _XDisplay*, unsigned long, unsigned
> long) () from /usr/lib/qt3/lib/libqt-mt.so.3
> #2  qt_init(int*, char**, QApplication::Type) ()
>    from /usr/lib/qt3/lib/libqt-mt.so.3
> #3  QApplication::QApplication(int&, char**, bool) ()
>    from /usr/lib/qt3/lib/libqt-mt.so.3
> #4  0x402cf7fb in KApplication::KApplication(bool, bool) ()
>    from /usr/lib/libkdecore.so.4
> #5  0x400461c9 in main ()
>
> I hope this helps someone.

The only way that qt_init_internal calls XOpenDisplay with something else
than 0 is the -display option. I suggest you put your debug output in Qt,
I have no other suggestion ;(

Greetings, Stephan
[prev in list] [next in list] [prev in thread] [next in thread] 

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