vinothr / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

libjingle-0.5.2 hangs after rejecting incomming call #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build libjingle with local\global multi-threaded sigslot strategy enabled
2. Make video\voice call
3. Reject the session

What is the expected output?
- Session should be properly rejected

What do you see instead?
- libjingle hangs

What version of the product are you using? On what operating system?
- libjingle-0.5.2
- Linux Ubuntu

Remark:
I debugged this issue and found that this could be reproduced only under Linux 
OS when using local multithreaded strategy in sigslot. The non-recursive mutex 
is used. In case the same signal is called from it's slot on the same thread 
deadlock occurs - mutex is already locked.
To overcome this problem I added initialization of mutex in sigslot 
local\global multithreaded strategy to be recursive.

Original issue reported on code.google.com by Alex.P.K...@gmail.com on 4 Apr 2011 at 2:48

GoogleCodeExporter commented 9 years ago

Original comment by jun...@google.com on 12 May 2011 at 10:13

GoogleCodeExporter commented 9 years ago
I'm not able to repro this using libjingle 0.5.6. The call client doesn't hang. 
Try to press "Enter" to see the option menu.

Original comment by jun...@google.com on 29 Jun 2011 at 10:06