View Issue Details

IDProjectCategoryView StatusLast Update
0001445FreeCADBugpublic2014-06-07 11:03
Reportersdavies Assigned Towmayer  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionno change required 
Fixed in Version0.14 
Summary0001445: Crash when creating a bezier curve
DescriptionI think it was caused by an attempt to create a bezier curve but response under gdb is so slow I can't be sure.

[scldad@se5 freecad-build]$ gdb bin/FreeCAD
GNU gdb (GDB) Fedora 7.6.50.20130731-19.fc20
Copyright (C) 2013 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-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>
For help, type "help".
Type "apropos word" to search for commands related to "word".
..
Reading symbols from /var/sources/freecad-build/bin/FreeCAD...done.
(gdb) run
Starting program: /var/sources/freecad-build/bin/FreeCAD
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3800.2-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
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3800.2-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.14, Libs: 0.14R3202 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2011
  ##### #### ### ####
  # # # # # #
  # ## #### #### # # # # #
  #### # # # # # # # ##### # #
  # # #### #### # # # # #
  # # # # # # # # # ## ## ##
  # # #### #### ### # # #### ## ## ##

Detaching after fork from child process 6231.
Detaching after fork from child process 6232.
Missing separate debuginfo for /lib64/libgraphite2.so.3
Try: yum --enablerepo='*debug*' install /usr/lib/debug/.build-id/90/82e46860379c3dff9004eb8c9834e50afbb528.debug
Attach observer 0xc9d1f0
Attach observer 0xd36510
Attach observer 0xd189d0
Attach observer 0xcbe738
Attach observer 0xc6f9d8
Attach observer 0xc6f9d8
Attach observer 0xc7e600
Coin 3.1.3: Sanity Check Report

This system's vsnprintf() has a variable argument
invocation which is not working properly with Coin.

Application will continue to run, but be aware that this
problem could cause obscure bugs.

Please report this problem to <coin-support@coin3d.org>
for further assistance.

[New Thread 0x7fffd3d75700 (LWP 6234)]
Draft workbench activated
[New Thread 0x7fffcbfff700 (LWP 6236)]
[New Thread 0x7fffc9d7a700 (LWP 6237)]
[Thread 0x7fffcbfff700 (LWP 6236) exited]
[Thread 0x7fffc9d7a700 (LWP 6237) exited]
Attach observer 0x30aa748
Attach observer 0x30f1770
[New Thread 0x7fffc9d7a700 (LWP 6238)]
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 31 (X_GrabKeyboard)
  Resource id: 0x0
Draft workbench deactivated
[New Thread 0x7fffcbfff700 (LWP 6263)]
[New Thread 0x7fffb4328700 (LWP 6264)]
[New Thread 0x7fffb3b27700 (LWP 6265)]
[Thread 0x7fffb4328700 (LWP 6264) exited]
[New Thread 0x7fffb4328700 (LWP 6266)]
[New Thread 0x7fffb2cb2700 (LWP 6267)]
[Thread 0x7fffb4328700 (LWP 6266) exited]
[New Thread 0x7fffb4328700 (LWP 6268)]
[New Thread 0x7fffb2451700 (LWP 6269)]
[New Thread 0x7fffb1c50700 (LWP 6270)]
[New Thread 0x7fffb144f700 (LWP 6271)]
[Thread 0x7fffb1c50700 (LWP 6270) exited]
[Thread 0x7fffb144f700 (LWP 6271) exited]
[Thread 0x7fffb4328700 (LWP 6268) exited]
[Thread 0x7fffb3b27700 (LWP 6265) exited]
[Thread 0x7fffb2cb2700 (LWP 6267) exited]
[New Thread 0x7fffb2cb2700 (LWP 6272)]
[New Thread 0x7fffb144f700 (LWP 6273)]
[New Thread 0x7fffb3b27700 (LWP 6274)]
[New Thread 0x7fffb4328700 (LWP 6275)]
[New Thread 0x7fffb1c50700 (LWP 6276)]
[New Thread 0x7fffb0c4e700 (LWP 6277)]
[New Thread 0x7fff9bfff700 (LWP 6278)]
[New Thread 0x7fff9b7fe700 (LWP 6279)]
[Thread 0x7fff9bfff700 (LWP 6278) exited]
[Thread 0x7fffb1c50700 (LWP 6276) exited]
[Thread 0x7fffb3b27700 (LWP 6274) exited]
[Thread 0x7fff9b7fe700 (LWP 6279) exited]
[Thread 0x7fffb4328700 (LWP 6275) exited]
[Thread 0x7fffb144f700 (LWP 6273) exited]
[Thread 0x7fffb0c4e700 (LWP 6277) exited]
[Thread 0x7fffb2cb2700 (LWP 6272) exited]
[New Thread 0x7fffb2cb2700 (LWP 6280)]
[New Thread 0x7fffb0c4e700 (LWP 6281)]
[New Thread 0x7fffb144f700 (LWP 6282)]
[New Thread 0x7fffb4328700 (LWP 6283)]
[New Thread 0x7fffb3b27700 (LWP 6284)]
[New Thread 0x7fffb1c50700 (LWP 6285)]
[New Thread 0x7fff9bfff700 (LWP 6286)]
[New Thread 0x7fff9b7fe700 (LWP 6287)]
[New Thread 0x7fff9affd700 (LWP 6288)]
[Thread 0x7fffb3b27700 (LWP 6284) exited]
[Thread 0x7fffb4328700 (LWP 6283) exited]
[Thread 0x7fff9affd700 (LWP 6288) exited]
[Thread 0x7fffb2cb2700 (LWP 6280) exited]
[Thread 0x7fffb2451700 (LWP 6269) exited]
[Thread 0x7fffb0c4e700 (LWP 6281) exited]
[Thread 0x7fff9b7fe700 (LWP 6287) exited]
[Thread 0x7fffb1c50700 (LWP 6285) exited]
[Thread 0x7fffb144f700 (LWP 6282) exited]
[New Thread 0x7fffb144f700 (LWP 6289)]
[Thread 0x7fff9bfff700 (LWP 6286) exited]
[Thread 0x7fffb144f700 (LWP 6289) exited]
Attach observer 0x4f939a8
Attach observer 0x31cbf90
Coin error in SoMField::deleteValues(): invalid indices [-1, -1] for array of size 0
Need at least two vertices, edges or wires to create loft face
Detach observer 0x4f939a8
Detach observer 0x31cbf90
Pick first point:
Pick next point:
Pick next point, or (F)inish or (C)lose:
Draft workbench activated
Attach observer 0x2e6eca8
Attach observer 0x68f14c0
[New Thread 0x7fffb144f700 (LWP 6306)]
[New Thread 0x7fff9bfff700 (LWP 6307)]
[New Thread 0x7fffb1c50700 (LWP 6308)]
[Thread 0x7fff9bfff700 (LWP 6307) exited]
[Thread 0x7fffb1c50700 (LWP 6308) exited]
[Thread 0x7fffb144f700 (LWP 6306) exited]
[New Thread 0x7fffb144f700 (LWP 6310)]
[New Thread 0x7fffb1c50700 (LWP 6311)]
[New Thread 0x7fff9bfff700 (LWP 6312)]
[New Thread 0x7fff9b7fe700 (LWP 6313)]
[New Thread 0x7fffb2cb2700 (LWP 6314)]
[New Thread 0x7fffb2451700 (LWP 6315)]
[New Thread 0x7fffb0c4e700 (LWP 6316)]
[New Thread 0x7fff9affd700 (LWP 6317)]
[New Thread 0x7fff9a7fc700 (LWP 6318)]
[New Thread 0x7fff99ffb700 (LWP 6319)]
[Thread 0x7fffb2451700 (LWP 6315) exited]
[Thread 0x7fffb144f700 (LWP 6310) exited]
[Thread 0x7fff99ffb700 (LWP 6319) exited]
[Thread 0x7fff9a7fc700 (LWP 6318) exited]
[Thread 0x7fff9affd700 (LWP 6317) exited]
[Thread 0x7fffb1c50700 (LWP 6311) exited]
[Thread 0x7fffb0c4e700 (LWP 6316) exited]
[Thread 0x7fff9bfff700 (LWP 6312) exited]
[Thread 0x7fffb2cb2700 (LWP 6314) exited]
[New Thread 0x7fffb2cb2700 (LWP 6320)]
[New Thread 0x7fff9bfff700 (LWP 6321)]
[New Thread 0x7fffb0c4e700 (LWP 6322)]
[New Thread 0x7fffb1c50700 (LWP 6323)]
[New Thread 0x7fffb2451700 (LWP 6324)]
[New Thread 0x7fffb144f700 (LWP 6325)]
[New Thread 0x7fff9affd700 (LWP 6326)]
[New Thread 0x7fff9a7fc700 (LWP 6327)]
[Thread 0x7fffb0c4e700 (LWP 6322) exited]
[Thread 0x7fff9affd700 (LWP 6326) exited]
[Thread 0x7fff9a7fc700 (LWP 6327) exited]
[Thread 0x7fffb1c50700 (LWP 6323) exited]
[Thread 0x7fffb144f700 (LWP 6325) exited]
[Thread 0x7fffb2451700 (LWP 6324) exited]
[Thread 0x7fff9bfff700 (LWP 6321) exited]
[Thread 0x7fff9b7fe700 (LWP 6313) exited]
[Thread 0x7fffb2cb2700 (LWP 6320) exited]
Pick first point:
Pick next point:
Pick next point, or (F)inish or (C)lose:
Pick next point, or (F)inish or (C)lose:
Pick next point, or (F)inish or (C)lose:
Pick next point, or (F)inish or (C)lose:
Pick next point, or (F)inish or (C)lose:
Pick next point, or (F)inish or (C)lose:
Pick first point:
Pick next point:
Pick next point, or (F)inish or (C)lose:
Pick next point:
QWidget::repaint: Recursive repaint detected

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff13cbf01 in QRasterPaintEngine::brushOriginChanged() ()
   from /lib64/libQtGui.so.4
Missing separate debuginfos, use: debuginfo-install GConf2-3.2.6-7.fc20.x86_64 OCE-foundation-0.13-1.fc20.x86_64 OCE-modeling-0.13-1.fc20.x86_64 ORBit2-2.14.19-9.fc20.x86_64 OpenEXR-libs-1.7.1-6.fc20.x86_64 PyQt4-4.10.2-5.fc20.x86_64 adwaita-gtk2-theme-3.10.0-1.fc20.x86_64 atk-2.10.0-1.fc20.x86_64 avahi-glib-0.6.31-21.fc20.x86_64 avahi-libs-0.6.31-21.fc20.x86_64 boost-filesystem-1.54.0-9.fc20.x86_64 boost-program-options-1.54.0-9.fc20.x86_64 boost-regex-1.54.0-9.fc20.x86_64 boost-signals-1.54.0-9.fc20.x86_64 boost-system-1.54.0-9.fc20.x86_64 boost-thread-1.54.0-9.fc20.x86_64 bzip2-libs-1.0.6-9.fc20.x86_64 cairo-1.13.1-0.1.git337ab1f.fc20.x86_64 dbus-glib-0.100.2-2.fc20.x86_64 dbus-libs-1.6.12-8.fc20.x86_64 expat-2.1.0-7.fc20.x86_64 fontconfig-2.11.0-1.fc20.x86_64 freetype-2.5.0-4.fc20.x86_64 gamin-0.1.10-15.fc20.x86_64 gdk-pixbuf2-2.30.3-1.fc20.x86_64 glib2-2.38.2-2.fc20.x86_64 glib2-fam-2.38.2-2.fc20.x86_64 glibc-2.18-12.fc20.x86_64 gnome-vfs2-2.24.4-14.fc20.x86_64 gstreamer-0.10.36-6.fc20.x86_64 gstreamer-plugins-base-0.10.36-6.fc20.x86_64 gtk2-2.24.22-2.fc20.x86_64 gvfs-1.18.3-2.fc20.x86_64 harfbuzz-0.9.24-1.fc20.x86_64 ilmbase-1.0.3-7.fc20.x86_64 jasper-libs-1.900.1-25.fc20.x86_64 jbigkit-libs-2.0-9.fc20.x86_64 kde-runtime-libs-4.12.2-1.fc20.x86_64 kdelibs-4.12.2-2.fc20.x86_64 keyutils-libs-1.5.8-1.fc20.x86_64 krb5-libs-1.11.5-2.fc20.x86_64 lcms-libs-1.19-10.fc20.x86_64 libICE-1.0.8-6.fc20.x86_64 libSM-1.2.1-6.fc20.x86_64 libX11-1.6.1-1.fc20.x86_64 libXau-1.0.8-2.fc20.x86_64 libXcomposite-0.4.4-4.fc20.x86_64 libXcursor-1.1.14-2.fc20.x86_64 libXdamage-1.1.4-4.fc20.x86_64 libXext-1.3.2-2.fc20.x86_64 libXfixes-5.0.1-2.fc20.x86_64 libXi-1.7.2-2.fc20.x86_64 libXinerama-1.1.3-2.fc20.x86_64 libXmu-1.1.1-5.fc20.x86_64 libXrandr-1.4.1-2.fc20.x86_64 libXrender-0.9.8-2.fc20.x86_64 libXt-1.1.4-7.fc20.x86_64 libXxf86vm-1.1.3-2.fc20.x86_64 libacl-2.2.52-4.fc20.x86_64 libart_lgpl-2.3.21-8.fc20.x86_64 libattr-2.4.47-3.fc20.x86_64 libbluray-0.5.0-2.fc20.x86_64 libbonobo-2.32.1-6.fc20.x86_64 libbonoboui-2.24.5-6.fc20.x86_64 libcanberra-0.30-4.fc20.x86_64 libcanberra-gtk2-0.30-4.fc20.x86_64 libcom_err-1.42.8-3.fc20.x86_64 libcroco-0.6.8-3.fc20.x86_64 libdrm-2.4.50-1.fc20.x86_64 libffi-3.0.13-5.fc20.x86_64 libgcc-4.8.2-7.fc20.x86_64 libgcrypt-1.5.3-2.fc20.x86_64 libgnome-2.32.1-7.fc20.x86_64 libgnome-keyring-3.10.1-1.fc20.x86_64 libgnomecanvas-2.30.3-7.fc20.x86_64 libgnomeui-2.24.5-7.fc20.x86_64 libgpg-error-1.12-1.fc20.x86_64 libicu-50.1.2-10.fc20.x86_64 libjpeg-turbo-1.3.0-2.fc20.x86_64 libmng-1.0.10-12.fc20.x86_64 libogg-1.3.0-6.fc20.x86_64 libpciaccess-0.13.2-1.fc20.x86_64 libpng-1.6.3-3.fc20.x86_64 librsvg2-2.40.1-1.fc20.x86_64 libselinux-2.2.1-6.fc20.x86_64 libspnav-0.2.2-6.fc20.x86_64 libstdc++-4.8.2-7.fc20.x86_64 libtdb-1.2.12-2.fc20.x86_64 libtiff-4.0.3-14.fc20.x86_64 libtool-ltdl-2.4.2-23.fc20.x86_64 libuuid-2.24.1-1.fc20.x86_64 libvorbis-1.3.4-1.fc20.x86_64 libwayland-client-1.2.0-3.fc20.x86_64 libwayland-server-1.2.0-3.fc20.x86_64 libwebp-0.3.1-2.fc20.x86_64 libxcb-1.9.1-3.fc20.x86_64 libxml2-2.9.1-2.fc20.x86_64 libxslt-1.1.28-5.fc20.x86_64 mesa-dri-drivers-9.2.5-1.20131220.fc20.x86_64 mesa-libEGL-9.2.5-1.20131220.fc20.x86_64 mesa-libGL-9.2.5-1.20131220.fc20.x86_64 mesa-libgbm-9.2.5-1.20131220.fc20.x86_64 mesa-libglapi-9.2.5-1.20131220.fc20.x86_64 nss-softokn-freebl-3.15.4-1.fc20.x86_64 openssl-libs-1.0.1e-37.fc20.x86_64 orc-0.4.18-1.fc20.x86_64 pango-1.36.1-2.fc20.x86_64 pcre-8.33-4.fc20.x86_64 pixman-0.30.0-3.fc20.x86_64 popt-1.16-2.fc20.x86_64 python-libs-2.7.5-10.fc20.x86_64 python-pyside-1.1.0-4.fc20.x86_64 qt-4.8.5-15.fc20.x86_64 qt-mobility-1.2.2-0.5.20120224git.fc20.x86_64 qt-x11-4.8.5-15.fc20.x86_64 qtwebkit-2.3.3-3.fc20.x86_64 shiboken-libs-1.1.0-3.fc19.x86_64 sip-4.14.7-2.fc20.x86_64 sqlite-3.8.3-1.fc20.x86_64 systemd-libs-208-9.fc20.x86_64 tbb-4.1-4.20130314.fc20.x86_64 xerces-c-3.1.1-5.fc20.x86_64 xz-libs-5.1.2-6alpha.fc20.x86_64 zlib-1.2.8-3.fc20.x86_64
(gdb) quit
A debugging session is active.

    Inferior 1 [process 6223] will be killed.

Quit anyway? (y or n) y
[scldad@se5 freecad-build]$
Additional InformationOS: "Fedora release 20 (Heisenbug)"
Platform: 64-bit
Version: 0.14.3202 (Git)
Branch: master
Hash: 49ba4de6b84678511b6ef9f0de97629d99a48ec0
Python version: 2.7.5
Qt version: 4.8.5
Coin version: 3.1.3
SoQt version: 1.5.0

Compaq 610 laptop
TagsQt
FreeCAD Information

Activities

jmaustpc

2014-02-27 11:35

manager   ~0004317

Does this crash still happen?

If so, can you provide an example FreeCAD file and an exact step by step instructions on how to make this crash happen?

wmayer

2014-03-04 10:30

administrator   ~0004375

Some interesting parts of the log data:

1.
This system's vsnprintf() has a variable argument
invocation which is not working properly with Coin.

Application will continue to run, but be aware that this
problem could cause obscure bugs.

Please report this problem to <coin-support@coin3d.org>
for further assistance.

2.
Coin error in SoMField::deleteValues(): invalid indices [-1, -1] for array of size 0
Need at least two vertices, edges or wires to create loft face

3.
QWidget::repaint: Recursive repaint detected

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff13cbf01 in QRasterPaintEngine::brushOriginChanged() ()

Here we again get this recursive paint event from Qt which causes the crash. So, I don't think that this is related to the creation of the Bezier curve in the first place.

wmayer

2014-03-15 13:12

administrator   ~0004450

Please also give a backtrace from gdb.
gdb ./FreeCAD
run
bt

sdavies

2014-03-16 07:44

reporter   ~0004453

I think (hope) that my new tower server is now fully operational and I can get back to learning how to be productive with FreeCAD. It is certainly a LOT faster than the previous laptop.

Also, I cannot reproduce this crash.

I reckon the ticket can be closed. Sorry for the flack and slow feedback.

Cheers,
Stephen

yorik

2014-03-27 20:57

administrator   ~0004501

I think this can be closed? Unless you want to investigate something further, Werner?

wmayer

2014-03-27 23:13

administrator   ~0004505

I'll have a look at it.

wmayer

2014-06-07 11:03

administrator   ~0004741

Can be closed now.

Issue History

Date Modified Username Field Change
2014-02-26 07:32 sdavies New Issue
2014-02-26 09:36 wmayer Summary Another crash => Crash when creating a bezier curve
2014-02-27 11:35 jmaustpc Note Added: 0004317
2014-03-04 10:30 wmayer Note Added: 0004375
2014-03-04 10:32 wmayer Status new => feedback
2014-03-04 10:53 shoogen Tag Attached: Qt
2014-03-15 13:12 wmayer Note Added: 0004450
2014-03-16 07:44 sdavies Note Added: 0004453
2014-03-16 07:44 sdavies Status feedback => new
2014-03-27 20:57 yorik Note Added: 0004501
2014-03-27 23:13 wmayer Note Added: 0004505
2014-06-07 11:03 wmayer Note Added: 0004741
2014-06-07 11:03 wmayer Status new => closed
2014-06-07 11:03 wmayer Assigned To => wmayer
2014-06-07 11:03 wmayer Resolution open => no change required
2014-06-07 11:03 wmayer Fixed in Version => 0.14