Results 1 to 2 of 2

Thread: Patch #2 for Glacier2, release 3.0.1

  1. #1
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196

    Patch #2 for Glacier2, release 3.0.1

    Hi,

    Glacier2 has a bug which might cause the destruction of a session to hang. The hang shouldn't affect existing or new sessions but it will cause resources allocated for the session to leak. The hang will also prevent Glacier2 to shutdown properly.

    You'll find below a patch that fixes this problem. This patch also includes the previous patch for Glacier2 buffered mode. If your source tree already includes this previous patch, you should either unpack a fresh source distribution or reverse the patch (with patch -R) before to apply this patch.

    Note that this patch is not binary compatible and your Glacier2 clients will need to be changed to catch Ice::LocalException when calling the Glacier2::Router::destroySession() method, for example:
    Code:
       try
       { 
           router->destroySession()
       }
       catch(const Ice::LocalException&)
       {
            // Expected: Glacier2 closed the connection
       }
    Glacier2 now always closes the connection when destroySession is invoked, so getting an exception is expected.

    This patch will be included in Ice 3.1.0. As usual, to apply the patch:
    Code:
      $ cd Ice-3.0.1
      $ patch -p0 < glacier2.patch2.txt
    Cheers,
    Benoit.
    Attached Files Attached Files

  2. #2
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    Here's a patch that includes the patch above and also includes fixes for the Glacier2 tests and demos.

    Cheers,
    Benoit.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Patch #3 for IceGrid, release 3.0.1
    By benoit in forum Patches
    Replies: 0
    Last Post: 03-20-2006, 12:17 PM
  2. Patch for slice2cpp, release 3.0.1
    By michi in forum Patches
    Replies: 0
    Last Post: 03-01-2006, 08:57 PM
  3. Patch for Glacier2, release 3.0.1
    By benoit in forum Patches
    Replies: 5
    Last Post: 02-28-2006, 11:09 PM
  4. Patch #2 for slice2cs, release 1.5.1
    By michi in forum Patches
    Replies: 0
    Last Post: 10-26-2004, 11:11 PM
  5. Patch for slice2cs, release 1.5.0
    By michi in forum Patches
    Replies: 0
    Last Post: 07-27-2004, 10:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •