View Issue Details

IDProjectCategoryView StatusLast Update
0003190ArchBugpublic2018-01-11 15:56
Reporterbomastudio Assigned Toyorik  
PriorityimmediateSeveritycrashReproducibilityalways
Status closedResolutionnot fixable 
PlatformLinuxOSMintOS Version18 Sarah
Product Version0.16 
Summary0003190: Arch workbench - running Axes System crash FreeCAD
Description$ freecad
FreeCAD 0.16, Libs: 0.16R6712 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  ##### #### ### ####
  # # # # # #
  # ## #### #### # # # # #
  #### # # # # # # # ##### # #
  # # #### #### # # # # #
  # # # # # # # # # ## ## ##
  # # #### #### ### # # #### ## ## ##

Arch workbench activated
freecad: SoType.cpp:739: SbBool SoType::isDerivedFrom(SoType) const: asserzione "!this->isBad()" non riuscita.
Annullato

for non-english people:

"asserzione" = "assertion"
"non riuscita" = "failed"
Steps To Reproduce1. start FreeCAD
2. start Arch Workbench
3. run System Axis
TagsNo tags attached.
FreeCAD Information

Activities

Kunda1

2017-09-16 12:09

administrator   ~0010133

@bomastudio Thanks for reporting. I can confirm on
OS: "Manjaro Linux"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.Unknown (6712)
Build type: Release
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.9.1

Cannot find icon: /usr/share/freecad/Mod/Web/Resources/icons/WebWorkbench.svg
Arch workbench activated

Thread 1 "freecad" received signal SIGSEGV, Segmentation fault.
0x00007ffff423a0b0 in cc_rbptree_insert () from /usr/lib/libCoin.so.60
(gdb) bt
#0  0x00007ffff423a0b0 in cc_rbptree_insert () at /usr/lib/libCoin.so.60
#1  0x00007ffff4336b32 in SoChildList::append(SoNode*) ()
    at /usr/lib/libCoin.so.60
0000002  0x00007fffd20dd5e2 in  ()
    at /usr/lib/python2.7/site-packages/pivy/_coin.so
0000003  0x00007ffff663f67a in PyEval_EvalFrameEx ()
    at /usr/lib/libpython2.7.so.1.0
0000004  0x00007ffff66401cf in PyEval_EvalFrameEx ()
    at /usr/lib/libpython2.7.so.1.0
0000005  0x00007ffff66a04c5 in PyEval_EvalCodeEx () at /usr/lib/libpython2.7.so.1.0
0000006  0x00007ffff660d69e in function_call.lto_priv ()
    at /usr/lib/libpython2.7.so.1.0
0000007  0x00007ffff666b0e3 in PyObject_Call () at /usr/lib/libpython2.7.so.1.0
0000008  0x00007ffff663b61e in instancemethod_call.lto_priv ()
    at /usr/lib/libpython2.7.so.1.0
0000009  0x00007ffff666b0e3 in PyObject_Call () at /usr/lib/libpython2.7.so.1.0
0000010 0x00007ffff669fbd0 in PyEval_CallObjectWithKeywords ()
    at /usr/lib/libpython2.7.so.1.0
0000011 0x00007ffff76966db in Gui::ViewProviderPythonFeatureImp::attach(App::DocumentObject*) () at /usr/lib/freecad/lib/libFreeCADGui.so
0000012 0x00007ffff769edcb in Gui::ViewProviderPythonFeatureT<Gui::ViewProviderDocumentObject>::onChanged(App::Property const*) ()
---Type <return> to continue, or q <return> to quit---
    at /usr/lib/freecad/lib/libFreeCADGui.so
0000013 0x00007ffff6e675c5 in App::Property::hasSetValue() ()
    at /usr/lib/freecad/lib/libFreeCADApp.so
0000014 0x00007ffff6e85bbb in App::PropertyPythonObject::setPyObject(_object*) ()
    at /usr/lib/freecad/lib/libFreeCADApp.so
0000015 0x00007ffff6e6c8a8 in App::PropertyContainerPy::setCustomAttributes(char const*, _object*) () at /usr/lib/freecad/lib/libFreeCADApp.so
0000016 0x00007ffff6e6dc57 in App::PropertyContainerPy::_setattr(char*, _object*) () at /usr/lib/freecad/lib/libFreeCADApp.so
0000017 0x00007ffff7690180 in Gui::ViewProviderPy::_setattr(char*, _object*) ()
    at /usr/lib/freecad/lib/libFreeCADGui.so
0000018 0x00007ffff7684060 in Gui::ViewProviderDocumentObjectPy::_setattr(char*, _object*) () at /usr/lib/freecad/lib/libFreeCADGui.so
0000019 0x00007ffff7685ae0 in Gui::ViewProviderPythonFeaturePy::_setattr(char*, _object*) () at /usr/lib/freecad/lib/libFreeCADGui.so
0000020 0x00007ffff6a7d030 in Base::PyObjectBase::__setattr(_object*, char*, _object*) () at /usr/lib/freecad/lib/libFreeCADBase.so
0000021 0x00007ffff6670b5d in PyObject_SetAttr () at /usr/lib/libpython2.7.so.1.0
0000022 0x00007ffff664093a in PyEval_EvalFrameEx ()
    at /usr/lib/libpython2.7.so.1.0
0000023 0x00007ffff66a04c5 in PyEval_EvalCodeEx () at /usr/lib/libpython2.7.so.1.0
0000024 0x00007ffff660d69e in function_call.lto_priv ()
---Type <return> to continue, or q <return> to quit---
    at /usr/lib/libpython2.7.so.1.0
0000025 0x00007ffff666b0e3 in PyObject_Call () at /usr/lib/libpython2.7.so.1.0
0000026 0x00007ffff663b61e in instancemethod_call.lto_priv ()
    at /usr/lib/libpython2.7.so.1.0
0000027 0x00007ffff666b0e3 in PyObject_Call () at /usr/lib/libpython2.7.so.1.0
0000028 0x00007ffff669fbd0 in PyEval_CallObjectWithKeywords ()
    at /usr/lib/libpython2.7.so.1.0
0000029 0x00007ffff663eeec in PyInstance_New () at /usr/lib/libpython2.7.so.1.0
0000030 0x00007ffff666b0e3 in PyObject_Call () at /usr/lib/libpython2.7.so.1.0
0000031 0x00007ffff6644fed in PyEval_EvalFrameEx ()
    at /usr/lib/libpython2.7.so.1.0
0000032 0x00007ffff66a04c5 in PyEval_EvalCodeEx () at /usr/lib/libpython2.7.so.1.0
0000033 0x00007ffff664514e in PyEval_EvalFrameEx ()
    at /usr/lib/libpython2.7.so.1.0
0000034 0x00007ffff66a04c5 in PyEval_EvalCodeEx () at /usr/lib/libpython2.7.so.1.0
0000035 0x00007ffff66ba8f9 in PyEval_EvalCode () at /usr/lib/libpython2.7.so.1.0
0000036 0x00007ffff66ad50f in run_mod () at /usr/lib/libpython2.7.so.1.0
0000037 0x00007ffff66af276 in PyRun_StringFlags () at /usr/lib/libpython2.7.so.1.0
0000038 0x00007ffff73ec9e8 in Gui::Application::sDoCommand(_object*, _object*, _object*) () at /usr/lib/freecad/lib/libFreeCADGui.so
#39 0x00007ffff663f67a in PyEval_EvalFrameEx ()
    at /usr/lib/libpython2.7.so.1.0
---Type <return> to continue, or q <return> to quit---
#40 0x00007ffff66a04c5 in PyEval_EvalCodeEx () at /usr/lib/libpython2.7.so.1.0
0000041 0x00007ffff660d69e in function_call.lto_priv ()
    at /usr/lib/libpython2.7.so.1.0
0000042 0x00007ffff666b0e3 in PyObject_Call () at /usr/lib/libpython2.7.so.1.0
0000043 0x00007ffff663b61e in instancemethod_call.lto_priv ()
    at /usr/lib/libpython2.7.so.1.0
0000044 0x00007ffff666b0e3 in PyObject_Call () at /usr/lib/libpython2.7.so.1.0
0000045 0x00007ffff669fbd0 in PyEval_CallObjectWithKeywords ()
    at /usr/lib/libpython2.7.so.1.0
0000046 0x00007ffff6abf855 in PP_Run_Method ()
    at /usr/lib/freecad/lib/libFreeCADBase.so
0000047 0x00007ffff6a42fdb in Base::InterpreterSingleton::runMethodVoid(_object*, char const*) () at /usr/lib/freecad/lib/libFreeCADBase.so
0000048 0x00007ffff745125a in Gui::PythonCommand::activated(int) ()
    at /usr/lib/freecad/lib/libFreeCADGui.so
0000049 0x00007ffff7454f1b in Gui::Command::invoke(int) ()
    at /usr/lib/freecad/lib/libFreeCADGui.so
0000050 0x00007ffff54c19c5 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib/libQtCore.so.4
0000051 0x00007ffff59fb5e3 in QAction::triggered(bool) ()
    at /usr/lib/libQtGui.so.4
0000052 0x00007ffff59fc9fb in QAction::activate(QAction::ActionEvent) ()
---Type <return> to continue, or q <return> to quit---
    at /usr/lib/libQtGui.so.4
0000053 0x00007ffff59fcf2d in QAction::event(QEvent*) () at /usr/lib/libQtGui.so.4
0000054 0x00007ffff5a01714 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQtGui.so.4
0000055 0x00007ffff5a08b5d in QApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/libQtGui.so.4
0000056 0x00007ffff742a6d7 in Gui::GUIApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/freecad/lib/libFreeCADGui.so
0000057 0x00007ffff54acf7e in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/libQtCore.so.4
0000058 0x00007ffff5a38d80 in  () at /usr/lib/libQtGui.so.4
0000059 0x00007ffff5a38f79 in  () at /usr/lib/libQtGui.so.4
0000060 0x00007ffff5a0a3bd in QApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/libQtGui.so.4
0000061 0x00007ffff742a6d7 in Gui::GUIApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/freecad/lib/libFreeCADGui.so
0000062 0x00007ffff54acf7e in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/libQtCore.so.4
0000063 0x00007ffff5aab481 in  () at /usr/lib/libQtGui.so.4
0000064 0x00007ffff5aab837 in  () at /usr/lib/libQtGui.so.4
0000065 0x00007ffff5a84c7b in QApplication::x11ProcessEvent(_XEvent*) ()
    at /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
0000066 0x00007ffff5aae380 in  () at /usr/lib/libQtGui.so.4
0000067 0x00007ffff0d06a57 in g_main_context_dispatch ()
    at /usr/lib/libglib-2.0.so.0
0000068 0x00007ffff0d06c88 in  () at /usr/lib/libglib-2.0.so.0
0000069 0x00007ffff0d06d1c in g_main_context_iteration ()
    at /usr/lib/libglib-2.0.so.0
0000070 0x00007ffff54de268 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQtCore.so.4
0000071 0x00007ffff5aae508 in  () at /usr/lib/libQtGui.so.4
0000072 0x00007ffff54ab484 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQtCore.so.4
0000073 0x00007ffff54ab7ef in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQtCore.so.4
0000074 0x00007ffff54b1480 in QCoreApplication::exec() ()
    at /usr/lib/libQtCore.so.4
0000075 0x00007ffff73e1061 in Gui::Application::runApplication() ()
    at /usr/lib/freecad/lib/libFreeCADGui.so
0000076 0x0000000100002e26 in main ()


PS
In the future please first asked anyone on the forum about an issue before posting a ticket? (as the banner on the top of this page explains). Most of the times issues will be fixed before needing to even open a ticket.

CC @wmayer

Kunda1

2017-09-16 19:37

administrator   ~0010134

Can also reproduce on 0.17 via FreeCAD-0.17.git201708302241.glibc2.17-x86_64.AppImage

OS: "Manjaro Linux"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11939 (Git)
Build type: None
Branch: master
Hash: 6e7952ec672895900eec0c2a25807b25befba818
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)

Starting program: /home/beast/Downloads/FreeCAD-0.17.git201708302241.glibc2.17-x86_64.AppImage 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
process 2400 is executing new program: /tmp/.mount_FreeCAvNFr2K/AppRun
process 2400 is executing new program: /tmp/.mount_FreeCAvNFr2K/usr/lib/freecad-daily/bin/FreeCAD
warning: Could not load shared library symbols for 3 libraries, e.g. ././/lib/freecad-daily/lib/libFreeCADGui.so.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
FreeCAD 0.17, Libs: 0.17R11939 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2017
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

[New Thread 0x7fffdc769700 (LWP 2411)]
[New Thread 0x7fff9be66700 (LWP 2412)]
[New Thread 0x7fff9b0ca700 (LWP 2413)]
[New Thread 0x7fff99908700 (LWP 2414)]
[New Thread 0x7fff99107700 (LWP 2415)]
[New Thread 0x7fff98906700 (LWP 2416)]
Arch workbench activated
freecad-daily: SoType.cpp:739: SbBool SoType::isDerivedFrom(SoType) const: Assertion `!this->isBad()' failed.

Thread 1 "freecad-daily" received signal SIGABRT, Aborted.
0x00007ffff48438a0 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff48438a0 in raise () at /usr/lib/libc.so.6
#1  0x00007ffff4844f09 in abort () at /usr/lib/libc.so.6
0000002  0x00007ffff483c0dc in __assert_fail_base () at /usr/lib/libc.so.6
0000003  0x00007ffff483c153 in  () at /usr/lib/libc.so.6
0000004  0x00007ffff40c67c1 in  () at /tmp/.mount_FreeCAvNFr2K/usr/lib/x86_64-linux-gnu/libCoin.so.80
0000005  0x00007fff7c83056d in  () at /tmp/.mount_FreeCAvNFr2K/usr/lib/python2.7/dist-packages/pivy/_coin.so
0000006  0x00007ffff645c0d4 in PyEval_EvalFrameEx () at /tmp/.mount_FreeCAvNFr2K/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000007  0x00007ffff645c059 in PyEval_EvalFrameEx () at /tmp/.mount_FreeCAvNFr2K/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000008  0x00007ffff645e17d in PyEval_EvalCodeEx () at /tmp/.mount_FreeCAvNFr2K/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000009  0x00007ffff645e310 in  () at /tmp/.mount_FreeCAvNFr2K/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000010 0x00007ffff6425e23 in PyObject_Call () at /tmp/.mount_FreeCAvNFr2K/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000011 0x00007ffff637930d in  () at /tmp/.mount_FreeCAvNFr2K/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000012 0x00007ffff6425e23 in PyObject_Call () at /tmp/.mount_FreeCAvNFr2K/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000013 0x00007ffff63e4837 in PyEval_CallObjectWithKeywords () at /tmp/.mount_FreeCAvNFr2K/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
0000014 0x00007ffff75eb27f in  ()
0000015 0x0000003bf6bd7e3c in  ()
0000016 0x0000000002c3c9f0 in  ()
0000017 0x0000000004e92d48 in  ()
0000018 0x00007ffff7dee357 in _dl_runtime_resolve_sse_vex () at /lib64/ld-linux-x86-64.so.2

wmayer

2017-09-22 16:55

administrator   ~0010150

In the past we had this problem a couple of times when we still used SoQt. The problem always was that SoQt and FreeCAD linked against different Coin versions.

So, it should be checked which Coin version FreeCAD is linked to and which version pivy is linked to. Therefore post the output of:

ldd libFreeCADGui.so and ldd _coin.so

Kunda1

2017-09-22 19:27

administrator   ~0010152

will a fix be backported?

wmayer

2017-09-23 08:34

administrator   ~0010161

In case this is the root of the problem then it's up to the package maintainer to make the linking to Coin3d consistent. The preferred solution is that both (pivy and FreeCAD) link against the newer version (4.0) of Coin3d.

Kunda1

2017-09-24 02:55

administrator   ~0010165

@wmayer how do we inform package maintainers of this ? Should it be in the Release notes ?

Kunda1

2017-12-10 21:27

administrator   ~0010562

@wmayer care to respond ?

wmayer

2018-01-02 14:08

administrator   ~0010664

What is the output of

ldd /usr/lib/python2.7/site-packages/pivy/_coin.so
According to stack trace we use two different Coin runtime libs:
/usr/lib/libCoin.so.60 and /tmp/.mount_FreeCAvNFr2K/usr/lib/x86_64-linux-gnu/libCoin.so.80 and this just cannot work.
my guess is that pivy links against the old coin version and it's up to the package maintainer to upgrade the package.
So, this must be reported

wmayer

2018-01-02 14:09

administrator   ~0010665

Unset target version as it's not up to FreeCAD devs to fix this.

yorik

2018-01-11 15:56

administrator   ~0010738

Closing this as it is not fixable by FreeCAD devs

Issue History

Date Modified Username Field Change
2017-09-16 09:40 bomastudio New Issue
2017-09-16 12:09 Kunda1 Status new => confirmed
2017-09-16 12:09 Kunda1 Note Added: 0010133
2017-09-16 19:37 Kunda1 Note Added: 0010134
2017-09-22 15:57 yorik Assigned To => yorik
2017-09-22 15:57 yorik Status confirmed => assigned
2017-09-22 16:55 wmayer Note Added: 0010150
2017-09-22 19:27 Kunda1 Target Version => 0.17
2017-09-22 19:27 Kunda1 Note Added: 0010152
2017-09-23 08:34 wmayer Note Added: 0010161
2017-09-24 02:55 Kunda1 Note Added: 0010165
2017-12-10 21:27 Kunda1 Note Added: 0010562
2018-01-02 14:08 wmayer Note Added: 0010664
2018-01-02 14:09 wmayer Target Version 0.17 =>
2018-01-02 14:09 wmayer Note Added: 0010665
2018-01-11 15:56 yorik Note Added: 0010738
2018-01-11 15:56 yorik Status assigned => closed
2018-01-11 15:56 yorik Resolution open => not fixable