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

List:       kopete-devel
Subject:    Re: [Kopete-devel] Kopete frezee when opening a window
From:       Thiago Macieira <thiago.macieira () kdemail ! net>
Date:       2003-12-11 22:56:24
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Olivier Goffart wrote:
>Sometimes, when i open a chatwindow, kopete freezee.
>Has anyone having such as troubles?
>
>I suspect it's when i download the MSN picture, but i'm not sure.
>It has never happened when i was running with valrgind.

From the backtrace, it freezes in
      int wrote = KSocks::self()->write(sockfd, buf, count);

which indicates that the kernel cannot receive any data anymore from the 
application. What is bizarre is this:

>#3  0x410eb786 in KExtendedSocket::flush() (this=0x838a890) at
>kextsock.cpp:1678
>#4  0x410ec6f9 in KExtendedSocket::socketActivityWrite() (this=0x838a890)
>    at kextsock.cpp:2054

It gets called from socketActivityWrite, which indicates that the kernel was 
ready to receive more data.

I think I know what the problem is: the socket is blocking (which is the 
default behaviour). Can you test if adding a call to setBlocking(false) gets 
rid of this problem? It's a really bizarre situation.

BTW, I've just spotted an error in that function... done. HEAD and the two 
branches fixed.
-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiagom@mail.com           
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #5 (application/pgp-signature)]

_______________________________________________
Kopete-devel mailing list
Kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel


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

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