https://bugs.documentfoundation.org/show_bug.cgi?id=93119

            Bug ID: 93119
           Summary: rtl::Static can deadlock on startup
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: Other
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: low
         Component: sdk
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: mst...@redhat.com

Created attachment 117641
  --> https://bugs.documentfoundation.org/attachment.cgi?id=117641&action=edit
backtrace of deadlock during startup on Windows

if the compiler does not support C++11 thread safe statics,
then it's possible to deadlock during global variable initialization.

the !HAVE_THREADSAFE_STATICS fall-back implementation
of rtl::Static uses one mutex for all global variables
so if one global's initialization creates a different
global too it can deadlock.

affected (on current master) compilers are MSVC 2013
and clang configured to build for Mac OS X 10.8.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to