Home Help Center

what does "StandaloneAdapterIE does not implement IceUtil::AbstractMutex" mean?

xiaoxiao Member
platform: HP-IA64
compiler: aCC 5.05
run the demo of IcePack:

$pwd
/tools/source/ice/demo/IcePack/hello
$ rm -r db
$ mkdir db
$ mkdir db/node
$ mkdir db/registry
$ icepacknode
icepacknode: warning: administrative endpoints `IcePack.Registry.Admin.Endpoints' enabled
[ icepacknode: AdapterRegistry: added adapter `IcePack.Registry.Internal' ]
[ icepacknode: AdapterRegistry: added adapter `IcePack.Node.node' ]
icepacknode: error: Saving thread killed by exception: EvictorI.cpp:1513: Freeze::DatabaseException:
N7IcePack18StandaloneAdapterIE does not implement IceUtil::AbstractMutex
Abort(coredump)

it abort at about 3 minutes after it started up.

what does the "StandaloneAdapterIE does not implement IceUtil::AbstractMutex" mean?

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    It sounds like a bug with the C++ runtime of your platform/compiler.

    This exception means that the dynamic_cast<IceUtil::AbstractMutex*>(servant) failed for an instance of the IcePack::StandaloneAdapterI class. If you look at the class definition in Ice-2.0.0/src/IcePack/AdapterI.h, this class inherits from the IceUtil::AbstractMutex class... So the dynamic_cast shouldn't fail here.

    Can you try to upgrade your compiler with the patches I mentioned in a previous post (http://www.zeroc.com/vbulletin/showthread.php?s=&threadid=1132)?

    Let us know if these compiler patches help to solve this problem!

    Benoit.
Sign In or Register to comment.