office-gobmx/desktop/source
Miklos Vajna 113df4d0fb desktop: fix crash in forceSetClipboardForCurrentView()
Crashreport signature:

> Fatal signal received: SIGSEGV code: 1 for address: 0x0
> program/libmergedlo.so
>       (anonymous namespace)::forceSetClipboardForCurrentView(_LibreOfficeKitDocument*)
>               desktop/source/lib/init.cxx:1376 (discriminator 6)
> program/libmergedlo.so
>       rtl::Reference<LOKClipboard>::~Reference()
>               include/rtl/ref.hxx:128
> program/libmergedlo.so
>       com::sun::uno::Reference<com::sun::lang::XComponent>::~Reference()
>               include/com/sun/star/uno/Reference.hxx:113

Sounds like an attempted document load that failed, but we still try to
set the clipboard for the first view during shutdown.

Change-Id: I21e5742ae4fcd4b24daf2888f3d64aae437d4fda
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176812
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 6c6e4358ae)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176832
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-11-20 12:19:40 +01:00
..
app tdf#35568 Repeat "first run" procedure on upgrade 2024-06-17 13:31:35 +02:00
deployment tdf#161625 Use SolarMutex instead of std::mutex in ExtMgrDialog 2024-10-22 15:28:58 +02:00
inc
lib desktop: fix crash in forceSetClipboardForCurrentView() 2024-11-20 12:19:40 +01:00
migration
minidump
offacc
pkgchk/unopkg
splash