View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004031||Expressions||Bug||public||2019-06-20 13:03||2019-12-01 05:44|
|Summary||0004031: Crash upon solving expression referencing named Constraint|
|Description||Freecad git build as of 18.06.2019 sometimes crashes with signal 11 upon referencing a named constraint in an expression. This is width python 3 and qt5.|
|Steps To Reproduce||1. open TestPlate.FCStd|
2. go to part design workbench
4. create sketch
5. draw circle somewhere
5. create vertical constraint between center and origin.
6. click on expression button
7. type in Sketch.Constraints.w
8. observe crash
|Additional Information||OS: Arch Linux|
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18336 (Git)
Build type: Release
Python version: 3.7.3
Qt version: 5.12.4
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
|Tags||No tags attached.|
TestPlate.FCStd (32,769 bytes)
@dhka2 : thanks a lot for reporting with valuable information.
However as requested in the bug reporting policy (in the giant yellow banner on top of this page, and in the "Read this before reporting" on the left), it is advised to first open a dedicated topic on the Help subforum. This will allow other forumers to confirm the issue and help finding the root cause. Once issue is eventually confirmed, forum thread & ticket can be crosslinked to ease bug fixing.
Looks to me as a duplicate of 0004003 thus of 0003379 as 'w' is unit symbol for Watt.
@dhka2 : according previous tickets, it should work with "Sketch.Constraints.<<w>>". Could you please confirm ?
The forum sticky suggests a forum post is only necessary if it is unclear if encountered behaviour is a bug or a featureTM. "2. If you are unsure, discuss the problem on the forum first. ". As a segmentation fault is always a bug i thought it not necessary. If the intent is to always have a forum post before a bug report this is a documentation bug.
Indeed this is related to 0004003 and 003379 however these bug reports do not state that a crash occurs. Indeed all reserved letters input into the expression window in this manner result in a crash.
Indeed a forum post is always expected. The flow diagram of the bug submission guidelines topic is clear about it. And you can see in the posts following the OP that there is a discussion to clarify also that in the text. :)
The reason for which a forum thread is asked is more than a bug can have external reason or specificity (OS, libraries, hardware, ...). This is what we try to identify in the forum so the ticket is as precise as possible. ;)
Just ways to improve your next bug reporting. ;)
||@eivindkvedalen care to take a look at this ?|
||I'm struggling to reproduce this: what is the "expression button" referenced in step 6?|
I believe it's this: https://www.freecadweb.org/wiki/File:Sketcher_Expressions.png
|2019-06-20 13:03||dhka2||New Issue|
|2019-06-20 13:03||dhka2||File Added: TestPlate.FCStd|
|2019-06-20 16:34||openBrain||Note Added: 0013279|
|2019-06-20 16:44||openBrain||Note Added: 0013280|
|2019-06-20 16:45||openBrain||Priority||urgent => normal|
|2019-06-20 16:45||openBrain||Status||new => feedback|
|2019-06-20 16:45||openBrain||Relationship added||duplicate of 0003379|
|2019-06-20 18:06||dhka2||Note Added: 0013281|
|2019-06-20 18:06||dhka2||Status||feedback => new|
|2019-06-20 19:08||openBrain||Note Added: 0013282|
|2019-06-28 10:46||Kunda1||Relationship added||related to 0004003|
|2019-06-28 10:47||Kunda1||Note Added: 0013317|
|2019-06-28 10:49||Kunda1||Status||new => confirmed|
|2019-06-28 10:49||Kunda1||Project||FreeCAD => Expressions|
|2019-12-01 04:52||ezzieyguywuf||Note Added: 0013853|
|2019-12-01 05:44||Kunda1||Note Added: 0013854|