Bug#785230: freecad: SIGSEV in PyCallable_Check() while clicking in main window in draft mode

Jeffrey Cliff jeffrey.cliff at gmail.com
Wed May 13 17:27:08 UTC 2015


Package: freecad
Version: 0.14.3702+dfsg-3
Severity: important

Dear Maintainer,

* imported stl file
* clicked in a few areas.
* changed to draft mode
* clicked in main area
* segfault

stack trace:

<type 'exceptions.TypeError'>

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff67f0cc2 in PyCallable_Check ()
   from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
(gdb) bt
#0  0x00007ffff67f0cc2 in PyCallable_Check ()
   from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#1  0x00007ffff755d1b3 in Py::Callable::accepts(_object*) const ()
   from /usr/lib/freecad/lib/libFreeCADGui.so
#2  0x00007ffff6c7d4e9 in Py::Object::validate() ()
   from /usr/lib/freecad/lib/libFreeCADBase.so
#3  0x00007ffff774df16 in Gui::View3DInventorPy::eventCallback(void*,
SoEventCallback*) () from /usr/lib/freecad/lib/libFreeCADGui.so
#4  0x00007ffff51f547b in SoEventCallback::handleEvent(SoHandleEventAction*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#5  0x00007ffff520972c in SoNode::handleEventS(SoAction*, SoNode*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#6  0x00007ffff4fcf704 in SoAction::traverse(SoNode*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#7  0x00007ffff511edc4 in SoChildList::traverse(SoAction*, int, int) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#8  0x00007ffff51ff18f in SoGroup::doAction(SoAction*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#9  0x00007ffff521c1f7 in SoSeparator::doAction(SoAction*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#10 0x00007ffff76d316c in
Gui::SoFCUnifiedSelection::handleEvent(SoHandleEventAction*) () from
/usr/lib/freecad/lib/libFreeCADGui.so
#11 0x00007ffff520972c in SoNode::handleEventS(SoAction*, SoNode*) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#12 0x00007ffff4fcf704 in SoAction::traverse(SoNode*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#13 0x00007ffff511edc4 in SoChildList::traverse(SoAction*, int, int) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#14 0x00007ffff51ff18f in SoGroup::doAction(SoAction*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#15 0x00007ffff521c1f7 in SoSeparator::doAction(SoAction*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#16 0x00007ffff520972c in SoNode::handleEventS(SoAction*, SoNode*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#17 0x00007ffff4fcf704 in SoAction::traverse(SoNode*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#18 0x00007ffff511edc4 in SoChildList::traverse(SoAction*, int, int) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#19 0x00007ffff51ff18f in SoGroup::doAction(SoAction*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#20 0x00007ffff521c1f7 in SoSeparator::doAction(SoAction*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#21 0x00007ffff520972c in SoNode::handleEventS(SoAction*, SoNode*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#22 0x00007ffff4fcf704 in SoAction::traverse(SoNode*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
---Type <return> to continue, or q <return> to quit---
#23 0x00007ffff4fd9caa in SoHandleEventAction::beginTraversal(SoNode*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#24 0x00007ffff4fd02d2 in SoAction::apply(SoNode*) ()
   from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#25 0x00007ffff513cbc9 in SoEventManager::actuallyProcessEvent(SoEvent const*)
    () from /usr/lib/x86_64-linux-gnu/libCoin.so.80
#26 0x00007ffff4ab30b4 in SoQtRenderArea::processSoEvent(SoEvent const*) ()
   from /usr/lib/x86_64-linux-gnu/libSoQt.so.20
#27 0x00007ffff4ae08bb in SoQtViewer::processSoEvent(SoEvent const*) ()
   from /usr/lib/x86_64-linux-gnu/libSoQt.so.20
#28 0x00007ffff772edbc in
Gui::CADNavigationStyle::processSoEvent(SoEvent const*) () from
/usr/lib/freecad/lib/libFreeCADGui.so
#29 0x00007ffff772c048 in Gui::NavigationStyle::processEvent(SoEvent const*) ()
   from /usr/lib/freecad/lib/libFreeCADGui.so
#30 0x00007ffff773f077 in
Gui::View3DInventorViewer::processSoEvent(SoEvent const*) () from
/usr/lib/freecad/lib/libFreeCADGui.so
#31 0x00007ffff4ab61e8 in SoQtRenderArea::processEvent(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libSoQt.so.20
#32 0x00007ffff773edcc in Gui::View3DInventorViewer::processEvent(QEvent*) ()
   from /usr/lib/freecad/lib/libFreeCADGui.so
#33 0x00007ffff4aaf64f in SoQtGLWidgetP::eventFilter(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libSoQt.so.20
#34 0x00007ffff03d9886 in
QCoreApplicationPrivate::sendThroughObjectEventFilters---Type <return>
to continue, or q <return> to quit---
(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00007ffff0ea146c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007ffff0ea810f in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007ffff7564ec5 in Gui::GUIApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/freecad/lib/libFreeCADGui.so
#38 0x00007ffff03d971d in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007ffff0ea776f in
QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*,
QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#40 0x00007ffff0f1e432 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007ffff0f1ce2c in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x00007ffff0f45ed2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#43 0x00007fffe9156c5d in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fffe9156f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fffe9156ffc in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007ffff0408d1d in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#47 0x00007ffff0f45f96 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#48 0x00007ffff03d8271 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#49 0x00007ffff03d85d5 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#50 0x00007ffff03de059 in QCoreApplication::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#51 0x00007ffff755bdba in Gui::Application::runApplication() ()
   from /usr/lib/freecad/lib/libFreeCADGui.so
#52 0x0000000000404418 in main ()
(gdb)


*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages freecad depends on:
ii  libboost-filesystem1.55.0       1.55.0+dfsg-3
ii  libboost-program-options1.55.0  1.55.0+dfsg-3
ii  libboost-regex1.55.0            1.55.0+dfsg-3
ii  libboost-signals1.55.0          1.55.0+dfsg-3
ii  libboost-system1.55.0           1.55.0+dfsg-3
ii  libboost-thread1.55.0           1.55.0+dfsg-3
ii  libc6                           2.19-18
ii  libcoin80                       3.1.4~abc9f50-7
ii  libfreeimage3                   3.15.4-4.1+b1
ii  libfreetype6                    2.5.2-3
ii  libgcc1                         1:4.9.2-10
ii  libgfortran3                    4.9.2-10
ii  libgl1-mesa-glx [libgl1]        10.3.2-1
ii  libglu1-mesa [libglu1]          9.0.0-2
ii  libice6                         2:1.0.9-1+b1
ii  liboce-foundation8              0.15-5
ii  liboce-modeling8                0.15-5
ii  liboce-ocaf-lite8               0.15-5
ii  liboce-ocaf8                    0.15-5
ii  liboce-visualization8           0.15-5
ii  libpyside1.2                    1.2.2-1+b1
ii  libpython2.7                    2.7.9-2
ii  libqt4-network                  4:4.8.6+git64-g5dc8b2b+dfsg-3
ii  libqt4-opengl                   4:4.8.6+git64-g5dc8b2b+dfsg-3
ii  libqt4-svg                      4:4.8.6+git64-g5dc8b2b+dfsg-3
ii  libqt4-xml                      4:4.8.6+git64-g5dc8b2b+dfsg-3
ii  libqt4-xmlpatterns              4:4.8.6+git64-g5dc8b2b+dfsg-3
ii  libqtcore4                      4:4.8.6+git64-g5dc8b2b+dfsg-3
ii  libqtgui4                       4:4.8.6+git64-g5dc8b2b+dfsg-3
ii  libqtwebkit4                    2.3.4.dfsg-3
ii  libquadmath0                    4.9.2-10
ii  libshiboken1.2                  1.2.2-1+b1
ii  libsm6                          2:1.2.2-1+b1
ii  libsoqt4-20                     1.6.0~e8310f-2
ii  libspnav0                       0.2.2-1
ii  libstdc++6                      4.9.2-10
ii  libx11-6                        2:1.6.2-3
ii  libxerces-c3.1                  3.1.1-5.1
ii  libxext6                        2:1.3.3-1
ii  libzipios++0c2a                 0.1.5.9+cvs.2007.04.28-5.1
ii  python-collada                  0.4-2
ii  python-matplotlib               1.4.2-3.1
ii  python-pivy                     0.5.0~v609hg-3
ii  python-ply                      3.4-5
ii  python-pyside                   1.2.2-1
ii  python2.7                       2.7.9-2
pn  python:any                      <none>
ii  zlib1g                          1:1.2.8.dfsg-2+b1

freecad recommends no packages.

Versions of packages freecad suggests:
pn  freecad-doc  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list