Bug 161048 - Background processes are left opened by LO Dev on Windows since 2024.05.08, only with OpenCL set ON, STR comments 24, 31.
Summary: Background processes are left opened by LO Dev on Windows since 2024.05.08, o...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:24.8.0
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-12 02:50 UTC by ady
Modified: 2024-05-30 13:17 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
WinDbg analyze -v on soffice.bin dump from task manager (8.76 KB, text/plain)
2024-05-13 18:57 UTC, ady
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ady 2024-05-12 02:50:22 UTC
Install LO Dev 24.8 on MS Windows, in addition to some LO Stable version.

They are of course installed in parallel, in their own directories, and never executed simultaneously.

A few days ago I noticed that _each_ run of LibreOfficeDev leaves a process opened in the background, seen listed in Windows' Task Manager, after I have closed the program normally.

In the installation procedure, I never select to automatically start LO with the OS. Every run is executed manually.

No repro when installing LibreOfficeDev_24.8.0.0.alpha0_Win_x86-64.msi built as of 2024-04-30 – I re-installed that version, tested it, and then again installing the msi built on 2024-05-11 – so this started at some point after build date 2024-04-30.

Downloaded from TB77 (not from TB78).

We are approaching alpha1 status of LO 24.8, so this should rather have a higher-than-normal priority, IMHO.
Comment 1 V Stuart Foote 2024-05-12 10:38:40 UTC Comment hidden (obsolete)
Comment 2 ady 2024-05-12 13:33:17 UTC Comment hidden (obsolete)
Comment 3 V Stuart Foote 2024-05-12 14:20:56 UTC Comment hidden (obsolete)
Comment 4 ady 2024-05-12 15:29:20 UTC Comment hidden (obsolete)
Comment 5 m_a_riosv 2024-05-12 17:15:58 UTC Comment hidden (obsolete)
Comment 6 V Stuart Foote 2024-05-12 21:21:33 UTC Comment hidden (obsolete)
Comment 7 ady 2024-05-13 00:26:12 UTC Comment hidden (obsolete)
Comment 8 Mike Kaganski 2024-05-13 02:44:20 UTC Comment hidden (obsolete)
Comment 9 Mike Kaganski 2024-05-13 03:15:48 UTC Comment hidden (obsolete)
Comment 10 ady 2024-05-13 08:55:38 UTC Comment hidden (obsolete)
Comment 11 ady 2024-05-13 18:57:47 UTC Comment hidden (obsolete)
Comment 12 ady 2024-05-14 11:02:05 UTC Comment hidden (obsolete)
Comment 13 ady 2024-05-16 05:53:43 UTC
I have performed a lot of tests, with different dates, uninstalled everything (including the stable version) with Revo, including "/a" installation on a separate directory and following the related instructions about "bootstrap.ini" and what not.

I also tested with TB78 pollux-wix (which also started around these dates, approx.)

The problem always starts on 2024-05-08. Until 2024-05-06 (included), no problem.

IDK how to gather relevant info when actually running and closing soffice.


Either some build dependency changed after 2024-05-06 and before 2024-05-08, or some commit between those dates is not allowing the processes to close in my system.

Possible relevant info (see dates):
* <https://wiki.documentfoundation.org/WikiAction/history/Development/External_Libraries>

* Build ID dated 2024-05-06: 7a895ec4205659038aa95941b65715fed1a3e7be

* Build ID dated 2024-05-08: 92815f3a464b447898ecf52492247335228e4a72

(so you can take a look at the history/log/diff)

Additionally, would someone please test when installing a recent 24.8 alpha daily to an uncommon path, instead of using %PROGRAMFILES% "c:\Program files"?
Comment 14 m_a_riosv 2024-05-16 21:53:56 UTC Comment hidden (obsolete)
Comment 15 ady 2024-05-17 02:52:57 UTC Comment hidden (obsolete)
Comment 16 m_a_riosv 2024-05-17 17:02:32 UTC Comment hidden (obsolete)
Comment 17 ady 2024-05-17 22:18:25 UTC Comment hidden (obsolete)
Comment 18 ady 2024-05-20 17:45:30 UTC
> * Build ID dated 2024-05-06: 7a895ec4205659038aa95941b65715fed1a3e7be
> 
> * Build ID dated 2024-05-08: 92815f3a464b447898ecf52492247335228e4a72
> 
> (so you can take a look at the history/log/diff)

Up until 2024-05-06:
<https://git.libreoffice.org/core/+/7a895ec4205659038aa95941b65715fed1a3e7be>
there is no problem.

The problem started after the above and before the following:
<https://git.libreoffice.org/core/+/92815f3a464b447898ecf52492247335228e4a72>
dated 2024-05-08.

Reviewing the diff/log between those 2 commits (including them too), could someone please find whether there is something related to the following errors?


warn:desktop.app:10004:12976:unotools/source/ucbhelper/localfilehelper.cxx:86: error removing directory file:///D:/LO/ALPHA/program/../program/../user/extensions
warn:vcl.gdi.wndproc:10004:12976:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down
warn:vcl.gdi.wndproc:10004:12976:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down
warn:vcl.gdi.wndproc:10004:12976:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down
warn:vcl.gdi.wndproc:10004:12976:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down
warn:vcl.gdi.wndproc:10004:12976:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down
warn:vcl.gdi.wndproc:10004:12976:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down
Entity: line 1: parser error : Document is empty

^
warn:vcl.gdi.wndproc:4292:4324:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down
warn:vcl.gdi.wndproc:4292:4324:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down
warn:vcl.gdi.wndproc:4292:4324:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down
warn:vcl.gdi.wndproc:4292:4324:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down


There might also be some other errors, but I am having difficulties logging them (so the following are partial quotes):

 warn:desktop.app:14024:14280:desktop/source/app/app.cxx:260: cannot create path

 warn:desktop.app:14024:14280:desktop/source/app/app.cxx:1328: userinstall failed 4

 warn:configmgr:14024:2564:configmgr/source/components.cxx:190 error writing modifications com.sun.star.uno.

 /jenkins/daily_workspace/tb/src_master/configmgr/source/writemodfile.cxx:578


I also find curious that there are 3 slash bars after "file", as in "file:///", instead of just 2 slash characters.

Hopefully these might help/hint where to look for the possible problem.
Comment 19 m_a_riosv 2024-05-21 00:52:54 UTC
I can reproduce with 
Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: e3bd3c7e3178dc091fd002628f052666b4db3be6
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

But running LO again the first instance disappear.
Comment 20 ady 2024-05-21 07:16:04 UTC
(In reply to m_a_riosv from comment #19)
> But running LO again the first instance disappear.

Please try the following:
1. Launch LO Dev Start Center and then a new empty Calc.
2. Close all items related to LO (Calc and Start Center).
3. Repeat steps 1 and 2 again.
4. Open Windows' Task Manager and look for the _background_ processes.

In the list in my TM, the first group is for active applications, the second group is for background processes, and the third group is for Windows' processes. Within each group, I have the list sorted alphabetically by Name (of the process). Additionally, the column for the Name of the Command is also displayed – which is not shown by default, you have to add it manually.

5. Click once on any process of the TM's list.
6. Press the letter "L" on your keyboard. For each time you press it, the next process in the list that starts with that letter will take focus.
7. If you still don't see any background process left-over for Lo Dev, please review the background processes group to see whether there is any row/line hidden within another process.

For example, if you launched LO Dev from a command line, there might be some main process, whether in the active applications group or in the background processes group, that has LO Dev as a sub-process.

Another example: when I launch LO Dev Start Center, and before closing it, the active applications group in Windows' Task Manager shows one LO Dev process (for soffice.bin), and within it there is another sub-process (for soffice.exe); if I open Calc, I will see instead a sub-process for it.

As soon as I close all LO Dev programs (just normally, without forcing anything), I can see that the TM open applications processes group no longer lists the LO Dev processes, but there are left-overs down the list, within the background processes group.

If I _directly_ launch scalc.exe (not from the Start Center, while Start Center is closed) and then close Calc (and also close Start Center, which was open with Calc), there are background left-overs for it too, listed as "LibreOfficeDev Calc".

There is never a crash. I open and close the programs normally. No other versions running simultaneously. It all looks the same as usual, except for the left-overs in TM after closing LO Dev (seemingly normally).
Comment 21 ady 2024-05-22 13:14:45 UTC
The problem is reproduced every time with OpenCL ON. There was no problem up until build dated 2024-05-06.

Menu Tools > Options > LibreOfficeDev > OpenCL > Allow use of OpenCL > set to OFF. Then, after closing LO Dev, there are no left-over processes anymore.

I have tested with this setting ON and OFF 3 times.

OpenCL ON > left-overs

OpenCL OFF > everything is fine.

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 028ac95c0e9991b59a835527b6fed2f8d3e2bddf
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (es_AR); UI: en-US
Calc: threaded
Comment 22 Buovjaga 2024-05-22 14:55:02 UTC
(In reply to ady from comment #21)
> The problem is reproduced every time with OpenCL ON. There was no problem up
> until build dated 2024-05-06.
> 
> Menu Tools > Options > LibreOfficeDev > OpenCL > Allow use of OpenCL > set
> to OFF. Then, after closing LO Dev, there are no left-over processes anymore.
> 
> I have tested with this setting ON and OFF 3 times.
> 
> OpenCL ON > left-overs
> 
> OpenCL OFF > everything is fine.
> 
> Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
> Build ID: 028ac95c0e9991b59a835527b6fed2f8d3e2bddf
> CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render:
> Skia/Raster; VCL: win
> Locale: en-US (es_AR); UI: en-US
> Calc: threaded

Noel: ady noticed your 7d1242b01d3ad9be1cfcf2bd3fbee9ce63dddddf
move opencl check at startup inside its own thread

Nobody bisected this yet, but it sounds plausible to have an effect on this.
Comment 23 ady 2024-05-22 15:08:52 UTC
In LO Dev (2024.05.08+), when OpenCL is ON, another symptom is that:
menu Help > Restart in Safe Mode
will not automatically restart LO Dev (whether in Safe Mode or otherwise); I have to restart it manually.
Comment 24 ady 2024-05-23 13:02:05 UTC
(In reply to ady from comment #23)
> In LO Dev (2024.05.08+), when OpenCL is ON, another symptom is that:
> menu Help > Restart in Safe Mode
> will not automatically restart LO Dev (whether in Safe Mode or otherwise); I
> have to restart it manually.

The problem happens with binaries (2024.05.08+) from Tinderbox 77 or from TB 78; LO Dev Win-x86_64.

The specific installation method is not a factor; it will happen anyway.

There is no problem with binaries from TB 39, LO Dev Win-x86 (installed on MS Windows 64 bits).

STR:
1. In LO Dev (2024.05.08+), menu Tools > Options > LibreOfficeDev > OpenCL > Allow use of OpenCL, (already) set to ON.
2. With OpenCL ON, menu Help > Restart in Safe Mode; accept restart.

LO Dev should automatically re-start, but it won't.

There will be LO Dev left-over (sub)processes in the background, seen in Windows' Task Manager.

As long as OpenCL is ON, manually launching LO Dev and closing it again > will leave additional left-over processes.

If OpenCL if OFF, there is no problem.
Comment 25 V Stuart Foote 2024-05-23 18:37:13 UTC
OK, so since this seems to be an OpenCL related issue would expect we need some sense of the affected architecture(s).

On Win10 with nVidia GeForce drivers, I do not reproduce. The soffice.bin and wrapper .exe shutdown cleanly on exiting.

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: ae798781ef4df7a1fdef13af0bc459bf4f6e7b4c
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Here is my OpenCL log (opencl_devices.log) from user profile:

Device Index: 0
  Selected: true
  Device Name: NVIDIA GeForce GTX 750 Ti
  Device Vendor: NVIDIA Corporation
  Device Version: OpenCL 3.0 CUDA
  Driver Version: 552.12
  Device Type: gpu 
  Device Extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid cl_khr_pci_bus_info cl_khr_external_semaphore cl_khr_external_memory cl_khr_external_semaphore_win32 cl_khr_external_memory_win32
  Device OpenCL C Version: OpenCL C 1.2 
  Device Available: true
  Device Compiler Available: true
  Device Linker Available: true
  Platform Name: NVIDIA CUDA
  Platform Vendor: NVIDIA Corporation
  Platform Version: OpenCL 3.0 CUDA 12.4.131
  Platform Profile: FULL_PROFILE
  Platform Extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid cl_khr_pci_bus_info cl_khr_external_semaphore cl_khr_external_memory cl_khr_external_semaphore_win32 cl_khr_external_memory_win32
Comment 26 ady 2024-05-23 18:49:10 UTC
(In reply to V Stuart Foote from comment #25)

> Here is my OpenCL log (opencl_devices.log) from user profile:

Do you need for me to gather some info by following specific steps?

Would the opencl log be the same when having OpenCL ON and OFF? Or, instead, would the log be different according to the setting?

Considering the starting date of the problems, is there anything suspicious in the following commit that could trigger the kind of issues I am seeing?

 7d1242b01d3ad9be1cfcf2bd3fbee9ce63dddddf 
 "move opencl check at startup inside its own thread"
Comment 27 V Stuart Foote 2024-05-23 19:02:42 UTC
If your CPU/GPU supports OpenCL LibreOffice will build a log file of what it detects--named "opencl_devices.log" found in your LO user profile (either %APPDATA%\LibreOffice\4\cache or where you configured your user profile, e.g. $ORIGIN\..\Data\settings in the bootstrap.ini).

Don't know what the log might look like without OpenCL being detected/tested fully, or if os/DE reports it unavailable.

For now just post what you've got...
Comment 28 ady 2024-05-23 19:34:37 UTC
With OpenCL set to ON in LO Dev:

Device Index: 0
  Selected: false
  Device Name: Intel(R) UHD Graphics 620
  Device Vendor: Intel(R) Corporation
  Device Version: OpenCL 2.1 NEO 
  Driver Version: 23.20.16.4958
  Device Type: gpu 
  Device Extensions: cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_depth_images cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_image2d_from_buffer cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_media_block_io cl_intel_driver_diagnostics cl_intel_device_side_avc_motion_estimation cl_khr_priority_hints cl_khr_subgroups cl_khr_il_program cl_khr_fp64 cl_intel_planar_yuv cl_intel_packed_yuv cl_intel_motion_estimation cl_intel_advanced_motion_estimation cl_khr_gl_sharing cl_khr_gl_depth_images cl_khr_gl_event cl_khr_gl_msaa_sharing cl_intel_dx9_media_sharing cl_khr_dx9_media_sharing cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_intel_d3d11_nv12_media_sharing cl_intel_simultaneous_sharing 
  Device OpenCL C Version: OpenCL C 2.1 
  Device Available: true
  Device Compiler Available: true
  Device Linker Available: true
  Platform Name: Intel(R) OpenCL
  Platform Vendor: Intel(R) Corporation
  Platform Version: OpenCL 2.1 
  Platform Profile: FULL_PROFILE
  Platform Extensions: cl_intel_dx9_media_sharing cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_fp64 cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_image2d_from_buffer cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir

Device Index: 1
  Selected: true
  Device Name: Intel(R) Core(TM) i3-8130U CPU @ 2.20GHz
  Device Vendor: Intel(R) Corporation
  Device Version: OpenCL 2.1 (Build 611)
  Driver Version: 7.6.0.611
  Device Type: cpu 
  Device Extensions: cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_dx9_media_sharing cl_intel_dx9_media_sharing cl_khr_d3d11_sharing cl_khr_gl_sharing cl_khr_fp64 cl_khr_image2d_from_buffer cl_intel_vec_len_hint 
  Device OpenCL C Version: OpenCL C 2.0 
  Device Available: true
  Device Compiler Available: true
  Device Linker Available: true
  Platform Name: Intel(R) OpenCL
  Platform Vendor: Intel(R) Corporation
  Platform Version: OpenCL 2.1 
  Platform Profile: FULL_PROFILE
  Platform Extensions: cl_intel_dx9_media_sharing cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_fp64 cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_image2d_from_buffer cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir
Comment 29 m_a_riosv 2024-05-23 21:32:52 UTC
For me, OpenCL on/off doesn't matter for the behaviour, it's the same thing.

.bin .exe remain after closing LO.

When the start-up center appears after re-launching LO, the first instance disappears.

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: eb3ae3234e098e1ee605624b0cac4c90436628d0
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: threaded
Comment 30 ady 2024-05-23 22:42:46 UTC
(In reply to m_a_riosv from comment #29)
> For me, OpenCL on/off doesn't matter for the behaviour, it's the same thing.
> 
> .bin .exe remain after closing LO.
> 
> When the start-up center appears after re-launching LO, the first instance
> disappears.

I would say that there is a problem there anyway (too). If any user closed LO correctly and completely (and there are no related tools left open either), then there should not be any "first instance lingering until the next time" either.

The difference in your case seems to be that the left-overs are limited to one pair of processes only, instead of having additional pairs for each launch-and-close cycle.

@Miguel, any notes when trying to Start in Safe Mode, especially when OpenCL is set to ON?
Comment 31 m_a_riosv 2024-05-24 01:23:51 UTC
With OpenCL on, it is possible to start in Safe Mode.
But always start in Safe Mode, the only way to change is Menu/Help/Restart in Safe Mode to choose the normal mode, but the profile is lost.
Comment 32 m_a_riosv 2024-05-27 11:35:23 UTC
With
Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 838f6adc9bdde2f656eb26bdc2870adfa7aa412b
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

For me the issue is relation with:
Menu/Tools/Options/LibreOffice/General/Load LibreOfficeDev during system start up.

If it is disabled, before the first launch, the issue doesn't happen.

But it is enabled at launch or on a posterior launch, there is no way to avoid the process remains alive. If it is really an issue.

So launch LO
Disable the option
End the process in the system, or restart the system
Launch again LO
Close LO
The process is closed
Comment 33 ady 2024-05-27 14:10:27 UTC
(In reply to m_a_riosv from comment #32)

> For me the issue is relation with:
> Menu/Tools/Options/LibreOffice/General/Load LibreOfficeDev during system
> start up.

That is probably a different issue, at least partially.

Although I never install with Quick Start set to ON, and I never activate it later-on either, based on your comment 32 I just tested setting it ON, saving the change and rebooting, always with OpenCL ON for this test. The result for me is the same as it was before.

OpenCL ON > left-over processes after closing.

Are any of these (left-over) processes related to Quick Start?

OpenCL OFF > no problem.

Should I also test having Quick Start set to ON while OpenCL is OFF? What would be the expected behavior regarding (left-over) processes in such case?

As requested, I have already posted my opencl log in comment 28. What now?
Comment 34 ady 2024-05-27 18:09:01 UTC
Entity: line 1: parser error : Document is empty

^
warn:vcl:7624:10548:vcl/source/image/ImplImage.cxx:101: Failed to load scaled image from cmd/sc_signaturesmenu.png at 1
warn:vcl:7624:10548:vcl/source/image/ImplImage.cxx:124: Failed to load stock icon cmd/sc_signaturesmenu.png
warn:vcl:7624:10548:vcl/source/image/ImplImage.cxx:101: Failed to load scaled image from cmd/sc_documentation.png at 1
warn:vcl:7624:10548:vcl/source/image/ImplImage.cxx:124: Failed to load stock icon cmd/sc_documentation.png
warn:vcl:7624:10548:vcl/source/image/ImplImage.cxx:101: Failed to load scaled image from cmd/sc_safemode.png at 1
warn:vcl:7624:10548:vcl/source/image/ImplImage.cxx:124: Failed to load stock icon cmd/sc_safemode.png
warn:vcl:7624:10548:vcl/source/image/ImplImage.cxx:101: Failed to load scaled image from cmd/sc_getinvolved.png at 1
warn:vcl:7624:10548:vcl/source/image/ImplImage.cxx:124: Failed to load stock icon cmd/sc_getinvolved.png
warn:vcl:7624:10548:vcl/source/image/ImplImage.cxx:101: Failed to load scaled image from cmd/sc_showlicense.png at 1
warn:vcl:7624:10548:vcl/source/image/ImplImage.cxx:124: Failed to load stock icon cmd/sc_showlicense.png
warn:unotools.misc:7624:10548:unotools/source/misc/mediadescriptor.cxx:372: url: 'private:factory/scalc' com.sun.star.ucb.ContentCreationException message: "No Content Provider available for URL: private:factory/scalc at C:/cygwin/home/tdf/jenkins/daily_workspace/tb/src_master/ucbhelper/source/client/content.cxx:205" eError: (com.sun.star.ucb.ContentCreationError) NO_CONTENT_PROVIDER
warn:vcl.builder:7624:10548:vcl/source/window/builder.cxx:3522: probably need to implement NotebookBarAddonsMenuMergePoint
warn:legacy.tools:7624:10548:sfx2/source/control/bindings.cxx:1770: No cache for OfficeDispatch!
warn:legacy.tools:7624:10548:sfx2/source/control/bindings.cxx:1770: No cache for OfficeDispatch!
warn:legacy.tools:7624:10548:sfx2/source/control/bindings.cxx:1770: No cache for OfficeDispatch!
warn:legacy.tools:7624:10548:sfx2/source/control/bindings.cxx:1770: No cache for OfficeDispatch!
warn:vcl.layout:7624:10548:vcl/source/control/fixed.cxx:388: Only endellipsis support for now
warn:vcl:7624:10548:vcl/source/window/builder.cxx:736: missing elements of button/menu
warn:vcl.gdi.wndproc:7624:10548:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down
warn:vcl.gdi.wndproc:7624:10548:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down
warn:vcl.gdi.wndproc:7624:10548:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down
warn:vcl.gdi.wndproc:7624:10548:vcl/win/app/salinst.cxx:619: ignoring timer event because we are shutting down
Comment 35 Commit Notification 2024-05-28 16:02:32 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/8a5f822897434cffe1991325ea18014734bfa24e

24, 31."
   href="show_bug.cgi?id=161048">tdf#161048 Revert "move opencl check at startup inside its own thread"

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 36 ady 2024-05-29 11:52:48 UTC
(In reply to Commit Notification from comment #35)
> Noel Grandin committed a patch related to this issue.
> It has been pushed to "master":
> 
> https://git.libreoffice.org/core/commit/
> 8a5f822897434cffe1991325ea18014734bfa24e

Testing with:

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 6084962f93efc005b6827edceae12d3170f17ccd
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: en-US (es_AR); UI: en-US
Calc: CL threaded

...built on 2024-05-29, I can launch-and-close LO Dev and I no longer see left-over background processes. I can also use menu Help > Restart in Safe Mode and it restarts automatically as expected.

@Miguel, if I may, I would suggest re-testing the steps you reported in comment 31 with a newer build (2024-05-29 or newer).
Comment 37 m_a_riosv 2024-05-30 12:05:26 UTC
(In reply to ady from comment #36)
> ....
> 
> @Miguel, if I may, I would suggest re-testing the steps you reported in
> comment 31 with a newer build (2024-05-29 or newer).

Seems now the issue is in relation 
Menu/Tools/Options/LibreOffice/General/Load LibreOffice during system start-up
enabled
Comment 38 m_a_riosv 2024-05-30 12:10:31 UTC
Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 6084962f93efc005b6827edceae12d3170f17ccd
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Also with
Version: 24.2.0.0.alpha1 (X86_64) / LibreOffice Community
Build ID: 06946980c858649160c634007e5fac9a5aa81f38
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: threaded
Comment 39 ady 2024-05-30 13:17:10 UTC
(In reply to m_a_riosv from comment #37)
> Seems now the issue is in relation 
> Menu/Tools/Options/LibreOffice/General/Load LibreOffice during system
> start-up
> enabled

Since I don't use quickstart as a general rule, I am not completely sure about this but I believe that, under such condition, there should be an expected background process.

1. When the quickstart setting is ON, just rebooting shows background processes in Windows' Task Manager.

2. In TM, add/show the column for "Command line" (in Spanish: "Linea de comandos"). With quickstart enabled, the command line would include "--quickstart" (among other possible command line parameters).

3. Launching LO Start Center (first time after reboot) moves the soffice.bin process from background to active. The process for soffice.exe remains in the background.

4. Closing Start Center would revert the situation; both processes are now listed within the background group.

5. Launching and closing LO again should not generate additional background processes; there are always the same two.


With quickstart set to OFF, there should be no background processes after closing LO.

Please review whether this is really the expected behavior when quickstart is set to ON, also with older versions.