Python help() modules causes crash

Need help, or want to share a macro? Post here!
ruchg
Posts: 21
Joined: Wed Nov 02, 2016 11:26 am

Python help() modules causes crash

Postby ruchg » Wed Feb 08, 2017 12:34 pm

Reference Tracker issue: 2892 http://www.freecadweb.org/tracker/view.php?id=2892

In the FreeCAD gui, in the Python console, typing help() then modules causes the gui to crash. (As instructed here: http://www.freecadweb.org/wiki/Introduc ... on#Modules Search for help() )

When running the same commands from a terminal window Python interpreter, the command runs to completion without incident. Both show the same version number 2.7.13

If I were to issue FreeCAD from the terminal window, the gui window comes up, I run the help()/modules command, the gui window closes and in the terminal window I see:

Code: Select all

ruchg@linuxHost ~]$ FreeCAD
FreeCAD 0.16, Libs: 0.16RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
<<snip>>
Fasteners workbench Loaded
Sheet Metal workbench loaded   <--Terminal window ends here thru help().  The next 6 lines do not appear until after modules <enter>
matplotlib not found, so Plot module can not be loaded
matplotlib not found, so Plot module can not be loaded
matplotlib not found, so Plot module can not be loaded
matplotlib not found, so Plot module can not be loaded
matplotlib not found, so Plot module can not be loaded
dm.c: 1693: not running as root returning empty list
*** Abort *** an exception was raised, but no catch was found.
... The exception is:SIGSEGV 'segmentation violation' detected. Address 0


The Abort does not appear in the terminal window until the gui closes.

In the tracker issue a request was to run in gdb, which I've tried.

In my first attempt I was given a no symbols error and instructed to: dnf debuginfo-install freecad-0.16-2.fc25.x86_64

After about a half hour of downloading
Install 99 Packages
Total download size: 976 M
Installed size: 4.3 G

After the download, after typing gdb FreeCAD I get:

Code: Select all

<snip>
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from FreeCAD...Reading symbols from /usr/lib/debug/usr/lib64/freecad/bin/FreeCAD.debug...done.
done.
(gdb) 
However the gui does not come up to try the help()/modules command.

To check that it all matches:

Code: Select all

[ruchg@linuxHost ~]$ dnf list installed | grep freecad
freecad.x86_64                        1:0.16-2.fc25           @@commandline     
freecad-data.noarch                   1:0.16-2.fc25           @@commandline     
freecad-debuginfo.x86_64              1:0.16-2.fc25           @fedora-debuginfo 
[ruchg@linuxHost ~]$ 
To get more debug data, I will need more instructions, targeted at the 'appliance operator' level not the 'expert programmer' level.

Obligatory 'about' contents:
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.Unknown
Build type: Unknown
Python version: 2.7.11
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17

Code: Select all

ruchg@linuxHost ~]$ uname -a
Linux linuxHost.ruchg.net 4.9.6-200.fc25.x86_64 #1 SMP Thu Jan 26 10:17:45 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[ruchg@linuxHost ~]$ 
ruchg
Posts: 21
Joined: Wed Nov 02, 2016 11:26 am

Re: Python help() modules causes crash

Postby ruchg » Wed Feb 08, 2017 12:59 pm

Additional debug info:

ran in gdb:

Fasteners workbench Loaded
Sheet Metal workbench loaded
[New Thread 0x7fff77a8c700 (LWP 25585)]
[New Thread 0x7fff7728b700 (LWP 25586)]
[New Thread 0x7fff7685c700 (LWP 25587)]
[New Thread 0x7fff75982700 (LWP 25588)]
[New Thread 0x7fff67fff700 (LWP 25589)]
[New Thread 0x7fff677fe700 (LWP 25590)]
[New Thread 0x7fff66ffd700 (LWP 25591)]
matplotlib not found, so Plot module can not be loaded <--does not appear until after modules <enter>
matplotlib not found, so Plot module can not be loaded
matplotlib not found, so Plot module can not be loaded
matplotlib not found, so Plot module can not be loaded
matplotlib not found, so Plot module can not be loaded
dm.c: 1693: not running as root returning empty list
[New Thread 0x7fff3ddb4700 (LWP 25677)]
[Thread 0x7fff66ffd700 (LWP 25591) exited]
[Thread 0x7fff677fe700 (LWP 25590) exited]
Detaching after fork from child process 25715.
Detaching after fork from child process 25734.
Detaching after fork from child process 25736.

Thread 1 "FreeCAD" received signal SIGSEGV, Segmentation fault.
0x00007fff0c48b9d5 in init_libpycomps ()
from /usr/lib64/python2.7/site-packages/libcomps/_libpycomps.so
Missing separate debuginfos, use: dnf debuginfo-install GConf2-3.2.6-16.fc24.x86_64 ORBit2-2.14.19-15.fc24.x86_64 OpenEXR-libs-2.2.0-5.fc24.x86_64 PyQt4-4.11.4-15.fc25.x86_64 PyQwt-5.2.0-32.fc25.x86_64 SDL-1.2.15-21.fc24.x86_64 aqbanking-5.6.12-1.fc25.x86_64 at-spi2-atk-2.22.0-1.fc25.x86_64 at-spi2-core-2.22.0-1.fc25.x86_64 atk-2.22.0-1.fc25.x86_64 atlas-3.10.2-14.fc25.x86_64 avahi-glib-0.6.32-4.fc25.x86_64 avahi-libs-0.6.32-4.fc25.x86_64 cyrus-sasl-lib-2.1.26-26.2.fc24.x86_64 dbus-glib-0.108-1.fc25.x86_64 dbus-python-1.2.4-2.fc25.x86_64 dconf-0.26.0-1.fc25.x86_64 device-mapper-event-libs-1.02.136-3.fc25.x86_64 device-mapper-libs-1.02.136-3.fc25.x86_64 dmraid-1.0.0.rc16-30.fc24.x86_64 elfutils-libelf-0.168-1.fc25.x86_64 enchant-1.6.0-14.fc25.x86_64 fftw-libs-single-3.3.5-3.fc25.x86_64 flac-libs-1.3.2-1.fc25.x86_64 gamin-0.1.10-23.fc25.x86_64 gc-7.4.4-1.fc25.x86_64 gdk-pixbuf2-2.36.4-1.fc25.x86_64

<<snip>>

.10-1.fc25.x86_64 libtdb-1.3.11-1.fc25.x86_64 libtool-ltdl-2.4.6-13.fc25.x86_64 libunistring-0.9.4-3.fc24.x86_64 libusbx-1.0.21-1.fc25.x86_64 libxkbcommon-0.7.1-1.fc25.x86_64 llvm-libs-3.8.1-2.fc25.x86_64 lua-libs-5.3.3-3.fc25.x86_64 nettle-3.3-1.fc25.x86_64 nspr-4.13.1-1.fc25.x86_64 nss-3.28.1-1.3.fc25.x86_64 nss-mdns-0.10-17.fc24.x86_64 nss-util-3.28.1-1.0.fc25.x86_64 openjpeg2-2.1.2-3.fc25.x86_64 openldap-2.4.44-2.fc25.x86_64 opensp-1.5.2-23.fc24.x86_64 openssl-libs-1.0.2j-3.fc25.x86_64 p11-kit-0.23.2-2.fc24.x86_64 phonon-4.9.0-3.fc25.x86_64 popt-1.16-7.fc24.x86_64 portaudio-19-23.fc24.x86_64 pulseaudio-libs-10.0-2.fc25.x86_64 pulseaudio-libs-glib2-10.0-2.fc25.x86_64 pycairo-1.10.0-5.fc25.x86_64 python-cheetah-2.4.4-13.fc25.x86_64 python-gobject-base-3.22.0-1.fc25.x86_64 python-gssapi-1.2.0-2.fc25.x86_64 python-pivy-0.5.0-13.hg609.fc25.x86_64 python-pyblock-0.53-8.fc22.x86_64 python-pycurl-7.43.0-4.fc25.x86_64 python-pyside-1.2.2-6.fc25.x86_64 python2-cffi-1.7.0-2.fc25.x86_64 python2-coverage-4.2-1.fc25.x86_64 python2-crypto-2.6.1-13.fc25.x86_64 python2-cryptography-1.5.3-3.fc25.x86_64 python2-hawkey-0.6.3-6.1.fc25.x86_64 python2-libcomps-0.1.7-5.fc25.x86_64 python2-lxml-3.7.2-1.fc25.x86_64 python2-matplotlib-1.5.2-0.2.rc2.fc25.x86_64 python2-numpy-1.11.2-1.fc25.x86_64 python2-pillow-3.4.2-1.fc25.x86_64 python2-pygpgme-0.3-18.fc25.x86_64 python2-pyopengl-3.1.1a1-5.fc25.x86_64 python2-scipy-0.18.0-1.fc25.x86_64 qwt-6.1.2-5.fc24.x86_64 qwt5-qt4-5.2.2-29.fc24.x86_64 rpm-libs-4.13.0-6.fc25.x86_64 sip-4.18.1-1.fc25.x86_64 tcp_wrappers-libs-7.6-83.fc25.x86_64 uhd-3.10.1.0-1.fc25.x86_64 webkitgtk-2.4.11-3.fc25.x86_64 webkitgtk3-2.4.11-3.fc25.x86_64 wxBase3-3.0.2-32.fc25.x86_64 wxGTK3-3.0.2-32.fc25.x86_64 wxGTK3-gl-3.0.2-32.fc25.x86_64 wxPython-3.0.2.0-11.fc25.x86_64
(gdb) bt
#0 0x00007fff0c48b9d5 in init_libpycomps ()
at /usr/lib64/python2.7/site-packages/libcomps/_libpycomps.so
#1 0x00007ffff66d15fc in _PyImport_LoadDynamicModule (name=name@entry=0x6309790 "libcomps._libpycomps", pathname=pathname@entry=0x6301740 "/usr/lib64/python2.7/site-packages/libcomps/_libpycomps.so", fp=<optimized out>) at /usr/src/debug/Python-2.7.13/Python/importdl.c:53
#2 0x00007ffff66cf383 in load_module (name=name@entry=0x6309790 "libcomps._libpycomps", fp=<optimized out>, pathname=pathname@entry=0x6301740 "/usr/lib64/python2.7/site-packages/libcomps/_libpycomps.so", type=<optimized out>, loader=<optimized out>)
at /usr/src/debug/Python-2.7.13/Python/import.c:1937
#3 0x00007ffff66cf641 in import_submodule (mod=mod@entry=<module at remote 0x7fff0f2b78d8>, subname=subname@entry=0x6309799 "_libpycomps", fullname=fullname@entry=0x6309790 "libcomps._libpycomps")
at /usr/src/debug/Python-2.7.13/Python/import.c:2725
#4 0x00007ffff66cf8ba in load_next (mod=mod@entry=<module at remote 0x7fff0f2b78d8>, altmod=<module at remote 0x7fff0f2b78d8>, p_name=p_name@entry=0x7fffffff9ff8, buf=buf@entry=0x6309790 "libcomps._libpycomps", p_buflen=p_buflen@entry=0x7fffffffa000)
at /usr/src/debug/Python-2.7.13/Python/import.c:2539
#5 0x00007ffff66d02a3 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=('*',), globals=<optimized out>, name=<optimized out>)
at /usr/src/debug/Python-2.7.13/Python/import.c:2247
#6 0x00007ffff66d02a3 in PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=('*',), level=<optimized out>)
at /usr/src/debug/Python-2.7.13/Python/import.c:2312
#7 0x00007ffff66b2fb8 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at /usr/src/debug/Python-2.7.13/Python/bltinmodule.c:49
#8 0x00007ffff6622003 in PyObject_Call (func=func@entry=<built-in function __import__>, arg=arg@entry=('_libpycomps', {'__builtins__': {'bytearray': <type at remote 0x7ffff695dea0>, 'IndexError': <type at remote 0x7ffff6964b00>, 'all': <built-in function all>, 'help': <_Helper at remote 0x7ffff7e18650>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x7ffff6965180>, 'unicode': <type at remote 0x7ffff697b320>, 'UnicodeDecodeError': <type at remote 0x7ffff69641e0>, 'memoryview': <type at remote 0x7ffff696f360>, 'isinstance': <built-in function isinstance>, 'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2016 Python Software Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, _Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 0x7ffff7e18110>, 'NameError': <type at remote 0x7ffff6965780>, 'BytesWarning': <type a...(truncated), kw=<optimized out>)
at /usr/src/debug/Python-2.7.13/Objects/abstract.c:2547
#9 0x00007ffff66b4bc7 in PyEval_CallObjectWithKeywords (func=func@entry=<built-in function __import__>, arg=arg@entry=('_libpycomps', {'__builtins__': {'bytearray': <type at remote 0x7ffff695dea0>, 'IndexError': <type at remote 0x7ffff6964b00>, 'all': <built-in function all>, 'help': <_Helper at remote 0x7ffff7e18650>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x7ffff6965180>, 'unicode': <type at remote 0x7ffff697b320>, 'UnicodeDecodeError': <type at remote 0x7ffff69641e0>, 'memoryview': <type at remote 0x7ffff696f360>, 'isinstance': <built-in function isinstance>, 'copyright---Type <return> to continue, or q <return> to quit---
wmayer
Site Admin
Posts: 14896
Joined: Thu Feb 19, 2009 10:32 am

Re: Python help() modules causes crash

Postby wmayer » Wed Feb 08, 2017 2:18 pm

The relevant part is this:
Thread 1 "FreeCAD" received signal SIGSEGV, Segmentation fault.
0x00007fff0c48b9d5 in init_libpycomps ()
from /usr/lib64/python2.7/site-packages/libcomps/_libpycomps.so
So, in other words the crash is not directly related to FreeCAD. This means that FreeCAD loads this module due to the call of "modules" but inside its init function something bad happens.

When you run a normal Python session and enter:

Code: Select all

import _libpycomps
What does happen? And do you have an idea what this Python module is good for?

Repeat the same with FreeCAD's Python console.
ruchg
Posts: 21
Joined: Wed Nov 02, 2016 11:26 am

Re: Python help() modules causes crash

Postby ruchg » Thu Feb 09, 2017 12:17 pm

Basically nothing happens of note. Both fail unremarkably and in the same way.

Question: And do you have an idea what this Python module is good for?
Answer: No idea, it is not something I'm trying to use, nor think I need. Something in the bowels somewhere decides to add it in.

From a command line terminal session:

Code: Select all

[ruchg@linuxHost ~]$ python
Python 2.7.13 (default, Jan 12 2017, 17:59:37) 
[GCC 6.3.1 20161221 (Red Hat 6.3.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import _libpycomps
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named _libpycomps
>>> 
Starting the gui from a terminal session:

Code: Select all

[ruchg@linuxHost ~]$ FreeCAD
FreeCAD 0.16, Libs: 0.16RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Fasteners workbench Loaded
Sheet Metal workbench loaded
The terminal window does not change when I issue the command in the FreeCAD gui window, and I get back the very same thing.

Code: Select all

Python 2.7.13 (default, Jan 12 2017, 17:59:37) 
[GCC 6.3.1 20161221 (Red Hat 6.3.1-1)] on linux2
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> import WebGui
>>> from StartPage import StartPage
>>> WebGui.openBrowserHTML(StartPage.handle(),'file://' + App.getResourceDir() + 'Mod/Start/StartPage/','Start page')
>>> import _libpycomps
Traceback (most recent call last):
  File "<input>", line 1, in <module>
ImportError: No module named _libpycomps
>>> 
On the off chance that there are two underscores instead of one, I re-tried both methods using the double underscore. I get back the same file not found import error.
Out of curiosity I checked the library file it exists and seems OK

Code: Select all

[ruchg@linuxHost usr]$ cd /usr/lib64/python2.7/site-packages/libcomps/
[ruchg@linuxHost libcomps]$ ll
total 152
-rw-r--r--. 1 root root     28 Jul  2  2015 __init__.py
-rw-r--r--. 2 root root    184 Jul 19  2016 __init__.pyc
-rw-r--r--. 2 root root    184 Jul 19  2016 __init__.pyo
-rwxr-xr-x. 1 root root 140480 Jul 19  2016 _libpycomps.so
[ruchg@linuxHost libcomps]$ file _libpycomps.so
_libpycomps.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=79fb6440ddbc9fbe392b3bcd264047b00fc32cea, stripped
[ruchg@linuxHost libcomps]$ 
There is a similar bug in Bugzilla back in 2015 . . .
https://bugzilla.redhat.com/show_bug.cgi?id=1268084
However since it was not fixed after 2 semi-annual releases it was closed. (Their SOP)
wmayer
Site Admin
Posts: 14896
Joined: Thu Feb 19, 2009 10:32 am

Re: Python help() modules causes crash

Postby wmayer » Thu Feb 09, 2017 12:29 pm

OK, then maybe you have to explicitly extend the Python search path:

Code: Select all

import sys
sys.path.append("/usr/lib64/python2.7/site-packages/libcomps/")
import _libpycomps
ruchg
Posts: 21
Joined: Wed Nov 02, 2016 11:26 am

Re: Python help() modules causes crash

Postby ruchg » Fri Feb 10, 2017 11:33 am

Appending the additional path causes both the external python interpreter and the FreeCAD interpreter to go further.

The external python interpreter completes the import and then I issue the help()/modules and I get a list of modules

The FreeCAD interpreter completes the import and allows me to issue the help()/modules which causes the crash and the gui window to close.

FreeCAD was started in a terminal window; I get different messages posted to the terminal window.

Code: Select all

[ruchg@linuxHost ~]$ FreeCAD
FreeCAD 0.16, Libs: 0.16RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Fasteners workbench Loaded
Sheet Metal workbench loaded  <-- gui up  issue path append issue help() - - issue modules
matplotlib not found, so Plot module can not be loaded  <-- after modules command
matplotlib not found, so Plot module can not be loaded
matplotlib not found, so Plot module can not be loaded
matplotlib not found, so Plot module can not be loaded
matplotlib not found, so Plot module can not be loaded
dm.c: 1693: not running as root returning empty list       <-- gui window closes after this line
QH6248 qh_lib_check: Incorrect qhull library called.  Caller uses reentrant Qhull while library is non-reentrant
QH6249 qh_lib_check: Incorrect qhull library called.  Size of qhT for caller is 8184, but for library is 2896.
QH6256 qh_lib_check: Cannot continue.  Library 'qhull 7.2.0 (2015.2 2016/01/18)' uses a static qhT (e.g., libqhull.so)
[ruchg@linuxHost ~]$ 
Checking libqhull.so

Code: Select all

[ruchg@linuxHost ~]$ locate libqhull.so
/usr/lib64/libqhull.so.7
/usr/lib64/libqhull.so.7.2.0
[ruchg@linuxHost ~]$ cd /usr/lib64
[ruchg@linuxHost lib64]$ ll libqhull.so*
lrwxrwxrwx. 1 root root     17 Apr 29  2016 libqhull.so.7 -> libqhull.so.7.2.0
-rwxr-xr-x. 1 root root 371488 Apr 29  2016 libqhull.so.7.2.0
[ruchg@linuxHost lib64]$ file libqhull.so.7.2.0
libqhull.so.7.2.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=0392479b36bfa1021b7122b2cbe72b292b8364ef, stripped
[ruchg@linuxHost lib64]$ 
Hope this helps.
wmayer
Site Admin
Posts: 14896
Joined: Thu Feb 19, 2009 10:32 am

Re: Python help() modules causes crash

Postby wmayer » Fri Feb 10, 2017 11:52 am

Hope this helps.
Not really.
spgandau1
Posts: 1
Joined: Sun Dec 08, 2013 3:57 am

Python help() modules causes FreeCAD 0.17 to quit

Postby spgandau1 » Thu May 17, 2018 2:45 am

OS: Ubuntu 18.04 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13522 (Git)
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 3bb5ff4e70c0c526f2d9dd69b1004155b2f527f2
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)

I am learning FreeCAD 0.17 and following the step by step tutorial in freecadweb.org. One of the steps was to see what modules were available within python 2.7 inside FreeCAD. So the command was to type: help(). That produced the following message in the Python console window:
Welcome to Python 2.7! This is the online help utility.

If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://docs.python.org/2.7/tutorial/.

Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules. To quit this help utility and
return to the interpreter, just type "quit".

To get a list of available modules, keywords, or topics, type "modules",
"keywords", or "topics". Each module also comes with a one-line summary
of what it does; to list the modules whose summaries contain a given word
such as "spam", type "modules spam".
This text was grey-color. Following this, there was one blank line, and then I saw:
help>
It was also grey-color text. On that line, I typed "modules" (without the quotation marks). After waiting about 20 seconds, FreeCAD quit completely.

I re-started FreeCAD and retried. This time, I typed "modules" (including the quotation marks). The same result....after about 20 seconds, FreeCAD quit completely.
I have not completely understood the above conversations from 2017, but I hope that this is the place to find out what happened. Is there is some sort of way to find out what modules are available, as I learn python within FreeCAD? ( I am a newbie to python, and still learning FreeCAD.)
Any help would be appreciated.
Cheers!
TheMarkster
Posts: 1060
Joined: Thu Apr 05, 2018 1:53 am

Re: Python help() modules causes crash

Postby TheMarkster » Thu May 17, 2018 8:11 pm

I entered help() into the freecad console and got

>help

I entered "modules" (with the quotes)

and got:

help> "modules"

Code: Select all

Please wait a moment while I gather a list of all available modules...

AddonManager        TestArch            codecs              pickletools
AddonManagerGui     TestDraft           codeop              pip
Arch                TestFem             collada             pipes
ArchAxis            TestGui             collections         pivy
ArchBuilding        TestPartApp         colorama            pkg_resources
ArchCommands        TestPartDesignApp   colorcodeshapes     pkgutil
ArchComponent       TestPartDesignGui   colorsys            planeConstraint
ArchCutPlane        TestPartGui         command             platform
ArchEquipment       TestPathApp         commands            plistlib
ArchFloor           TestSketcherApp     compileall          plotAxes
ArchFrame           TestSketcherGui     compiler            plotLabels
ArchMaterial        TestSpreadsheet     concurrent          plotPositions
ArchNesting         TestTechDrawApp     configparser        plotSave
ArchPanel           Tix                 constraintSystems   plotSeries
ArchPipe            Tkconstants         contextlib          plotUtils
ArchPrecast         Tkdnd               cookielib           ply
ArchProfile         Tkinter             copy                popen2
ArchRebar           Tux_rc              copy_reg            poplib
ArchRoof            UnicodeTests        csv                 posixfile
ArchSchedule        UnitTests           ctypes              posixpath
ArchSectionPlane    UserDict            curses              pprint
ArchSite            UserList            datetime            profile
ArchSpace           UserString          dateutil            pstats
ArchStairs          Web                 dbhash              pty
ArchStructure       WebGui              decimal             py_compile
ArchVRM             WeightInstance      degreesOfFreedom    pyclbr
ArchWall            WizardShaft         degreesOfFreedomAnimation pydoc
ArchWindow          Workbench           difflib             pydoc_data
Arch_rc             WorkingPlane        dircache            pyexpat
AttachmentEditor    _LWPCookieJar       dis                 pyexpat_d
BOPTools            _MozillaCookieJar   distutils           pylab
BaseHTTPServer      _PartDesign         doctest             pylint
BaseTests           __builtin__         dumbdbm             pyparsing
Bastion             __future__          dummy_thread        pysideuic
BuildRegularGeoms   _abcoll             dummy_threading     qtunittest
CGIHTTPServer       _ast                easy_install        quopri
Canvas              _bisect             email               random
CompoundTools       _codecs             encodings           re
ConfigParser        _codecs_cn          ensurepip           replaceobj
Cookie              _codecs_hk          enum                repr
DepGraphTools       _codecs_iso2022     errno               rexec
Dialog              _codecs_jp          exceptions          rfc822
Dice3DS             _codecs_kr          expandplacements    rlcompleter
DocXMLRPCServer     _codecs_tw          exportCSG           robotparser
Document            _collections        fcgear              runpy
Draft               _csv                femcommands         sched
DraftGeomUtils      _ctypes             femguiobjects       select
DraftGui            _ctypes_d           feminout            select_d
DraftSnap           _ctypes_test        femmesh             sets
DraftTools          _ctypes_test_d      femobjects          setuptools
DraftTrackers       _elementtree        femresult           sgmllib
DraftUtils          _elementtree_d      femsolver           sha
DraftVecUtils       _functools          femtest             shelve
Draft_rc            _hashlib            femtools            shiboken
Drawing             _hashlib_d          filecmp             shipAreasCurve
DrawingExample      _heapq              fileinput           shipCapacityCurve
DrawingGui          _hotshot            fnmatch             shipCreateLoadCondition
DrawingPatterns     _io                 formatter           shipCreateShip
DrawingTests        _json               fpformat            shipCreateTank
Fem                 _locale             fractions           shipCreateWeight
FemGui              _lsprof             freecad             shipGZ
FileDialog          _markerlib          ftplib              shipHydrostatics
FixTk               _md5                functools           shipLoadExample
FreeCAD             _msi                future_builtins     shipOutlineDraw
FreeCADGui          _msi_d              gc                  shipUtils
FrozenClass         _multibytecodec     gear_rc             shlex
HTMLParser          _multiprocessing    gearfunc            shutil
Idf                 _multiprocessing_d  genericpath         signal
Image               _osx_support        getopt              singledispatch
ImageGui            _pyio               getpass             singledispatch_helpers
Import              _random             gettext             site
ImportGui           _sha                glob                six
Import_rc           _sha256             gzip                smtpd
Init                _sha512             gzip_utf8           smtplib
InitGui             _socket             hashlib             sndhdr
Inspection          _socket_d           heapq               socket
InspectionGui       _sqlite3            hmac                solverLib
Instance            _sqlite3_d          hotshot             sphericalSurfaceConstraint
InvoluteGearFeature _sre                htmlentitydefs      sqlite3
JoinFeatures        _ssl                htmllib             sre
KukaExporter        _ssl_d              httplib             sre_compile
MakeBottle          _strptime           idlelib             sre_constants
Material            _struct             ifcopenshell        sre_parse
MaterialEditor      _subprocess         ihooks              ssl
Material_rc         _symtable           imageop             stat
Measure             _testcapi           imaplib             statvfs
Menu                _testcapi_d         imghdr              stepZ
Mesh                _threading_local    imp                 string
MeshGui             _tkinter            import3DS           stringold
MeshPart            _tkinter_d          importAirfoilDAT    stringprep
MeshPartGui         _warnings           importCSG           strop
MeshTestsApp        _weakref            importDAE           struct
MimeWriter          _weakrefset         importDWG           subprocess
MovieTool           _winreg             importDXF           sunau
NavigationIndicatorGui _yaml               importFCMat         sunaudio
ObjectsFem          abc                 importIFC           symbol
OpenSCAD2Dgeom      aifc                importIFClegacy     symtable
OpenSCADCommands    angleConstraint     importJSON          sys
OpenSCADFeatures    animate_constraint  importOBJ           sysconfig
OpenSCADUtils       antigravity         importOCA           tabnanny
OpenSCAD_rc         anydbm              importPart          tarfile
Part                area                importSH3D          telnetlib
PartDesign          argparse            importSVG           tempfile
PartDesignGui       array               importWebGL         test
PartDesignTests     assembly2lib        importXLSX          testmakeWireString
PartGui             assembly2solver     importlib           tests
Path                ast                 imputil             textwrap
PathCommands        astroid             inspect             this
PathGui             asynchat            io                  thread
PathScripts         asyncore            isort               threading
PathSimulator       atexit              itertools           time
PathTests           audiodev            json                timeit
PersistentToolbars  audioop             keyword             tkColorChooser
PersistentToolbarsGui axialConstraint     lazy_object_proxy   tkCommonDialog
Plot                backports           lib2to3             tkFileDialog
PlotGui             base64              lib3D               tkFont
Plot_rc             bdb                 lineSearches        tkMessageBox
Points              binascii            linecache           tkSimpleDialog
PointsGui           binhex              locale              toaiff
ProfileLib          bisect              logging             token
Profiles            boltMultipleCircularEdges macpath             tokenize
PySide              brain_attrs         macurl2path         tokrules
QtUnitGui           brain_builtin_inference mailbox             trace
Queue               brain_collections   mailcap             traceback
Raytracing          brain_curses        markupbase          ttk
RaytracingExample   brain_dateutil      marshal             tty
RaytracingGui       brain_fstrings      math                turtle
ReverseEngineering  brain_functools     matplotlib          types
ReverseEngineeringGui brain_gi            mccabe              undo
Robot               brain_hashlib       md5                 unicodedata
RobotExample        brain_io            mhlib               unicodedata_d
RobotExampleTrajectoryOutOfShapes brain_mechanize     mimetools           unittest
RobotGui            brain_multiprocessing mimetypes           unittestgui
Scripts             brain_namedtuple_enum mimify              urllib
ScrolledText        brain_nose          mmap                urllib2
ShipGui             brain_numpy         modulefinder        urlparse
Ship_rc             brain_pkg_resources msilib              user
Show                brain_pytest        msvcrt              uu
SimpleDialog        brain_qt            multifile           uuid
SimpleHTTPServer    brain_re            multiprocessing     variableManager
SimpleXMLRPCServer  brain_six           mutex               viewProviderProxies
Sketcher            brain_ssl           muxAssembly         warnings
SketcherExample     brain_subprocess    netrc               wave
SketcherGui         brain_threading     new                 weakref
SocketServer        brain_typing        nntplib             webbrowser
Spreadsheet         brain_uuid          nt                  wheel
SpreadsheetGui      bsddb               ntpath              whichdb
Start               cPickle             nturl2path          winsound
StartGui            cProfile            numbers             winsound_d
StartPage           cStringIO           numpy               wrapt
StringIO            cache_assembly2     ocl                 wsgiref
Surface             calendar            opcode              xdrlib
SurfaceGui          cgi                 operator            xml
TDTest              cgitb               optparse            xmllib
TankInstance        checkAssembly       os                  xmlrpclib
TechDraw            chunk               os2emxpath          xxsubtype
TechDrawGui         circularEdgeConstraint parser              yaml
TempoVis            cmath               partsList           zipfile
Test                cmd                 pdb                 zipimport
TestApp             code                pickle              zlib

Enter any module name to get more help.  Or, type "modules spam" to search
for modules whose descriptions contain the word "spam".
I also got a warning about matplotlib.delaunay being deprecated, but I don't know if that's related to your crash issue or not.

Code: Select all

C:\Program Files\FreeCAD 0.17\bin\lib\site-packages\matplotlib\cbook.py:137: MatplotlibDeprecationWarning: The matplotlib.delaunay module was deprecated in version 1.4. Use matplotlib.tri.Triangulation instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13519 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 1a8b868018f45ea486c0023fdbfeb06febc1fb89
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)