Ask Your Question

Revision history [back]

We found out that the local storage was allocated by the Logging/TraceManager each time the library is loaded. So, one solution to circumvent the problem is to deactivate the build flag CV_TRACE. This way, no local storage is created during library loading and we don't run into the pthread key overflow.

That doesn't explain the error but is sufficient to finally get rid of it.