Bug 146866 - Assert fails in debug build when use button "Toggle Extrusion" on Fontwork shape
Summary: Assert fails in debug build when use button "Toggle Extrusion" on Fontwork shape
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Regina Henschel
URL:
Whiteboard: target:7.4.0
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-20 01:10 UTC by Regina Henschel
Modified: 2022-02-18 08:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
File with Fontwork shape to reprocude the crash (12.27 KB, application/vnd.oasis.opendocument.text)
2022-01-20 01:10 UTC, Regina Henschel
Details
Call Stack by VS2019 (3.47 KB, text/plain)
2022-01-20 01:11 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2022-01-20 01:10:09 UTC
Created attachment 177660 [details]
File with Fontwork shape to reprocude the crash

Open attache document.
Click on Fontwork shape.
Click on button "Toggle Extrusion". => Crash.
Comment 1 Regina Henschel 2022-01-20 01:11:38 UTC
Created attachment 177661 [details]
Call Stack by VS2019
Comment 2 Dieter 2022-02-04 07:41:09 UTC
I can't confirm with

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 651ff4f195804b206941e6316c5120a914d28b6b
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL
Comment 3 Regina Henschel 2022-02-04 23:56:16 UTC
For me it still crashes with
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ccbd2b0c663fa19be5301f0ea8ac74caa055fe47
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: threaded

Same with Skia.

What makes your build different from mine?

Not being able to toggle extrusion on/off while working on extrusion is really annoying.
Comment 4 Dieter 2022-02-05 11:18:58 UTC
(In reply to Regina Henschel from comment #3)
> What makes your build different from mine?

Really don't know.
Comment 5 Heiko Tietze 2022-02-15 05:25:23 UTC
Can switch on, which takes several seconds with this output

warn:legacy.osl:2282:2282:drawinglayer/source/processor3d/shadow3dextractor.cxx:245: OOps, someone used Shadow3DExtractingProcessor, but did not fetch the results (!)
warn:legacy.osl:2282:2282:svx/source/svdraw/svdmrkv1.cxx:311: SdrMarkView::UndirtyMrkPnt(): Selected points on an object that is not a PolyObj!
warn:legacy.osl:2282:2282:vcl/source/outdev/bitmap.cxx:249: CopyBits with zero or negative width or height

and switching off crashed. But further tests crashed immediately.

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: bf5277500d0d317a24df66f81b7409301f8422a6
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 6 Regina Henschel 2022-02-16 18:48:41 UTC
Not duplicate to bug 147409, but same coding error, only different place.
Comment 7 Commit Notification 2022-02-17 22:57:20 UTC
Regina Henschel committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/4c0b033ece143b6f398157e812ff1c6b22e2855d

tdf#147409 tdf#146866 use SetPropertyValue for toggle

It will be available in 7.4.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 8 Heiko Tietze 2022-02-18 08:31:43 UTC
No assertion anymore, thanks Regina.