View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004031 | Expressions | Bug | public | 2019-06-20 13:03 | 2021-02-06 06:30 |
Reporter | dhka2 | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Platform | Linux | OS | Arch | ||
Target Version | 0.20 | ||||
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. stdout output:
| ||||
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 Branch: makepkg Hash: 52d0f1db0905f11497241aa2ed35d5d990eda53f 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. | ||||
FreeCAD Information | |||||
duplicate of | 0003379 | assigned | eivindkvedalen | Expressions | Certain identifiers (like h, rad) cannot be used as names for constraints for usage in expressions |
related to | 0004003 | new | Spreadsheet | Renaming spreadsheet no longer has any affect on field tags. |
|
|
|
@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. Thanks |
|
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? |
|
@ezzieyguywuf I believe it's this: https://www.freecadweb.org/wiki/File:Sketcher_Expressions.png |
|
Just a few observations: 1/ A vertical constraint does not take a parameter, so no expression button is available. Did you mean vertical distance constraint? 2/ 'Sketch' in your sample file does not include a constraint called 'w' (Did you mean Spreadsheet.w )? 3/ If I use a vertical distance constraint and enter the value Sketch002.Constraints.Nw (which does exist!) it works. So I guess either a) the bug does not affect Windows b) it has been fixed since revision 18336 c) it is particular to branch makepkg My test environment: OS: Windows 10 (10.0) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.21769 (Git) Build type: Release Branch: master Hash: 801bfe4ba5f0910e9b2885917c521ab7fd8e9020 Python version: 3.6.8 Qt version: 5.12.1 Coin version: 4.0.0a OCC version: 7.3.0 Locale: English/United Kingdom (en_GB) |
|
This ticket has been migrated to GitHub as issue 5950. |
Date Modified | Username | Field | Change |
---|---|---|---|
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 | |
2020-07-02 11:54 | mikeprice99 | Note Added: 0014611 | |
2020-07-02 12:01 | mikeprice99 | Note Edited: 0014611 | |
2021-02-06 06:30 | abdullah | Target Version | => 0.20 |