Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 12-10-2007
Oleh Babyak Oleh Babyak is offline
Registered User
 
Name: Oleh Babyak
Organization: Skype AG
Project: Baboon
 
Join Date: Oct 2006
Posts: 6
Send a message via Skype™ to Oleh Babyak
-->
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
Reply With Quote
  #2 (permalink)  
Old 12-10-2007
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ice_getEndpoints returns empty sinofool Help Center 3 11-02-2006 02:45 PM
Patch #5 for Ice 3.1.0: IceGrid locator assert benoit Patches 0 07-24-2006 09:44 AM
How to load empty properties? n2503v Help Center 1 07-20-2006 09:30 AM
CPU Idl is very high dragzhb Help Center 19 10-03-2004 09:31 AM
assert() in slice2java generated code? SteveWampler Help Center 2 04-13-2004 02:38 PM


All times are GMT -4. The time now is 07:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.