View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015617 | VTK | (No Category) | public | 2015-08-05 03:56 | 2015-08-13 07:28 | ||||
Reporter | Mathieu Westphal | ||||||||
Assigned To | Mathieu Westphal | ||||||||
Priority | low | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | unable to reproduce | ||||||
Platform | OS | Linux | OS Version | ||||||
Product Version | 6.3.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015617: dlclose assert error with lib that have DF_1_NODELETE flag | ||||||||
Description | in Utilities/KWSys/vtksys/DynamicLoader.cxx:503 there is a call to dlclose, this is used to unload lib when quitting any application using plugins ( aka pvpython, paraview... ) But, if the lib as the DF_1_NODELETE flag set, the dlclose call will fail with the following assert error : Inconsistency detected by ld.so: dl-close.c: 764: _dl_close: Assertion `map->l_init_called' failed! This flag can be set for three reasons : - RTLD_NODELETE have bess used as a flag when calling dlopen, not the case here. - -z nodelete have been used when linking the library, unlikely when using ADD_PARAVIEW_PLUGIN macro, but who knows... - The lib contains unique symbols : absolutely possible ( this is how i've pinpointed this bug ) More info here: http://stackoverflow.com/questions/31826309/glibc-test-if-lib-as-df-1-nodelete-flag-or-if-lib-has-unique-symbol [^] https://sourceware.org/ml/libc-alpha/2015-05/msg00810.html [^] https://www.redhat.com/archives/posix-c++-wg/2009-August/msg00002.html [^] | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | crash | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0034885) Mathieu Westphal (developer) 2015-08-05 03:58 |
When encountering this issue, the culprint can been easilly identified and corrected on the loaded lib using nm : nm -gC yourLib.so | grep " u " |
(0034886) Mathieu Westphal (developer) 2015-08-05 05:28 |
not a VTK bug, the assert should not provoke any error with a Release version of glibc. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-08-05 03:56 | Mathieu Westphal | New Issue | |
2015-08-05 03:56 | Mathieu Westphal | Assigned To | => Mathieu Westphal |
2015-08-05 03:58 | Mathieu Westphal | Note Added: 0034885 | |
2015-08-05 05:01 | Joachim Pouderoux | OS | => Linux |
2015-08-05 05:28 | Mathieu Westphal | Note Added: 0034886 | |
2015-08-13 07:27 | Mathieu Westphal | Status | backlog => closed |
2015-08-13 07:27 | Mathieu Westphal | Resolution | open => fixed |
2015-08-13 07:27 | Mathieu Westphal | Status | closed => backlog |
2015-08-13 07:27 | Mathieu Westphal | Resolution | fixed => reopened |
2015-08-13 07:28 | Mathieu Westphal | Status | backlog => closed |
2015-08-13 07:28 | Mathieu Westphal | Resolution | reopened => unable to reproduce |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |