Created attachment 180868 [details]
Callstack by VS 2019
The crash happens only in a debug-build.
Start a new presentation and insert a shape. Deselect shape. Make sure you can select the shape by clicking on it. Deselect shape.
Enable "Helplines while moving". That is in menu View->Grid and Helplines. Click on the shape -> crash.
Created attachment 180919 [details]
bt with debug symbols
On pc Debian x86-64 with master sources updated today, I could reproduce this.
Reverting a447b5b6d1114111c92e5e3e3f3ae83d4c2f3bca (loplugin:moveit) partly (just in svx/source/sdr/overlay/overlaytools.cxx) makes the crash disappear.
Noel: I understand that moving data instead of copying is interesting but if there's no safeguard to avoid a crash here or a missing context like https://cgit.freedesktop.org/libreoffice/core/commit/?id=c0e66cfab12d6c78d68af09498533362724dbd05), perhaps we should revert them and wait a bit to improve loplugin:moveit?
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":
tdf#149655 Crash: "Helplines while moving" crashes debug-build
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:
Affected users are encouraged to test the fix and report feedback.
On pc Debian x86-64 with master sources updated today (included Noel's patch), I confirm I don't reproduce this.
Thank you Noel!