Results 1 to 1 of 1

Thread: Patch #1 for Ice 3.2: fix for IceGrid registry assert/crash

  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 #1 for Ice 3.2: fix for IceGrid registry assert/crash

    Hi,

    There's a bug in the IceGrid registry that will cause a crash when registering duplicate well-known objects or allocatable objects with the same object adapter. For example, the following XML adapter descriptor will trigger this bug and will eventually corrupt the database if you use a release build (a debug build will assert before):

    Code:
      <adapter name="Hello" endpoints="tcp" register-process="true">
        <object identity="hello" type="::Demo::Hello" property="Identity"/>
        <object identity="hello" type="::Demo::Hello" property="Identity"/>
      </adapter>
    The attached patch fixes this bug and also allows restarting the IceGrid registry with an invalid database (this allows you to fix the invalid descriptor by removing the duplicate well-known object in case you run into this bug).

    To apply the patch:
    Code:
       $ cd Ice-3.2.0
       $ patch -p0 < patch.icegrid.txt
    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. Replies: 0
    Last Post: 12-03-2008, 01:22 AM
  2. Replies: 0
    Last Post: 10-13-2008, 06:21 AM
  3. Replies: 0
    Last Post: 09-12-2008, 08:56 AM
  4. Replies: 0
    Last Post: 09-18-2007, 04:53 AM
  5. Replies: 0
    Last Post: 07-24-2006, 08:44 AM

Posting Permissions

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