Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-10861

Intel TBB + Qt 4.7 = SIGABRT (Linux 64 bits)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.8.0
    • 4.7.0
    • Core: Threads
    • None
    • 8c31c6529935cd9ee6f99bc38cfd182d5b3182e2

    Description

      To reproduce this problem , simply use an empty cpp file and link with both Qt and TBB: -lQtCore -ltbb -ltbbmalloc

      #include <stdio.h>
      int main()
      {
      printf("testing Qt + TBB exit interaction crash\n");
      return(0);
      }
      

      g++ -g qt-tbb.cpp -o qt-tbb -lQtCore -ltbb -ltbbmalloc

      For what it's worth, here's a backtrace:

      Program terminated with signal 6, Aborted.
      #0 0x00000038c38326d5 in raise (sig=<value optimized out>)
      at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
      64 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
      Missing separate debuginfos, use: debuginfo-install glib2-2.22.5-1.fc12.x86_64 libXi-1.3-2.fc12.x86_64 libXmu-1.0.5-1.fc12.x86_64 libXp-1.0.0-15.fc12.x86_64 libXpm-3.5.8-2.fc12.x86_64 libXt-1.0.7-1.fc12.x86_64
      (gdb) bt
      #0 0x00000038c38326d5 in raise (sig=<value optimized out>)
      at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
      #1 0x00000038c3833eb5 in abort () at abort.c:92
      #2 0x00000038ca8ba2cd in __gnu_cxx::__verbose_terminate_handler ()
      at ../../../../libstdc++-v3/libsupc++/vterminate.cc:93
      #3 0x00000038ca8b8456 in __cxxabiv1::__terminate (handler=<value optimized out>)
      at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:38
      #4 0x00000038ca8b8483 in std::terminate ()
      at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
      #5 0x00000038ca8b857e in __cxxabiv1::__cxa_throw (obj=<value optimized out>,
      tinfo=<value optimized out>, dest=<value optimized out>)
      at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:83
      #6 0x00002b9ab238606b in tbb::internal::handle_perror (error_code=22, what=0x2b9ab23a25f0 "TBB failed to destroy TLS storage",
      $18=<value optimized out>, $19=<value optimized out>)
      at ../../src/tbb/tbb_misc.cpp:84
      #7 0x00002b9ab238b0a7 in tbb::internal::governor::release_resources ()
      at ../../src/tbb/governor.cpp:63
      #8 0x00002b9ab239b2db in tbb::internal::__TBB_InitOnce::remove_ref ()
      at ../../src/tbb/tbb_main.cpp:129
      #9 0x00002b9ab239b5b1 in tbb::internal::__TBB_InitOnce::~__TBB_InitOnce (this=0x2b9ab24bebac, $26=<value optimized out>) at ../../src/tbb/tbb_main.h:78
      #10 0x00000038c3835f2d in __cxa_finalize (d=0x2b9ab24bbca0)
      at cxa_finalize.c:56
      #11 0x00002b9ab2371f43 in __do_global_dtors_aux ()
      from /home/warnold/branch/xrt/tbb30/debug/runTime/lib/libtbb_debug.so.2
      #12 0x00007fff1c2ab9e0 in ?? ()
      #13 0x00002b9ab239eaf1 in _fini ()
      from /home/warnold/branch/xrt/tbb30/debug/runTime/lib/libtbb_debug.so.2
      #14 0x0000000000000000 in ?? ()
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              bhughes Bradley T. Hughes (closed Nokia Identity) (Inactive)
              ntg Pierre Rossi
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes