View Issue Details

IDProjectCategoryView StatusLast Update
0004242DraftBugpublic2021-02-06 06:45
Reportervocx Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSUbuntuOS Version18.04
Target Version0.20 
Summary0004242: Crash: when testing Draft Dimension
DescriptionAll workbenches include unit tests to tests many of its tools.

When running the test for the Draft Dimension tool, and only this tool, from the command line, the software crashes.

It doesn't crash if all tests are run, only when this single test is run in isolation.

Many people can't reproduce this crash. Therefore, the problem could be my particular system, including Coin version, and graphics card.

Forum thread Crash: when testing Draft Dimension
Steps To ReproduceRun from the command line


freecad -t drafttests.test_creation.DraftCreation.test_dimension_linear

It does not crash if all tests are run

freecad -t TestDraft
Additional InformationMy system has

pivy.__version__
'0.6.5a0'

And Intel HD 620 (rev 02) graphics.

Backtrace in the attached file.
TagsNo tags attached.
FreeCAD InformationOS: Ubuntu 18.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19212 (Git)
Build type: Debug
Branch: master
Hash: 004fda205ed8470702864083f417710db222b760
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

Activities

vocx

2020-02-11 16:47

reporter   ~0014155

Attachment of log
bug_4242.txt (Attachment missing)

vocx

2020-05-17 20:23

reporter   ~0014417

Another forum thread to reproduce the error with a single file containing a single Draft Dimension, Crash with a single Draft Dimension.

Probably an explanation for the problem is that the Dimension rebuilds its viewprovider using Pivy (Coin), which is not available at start.

To make it work, first create a new document, which creates a 3D view, and then switch to the Draft Workbench to initialize Pivy. Then loading the single document with a single dimension works correctly.

Issue History

Date Modified Username Field Change
2020-01-09 05:25 vocx New Issue
2020-01-09 05:29 vocx FreeCAD Information OS: Ubuntu 18.04.3 LTS (ubuntu:GNOME/ubuntu) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.19212 (Git) Build type: Unknown Branch: master Hash: 004fda205ed8470702864083f417710db222b760 Python version: 3.6.9 Qt version: 5.9.... => OS: Ubuntu 18.04.3 LTS (ubuntu:GNOME/ubuntu) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.19212 (Git) Build type: Debug Branch: master Hash: 004fda205ed8470702864083f417710db222b760 Python version: 3.6.9 Qt version: 5.9.5 ...
2020-02-10 22:29 vocx Additional Information Updated
2020-02-10 22:48 vocx Additional Information Updated
2020-02-11 16:47 vocx Note Added: 0014155
2020-02-11 16:47 vocx File Added: bug_4242.txt
2020-05-17 20:23 vocx Note Added: 0014417
2021-02-06 06:45 abdullah Target Version => 0.20