View Issue Details

IDProjectCategoryView StatusLast Update
0004393SketcherBugpublic2020-07-08 14:18
ReportergreyCat Assigned Toabdullah  
Status closedResolutionfixed 
Summary0004393: Crash when clone line with reference constraint.
DescriptionThe application is crashed, when you clone some figure in Sketch workbench.
Steps To Reproduce1. Open FreeCAD.
2. Create new document.
3. Switch to the Sketcher workbench.
4. Create a new sketch.
5. Create a line in the sketch.
6. Apply a "Constrain distance" to this line.
7. Toggle this constraint to reference.
8. Select the line.
9. Invoke Clone command.
10. Place the clone of line.
11. "Illegal storage access...
Unhandled exception in ViewProvider::eventCallback: Illegal storage access! Please save your work under a new file name and restart the application!
(Event type: SoMouseButtonEvent, object type: SketcherGui::ViewProviderSketch)"
message appears in report view.
And than "Can't update constraint icons because view is not in sync with sketch".
12. Click to any point of sketch view.
13. FreeCAD crashes.
Additional InformationTested for:

OS: Windows 10 (10.0)
Version: 0.19.21622 (Git)

OS: macOS High Sierra (10.13)
Version: 0.19.21671 (Git)

OS: Ubuntu 16.04.6 LTS (Unity/ubuntu)
Version: 0.19.
FreeCAD InformationOS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21622 (Git)
Build type: Release
Branch: master
Hash: f5a5bf7900e9a5cdbb5f7f82fcf5123b27c9703f
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)



2020-07-02 18:22

administrator   ~0014615

Please open a forum thread (per the guidelines) and link to the thread from this ticket + link ticket to thread.


2020-07-07 16:51

viewer   ~0014630

Fix committed to master branch.


2020-07-07 17:06

administrator   ~0014631

Fixed with FreeCAD master 33841eb8

Related Changesets

FreeCAD: master 33841eb8

2020-06-30 21:08:35


Committer: abdullahtahiriyo Details Diff
Sketcher: fix crash, when cloning element having a non-driving distance, radius, diameter or angle constraint; fixes 0004393 Affected Issues
mod - src/Mod/Sketcher/App/SketchObject.cpp Diff File

Issue History

Date Modified Username Field Change
2020-06-30 11:07 greyCat New Issue
2020-07-02 18:21 Kunda1 Tag Attached: #post-to-forum
2020-07-02 18:22 Kunda1 Status new => feedback
2020-07-02 18:22 Kunda1 Note Added: 0014615
2020-07-07 16:51 git Changeset attached => FreeCAD master 33841eb8
2020-07-07 16:51 guest Note Added: 0014630
2020-07-07 17:06 Kunda1 Assigned To => abdullah
2020-07-07 17:06 Kunda1 Status feedback => closed
2020-07-07 17:06 Kunda1 Resolution open => fixed
2020-07-07 17:06 Kunda1 Note Added: 0014631