i am having issues using the sketcher, it seem a bug but I wonder if it is only due to some user configuration or something else.
Description:
How to reproduce:
1) Open FreeCAD
2) Select the sketcher WB
3) Create a new empty document
4) Create a new Sketch
5) Accept the XY-Plane; no reverse direction; 00mm offset.
Result: Crash.
Another way to get the issue is by opening a previously created file and double-click any sketch.
Core-dump:
http://www.escain.org/download/core.freeCAD.2019-03-25
GDB bt:
Code: Select all
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007f28700e8535 in __GI_abort () at abort.c:79
#2 0x00007f28700e840f in __assert_fail_base (fmt=0x7f287024aee0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=0x7f28748361a8 "(SoBase::classTypeId != SoType::badType()) && \"An SoBase-derived class was attempted instantiated *before* Coin initialization. (Have you perhaps placed an SoBase-derived instance (e.g. a scene graph "..., file=0x7f2874835ffb "SoBase.cpp", line=199, function=<optimized out>) at assert.c:92
#3 0x00007f28700f60f2 in __GI___assert_fail (
assertion=0x7f28748361a8 "(SoBase::classTypeId != SoType::badType()) && \"An SoBase-derived class was attempted instantiated *before* Coin initialization. (Have you perhaps placed an SoBase-derived instance (e.g. a scene graph "..., file=0x7f2874835ffb "SoBase.cpp", line=199, function=0x7f2874836be0 "SoBase::SoBase()") at assert.c:101
#4 0x00007f28744f4639 in SoBase::SoBase() () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#5 0x00007f2874508588 in SoPath::SoPath(int) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#6 0x00007f28745013d9 in SoFullPath::SoFullPath(int) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#7 0x00007f287451378e in SoTempPath::SoTempPath(int) () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#8 0x00007f28743936cc in SoAction::SoAction() () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#9 0x00007f28743a63fc in SoSearchAction::SoSearchAction() () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#10 0x00007f2857847354 in ?? () from /usr/lib/python2.7/dist-packages/pivy/_coin.x86_64-linux-gnu.so
#11 0x00007f2875352b31 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#12 0x00007f2875349622 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#13 0x00007f28753d025c in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#14 0x00007f28753faad3 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#15 0x00007f28753e743c in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#16 0x00007f28753faad3 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#17 0x00007f2875396c02 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#18 0x00007f2875395dba in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#19 0x00007f28753faad3 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#20 0x00007f287534e9ca in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#21 0x00007f2875351599 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#22 0x00007f2875351599 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#23 0x00007f2875351599 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#24 0x00007f2875349622 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#25 0x00007f2875349c39 in PyEval_EvalCode () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#26 0x00007f2875322066 in PyRun_StringFlags () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#27 0x00007f2875724b04 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) () from /opt/freecad/free-cad-code/lib/libFreeCADBase.so
#28 0x00007f2876e1d71c in Gui::Command::runCommand(Gui::Command::DoCmd_Type, QByteArray const&) () from /opt/freecad/free-cad-code/lib/libFreeCADGui.so
#29 0x00007f285de4dc72 in SketcherGui::ViewProviderSketch::setEdit(int) () from /opt/freecad/free-cad-code/Mod/Sketcher/SketcherGui.so
#30 0x00007f2877109049 in Gui::ViewProvider::startEditing(int) () from /opt/freecad/free-cad-code/lib/libFreeCADGui.so
Info about FreeCAD
Code: Select all
OS: Debian GNU/Linux buster/sid
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16207 (Git)
Build type: Unknown
Branch: master
Hash: 741533941c67da2f721bf1b7c2d55c987fd22a0c
Python version: 2.7.16
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.9.1.oce-0.18
Locale: English/UnitedKingdom (en_GB)