Hello wandererfan,
Should we still post bugs here, or would you rather I create a separate topic for each issue?
I found one surefire way to crash FreeCAD
:
- Create a new document
- Open the TechDraw wb
- Click on "Insert new default drawing page"
- Click on the arrow in front of Page to reveal the Template
- Delete Template (right-click and "Delete")
- A dialog opens:
The following, referencing objects might break.
Are you sure you want to continue?
Page
Click OK
- Select Page in Model tree
- Hit delete
- Boom! Instant crash.
Terminal output:
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
App::DocumentObject::getNameInDocument (this=0x0)
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/App/DocumentObject.cpp:133
133 /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/App/DocumentObject.cpp: Aucun fichier ou dossier de ce type.
"Aucun fichier ou dossier de ce type." means "No file or folder with this name".
backtrace:
Code: Select all
#0 App::DocumentObject::getNameInDocument (this=0x0)
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/App/DocumentObject.cpp:133
#1 0x00007fff5ba26c2d in TechDraw::DrawPage::unsetupObject (this=0x2593850)
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/Mod/TechDraw/App/DrawPage.cpp:331
#2 0x00007ffff6d27ea6 in App::Document::remObject (this=0x1deb4e0,
sName=sName@entry=0x7fffe5165ec4 "Page")
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/App/Document.cpp:2293
#3 0x00007ffff6d73aad in App::DocumentPy::removeObject (
this=this@entry=0xd5b5b0, args=<optimized out>)
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/App/DocumentPyImp.cpp:278
#4 0x00007ffff6d73bd7 in App::DocumentPy::staticCallback_removeObject (
self=0xd5b5b8, args=<optimized out>)
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/obj-x86_64-linux-gnu/src/App/DocumentPy.cpp:1197
#5 0x00007ffff651d0d4 in PyEval_EvalFrameEx ()
from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#6 0x00007ffff651e54d in PyEval_EvalCodeEx ()
from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#7 0x00007ffff651e682 in PyEval_EvalCode ()
#8 0x00007ffff65184b9 in PyRun_StringFlags ()
from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#9 0x00007ffff698e0b4 in Base::InterpreterSingleton::runString (
this=<optimized out>,
sCmd=sCmd@entry=0x281ba38 "App.getDocument(\"Sans_nom\").removeObject(\"Page\")")
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/Base/Interpreter.cpp:196
#10 0x00007ffff742e692 in Gui::Command::doCommand (
eType=eType@entry=Gui::Command::Doc,
sCmd=sCmd@entry=0x7ffff7a1e350 "App.getDocument(\"%s\").removeObject(\"%s\")")
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/Gui/Command.cpp:475
#11 0x00007ffff743bb23 in StdCmdDelete::activated (this=<optimized out>,
iMsg=<optimized out>)
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/Gui/CommandDoc.cpp:1155
#12 0x00007ffff74337bc in Gui::Command::invoke (this=0x9e6810, i=0)
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/Gui/Command.cpp:300
#13 0x00007ffff538987a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007ffff58a0a62 in QAction::triggered(bool) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#15 0x00007ffff58a2433 in QAction::activate(QAction::ActionEvent) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007ffff58a258c in QAction::event(QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#17 0x00007ffff58a6e2c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#18 0x00007ffff58ad4a0 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007ffff740f891 in Gui::GUIApplication::notify (this=0x7fffffffd670,
receiver=0x1afa390, event=0x7fffffffc360)
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/Gui/GuiApplication.cpp:91
#20 0x00007ffff53754dd in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007ffff58d82a6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007ffff58d83dc in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007ffff58ae773 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#24 0x00007ffff740f891 in Gui::GUIApplication::notify (this=0x7fffffffd670,
receiver=0xb01110, event=0x7fffffffc830)
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/Gui/GuiApplication.cpp:91
#25 0x00007ffff53754dd in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007ffff5946027 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#27 0x00007ffff59463c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007ffff5920417 in QApplication::x11ProcessEvent(_XEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007ffff5948b32 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x00007fffee214e04 in g_main_context_dispatch ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fffee215048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fffee2150ec in g_main_context_iteration ()
from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007ffff53a27a1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#34 0x00007ffff5948be6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#35 0x00007ffff53740af in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#36 0x00007ffff53743a5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#37 0x00007ffff5379b79 in QCoreApplication::exec() ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#38 0x00007ffff73cd7d1 in Gui::Application::runApplication ()
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/Gui/Application.cpp:1735
#39 0x00000000004032cd in main (argc=1, argv=<optimized out>)
at /build/freecad-daily-KLVQIW/freecad-daily-0.17~alpha1+git201701312145~ubuntu14.04.1/src/Main/MainGui.cpp:237
OS: Ubuntu 14.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9927 (Git)
Build type: None
Branch: master
Hash: 2780edd903e9819eb0d0940ca0e754f1124ac188
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17