I have a recent master build and am finding that the expression editor in sketcher is crashing FC and dumping me back to the console.
In the attacked minimal example, open the sketch and edit the length constraint on the side length of the square. Entering all values works as expected.
Now click the ffx icon to go to the expression editor. The numbers 0..9 are accepted, however enter a decimal point and it is not reflected in the expression editor. After a couple of seconds FC crashes, windows close and totally disappears with a coredump . I'm left back at the command console I used to launch FC.
Code: Select all
/builddir/build/BUILD/gcc-12.2.1-20221121/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/basic_string.h:1221: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; reference = char&; size_type = long unsigned int]: Assertion '__pos <= size()' failed.
Aborted (core dumped)
Code: Select all
OS: Fedora Linux 36 (Thirty Six) (LXQt/lxqt)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32198 (Git)
Build type: Release
Branch: master
Hash: f51b2156f35399cab38eef1e957a59ad5a11de66
Python 3.10.10, Qt 5.15.8, Coin 4.0.0, Vtk , OCC 7.6.3
Locale: English/United Kingdom (en_GB)
Installed mods:
* FreeCAD_Assembly4 0.11.10
* FreeCAD_assembly3