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

List:       kde-core-devel
Subject:    Re: Serious DCOP problem.
From:       aleXXX <alexander.neundorf () rz ! tu-ilmenau ! de>
Date:       2000-12-21 8:37:31
[Download RAW message or body]

On Wednesday 20 December 2000 20:09, Matthias Ettrich wrote:
>Wednesday 20 December 2000 19:41 wrote Waldo Bastian:
>> I ran into a rather serious problem with DCOP.
>>
>> What seemed to have happened is the following:
>>
>> knotify did a system("aplay somefile") and got stuck on that for some
>> reason. As a result knotify didn't handle incoming DCOP request any more.
>> This caused the DCOP server to lock up on a write() call as part of a
>> ICESendMessage (probably after it's buffer filled up with other requests).
>> Result: a total lockup of the desktop.
>>
>> It's unacceptable that the DCOPserver brings down the entire desktop due
>> to one hanging application!!!!
>
>Agree. Any ideas how to solve this?

I didn't look at the implementation.

My two ideas:

make the socket non-blocking ?

select(fd,0,writeFDSet,0,&tv) before sending ?

Bye
Alex

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

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