Bug 167039 - assert failure when copy a shape with attached text box to clipboard in debug build
Summary: assert failure when copy a shape with attached text box to clipboard in debug...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-16 06:33 UTC by Regina Henschel
Modified: 2025-06-16 21:27 UTC (History)
1 user (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 Regina Henschel 2025-06-16 06:33:44 UTC
Draw a shape in Writer.
From its context menu choose "Add Text Box".
Enter some text in the box.
Deselect shape.
Copy shape to clipboard.
Start Draw and paste it in Drawing Format.

I get a failing assertion in svx/source/unodraw/unopage.cxx:
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in soffice.bin.
It comes from:
777          default: // unknown inventor
778          {
779              assert(false && "Unknown Inventor in SvxDrawPage::CreateShape()");
780              break;
781          }

tested in Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 10b7f18b9832e9f7761814ea9baeba1e921dca88
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded

It might be the same underlying reason as bug 167033, but the failing assert is different. Thus I don't know.
Comment 1 Mike Kaganski 2025-06-16 08:03:26 UTC
(In reply to Regina Henschel from comment #0)

And note, that the inventor there is Swg, which is indeed not handled there. No idea how to fix that; definitely something separate from all the other issues you filed; and IMO, related to the Writer frame attached to a shape, the feature that Miklos implemented; which is unknown outside of Writer.