You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The function test_dimension_linear() does not exist anymore. There are 2 new functions that replace it: test_dimension_linear_simple() and test_dimension_linear_obj().
Both of those tests work. Therefore closing this ticket
Issue imported from https://tracker.freecad.org/view.php?id=4242
Original report text
All 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
Additional information
My system has
And Intel HD 620 (rev 02) graphics.
Backtrace in the attached file.
Steps to reproduce
Run from the command line
It does not crash if all tests are run
FreeCAD Info
Other bug information
Discussion from Mantis ticket
Comment by openBrain (private) 2020-02-11 09:48
vocx : your note ~14147 just above is blank. What's its purpose ?
Comment by vocx 2020-02-11 16:47
Attachment of log
Comment by vocx 2020-05-17 20:23
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.
The text was updated successfully, but these errors were encountered: