Results 1 to 2 of 2

Thread: assert !_changes.empty() on a high load

  1. #1
    Oleh Babyak is offline Registered User
    Name: Oleh Babyak
    Organization: Skype AG
    Project: Baboon
    Join Date
    Oct 2006
    Posts
    18

    assert !_changes.empty() on a high load

    During heavy load of our services that use Ice time to time crashes occur with following bt:

    #4 0xb796afbf in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
    #5 0xb7f159c7 in IceInternal::ThreadPool::run (this=0x8ac3528) at ThreadPool.cpp:419
    #6 0xb7f17076 in IceInternal::ThreadPool::EventHandlerThread::run (this=0x8ac2fd0) at ThreadPool.cpp:878
    #7 0xb7ce05bb in startHook (arg=0x8ac2fd0) at Thread.cpp:357
    #8 0xb793c240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
    #9 0xb7a144ae in clone () from /lib/tls/i686/cmov/libc.so.6
    (gdb) f 5
    #5 0xb7f159c7 in IceInternal::ThreadPool::run (this=0x8ac3528) at ThreadPool.cpp:419
    419 assert(!_changes.empty());

    so it's supposed that _changes must not be empty, however it happens time to time. Could you suggest something to resolve an issue?
    Oleh Babyak
    Skype Communications SA (Luxembourg)
    www.skype.com
    project: Baboon

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    This assert should definitely not be triggered. I can't see any reasons in the code that could cause it to be triggered. Are you doing anything special in your program (such a forking other processes)? If you fork processes in an Ice server, you should make sure to close all the file descriptors in the child, see this FAQ for more information.

    Also, which Ice and Linux version do you use? From the line numbers in the stack trace, it looks like you're not using the latest version, any chances you could try with 3.2.1? If possible, the best would be to provide us a small test case that we could use to duplicate the problem.

    Cheers,
    Benoit.

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: 02-17-2011, 10:28 AM
  2. High Availability with callbacks
    By ngambek2003 in forum Help Center
    Replies: 8
    Last Post: 01-15-2010, 06:02 PM
  3. ice_getEndpoints returns empty
    By sinofool in forum Help Center
    Replies: 3
    Last Post: 11-02-2006, 01:45 PM
  4. How to load empty properties?
    By n2503v in forum Help Center
    Replies: 1
    Last Post: 07-20-2006, 08:30 AM
  5. CPU Idl is very high
    By dragzhb in forum Help Center
    Replies: 19
    Last Post: 10-03-2004, 08:31 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
  •