Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-6022

Inconsistency detected by ld.so in libcling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 6.00.beta
    • Fix Version/s: None
    • Component/s: Core Libraries
    • Labels:
      None
    • Environment:

      Ubu 12.04; Fed 16

      Description

      Hi,

      roottest is currently failing, see e.g. https://ecsft.cern.ch/commander/link/jobStepDetails/jobSteps/11264084?&jobId=1294537&tabGroup=diagnosticHeader&jobName=ROOT-master-full-1294537-4e21977d9c

      Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called' failed!

      That's because libcling gets closed by exit:

      #0  0x00007ffff401fb88 in _fini () from /home/sftnight/root/obj/lib/libCling.so
      #1  0x00007ffff7de992d in _dl_fini () at dl-fini.c:259
      #2  0x00007ffff69e5901 in __run_exit_handlers (status=0, listp=0x7ffff6d63688, run_list_atexit=true) at exit.c:78
      #3  0x00007ffff69e5985 in __GI_exit (status=<optimized out>) at exit.c:100
      #4  0x00007ffff79f9e5a in TUnixSystem::Exit (this=0x633650, code=0, mode=true) at /home/sftnight/root/src/core/unix/src/TUnixSystem.cxx:2142
      #5  0x00007ffff78fe7d1 in TApplication::Terminate (this=0x1640210, status=0) at /home/sftnight/root/src/core/base/src/TApplication.cxx:1158
      #6  0x00007ffff74afc85 in TRint::Terminate (this=0x1640210, status=0) at /home/sftnight/root/src/core/rint/src/TRint.cxx:666
      #7  0x00007ffff74aefe0 in TRint::Run (this=0x1640210, retrn=false) at /home/sftnight/root/src/core/rint/src/TRint.cxx:442
      #8  0x0000000000401255 in main (argc=1, argv=0x7fffffffe498) at /home/sftnight/root/src/main/src/rmain.cxx:29

      and then again by ~TROOT().

      For now I'd propose to not dlclose libCling from ~TROOT.

      Cheers, Axel

        Attachments

          Activity

            People

            Assignee:
            jalopezg Javier Lopez Gomez
            Reporter:
            axel Axel Naumann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: