Bug 173121 - KGet takes a long time to startup
Summary: KGet takes a long time to startup
Status: RESOLVED FIXED
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-19 01:01 UTC by Emmanuel Surleau
Modified: 2008-11-18 12:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
My kgetrc (852 bytes, text/plain)
2008-10-19 13:47 UTC, Emmanuel Surleau
Details
kget strace (55.05 KB, text/plain)
2008-10-21 20:23 UTC, Emmanuel Surleau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Surleau 2008-10-19 01:01:13 UTC
Version:           2.1.2 (using 4.1.2 (KDE 4.1.2), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.26-6.slh.1-sidux-686

The startup time of kget is very long on my desktop (more than one minute).
Comment 1 Urs Wolfer 2008-10-19 12:04:47 UTC
Do you have many downloads in the list? Have you changed something "special" in the configs? How fast do other KDE apps run on your computer?
Comment 2 Emmanuel Surleau 2008-10-19 13:46:46 UTC
KDE runs fast enough (kate launches in maybe 2 seconds, for instance). Launching kget from the command line takes about two minutes to have a grey window popping up (all grey apart from the window decorations), and two more minutes are necessary before getting a usable window. I have 2 download groups (6 items in one, 2 items in the other one). As far as I remember, the speed of kget was OK before 4.1.2. I'm uploading my kgetrc, but it's mostly the default one.
Comment 3 Emmanuel Surleau 2008-10-19 13:47:34 UTC
Created attachment 28019 [details]
My kgetrc
Comment 4 Urs Wolfer 2008-10-19 17:45:18 UTC
I cannot see anything special in your config.. It could also be a bug in your distribution packages..

Please try with clean config. I cannot reproduce.
Comment 5 Urs Wolfer 2008-10-20 22:40:17 UTC
Quoting Carsten:
You might try starting kget manually in a terminal with strace and log the 
output. E.g.

strace kget 2>&1 | tee /tmp/kget.log

That will become a huge logfile, but might provide some information what it's 
doing for so long.
Comment 6 Emmanuel Surleau 2008-10-21 20:23:37 UTC
Created attachment 28055 [details]
kget strace

Strace log for kget
Comment 7 Emmanuel Surleau 2008-10-21 20:27:11 UTC
I renamed my kgetrc to _kgetrc and started kget. It took much less time to show up the grey window, but it still took a while before it became useful. At which point it asked me if I wanted it to make the download manager for konqueror, which I agreed to, and then it promptly crashed. I've attached the strace log file.
Comment 8 Urs Wolfer 2008-10-22 19:17:03 UTC
Could it be that D-Bus does not work correctly? Are other apps able to comunicate over D-Bus? That's the only thing I can see after looking shortly into the log.
Comment 9 Emmanuel Surleau 2008-10-22 23:38:19 UTC
I tried dbus-send --type=method_call --dest=org.kde.kopete /Kopete org.kde.Kopete.disconnectAll with success, so I'd say yes.
Comment 10 Emmanuel Surleau 2008-11-18 00:46:12 UTC
Doesn't seem to be an issue with 4.1.3...
Comment 11 Lukas Appelhans 2008-11-18 12:52:02 UTC
Ok then let's close it :)

Lukas