https://bugs.documentfoundation.org/show_bug.cgi?id=124611
Bug ID: 124611
Summary: [sal][MSVC] Wrong global variable initialization order
Product: LibreOffice
Version: unspecified
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs@lists.freedesktop.org
Reporter: egor.pu...@gmail.com
Description:
(sal/rtl/strimp.cxx) rtl_allocateStringFn rtl_allocateString = malloc; is
initialized after const OUString BACKSLASH ("\\");
(sal/osl/w32/path_helper.cxx), so it calls 0 address during dll initialization.
Steps to Reproduce:
I'm doing custom builds (not wiki workflow) on VS2019.
So, the first target to build is sal, then codemaker and it does not start
because of this issue.
Actual Results:
Error during globals initialization by CRT (before main call).
Expected Results:
Must work.
Reproducible: Always
User Profile Reset: No
Additional Info:
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs