Bug 149948 - Frozen logo on first start when "The Bat" email program started before
Summary: Frozen logo on first start when "The Bat" email program started before
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.8.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
: 154841 (view as bug list)
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2022-07-11 10:29 UTC by geoff
Modified: 2024-02-06 20:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description geoff 2022-07-11 10:29:37 UTC
Description:
Crash when LO/Writer is started for the first time (after Windows start) when the email program "The Bat" is running.

The LO/Writer loader dialog shows about 30% of the progress and stops.

If I close/kill the frozen loader and start LO/Writer again => it works normally.

Restart Windows and it will crash again on first start.



Steps to Reproduce:
1. Start Windows 10 (21H2, Pro, 64 bit)
2. Install "The Bat" (version 10.1, 64 bit) and run it
https://www.ritlabs.com/en/products/thebat/download.php

3. Start LO/Writer (double click on a DOC file)
4. The loader shows about 30% of the progress and stops

Actual Results:

If the frozen loader is killed and LO/Writer restarted, it works normally.
This happens only on the first LO/Writer start after a Windows start.

Expected Results:
Normal LO/Writer start.


Reproducible: Always


User Profile Reset: No



Additional Info:
Start normally.
Comment 1 Timur 2022-07-12 09:47:31 UTC Comment hidden (obsolete)
Comment 2 Timur 2022-07-12 09:48:17 UTC Comment hidden (obsolete)
Comment 3 Timur 2022-07-12 10:17:03 UTC
I confirm this. Test W11 LO 7.2 installed and 7.5+ parallel. Also with LO shortcut. Regardless of Skia.
Comment 4 geoff 2022-07-12 10:30:01 UTC
I just tried all of your suggestions, no difference.
(Skia is disabled, OpenGL disabled)

LO restart in Safe Mode, new user folder ... no difference.

Another examination:

(after Windows restart)

1) Start LO/Writer, no problems ... close LO/writer.
2) Start TheBat and keep it running.
3) Start Writer again => no problems.

The problem is only when TheBat is started first and running.
Comment 5 Timur 2022-07-12 13:07:16 UTC
I cannot run WinDbg with 32-bit that has symbols. 
So only with 64-bit: 

0:000> !analyze -v
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************


KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 4734

    Key  : Analysis.DebugAnalysisManager
    Value: Create

    Key  : Analysis.Elapsed.mSec
    Value: 61950

    Key  : Analysis.Init.CPU.mSec
    Value: 4765

    Key  : Analysis.Init.Elapsed.mSec
    Value: 64277

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 221

    Key  : Timeline.Process.Start.DeltaSec
    Value: 14

    Key  : WER.OS.Branch
    Value: co_release

    Key  : WER.OS.Timestamp
    Value: 2021-06-04T16:28:00Z

    Key  : WER.OS.Version
    Value: 10.0.22000.1

    Key  : WER.Process.Version
    Value: 71.1.0.0


FILE_IN_CAB:  soffice.bin_220712_150329.dmp

COMMENT:  
*** procdump  -w -h soffice.bin
*** Hung window detected: 5026e

NTGLOBALFLAG:  0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS:  0

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 0000000000000000
   ExceptionCode: 80000003 (Break instruction exception)
  ExceptionFlags: 00000000
NumberParameters: 0

FAULTING_THREAD:  000002ec

PROCESS_NAME:  icudt71.dll

ERROR_CODE: (NTSTATUS) 0x80000003 - {EXCEPTION}  Breakpoint  A breakpoint has been reached.

EXCEPTION_CODE_STR:  80000003

STACK_TEXT:  
000000e1`cdb8e838 00007ffd`78eaedad     : 00000290`16c5f460 00000000`00000001 00000290`16c5f460 00007ffd`26459ca0 : win32u!NtUserDdeInitialize+0x14
000000e1`cdb8e840 00007ffd`2645af7f     : 00000290`1695c420 000000e1`cdb8e940 00000000`00000000 00000290`163b7940 : user32!InternalDdeInitialize+0x17d
000000e1`cdb8e8e0 00007ffd`25eb9853     : 00000290`163b7940 00000290`0d35b7e0 00000290`1695c420 00007ffd`39113669 : mergedlo!DdeService::DdeService+0xcf
000000e1`cdb8e980 00007ffd`25eaa9f7     : 00000290`00000003 00000290`0bebe820 00000290`163b7940 00000290`084d3370 : mergedlo!SfxApplication::InitializeDde+0xb3
000000e1`cdb8eab0 00007ffd`25eaa6f4     : 00000290`16cd8401 00000290`16cd8408 00000290`16cd8400 00000290`084d3370 : mergedlo!SfxApplication::SfxApplication+0x107
000000e1`cdb8eb10 00007ffd`26184d04     : 00000290`168ef4e0 00000290`16cd8408 00000290`084eefc0 00000290`084eefc0 : mergedlo!SfxApplication::GetOrCreate+0x114
000000e1`cdb8eb60 00007ffd`26186dc3     : 00000290`16cd8330 00000290`084e10d0 00000290`1687bd28 00000290`16cd8408 : mergedlo!makeNotebookbarTabControl+0x4ac4
000000e1`cdb8eba0 00007ffd`38dbf1b4     : 000000e1`cdb8ec90 000000e1`cdb8ed18 00000290`00000001 00000290`084e10d0 : mergedlo!com_sun_star_comp_sfx2_GlobalEventBroadcaster_get_implementation+0x63
000000e1`cdb8ebe0 00007ffd`38dbeeee     : 00007ffd`3a181038 000000e1`cdb8ed38 000000e1`cdb8ed18 00000290`084e10d0 : cppuhelper3MSC!cppu::IPropertyArrayHelper::IPropertyArrayHelper+0x5024
000000e1`cdb8ec20 00007ffd`38dbe6f2     : 00007ffd`38d54850 000000e1`cdb8ed38 00000290`0c2cc748 00000290`0c2cc748 : cppuhelper3MSC!cppu::IPropertyArrayHelper::IPropertyArrayHelper+0x4d5e
000000e1`cdb8ec90 00007ffd`38d5e68b     : 00000290`0c2cc738 00000290`084e10d0 000000e1`cdb8f220 00000290`084e10d0 : cppuhelper3MSC!cppu::IPropertyArrayHelper::IPropertyArrayHelper+0x4562
000000e1`cdb8ecc0 00007ffd`38d5ef17     : 00000290`084e1080 000000e1`cdb8f070 000000e1`cdb8f128 00000000`00000000 : cppuhelper3MSC!cppu::WeakAggComponentImplHelperBase::operator delete+0x2d6b
000000e1`cdb8f050 00007ffd`24f2f2b3     : 00007ffd`38d5ee30 000000e1`cdb8f250 000000e1`cdb8f220 00007ffd`765e00a6 : cppuhelper3MSC!cppu::WeakAggComponentImplHelperBase::operator delete+0x35f7
000000e1`cdb8f0a0 00007ffd`26244bb9     : 000000e1`cdb8f250 00000290`16983600 000000e1`cdb8f268 00000290`0bedff20 : mergedlo!basicide_handle_basic_error+0x15e63
000000e1`cdb8f120 00007ffd`276bdedd     : 00007ffd`2a0a7070 00007ffd`2a0a7070 00000000`00000000 00007ffd`2a0c5030 : mergedlo!cppu::WeakImplHelper<com::sun::star::container::XChild,com::sun::star::document::XDocumentPropertiesSupplier,com::sun::star::document::XCmisDocument,com::sun::star::rdf::XDocumentMetadataAccess,com::sun::star::document::XDocumentRecovery,com::sun::star::document::XUndoManagerSupplier,com::sun::star::document::XShapeEventBroadcaster,com::sun::star::document::XDocumentEventBroadcaster,com::sun::star::lang::XEventListener,com::sun::star::document::XEventsSupplier,com::sun::star::document::XEmbeddedScripts,com::sun::star::document::XScriptInvocationContext,com::sun::star::frame::XModel3,com::sun::star::util::XModifiable2,com::sun::star::view::XPrintable,com::sun::star::view::XPrintJobBroadcaster,com::sun::star::frame::XStorable2,com::sun::star::frame::XLoadable,com::sun::star::script::XStarBasicAccess,com::sun::star::document::XViewDataSupplier,com::sun::star::util::XCloseable,com::sun::star::datatransfer::XTransferable,com::sun::star::document::XDocumentSubStorageSupplier,com::sun::star::document::XStorageBasedDocument,com::sun::star::script::provider::XScriptProviderSupplier,com::sun::star::ui::XUIConfigurationManagerSupplier,com::sun::star::embed::XVisualObject,com::sun::star::lang::XUnoTunnel,com::sun::star::frame::XModule,com::sun::star::frame::XTitle,com::sun::star::frame::XTitleChangeBroadcaster,com::sun::star::frame::XUntitledNumbers>::acquire+0xa399
000000e1`cdb8f830 00007ffd`2626a732     : 000000e1`00000000 00000290`084ec3d0 00007ffd`2a0a7070 00000290`084ec3d0 : mergedlo!ImplSVMain+0xdd
000000e1`cdb8f880 00007ff6`7e3d101b     : 00000290`0bebe820 00000290`084ec3d0 000000e1`cdb8f950 00000290`084ec3d0 : mergedlo!soffice_main+0x282
000000e1`cdb8f990 00007ff6`7e3d12d4     : 00000000`00000000 00007ff6`7e3d13dd 00000000`00000000 00000000`00000000 : soffice!main+0x1b
000000e1`cdb8f9c0 00007ffd`786d54e0     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : soffice!main+0x2d4
000000e1`cdb8fa00 00007ffd`7908485b     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x10
000000e1`cdb8fa30 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x2b


SYMBOL_NAME:  win32u!NtUserDdeInitialize+14

MODULE_NAME: win32u

IMAGE_NAME:  win32u.dll

STACK_COMMAND:  dt ntdll!LdrpLastDllInitializer BaseDllName ; dt ntdll!LdrpFailureData ; ~0s; .ecxr ; kb

FAILURE_BUCKET_ID:  BREAKPOINT_80000003_win32u.dll!NtUserDdeInitialize

OS_VERSION:  10.0.22000.1

BUILDLAB_STR:  co_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  6.2.22000.739

FAILURE_ID_HASH:  {2bb11218-72f3-e14d-908e-0a62acbf84b2}

Followup:     MachineOwner
---------
Comment 6 GwenDragon 2022-08-31 08:39:15 UTC
I have same issue with Libreoffice 7.5.3 64bit and The Bat! 10.1 32bit on Windows 11 21H2.

Testcase:

0. Switch off Hibernation and Windows Quickstart, shutdown, switch off PC, wait some minutes and start Windows again (all to have a real coldstart)
1. Login to your Windows 11 user
2. Start The Bat! 32bit 10.1.0.2 
3. Wait a few seconds until The Bat! UI has completed
4. Start LibreOffice by Windows > Search > Libreoffice
5. LibreOffice not visible
6. Checking in task manager shows 2 LibreOffice processes but no LibreOffice UI
7. Close The Bat!
8. Wait 1-2 seconds and Libreoffice starts and shows UI now
9. Close LibreOffice
10. Wait 1 minute
11. Start LibreOffice
12. LibreOffice starts without delay!!!

- Windows 11 21H2 x64 Build 22000.918
- The Bat! 10.1.0.2 32bit
- Libreoffice
  Version: 7.3.5.2 (x64) / LibreOffice Community
  Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
  CPU threads: 4; OS: Windows 10.0 Build 22000; UI render: Skia/Vulkan; VCL: win
  Locale: de-DE (de_DE); UI: de-DE
  Calc: CL

Sorry, I do not know which program has the issue, that why i ask at Ritlabs support and here.
Comment 7 geoff 2022-08-31 08:53:22 UTC
There is also a connection to a new TheBat option "Run CEF browser in single process" (Preferences->General).

(CEF = TheBat uses Chromium engine for HTML emails)

I would say: if this TB option is ON, the LO starts without problems.
Please verify.

Maybe this helps too, it seems to be related to Chromium or some parts of it.
Comment 8 GwenDragon 2022-08-31 11:28:35 UTC
I reported issue to Ritlabs bug tracker for the The Bat! blocking Libreoffice. 
https://bt.ritlabs.com/view.php?id=2208
Comment 9 raal 2023-10-26 15:51:49 UTC
*** Bug 154841 has been marked as a duplicate of this bug. ***
Comment 10 GwenDragon 2024-02-01 13:27:15 UTC
Blocking bug is still valid!

Tested with LO 7.6.4.1 64bit + 24.2.0 64bit + The Bat! 11.0.4 32bit
Comment 11 floconsdepaques 2024-02-06 20:21:09 UTC
Blocking bug still alive !

Same symptoms (The Bat (11.0.4) started before LibreOffice (24.2) => LO stalls at first launch).