Bug 156600 - Using OOO_EXIT_POST_STARTUP=1 leads to abort() on Windows (debug)
Summary: Using OOO_EXIT_POST_STARTUP=1 leads to abort() on Windows (debug)
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: QA:needsComment
Keywords: haveBacktrace
Depends on:
Blocks:
 
Reported: 2023-08-03 21:40 UTC by Hossein
Modified: 2023-08-19 03:20 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Backtrace using Visual Studio 2022 (6.43 KB, text/plain)
2023-08-04 00:34 UTC, Hossein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2023-08-03 21:40:29 UTC
Description:
When using OOO_EXIT_POST_STARTUP=1 to profile LibreOffice startup on Windows debug build, it leads to crash with abort().

Steps to Reproduce:
1. Build LibreOffice from sources on Windows in debug mode
2. Run LibreOffice with:
    OOO_EXIT_POST_STARTUP=1 instdir/program/soffice

Actual Results:
"Debug Error!" popup appears on the screen with the text "abort() has been called", and these push buttons: "Abort", "Retry" and "Ignore". This is the console log:

warn:i18nlangtag:24168:8608:i18nlangtag/source/isolang/mslangid.cxx:105: MsLangId::getConfiguredSystemLanguage() - not configured yet
warn:extensions.olebridge:24168:8608:extensions/source/ole/olethread.cxx:39: CoInitializeEx failed (expectedly): Cannot change thread mode after it is set.
warn:extensions.olebridge:24168:8608:extensions/source/ole/olethread.cxx:59:   Thread is in a main single-threaded apartment.
Assertion failed: !mIpcThread.is(), file C:/cygwin64/home/user/lode/dev/core/desktop/source/app/officeipcthread.cxx, line 895


Expected Results:
LibreOffice should not crash.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b7544484e122ee9314007e7238507d005c2a4bab
CPU threads: 20; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: CL threaded

Using safe mode did not help.
Comment 1 Hossein 2023-08-04 00:34:45 UTC
Created attachment 188756 [details]
Backtrace using Visual Studio 2022