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

TBB is built without support for exact exception propagation on some platforms

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 6.26/00
    • master
    • Build System
    • None
    • for example, our build nodes sft-ubuntu-1604-4 and olhswep22

    Description

      Since quite a while (gcc 4.4, C++11) TBB supports propagating exceptions from worker threads to the main thread. This feature is critical (hence the ticket priority) for the correct functioning of our implicit multi-threading interfaces – we just were not testing for it before this PR].

      According to TBB's documentation on the topic (e.g. here) the feature should be automatically enabled if at least C++11 and gcc 4.4 are used, but this does not seem to be the case on some platforms (e.g. ROOT on sft-ubuntu-1604-4 with the default cmake flags).

      To reproduce the problem: ./tree/dataframe/test/dataframe_simple --gtest_filter="MT/RDFSimpleTests.NonExistingFileInChain/0", on the broken platforms, prints

      TBB Warning: Exact exception propagation is requested by application but the linked library is built without support for it
      

      Attachments

        Activity

          People

            jhahnfel Jonas Hahnfeld
            eguiraud Enrico Guiraud
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: