Bug 132823 - Crash when editing graphic with "Allow Overlap" unchecked
Summary: Crash when editing graphic with "Allow Overlap" unchecked
Status: RESOLVED DUPLICATE of bug 131729
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected
Depends on:
Reported: 2020-05-07 15:57 UTC by Dale Fredrikson
Modified: 2020-05-09 03:39 UTC (History)
0 users

See Also:
Crash report or crash signature: ["swlo.dll"]

Eg of crash when editing graphic with "Allow Overlap" unchecked (37.49 KB, application/vnd.oasis.opendocument.text)
2020-05-07 15:57 UTC, Dale Fredrikson

Note You need to log in before you can comment on or make changes to this bug.
Description Dale Fredrikson 2020-05-07 15:57:34 UTC
Created attachment 160508 [details]
Eg of crash when editing graphic with "Allow Overlap" unchecked

This bug was filed from the crash reporting server and is br-0ff629ca-5a8c-42f1-b742-862a2c3e2f52.

To reproduce:
1) Open attached file. Select View >> Normal.
2) On p2, dbl-click the graphic.
3) Change Type >> Anchor from "As Character" to "To Character".
4) Click OK. File crashes -- at least on my system.
5) Repeat above steps, but first, in the graphic's properties, change Wrap >> Allow Overlap to true. 
6) Click OK. File does not crash.

Seems to have something to do with any edit to a graphic's properties which results in the graphic wrapping to a previous page -- in this case, from p2 to p1. Crash does not occur when "Allow Overlap is checked but does when unchecked.
Comment 1 Telesto 2020-05-07 16:48:02 UTC
Repro with
Versie: (x64)
Build ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU-threads: 4; Besturingssysteem: Windows 6.3 Build 9600; UI-render: standaard; VCL: win; 
Locale: nl-NL (nl_NL); UI-taal: nl-NL
Calc: CL

but not with
Version: (x64)
Build ID: 97a2c1fc5e376c0c00968f17a0392c6d3a5ed565
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: threaded
Comment 2 Aron Budea 2020-05-09 03:39:19 UTC
Reverse bibisected when this crash got fixed using repo bibisect-linux-64-6.5, and got to the following commit. Setting as duplicate. Fix will be available in 6.4.4.

author		Miklos Vajna <vmiklos@collabora.com>	2020-04-27 20:48:30 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	2020-04-28 09:03:18 +0200

tdf#131729 sw: handle no drawing objects when calculating overlap of objects

*** This bug has been marked as a duplicate of bug 131729 ***