http://bugzilla.novell.com/show_bug.cgi?id=622977
http://bugzilla.novell.com/show_bug.cgi?id=622977#c6
--- Comment #6 from Stanislav Brabec 2010-08-09 17:37:12 CEST ---
Did a further debugging and here is my understanding what is happening:
Application runs and reaches the final exit.
As part of the post-exit processing, all dynamically loaded libraries are
unloaded (at least partially) and l_init_called is unset.
For some reason, library destructors are called even later. They call dlclose()
and the upper mentioned error happends.
So the real problems:
- Why the class destructors are called too late.
- Why changes done by exit() are not prone to later calls of dlclose().
As a quick work-around, it is possible to not call dlclose() at all.
But I think that the real bug is somewhere inside glibc or C++.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.