[Libreoffice-bugs] [Bug 124611] New: [sal][MSVC] Wrong global variable initialization order
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 8 14:40:47 UTC 2019
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 at lists.freedesktop.org
Reporter: egor.pugin at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190408/ffdc6ba6/attachment.html>
More information about the Libreoffice-bugs
mailing list