Archived
This forum has been archived. Please start a new discussion on GitHub.
Report A fatal bug about File IceUtil/Thread.cpp
Anyone who are still using ice of prior to version 3.2(3.2 Included ) on Linux/Unix?
In File IceUtil/Thread.cpp, in the function of IceUtil::Thread::start(size_t stackSize), int rc = pthread_attr_init(&attr), but attr does not destroyed after pthread_create , this would lead to memory leak or memory arise.
So, you must use pthread_attr_destroy(&attr) after pthread_create, and recompile the ice .
But after version 3.2, this problem is solved.
Tagged:
0