[ace-bugs] [Inconsistency detected by ld.so: dl-close.c: 758: _dl_close: Assertion `map->l_init_called' failed!] by ACE.6.1.0

Johnny Willemsen jwillemsen at remedy.nl
Tue Oct 2 01:40:14 CDT 2018


Hi,

Please use the PROBLEM-REPORT-FORM when asking questions. This is a
problem in your OS/application, see
https://sourceware.org/bugzilla/show_bug.cgi?id=11941 for more
background information.

Johnny Willemsen
Remedy IT
Postbus 81 | 6930 AB Westervoort | The Netherlands
http://www.remedy.nl

On 9/28/18 10:41 AM, Yaowei (D) wrote:
>
> Hi all,
>
> I faced one strange issue on Suse11sp3 with gcc 4.8.5 now.
>
>  
>
> I am using gmock for unit test,
>
> Using ACE_DLL to load/unload the generated dynamic linked shared so files.
>
> And if I add any test case in unit test,
>
> there is no exception but additional
>
> Inconsistency detected by ld.so: dl-close.c: 758: _dl_close: Assertion
> `map->l_init_called' failed!
>
> displayed on terminal.
>
>  
>
> But if there is no test case but only setup() teardown() method on
> unit test,
>
> the
>
> Inconsistency detected by ld.so: dl-close.c: 758: _dl_close: Assertion
> `map->l_init_called' failed!
>
> message is missing.
>
>  
>
> Any reply is appreciatedJ
>
> the stack trace with gdb debug is like this:
>
> Breakpoint 1, 0x00007ffff7df0cc0 in _dl_close () from
> /lib64/ld-linux-x86-64.so.2
>
> (gdb) bt
>
> #0  0x00007ffff7df0cc0 in _dl_close () from /lib64/ld-linux-x86-64.so.2
>
> #1  0x00007ffff7deaef6 in _dl_catch_error () from
> /lib64/ld-linux-x86-64.so.2
>
> #2  0x00007ffff5fe933c in _dlerror_run () from /lib64/libdl.so.2
>
> #3  0x00007ffff5fe904f in dlclose () from /lib64/libdl.so.2
>
> #4  0x00007ffff78e90ec in ACE_OS::dlclose (handle=0x627f10)
>
>     at /export/home/xxx/ACE_wrappers/ace/OS_NS_dlfcn.inl:43
>
> #5  0x00007ffff78e7a0e in ACE_DLL_Handle::close (this=0x766260,
> unload=1) at DLL_Manager.cpp:286
>
> #6  0x00007ffff78e9002 in ACE_DLL_Manager::unload_dll (this=0x764200,
> dll_handle=0x766260, force_unload=1)
>
>     at DLL_Manager.cpp:753
>
> #7  0x00007ffff78e8e28 in ACE_DLL_Manager::close (this=0x764200) at
> DLL_Manager.cpp:682
>
> #8  0x00007ffff78e8801 in ACE_DLL_Manager::~ACE_DLL_Manager
> (this=0x764200, __in_chrg=<optimized out>) at DLL_Manager.cpp:542
>
> #9  0x00007ffff78e8698 in ACE_DLL_Manager::close_singleton () at
> DLL_Manager.cpp:520
>
> #10 0x00007ffff7914f29 in ACE_Object_Manager::fini (this=0x620360) at
> Object_Manager.cpp:749
>
> #11 0x00007ffff791433b in ACE_Object_Manager::~ACE_Object_Manager
> (this=0x620360, __in_chrg=<optimized out>)
>
>     at Object_Manager.cpp:414
>
> #12 0x00007ffff79143bc in ACE_Object_Manager::~ACE_Object_Manager
> (this=0x620360, __in_chrg=<optimized out>)
>
>     at Object_Manager.cpp:415
>
> #13 0x00007ffff7915291 in
> ACE_Object_Manager_Manager::~ACE_Object_Manager_Manager (
>
>     this=0x7ffff7bd6100 <ACE_Object_Manager_Manager_instance>,
> __in_chrg=<optimized out>) at Object_Manager.cpp:879
>
> #14 0x00007ffff64389f5 in __cxa_finalize () from /lib64/libc.so.6
>
> #15 0x00007ffff788fa76 in __do_global_dtors_aux () from
> /export/home/xxx/lib/libACE.so.6.1.0
>
> #16 0x0000000000000000 in ?? ()
>
>
> _______________________________________________
> ace-bugs mailing list
> ace-bugs at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/ace-bugs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/ace-bugs/attachments/20181002/09ea017b/attachment.html>


More information about the ace-bugs mailing list