Results 1 to 2 of 2

Thread: icegridregistry crash

  1. #1
    sinofool is offline Registered User
    Name: Bochun Bai
    Organization: xiaonei.com
    Project: http://labs.xiaonei.com/
    Join Date
    Oct 2006
    Posts
    41

    icegridregistry crash

    icegridregistry crashes at IceGrid/QueryI.cpp:90.
    Every time running "application update".
    (gdb) bt
    #0 0x0000002a9711121d in raise () from /lib64/tls/libc.so.6
    #1 0x0000002a97112a1e in abort () from /lib64/tls/libc.so.6
    #2 0x0000002a9710aae1 in __assert_fail () from /lib64/tls/libc.so.6
    #3 0x0000000000613a26 in IceGrid::QueryI::findAllReplicas (this=0xb9a840, proxy=@0x5a775540) at QueryI.cpp:90
    #4 0x0000002a95798a34 in IceGrid::Query::___findAllReplicas () from /opt/Ice-3.2/lib64/libIceGrid.so.32
    #5 0x0000002a9579f00e in IceGrid::Query::__dispatch () from /opt/Ice-3.2/lib64/libIceGrid.so.32
    #6 0x0000002a967c30f2 in IceInternal::Incoming::invoke () from /opt/Ice-3.2/lib64/libIce.so.32
    #7 0x0000002a9678bc72 in Ice::ConnectionI::invokeAll () from /opt/Ice-3.2/lib64/libIce.so.32
    #8 0x0000002a967901ec in Ice::ConnectionI::message () from /opt/Ice-3.2/lib64/libIce.so.32
    #9 0x0000002a9689820d in IceInternal::ThreadPool::run () from /opt/Ice-3.2/lib64/libIce.so.32
    #10 0x0000002a9689940e in IceInternal::ThreadPool::EventHandlerThread::run () from /opt/Ice-3.2/lib64/libIce.so.32
    #11 0x0000002a96a3ff16 in startHook () from /opt/Ice-3.2/lib64/libIceUtil.so.32
    #12 0x0000002a96b5110a in start_thread () from /lib64/tls/libpthread.so.0
    #13 0x0000002a971a98c3 in clone () from /lib64/tls/libc.so.6
    #14 0x0000000000000000 in ?? ()
    I will keep trying to solve this.
    Does any one have a patch already?

  2. #2
    sinofool is offline Registered User
    Name: Bochun Bai
    Organization: xiaonei.com
    Project: http://labs.xiaonei.com/
    Join Date
    Oct 2006
    Posts
    41
    I removed the assert. It seems worked.
    Line 89 - 94
    AdapterInfoSeq infos = _database->getAdapterInfo(prx->ice_getAdapterId());
    //assert(!infos.empty());
    if(!infos.empty() && infos[0].replicaGroupId != prx->ice_getAdapterId()) // The adapter id doesn't refer to a replica group.
    {
    return Ice::ObjectProxySeq();
    }
    It will return an empty result when "application update" is running, rather than crash itself.

    Does any one know why AdapterInfoSeq is empty while updating? I didn't figure out real problem. DatabaseI and QueryI are synced prefectly.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. about the icegridregistry and icegridnode
    By yuzexu in forum Help Center
    Replies: 0
    Last Post: 01-19-2011, 09:14 PM
  2. Assertion failure in icegridregistry
    By dstn in forum Bug Reports
    Replies: 5
    Last Post: 12-03-2008, 12:39 PM
  3. icegridregistry and icegridnode
    By snowman in forum Help Center
    Replies: 2
    Last Post: 01-29-2008, 07:55 PM
  4. icegridregistry
    By mwilson in forum Help Center
    Replies: 2
    Last Post: 12-05-2006, 03:19 PM
  5. about icegridregistry
    By leya in forum Help Center
    Replies: 10
    Last Post: 07-25-2006, 09:03 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
  •