<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>Please use the PROBLEM-REPORT-FORM when asking questions. This is
      a problem in your OS/application, see
      <a class="moz-txt-link-freetext" href="https://sourceware.org/bugzilla/show_bug.cgi?id=11941">https://sourceware.org/bugzilla/show_bug.cgi?id=11941</a> for more
      background information.<br>
    </p>
    <pre class="moz-signature" cols="72">Johnny Willemsen
Remedy IT
Postbus 81 | 6930 AB Westervoort | The Netherlands
<a class="moz-txt-link-freetext" href="http://www.remedy.nl">http://www.remedy.nl</a>
</pre>
    <div class="moz-cite-prefix">On 9/28/18 10:41 AM, Yaowei (D) wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:B212F3D3354F984486C95DB3EA2A825B4B955A8E@dggemm526-mbx.china.huawei.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">Hi all, <o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US">I faced one strange issue on Suse11sp3 with gcc
            4.8.5 now.<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US">I am using gmock for unit test,<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US">Using ACE_DLL to load/unload the generated
            dynamic linked shared so files.<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US">And if I add any test case in unit test,<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US">there is no exception but additional<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US">Inconsistency detected by ld.so: dl-close.c:
            758: _dl_close: Assertion `map->l_init_called' failed!<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US">displayed on terminal.<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US">But if there is no test case but only setup()
            teardown() method on unit test,<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US">the <o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US">Inconsistency detected by ld.so: dl-close.c:
            758: _dl_close: Assertion `map->l_init_called' failed!<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US">message is missing.<o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US">Any reply is appreciated</span><span
            style="font-family:Wingdings" lang="EN-US">J</span><span
            lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal" style="text-indent:21.0pt"><span
            lang="EN-US">the stack trace with gdb debug is like this:<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Breakpoint 1,
            0x00007ffff7df0cc0 in _dl_close () from
            /lib64/ld-linux-x86-64.so.2<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">(gdb) bt<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#0  0x00007ffff7df0cc0
            in _dl_close () from /lib64/ld-linux-x86-64.so.2<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#1  0x00007ffff7deaef6
            in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#2  0x00007ffff5fe933c
            in _dlerror_run () from /lib64/libdl.so.2<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#3  0x00007ffff5fe904f
            in dlclose () from /lib64/libdl.so.2<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#4  0x00007ffff78e90ec
            in ACE_OS::dlclose (handle=0x627f10)<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">    at
            /export/home/xxx/ACE_wrappers/ace/OS_NS_dlfcn.inl:43<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#5  0x00007ffff78e7a0e
            in ACE_DLL_Handle::close (this=0x766260, unload=1) at
            DLL_Manager.cpp:286<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#6  0x00007ffff78e9002
            in ACE_DLL_Manager::unload_dll (this=0x764200,
            dll_handle=0x766260, force_unload=1)<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">    at
            DLL_Manager.cpp:753<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#7  0x00007ffff78e8e28
            in ACE_DLL_Manager::close (this=0x764200) at
            DLL_Manager.cpp:682<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#8  0x00007ffff78e8801
            in ACE_DLL_Manager::~ACE_DLL_Manager (this=0x764200,
            __in_chrg=<optimized out>) at DLL_Manager.cpp:542<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#9  0x00007ffff78e8698
            in ACE_DLL_Manager::close_singleton () at
            DLL_Manager.cpp:520<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#10 0x00007ffff7914f29
            in ACE_Object_Manager::fini (this=0x620360) at
            Object_Manager.cpp:749<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#11 0x00007ffff791433b
            in ACE_Object_Manager::~ACE_Object_Manager (this=0x620360,
            __in_chrg=<optimized out>)<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">    at
            Object_Manager.cpp:414<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#12 0x00007ffff79143bc
            in ACE_Object_Manager::~ACE_Object_Manager (this=0x620360,
            __in_chrg=<optimized out>)<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">    at
            Object_Manager.cpp:415<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#13 0x00007ffff7915291
            in ACE_Object_Manager_Manager::~ACE_Object_Manager_Manager (<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">    this=0x7ffff7bd6100
            <ACE_Object_Manager_Manager_instance>,
            __in_chrg=<optimized out>) at Object_Manager.cpp:879<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#14 0x00007ffff64389f5
            in __cxa_finalize () from /lib64/libc.so.6<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#15 0x00007ffff788fa76
            in __do_global_dtors_aux () from
            /export/home/xxx/lib/libACE.so.6.1.0<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">#16 0x0000000000000000
            in ?? ()<o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
ace-bugs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ace-bugs@list.isis.vanderbilt.edu">ace-bugs@list.isis.vanderbilt.edu</a>
<a class="moz-txt-link-freetext" href="http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/ace-bugs">http://list.isis.vanderbilt.edu/cgi-bin/mailman/listinfo/ace-bugs</a></pre>
    </blockquote>
  </body>
</html>