Bug#926500: freecad: FreeCad crashes when attemting to edit a existing sketch

Bernhard Übelacker bernhardu at mailbox.org
Mon Apr 22 13:55:33 BST 2019


Hello Pere Nubiola Radigales,
thanks for the quick response.

Am 22.04.19 um 12:09 schrieb Pere Nubiola Radigales:
> The file TaulaEscriptori.FCStd file crashes when you try to open the
> sketcher
> I also attach the debug file created with gdb
> 
> Regards
> Pere Nubiola Radigales
> Telf: +34 656316974
> e-mail: pere at nubiola.cat <mailto:pere at nubiola.cat>
>            pnubiola at fsfe.org <mailto:pnubiola at fsfe.org>
>            pere.nubiola at gmail.com <mailto:pere.nubiola at gmail.com>


I had not expected a gdb output that big and unfortunately
therefore it might got not accepted in the bug tracker,
therefore forwarding again.

With the attached file I still could not reproduce the crash,
but found from the gdb output it uses this file:
    /usr/lib/freecad-python3/lib/libFreeCADGui.so

But on my test VM I could first just see a usage of python2 version:
    /usr/lib/freecad-python2/lib/libFreeCADGui.so

So I installed freecad-python3 and removed freecad-python2,
but still could not reproduce the crash.

Maybe, as a workaround, you can try to use freecad-python2 and
remove freecad-python3 and see if the problem still shows up.

Now, I guess, we have to wait for the maintainers opinion
about what looks like a stack exhaustion.

Kind regards,
Bernahrd


#0  0x00007ffff42fbd94 in QTextEngine::itemize() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#1  0x00007ffff43051fc in QTextLayout::beginLayout() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#2  0x00007ffff4869f6f in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#3  0x00007ffff486d432 in QCommonStylePrivate::viewItemSize(QStyleOptionViewItem const*, int) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#4  0x00007ffff486dd08 in QCommonStylePrivate::viewItemLayout(QStyleOptionViewItem const*, QRect*, QRect*, QRect*, bool) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007ffff486e61f in QCommonStyle::sizeFromContents(QStyle::ContentsType, QStyleOption const*, QSize const&, QWidget const*) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007fffe63d3b27 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/styles/oxygen.so
#7  0x00007ffff48a381d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007ffff4a64aa9 in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ffff4a76373 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007ffff4a80f18 in QListView::updateGeometries() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007ffff4834f6e in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff48d7d1e in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff4a491bb in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff3e722bb in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ffff47f64a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff47fd950 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff71793b8 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /usr/lib/freecad-python3/lib/libFreeCADGui.so
#18 0x00007ffff3e725a9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff482beb9 in QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff482cc80 in QWidget::setGeometry(QRect const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff48d8ff9 in QAbstractScrollAreaPrivate::layoutChildren_helper(bool*, bool*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff48d955a in QAbstractScrollAreaPrivate::layoutChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff4a80fb8 in QListView::updateGeometries() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff4834f6e in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff48d7d1e in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff4a491bb in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff3e722bb in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007ffff47f64a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff47fd950 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff71793b8 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /usr/lib/freecad-python3/lib/libFreeCADGui.so
...
#41933 0x00007ffff71793b8 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /usr/lib/freecad-python3/lib/libFreeCADGui.so
#41934 0x00007ffff3e725a9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41935 0x00007ffff482beb9 in QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41936 0x00007ffff482cc80 in QWidget::setGeometry(QRect const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41937 0x00007ffff4815fb0 in QWidgetItem::setGeometry(QRect const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41938 0x00007ffff480c210 in QBoxLayout::setGeometry(QRect const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41939 0x00007ffff48123f8 in QLayoutPrivate::doResize(QSize const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41940 0x00007ffff4813489 in QLayout::activate() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41941 0x00007ffff47f6496 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41942 0x00007ffff47fd950 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41943 0x00007ffff71793b8 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /usr/lib/freecad-python3/lib/libFreeCADGui.so
#41944 0x00007ffff3e725a9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41945 0x00007ffff482beb9 in QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41946 0x00007ffff482cc80 in QWidget::setGeometry(QRect const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41947 0x00007ffff4815fb0 in QWidgetItem::setGeometry(QRect const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41948 0x00007ffff480c210 in QBoxLayout::setGeometry(QRect const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41949 0x00007ffff48123f8 in QLayoutPrivate::doResize(QSize const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41950 0x00007ffff4813489 in QLayout::activate() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41951 0x00007ffff4834097 in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41952 0x00007ffff48335c1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41953 0x00007ffff3e9c182 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41954 0x00007ffff4834a1b in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41955 0x00007ffff47f64b1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41956 0x00007ffff47fd950 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41957 0x00007ffff71793b8 in Gui::GUIApplication::notify(QObject*, QEvent*) () from /usr/lib/freecad-python3/lib/libFreeCADGui.so
#41958 0x00007ffff3e725a9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41959 0x00007ffff3e7559b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41960 0x00007ffff3ec4233 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41961 0x00007ffff07f1f2e in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#41962 0x00007ffff07f21c8 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#41963 0x00007ffff07f225c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#41964 0x00007ffff3ec3863 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41965 0x00007fffee4633e1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#41966 0x00007ffff3e7127b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41967 0x00007ffff3e79262 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41968 0x00007ffff7116bfe in Gui::Application::runApplication() () from /usr/lib/freecad-python3/lib/libFreeCADGui.so
#41969 0x0000555555558776 in main ()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb_freecad_2019-04-22_11-34-33.txt.gz
Type: application/gzip
Size: 312684 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20190422/36a8cff3/attachment-0001.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TaulaEscriptori.FCStd
Type: application/octet-stream
Size: 5354 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20190422/36a8cff3/attachment-0001.obj>


More information about the debian-science-maintainers mailing list