Results 1 to 2 of 2

Thread: Assertion failed in IceDB/FreezeTypes.cpp

  1. #1
    lafayej is offline Registered User
    Name: Julien Lafaye
    Organization: Capital Fund Management
    Project: Control distributed data acquisition application
    Join Date
    Sep 2009
    Posts
    15

    Assertion failed in IceDB/FreezeTypes.cpp

    Hello,

    We have regular unexpected failures of our IceStorm setup. Diving into the logs, we found an occurrence of the line below every time we had a failure:

    Code:
    -- 09/25/11 16:30:10.689 RTCSStorm-us-3-IceStorm: Topic: mainDispatchTopic: subscribeAndGetPublisher: B8B9BFC0-CD32-42C5-A7CD-19798F87B9AE
    icebox: ../../../src/IceDB/FreezeTypes.cpp:118: virtual void FreezeDB::DatabaseConnection::beginTransaction(): Assertion `!_connection->currentTransaction()' failed.
    We run two icestorm replica groups. Each of them have 4 icestorm instances, distributed on 2 servers (2*2). The assertion is raised only on the last instance of the group. We have had the problem for some time and we haven't had a single assertion failed entry in all the icestorm log files except the last one of the group.
    The problem is only appearing when we are registering our subscribers. Those subscribers register simultaneously and we first had the problem when increasing their number.

    I tried to reproduce the problem in a lab setup but I have not been able to reproduce it so far. Do you have any clue on how to find/resolve the problem ?

    Our setup:
    * Linux RHEL5, x86_64
    * Ice 3.4.1, home-compiled with optimizations disabled
    * FreezeDb linked with bdb provided with our distro (RHEL5): libdb_cxx-4.3.so

    IceStorm configuration files:

    Code:
    # Configuration file (12/23/10 08:32:26.035)
    
    # Server configuration
    Ice.Admin.ServerId=RTCSStorm-us-0
    Ice.Admin.Endpoints=tcp -h 127.0.0.1
    Ice.ProgramName=RTCSStorm-us-0
    IceBox.Service.IceStorm=IceStormService,34:createIceStorm --Ice.Config\='/opt/user/ice-node/node-data/servers/RTCSStorm-us-0/config/config_IceStorm'
    IceBox.InstanceName=RTCSStorm-us-0
    IceBox.LoadOrder=IceStorm\
    # Server descriptor properties
    Ice.StdOut=/opt/collector/ice-node/icestorm/RTCSStorm-us-0.log
    Ice.StdErr=/opt/collector/ice-node/icestorm/RTCSStorm-us-0.log
    Ice.Default.Locator=IceGrid/Locator:tcp -p 4061 -h rtcs-registry-master.data.cfm.fr
    
    # Configuration file (12/23/10 08:32:26.035)
    
    # Object adapter IceStorm.Node
    IceStorm.Node.Endpoints=default -h usen105l29.us.cfm.fr
    IceStorm.Node.AdapterId=RTCSStorm-us-0.IceStorm.IceStorm.Node
    # Object adapter IceStorm.Publish
    IceStorm.Publish.Endpoints=default -h usen105l29.us.cfm.fr
    IceStorm.Publish.AdapterId=RTCSStorm-us-0.IceStorm.IceStorm.Publish
    IceStorm.Publish.ReplicaGroupId=RTCSStorm-us-PublishReplicaGroup
    # Object adapter IceStorm.TopicManager
    IceStorm.TopicManager.Endpoints=default -h usen105l29.us.cfm.fr
    IceStorm.TopicManager.AdapterId=RTCSStorm-us-0.IceStorm.IceStorm.TopicManager
    IceStorm.TopicManager.ReplicaGroupId=RTCSStorm-us-TopicManagerReplicaGroup
    # Service descriptor properties
    IceStorm.InstanceName=RTCSStorm-us
    IceStorm.Trace.TopicManager=2
    IceStorm.Trace.Topic=1
    IceStorm.Trace.Subscriber=1
    IceStorm.Trace.Election=1
    IceStorm.NodeId=0
    Ice.StdOut=/opt/user/ice-node/icestorm/RTCSStorm-us-0.log
    Ice.StdErr=/opt/collector/ice-node/icestorm/RTCSStorm-us-0.log
    Freeze.DbEnv.IceStorm.DbHome=/opt/collector/ice-node/icestorm/db-RTCSStorm-us-0/
    IceStorm.Trace.Network=1
    Ice.Default.Locator=IceGrid/Locator:tcp -p 4061 -h rtcs-registry-master.data.cfm.fr

  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,

    Could you get the stack trace of the assert from the core file and post it here? You can enable core files by running "ulimit -c unlimited" in the environment where the process is running.

    Cheers,
    Benoit.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Assertion failed in Ice/Selector.h
    By myer in forum Help Center
    Replies: 1
    Last Post: 10-12-2009, 02:55 AM
  2. Replies: 2
    Last Post: 03-07-2008, 04:15 AM
  3. Replies: 4
    Last Post: 01-09-2007, 01:48 AM
  4. BasicStream.cpp:581 Assertion
    By xdm in forum Help Center
    Replies: 10
    Last Post: 05-24-2006, 01:21 PM
  5. Assertion failed
    By nsns in forum Bug Reports
    Replies: 10
    Last Post: 12-01-2004, 07:02 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
  •