View Single Post
  #2 (permalink)  
Old 05-13-2008
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,494
Hi,

You should catch the exception and print it out so that we can figure out why the condition variable of the IceUtil::Monitor can't be created:

Code:
try
{
    Job *data = new Job("xxx", DB_PUT);
}
catch(const IceUtil::Exception& ex)
{
    cerr << ex << endl;
    throw;
}
Is the Job object correctly released? If not, it's likely that your process is running out of system resources.

Cheers,
Benoit.
Reply With Quote