Skip to content

libigdfscl.so can crash on failure to load libcommon_clang.so #72

Closed
@dvrogozh

Description

@dvrogozh

dlclose(pTranslationBlock->m_CCModule.pModule);

libigdfscl.so can crash on failure to load libcommon_clang.so, for example this happens in the scenario described here: intel/opencl-clang#44. You may wish to consider:

  1. Improve robustness by direct fix (check for nullptr before calling dlclose())
  2. Refactor the code as described here: question: will it make sense to link against common_clang rather than load it? #71

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions