Created attachment 167310 [details] Backtrace - Open WordPad, type a couple of characters (eg. abcd), select and copy them to clipboard using Ctrl+C. - Open one of the apps (Writer / Calc / Impress). => Crash. No crash in the start center. No crash if the clipboard is empty, or if it contains unformatted content, or similar content copied from Writer. What's LO doing with the clipboard at that point, anyway? The error is read access violation, attaching backtrace. Occurs since 11-12 tb77 daily builds, the 11-11 build is still fine. This yields the following small range: https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=122d1e391625ca21345c67c90720e971819aa4a6..693553210828538680408832157faad9654758c8 Could it be a fallout from the "make tools::Long 64-bit on Windows platform" change? (completely uneducated guess)
Should be bibisected further once the repo is updated.
Created attachment 167311 [details] Recovery dialog screenshot What is especially annoying is that after the crash, you get stuck with an empty recovery dialog, it can't be closed, and has to be killed from the task manager.
The problem is in SvPasteObjectHelper::GetEmbeddedName, which casts the byte array returned from anySequence.getArray( ) to OleObjectDescriptor*. The latter struct is defined in svtools/source/dialogs/insdlg.cxx, and is documented there to "conform to the Microsoft OBJECTDESCRIPTOR" [1]. You may note the MS struct using SIZEL and POINTL, and OleObjectDescriptor using Size and Point - both affected by tools::Long ... [1] https://docs.microsoft.com/en-us/windows/win32/api/oleidl/ns-oleidl-objectdescriptor
https://gerrit.libreoffice.org/c/core/+/105910
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/600dfc9d39883b4150b7d773a5a2de483a4c94b6 tdf#138229: make OleObjectDescriptor match OBJECTDESCRIPTOR on _WIN64 It will be available in 7.1.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.
The crash is verified gone, thanks for fixing, Mike! LO 7.1.0.0.alpha1+ (x64) (312a33b7636334f6ce3b6d1702bc5d3e45215601) / Windows.