Bug#778509: freecad crashes whis SIGSEV when attempting to save a file created in a previous session

Pedro Ângelo pangelo at void.io
Mon Feb 16 01:01:07 UTC 2015


Package: freecad
Version: 0.14.3702+dfsg-3
Severity: grave
Justification: renders package unusable

I can reproduce this crash consistently:

 * Start up FreeCAD and draw something (e.g. a cube in Part Design Workbench)
 * Save the file and close FreeCAD
 * Re-start FreeCAD and open the previously saved file
 * Attempt to save the file (either Save or Save As..)

Here is the stack trace i get:

#0  0x00007ffff47a1c7c in ?? () from /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4
#1  0x00007ffff47a1d33 in ?? () from /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4
#2  0x00007ffff47a24ec in ?? () from /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4
#3  0x00007ffff47b67ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4
#4  0x00007ffff47b7782 in QGLFramebufferObject::QGLFramebufferObject(int, int,
QGLFramebufferObject::Attachment, unsigned int, unsigned int) ()
   from /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4
#5  0x00007ffff7594caf in
Gui::Thumbnail::createThumbnailFromFramebuffer(QImage&) const () from
/usr/lib/freecad/lib/libFreeCADGui.so
#6  0x00007ffff759573b in Gui::Thumbnail::SaveDocFile(Base::Writer&) const ()
   from /usr/lib/freecad/lib/libFreeCADGui.so
#7  0x00007ffff6d012dc in Base::ZipWriter::writeFiles() ()
   from /usr/lib/freecad/lib/libFreeCADBase.so
#8  0x00007ffff6fef4ef in App::Document::save() ()
   from /usr/lib/freecad/lib/libFreeCADApp.so
#9  0x00007ffff7022fb0 in App::DocumentPy::save(_object*) ()
   from /usr/lib/freecad/lib/libFreeCADApp.so
#10 0x00007ffff7023125 in App::DocumentPy::staticCallback_save(_object*,
_object*) () from /usr/lib/freecad/lib/libFreeCADApp.so
#11 0x00007ffff680ab1c in PyEval_EvalFrameEx ()
   from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#12 0x00007ffff687d010 in PyEval_EvalCodeEx ()
   from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
---Type <return> to continue, or q <return> to quit---
#13 0x00007ffff6805309 in PyEval_EvalCode ()
   from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#14 0x00007ffff6827c26 in PyRun_StringFlags ()
   from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#15 0x00007ffff6ca6c06 in Base::InterpreterSingleton::runString(char const*) ()
   from /usr/lib/freecad/lib/libFreeCADBase.so
#16 0x00007ffff75a6f4f in Gui::Command::doCommand(Gui::Command::DoCmd_Type,
char const*, ...) () from /usr/lib/freecad/lib/libFreeCADGui.so
#17 0x00007ffff7570951 in Gui::Document::save() ()
   from /usr/lib/freecad/lib/libFreeCADGui.so
#18 0x00007ffff7736ab3 in Gui::View3DInventor::onMsg(char const*, char const**)
    () from /usr/lib/freecad/lib/libFreeCADGui.so
#19 0x00007ffff7565567 in Gui::Application::sSendActiveView(_object*, _object*,
_object*) () from /usr/lib/freecad/lib/libFreeCADGui.so
#20 0x00007ffff680ab1c in PyEval_EvalFrameEx ()
   from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#21 0x00007ffff687d010 in PyEval_EvalCodeEx ()
   from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#22 0x00007ffff6805309 in PyEval_EvalCode ()
   from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#23 0x00007ffff6827c26 in PyRun_StringFlags ()
   from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#24 0x00007ffff6ca6c06 in Base::InterpreterSingleton::runString(char const*) ()
   from /usr/lib/freecad/lib/libFreeCADBase.so
#25 0x00007ffff75a6f4f in Gui::Command::doCommand(Gui::Command::DoCmd_Type,
char const*, ...) () from /usr/lib/freecad/lib/libFreeCADGui.so
#26 0x00007ffff75a69fc in Gui::Command::invoke(int) ()
   from /usr/lib/freecad/lib/libFreeCADGui.so
#27 0x00007ffff040af4c in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007ffff0eb7af2 in QAction::triggered(bool) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007ffff0eb9677 in QAction::activate(QAction::ActionEvent) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007ffff130cead in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#31 0x00007ffff1311869 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007ffff0f114d8 in QWidget::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#33 0x00007ffff131583b in QMenu::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#34 0x00007ffff0ebe29c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#35 0x00007ffff0ec4f0f in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#36 0x00007ffff7564ec5 in Gui::GUIApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/freecad/lib/libFreeCADGui.so
#37 0x00007ffff03f5f8d in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007ffff0ec456f in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#39 0x00007ffff0f3b43a in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#40 0x00007ffff0f39a9c in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007ffff0f62ad2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x00007fffe9173c5d in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fffe9173f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fffe9173ffc in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007ffff04254ed in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00007ffff0f62b96 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#47 0x00007ffff03f4ae1 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#48 0x00007ffff03f4e45 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64
-linux-gnu/libQtCore.so.4
#49 0x00007ffff03fa8b9 in QCoreApplication::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#50 0x00007ffff755bdba in Gui::Application::runApplication() ()
   from /usr/lib/freecad/lib/libFreeCADGui.so
#51 0x0000000000404418 in main ()


This makes FreeCAD almost unusable for me. Please let me know how I can further
help debug this.

Cheers,
P.



-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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-13
ii  libcoin80                       3.1.4~abc9f50-7
ii  libfreeimage3                   3.15.4-4.1+b1
ii  libfreetype6                    2.5.2-2
ii  libgcc1                         1:4.9.1-19
ii  libgfortran3                    4.9.1-19
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.8-11
ii  libqt4-network                  4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii  libqt4-opengl                   4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii  libqt4-svg                      4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii  libqt4-xml                      4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii  libqt4-xmlpatterns              4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii  libqtcore4                      4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii  libqtgui4                       4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii  libqtwebkit4                    2.3.4.dfsg-3
ii  libquadmath0                    4.9.1-19
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.1-19
ii  libx11-6                        2:1.6.2-3
ii  libxerces-c3.1                  3.1.1-5
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.3.1-2
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.8-11
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>



More information about the debian-science-maintainers mailing list