Start up on debian stretch

Having trouble installing or compiling FreeCAD? Get help here.
User avatar
detlet
Posts: 82
Joined: Sun Sep 25, 2011 5:54 pm
Location: Lauenstein, Germany

Start up on debian stretch

Postby detlet » Sun Sep 06, 2015 12:02 pm

From the last time, some days ago, a fresh checkout (git) and build of FreeCAD does not work any more. On startup it gives the error message

build/Mod/Sketcher/Sketcher.so: undefined symbol: _ZN7gp_Trsf9SetValuesEdddddddddddd

and the (default) Sketcher workbench does not start. If I try to switch the workbench it crashes with a memory violation. I have not installed FreeCAD, but start it from the build/bin directory.

Any hints?

OS: Debian GNU/Linux testing (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.5460 (Git)
Build type: Unknown
Branch: master
Hash: 3665b77827e769f376546b71d744423814dc4516
Python version: 2.7.10
Qt version: 4.8.7
Coin version: 4.0.0a
drei
Posts: 479
Joined: Sun May 11, 2014 7:47 pm
Location: Mexico
Contact:

Re: Start up on debian stretch

Postby drei » Sun Sep 06, 2015 5:51 pm

First off, I'd recommend doing a clean build a new directory. Be sure to set the Build to Debug.
Need help? Feel free to ask, but please read the guidelines first
User avatar
detlet
Posts: 82
Joined: Sun Sep 25, 2011 5:54 pm
Location: Lauenstein, Germany

Re: Start up on debian stretch

Postby detlet » Mon Sep 07, 2015 4:08 pm

I started it with debug symbols includes under gdb. Here is the output:

Code: Select all

gdb FreeCAD
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from FreeCAD...done.
(gdb) run
Starting program: /home/det/Schreibtisch/soft/free-cad-git/build/bin/FreeCAD 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
FreeCAD 0.16, Libs: 0.16R5460 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

[New Thread 0x7fffde9e1700 (LWP 26364)]
Attach observer 0x872be0
Attach observer 0x8a4d70
Attach observer 0x937d50
Attach observer 0x9c6dd8
Attach observer 0xa4e168
Attach observer 0xa4e168
Attach observer 0xa5c560
/home/det/Schreibtisch/soft/free-cad-git/build/Mod/Sketcher/Sketcher.so: undefined symbol: _ZN7gp_Trsf9SetValuesEdddddddddddd

Program received signal SIGSEGV, Segmentation fault.
0x0000000000167a76 in ?? ()
(gdb) bt
#0  0x0000000000167a76 in ?? ()
#1  0x00007fffd974af44 in initPart () at /home/det/Schreibtisch/soft/free-cad-git/src/Mod/Part/App/AppPart.cpp:106
#2  0x00007ffff5ef59b7 in _PyImport_LoadDynamicModule () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#3  0x00007ffff5ef8cd1 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#4  0x00007ffff5ef974e in PyImport_ImportModuleLevel () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#5  0x00007ffff5f895e8 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#6  0x00007ffff5fec2e3 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#7  0x00007ffff6014347 in PyEval_CallObjectWithKeywords () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#8  0x00007ffff5f7e308 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#9  0x00007ffff6015740 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#10 0x00007ffff5f7aa79 in PyEval_EvalCode () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#11 0x00007ffff5ef5079 in PyImport_ExecCodeModuleEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#12 0x00007ffff5ef6b0e in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#13 0x00007ffff5ef8cd1 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#14 0x00007ffff5ef92bd in PyImport_ImportModuleLevel () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#15 0x00007ffff5f895e8 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#16 0x00007ffff5fec2e3 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#17 0x00007ffff6014347 in PyEval_CallObjectWithKeywords () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#18 0x00007ffff5f7e308 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#19 0x00007ffff6015740 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#20 0x00007ffff5f7aa79 in PyEval_EvalCode () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#21 0x00007ffff5ef5079 in PyImport_ExecCodeModuleEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#22 0x00007ffff5ef6b0e in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#23 0x00007ffff5ef8cd1 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#24 0x00007ffff5ef92bd in PyImport_ImportModuleLevel () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#25 0x00007ffff5f895e8 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#26 0x00007ffff5fec2e3 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#27 0x00007ffff6014347 in PyEval_CallObjectWithKeywords () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#28 0x00007ffff5f7e308 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#29 0x00007ffff6015740 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#30 0x00007ffff5f7aa79 in PyEval_EvalCode () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#31 0x00007ffff5ef5079 in PyImport_ExecCodeModuleEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#32 0x00007ffff5ef6b0e in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#33 0x00007ffff5ef8cd1 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#34 0x00007ffff5ef8f85 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#35 0x00007ffff5ef9447 in PyImport_ImportModuleLevel () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#36 0x00007ffff5f895e8 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#37 0x00007ffff5fec2e3 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#38 0x00007ffff6014347 in PyEval_CallObjectWithKeywords () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#39 0x00007ffff5f7e308 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#40 0x00007ffff6015740 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#41 0x00007ffff5fb02ac in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#42 0x00007ffff5fec2e3 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#43 0x00007ffff6027f05 in ?? () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#44 0x00007ffff5fec2e3 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#45 0x00007ffff6014347 in PyEval_CallObjectWithKeywords () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#46 0x00007ffff7328ef9 in Py::Callable::apply (this=0x7fffffffa850, args=...) at /home/det/Schreibtisch/soft/free-cad-git/src/CXX/Python2/Objects.hxx:3215
#47 0x00007ffff731fb0f in Gui::Application::activateWorkbench (this=0x7fffffffcea0, name=0x7fffe4abd754 "PartDesignWorkbench")
    at /home/det/Schreibtisch/soft/free-cad-git/src/Gui/Application.cpp:1022
#48 0x00007ffff733e554 in Gui::Application::sActivateWorkbenchHandler (args=0x7fffe4aa9d10) at /home/det/Schreibtisch/soft/free-cad-git/src/Gui/ApplicationPy.cpp:595
#49 0x00007ffff5f82f92 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#50 0x00007ffff6015740 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#51 0x00007ffff5f7aa79 in PyEval_EvalCode () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#52 0x00007ffff5f58156 in PyRun_StringFlags () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#53 0x00007ffff651e6b8 in Base::InterpreterSingleton::runString[abi:cxx11](char const*) (this=0x657a30, sCmd=0x15f6dd0 "Gui.activateWorkbench(\"PartDesignWorkbench\")")
    at /home/det/Schreibtisch/soft/free-cad-git/src/Base/Interpreter.cpp:160
---Type <return> to continue, or q <return> to quit--- 
#54 0x00007ffff73a6c53 in Gui::Command::doCommand (eType=Gui::Command::Gui, sCmd=0x7ffff79bba14 "Gui.activateWorkbench(\"%s\")")
    at /home/det/Schreibtisch/soft/free-cad-git/src/Gui/Command.cpp:432
#55 0x00007ffff73c12c5 in StdCmdWorkbench::activated (this=0x873720, i=10) at /home/det/Schreibtisch/soft/free-cad-git/src/Gui/CommandStd.cpp:99
#56 0x00007ffff73a6488 in Gui::Command::invoke (this=0x873720, i=10) at /home/det/Schreibtisch/soft/free-cad-git/src/Gui/Command.cpp:289
#57 0x00007ffff739c209 in Gui::ActionGroup::onActivated (this=0x1280700, a=0x12ac940) at /home/det/Schreibtisch/soft/free-cad-git/src/Gui/Action.cpp:343
#58 0x00007ffff73a084c in Gui::ActionGroup::qt_static_metacall (_o=0x1280700, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffffffb850)
    at /home/det/Schreibtisch/soft/free-cad-git/build/src/Gui/moc_Action.cpp:128
#59 0x00007ffff07091c0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#60 0x00007ffff11b922f in QActionGroup::triggered(QAction*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#61 0x00007ffff11b92df in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#62 0x00007ffff07091c0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#63 0x00007ffff11b6912 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#64 0x00007ffff11b7c73 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#65 0x00007ffff16163ed in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#66 0x00007ffff161a7e9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#67 0x00007ffff12131c0 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#68 0x00007ffff161ea5b in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#69 0x00007ffff11bc8dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#70 0x00007ffff11c39d6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#71 0x00007ffff7329a73 in Gui::GUIApplication::notify (this=0x7fffffffd190, receiver=0x1308d40, event=0x7fffffffc240)
    at /home/det/Schreibtisch/soft/free-cad-git/src/Gui/Application.cpp:1552
#72 0x00007ffff06f4abd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#73 0x00007ffff11c2fdd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#74 0x00007ffff123e95c in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#75 0x00007ffff123c99d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#76 0x00007ffff1266962 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#77 0x00007fffe9569c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#78 0x00007fffe9569f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#79 0x00007fffe9569fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#80 0x00007ffff07253e4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#81 0x00007ffff1266a36 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#82 0x00007ffff06f3331 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#83 0x00007ffff06f36a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#84 0x00007ffff06f9689 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#85 0x00007ffff7324dbc in Gui::Application::runApplication () at /home/det/Schreibtisch/soft/free-cad-git/src/Gui/Application.cpp:1851
#86 0x0000000000406eb2 in main (argc=1, argv=0x7fffffffe298) at /home/det/Schreibtisch/soft/free-cad-git/src/Main/MainGui.cpp:235