Results 1 to 6 of 6

Thread: Patch 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 for Glacier2, release 3.0.1

    Hi,

    Glacier2 buffered mode in Ice versions >= 2.1.2 has a bug which might cause the Glacier2 router to hang if a client misbehaves or crashes (and the connection loss with the client isn't detected in a timely manner). You're strongly recommend to apply this patch if you're running Glacier2 in an untrusted environment.

    To apply the patch:

    $ cd Ice-3.0.1
    $ patch -p0 < glacier2.patch.txt

    Cheers,
    Benoit.
    Attached Files Attached Files

  2. #2
    OrNot is offline Registered User
    Name: Bin.Li
    Organization: GE Healthcare
    Project: Enterprise solution
    Join Date
    Jun 2005
    Location
    Shanghai
    Posts
    181
    hi, there,
    Could you pls give more info about this problem which needs to be patched? Does this problem only affect glacier2 or will affect the strategy of AMD/AMI chain, which is the most important characteristic of ICE.
    The patched file seems like the very old version of glaicer2router.

    Cheers



    OrNot
    ------------------------------------------
    ornot2008@yahoo.com
    --------------------------------------------

  3. #3
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    The patch fixes a bug in the glacier2router with buffered mode. It does not affect the Ice core.

  4. #4
    OrNot is offline Registered User
    Name: Bin.Li
    Organization: GE Healthcare
    Project: Enterprise solution
    Join Date
    Jun 2005
    Location
    Shanghai
    Posts
    181
    Hi, Mattrew,
    The fixed version seems to return to the 2.1.1 (if I did not make a mistake in patching.) In that version, it was once thought as a bug without AMI . So I feel confused by this patch. Of course it was out of this scope of forum, but it will helpful to give more details about the bug. So far as I am concerned , if the stuff ,such as the AMD/AMI MatchMaker in Connection 11 , will be affected since our current project heavy depends on a broker implemented with ICE AMD/AMI.
    Thanks.


    OrNot
    ------------------------------------------
    ornot2008@yahoo.com
    --------------------------------------------

  5. #5
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    The problem is not a generic problem with the Ice core.

    The original problem was that Glacier2 didn't correctly support nested invocations (that is Client -> Glacier2 -> Server -> Glacier2 -> Client). The "fix" for this was included in Ice 3.0, and Ice 3.0.1. However, the fix broke buffered mode in the event that the connection to a client hangs for some reason. I'm pretty sure that Benoit's patch reverts to the pre Ice 3.0 behaviour -- so buffered mode will work again but nested invocations will not.

    We'll have a complete fix for this with the Ice 3.1 release.

  6. #6
    OrNot is offline Registered User
    Name: Bin.Li
    Organization: GE Healthcare
    Project: Enterprise solution
    Join Date
    Jun 2005
    Location
    Shanghai
    Posts
    181
    Thank you very much.
    ------------------------------------------
    ornot2008@yahoo.com
    --------------------------------------------

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Patch #2 for Glacier2, release 3.0.1
    By benoit in forum Patches
    Replies: 1
    Last Post: 06-02-2006, 06:33 AM
  2. Patch #3 for IceGrid, release 3.0.1
    By benoit in forum Patches
    Replies: 0
    Last Post: 03-20-2006, 12:17 PM
  3. Patch for slice2cpp, release 3.0.1
    By michi in forum Patches
    Replies: 0
    Last Post: 03-01-2006, 08:57 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
  •