Results 1 to 2 of 2

Thread: Exceptions can escape from IceUtil::Timer::run

  1. #1
    andy_84 is offline Registered User
    Name: Andrew Solovyov
    Organization: MAI
    Project: simple grid-like system
    Join Date
    Nov 2010
    Posts
    27

    Exceptions can escape from IceUtil::Timer::run

    Hi all.
    Yesterday I've found a bug in implementation of virtual method run() in IceUtil::Timer class. There are some cases when exceptions can escape from it, causing std::terminate to be called. Specifically, I passed a very big delay to Timer::schedule, and IceUtilInternal::Semaphore::timedWait() has thrown IceUtil::InvalidTimeoutException exception, which killed my process.

    I'm using Ice 3.3, though Ice 3.4 has this bug, too.

  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,

    Thanks for the bug report, we'll look into this.

    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: 2
    Last Post: 05-14-2008, 01:40 AM
  2. Monotonic Timer in ICE for .NET
    By kwaclaw in forum Comments
    Replies: 2
    Last Post: 04-03-2008, 10:26 PM
  3. C# exceptions
    By wrobbie in forum Help Center
    Replies: 7
    Last Post: 09-25-2005, 07:03 PM
  4. Catching Exceptions
    By chuatecksiong in forum Help Center
    Replies: 3
    Last Post: 04-06-2005, 01:02 PM
  5. IceStorm/ Timer Service ideas
    By stephan in forum Help Center
    Replies: 5
    Last Post: 10-27-2003, 05:53 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
  •