View Issue Details

IDProjectCategoryView StatusLast Update
0016210Open CASCADEOCCT:Data Exchangepublic2019-12-11 15:26
ReporterenkAssigned Togka 
PrioritynormalSeveritytrivial 
Status assignedResolutionopen 
OSAll 
Summary0016210: Static object destroing in the dlclose() conflict
DescriptionIf we have the c++ code there defined static object (listad)
(XSControl_Controller.cxx :
static Handle(Dico_DictionaryOfTransient)& listadapt()
{
  static Handle(Dico_DictionaryOfTransient) listad;
  if (listad.IsNull()) listad = new Dico_DictionaryOfTransient;
  return listad;
}
)
We load the library by dlopen("library.so"),
which has this object(listad).
After we make dlclose().
In the next iteration of dlopen("library.so") we have the exception.

If you have any questions, please contact me.
Example of library see in the attachment.(you need in the license of SAT product)
TagsNo tags attached.
Test case number

Attached Files

  • ACISExport.cxx (2,399 bytes)

Activities

2007-06-08 15:36

 

ACISExport.cxx (2,399 bytes)

Issue History

Date Modified Username Field Change
2007-07-04 12:54 bugmaster Assigned To bugmaster => pdn
2007-07-04 12:54 bugmaster Status new => assigned
2011-08-02 11:12 bugmaster Category OCCT:DTE => OCCT:Data Exchange
2019-12-11 15:26 pdn Assigned To pdn => gka