|
|
|
|||||
|
Bug in IceUtil::Thread
Hi
There is a race condition caused crash in IceUtil::Thread. It happens when the newly created thread exits really quick. This bug has been tested on both Win32(WindowsXP) and on Linux(Redhat 9.0). The Thread::start() method does not retain a owning reference to the thread object before calling 'beginthread()'. Thus if the newly created thread completes very quickly, then an access violation is caused in Thread::start(). I've attached a zip file which contains both a program TestThread.cpp which will reproduce the crash, and a patch to Ice to fix the bug. Regards Sreeram Tachyon Technologies |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IceUtil::Mutex for C# | amrufon | Help Center | 1 | 09-05-2006 10:35 AM |
| Thread.cpp:413: IceUtil::ThreadSyscallException | grahamyin | Help Center | 2 | 09-28-2005 12:54 AM |
| Question about IceUtil? | JaneShang | Help Center | 1 | 05-17-2005 11:31 AM |
| Zero value for IceUtil::Time | catalin | Help Center | 1 | 10-05-2004 08:28 AM |
| IceUtil/CtrlCHandler.cpp | vukicevic | Bug Reports | 3 | 05-28-2003 10:20 PM |