[Kde-games-devel] setDiscoveryInfo ?

Jakub Stachowski stachowski at hypair.net
Fri Aug 19 14:48:58 CEST 2005


Dnia piątek, 19 sierpnia 2005 14:28, Kleag napisał:
> Le Vendredi 19 Août 2005 13:42, Jakub Stachowski a écrit :
> > Dnia czwartek, 18 sierpnia 2005 23:27, Kleag napisał:
> > > Hello,
> > >
> > > What is the goal of the (undocumented) KGameNetwork::setDiscoveryInfo
> > > function introduced in kde 3.4 ?
> >

OK. It is no longer undocumented :-)

> > > I tried no to use it and it works even better: a 5 to 10 seconds freeze
> > > disappear...
> >
> > Could you send me strace output with timestamps?
>
> With the code you give and the command line below, the freeze is still
> there. I attach the result.
> strace -o ksirk.strace -c -r -f -F -t -tt ksirk
>
> Is it the data you expected ?

It does not show me what is hanging but i think i found the reason.
Does output from 'strace ksirk' looks like that (during the hang): ?

fcntl64(13, F_SETFD, FD_CLOEXEC)        = 0
setsockopt(13, SOL_IPV6, IPV6_V6ONLY, [0], 4) = 0
bind(13, {sa_family=AF_INET6, sin6_port=htons(54321), inet_pton(AF_INET6, 
"::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
listen(13, 5)                           = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 14
connect(14, {sa_family=AF_FILE, path="/var/run/mdnsd"}, 110) = -1 ECONNREFUSED 
(Connection refused)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0x41e71c30, [], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
connect(14, {sa_family=AF_FILE, path="/var/run/mdnsd"}, 110) = -1 ECONNREFUSED 
(Connection refused)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0x41e71c30, [], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
connect(14, {sa_family=AF_FILE, path="/var/run/mdnsd"}, 110) = -1 ECONNREFUSED 
(Connection refused)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0x41e71c30, [], SA_RESTART|SA_NOCLDSTOP}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
connect(14, {sa_family=AF_FILE, path="/var/run/mdnsd"}, 110) = -1 ECONNREFUSED 
(Connection refused)
close(14)                               = 0



>
>
> Kleag


More information about the kde-games-devel mailing list