Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-18-2005
garry garry is offline
Registered User
 
 
Join Date: Aug 2004
Posts: 10
locking in Connection

Both Connection::isFinished() and Connection::validate() use the same lock. When for some reason network I/O ::write() operation called inside validate() is stuck that connection is locked, but this hangs whole thread pool, because it calls isFinished() for each connection in it. Setting timeout for endoint helps a little. If it's 1 second, for that second Ice program is frozen when write() timeout happens.

The same problem we found in VisiBroker Java ORB two years ago.
Reply With Quote
  #2 (permalink)  
Old 02-18-2005
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
Thanks for the bug report, we will investigate.
Reply With Quote
  #3 (permalink)  
Old 02-19-2005
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
This problem will be fixed in the upcoming Ice 2.1.0. validate() now doesn't block the connection mutex anymore while sending or receiving data.

Thanks for finding this bug and providing an analysis of the problem, too!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connection problem. laotee Help Center 12 09-05-2005 04:52 AM
Question about the Connection#5 OrNot Help Center 1 08-07-2005 11:16 PM
Question about the Connection#4. OrNot Help Center 3 07-22-2005 11:56 AM
Fix for locking bug in Ice 1.3.0 bernard Patches 0 05-20-2004 05:53 PM
How to get connection info? amrufon Help Center 15 08-26-2003 09:23 AM


All times are GMT -4. The time now is 03:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.