| Summary: | CRASH: after clicking between the horizontal and vertical rulers | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | phv <libreoffice> |
| Component: | Draw | Assignee: | Julien Nabet <serval2412> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | noelgrandin, serval2412 |
| Priority: | high | Keywords: | bibisected, haveBacktrace, regression |
| Version: | 7.5.0.0 alpha0+ | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:7.5.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Attachments: | bt with debug symbols | ||
|
Description
phv
2022-08-19 15:13:08 UTC
This bug also occurs in LibreOffice Impress. Created attachment 181888 [details]
bt with debug symbols
On pc Debian x86-64 with master sources updated today, I could reproduce this.
I confirm I don't reproduce this on LO Debian package 7.4.0.3 With this straightforward patch, I don't reproduce the crash:
diff --git a/svx/source/sdr/overlay/overlaytools.cxx b/svx/source/sdr/overlay/overlaytools.cxx
index d2f01adaa16c..3bb91506033b 100644
--- a/svx/source/sdr/overlay/overlaytools.cxx
+++ b/svx/source/sdr/overlay/overlaytools.cxx
@@ -236,7 +236,7 @@ sal_uInt32 OverlayStaticRectanglePrimitive::getPrimitive2DID() const
rContainer.push_back(
new PolygonMarkerPrimitive2D(
- std::move(aPolygon),
+ aPolygon,
getRGBColorA(),
getRGBColorB(),
getDiscreteDashLength()));
Regression from: a447b5b6d1114111c92e5e3e3f3ae83d4c2f3bca
loplugin:moveit
Noel: any thoughts here? Does the one-line proposed patch seem ok to you?
Julien, that looks right (In reply to Noel Grandin from comment #5) > Julien, that looks right Thank you for the quick feedback, I put you in cc of https://gerrit.libreoffice.org/c/core/+/138564 as you may have seen. Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/3f1c90beafdfd5389e6e22eabca30f9429530ce0 tdf#150502: crash after clicking between the horizontal and vertical rulers It will be available in 7.5.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. |