View Issue Details

IDProjectCategoryView StatusLast Update
0000967PartDesignBugpublic2015-01-07 16:39
Reporterpeterinker Assigned Tojmaustpc  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version0.14 
Summary0000967: Crash on deleting draft elements
DescriptionI created a draft on a part. After that FreeCad became very unstable. It crashes when I try to delete the draft element. Also, other operations from "Part Design" like mirror do not work anymore. Here the debug print of the crash:

simeon@pandora ~ % freecad-git Dokumente/FreeCadTraining/conrod.fcstd
FreeCAD 0.13, Libs: 0.13R1827 (Git)
[...]
matplotlib not found, Plot module will be disabled
pycollada not found, collada support will be disabled.
[1] 2656 segmentation fault (core dumped) freecad-git


Expected:

It should at least be possible to delete corrupt elements from the tree.
Additional InformationI'm running arch linux 64Bit

In conrod.fcstd the corrupt part is named "Draft corrupt"

TagsNo tags attached.
FreeCAD Information

Activities

2013-01-27 18:19

 

conrod.fcstd (138,940 bytes)

2013-01-27 20:07

 

stacktrace (5,327 bytes)   
gdb freecad-git
GNU gdb (GDB) 7.5.1
Copyright (C) 2012 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-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/freecad-git...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/freecad-git 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3400.3-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
FreeCAD 0.13, Libs: 0.13R1827 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

[New Thread 0x7fffdab23700 (LWP 3658)]
matplotlib not found, Plot module will be disabled
pycollada not found, collada support will be disabled.
[New Thread 0x7fffcb093700 (LWP 3659)]
[New Thread 0x7fff88f9f700 (LWP 3660)]
[New Thread 0x7fff83fff700 (LWP 3661)]
[New Thread 0x7fff837fe700 (LWP 3662)]
[New Thread 0x7fff816bc700 (LWP 3663)]
[New Thread 0x7fff80ebb700 (LWP 3664)]
[New Thread 0x7fff73fff700 (LWP 3665)]
[New Thread 0x7fff737fe700 (LWP 3666)]
[New Thread 0x7fff72ffd700 (LWP 3667)]
[New Thread 0x7fff7238c700 (LWP 3668)]
[New Thread 0x7fff71b8b700 (LWP 3669)]
[New Thread 0x7fff7138a700 (LWP 3670)]
[New Thread 0x7fff70b89700 (LWP 3671)]
[Thread 0x7fff71b8b700 (LWP 3669) exited]
[Thread 0x7fff7138a700 (LWP 3670) exited]
[Thread 0x7fff70b89700 (LWP 3671) exited]
[Thread 0x7fff72ffd700 (LWP 3667) exited]
[Thread 0x7fff737fe700 (LWP 3666) exited]
[Thread 0x7fff7238c700 (LWP 3668) exited]
Transformed shape does not intersect support Pocket003: Removed
Transformed shape does not intersect support Pocket003: Removed
[Thread 0x7fff80ebb700 (LWP 3664) exited]
[Thread 0x7fff73fff700 (LWP 3665) exited]
Transformed shape does not intersect support Pocket003: Removed
Transformed shape does not intersect support Pocket003: Removed

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff68545e1 in ?? () from /usr/lib/libQtGui.so.4
(gdb) bt
#0  0x00007ffff68545e1 in ?? () from /usr/lib/libQtGui.so.4
#1  0x00007ffff66dead3 in QWidgetPrivate::paintBackground(QPainter*, QRegion const&, int) const () from /usr/lib/libQtGui.so.4
#2  0x00007ffff66e455a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#3  0x00007ffff68aec4d in ?? () from /usr/lib/libQtGui.so.4
#4  0x00007ffff66d98b0 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#5  0x00007ffff66e8ea4 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#6  0x00007ffff6aad25b in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#7  0x00007ffff76eda2b in Gui::MainWindow::event(QEvent*) () from /usr/lib/freecad-git/lib/libFreeCADGui.so.2
#8  0x00007ffff669918c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#9  0x00007ffff669d60a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007ffff760915f in Gui::GUIApplication::notify(QObject*, QEvent*) () from /usr/lib/freecad-git/lib/libFreeCADGui.so.2
#11 0x00007ffff5ab36ae in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#12 0x00007ffff5ab7011 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#13 0x00007ffff5ae19d3 in ?? () from /usr/lib/libQtCore.so.4
#14 0x00007fffeddca845 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0x00007fffeddcab78 in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x00007fffeddcac34 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#17 0x00007ffff5ae1b66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#18 0x00007ffff673969e in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007ffff5ab23ff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00007ffff5ab2688 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0x00007ffff5ab7328 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#22 0x00007ffff76067eb in Gui::Application::runApplication() () from /usr/lib/freecad-git/lib/libFreeCADGui.so.2
#23 0x00000000004040d6 in ?? ()
#24 0x00007ffff4ac2a15 in __libc_start_main () from /usr/lib/libc.so.6
#25 0x00000000004053a1 in ?? ()
stacktrace (5,327 bytes)   

wmayer

2013-01-28 06:27

administrator   ~0002873

The crash seems to be related to Qt. Which version of Qt do you use?

peterinker

2013-02-03 19:57

reporter   ~0002877

I am using qt 4.8.4-2

jrheinlaender

2013-02-21 14:26

developer   ~0002934

I couldn't reproduce the crash on
OS: Ubuntu 12.04.2 LTS
Platform: 32-bit
Version: 0.13.1900 (Git)
Branch: master
Hash: 7a5129ad8bc3e14b4f84ea195bff027da7ee00e5
Python version: 2.7.3
Qt version: 4.8.1
Coin version: 3.1.3
SoQt version: 1.5.0
OCC version: 6.5.1

but I did notice that the draft in question didn't have faces defined and in general the feature tree was pretty messy (I'm not saying that's your fault, though). For example, a pocket was missing but its geometry was there...

I remodeled just for fun, see attachment.

Could you try again and let us know the exact steps to arrive at the crash?

2013-02-21 14:29

 

conrod-remodeled.fcstd (766,627 bytes)

jmaustpc

2015-01-07 16:37

manager   ~0005564

I can not reproduce this in current software.
OS: Ubuntu 14.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4435 (Git)
Branch: master
Hash: f24e216db4fb923b2571ad9d856f934e81bec797
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1.oce-0.17-dev

jmaustpc

2015-01-07 16:39

manager   ~0005565

I can not reproduce this in current software.

Issue History

Date Modified Username Field Change
2013-01-27 18:19 peterinker New Issue
2013-01-27 18:19 peterinker File Added: conrod.fcstd
2013-01-27 20:07 peterinker File Added: stacktrace
2013-01-28 06:27 wmayer Note Added: 0002873
2013-02-03 19:57 peterinker Note Added: 0002877
2013-02-21 14:26 jrheinlaender Note Added: 0002934
2013-02-21 14:29 jrheinlaender File Added: conrod-remodeled.fcstd
2015-01-07 16:37 jmaustpc Note Added: 0005564
2015-01-07 16:39 jmaustpc Note Added: 0005565
2015-01-07 16:39 jmaustpc Status new => closed
2015-01-07 16:39 jmaustpc Assigned To => jmaustpc
2015-01-07 16:39 jmaustpc Resolution open => unable to reproduce