FreeCAD crashes when creating new Material

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
htl
Posts: 1
Joined: Thu Aug 08, 2019 1:15 am

FreeCAD crashes when creating new Material

Post by htl »

Hi, I'm new to FreeCAD. I'm trying to create new material by doing following steps:

Code: Select all

1. Open FreeCAD
2. Create new document
3. Create new material (M, A)
4. Type any material name, or leave it 'Material'
5. Click OK
FreeCAD crashes every time.

My version:

Code: Select all

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16131 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 3129ae4296e40ed20e7b3d460b86e6969acbe1c3
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Anyone has this issue? How to fix it? Thanks!
TheMarkster
Veteran
Posts: 5508
Joined: Thu Apr 05, 2018 1:53 am

Re: FreeCAD crashes when creating new Material

Post by TheMarkster »

M, A does nothing for me at all.

I can create a material in Arch menu -> Material tools -> Material without any issues in this version:

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17505 (Git)
Build type: Release
Branch: master
Hash: 755536e9df94d2d39da1468420f1fd333c35da7a
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)


But with this version FreeCAD exits with no explanation.

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16117 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: dbb4cc6415bac848a294f03b80f65e888d531742
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

It could be issue was fixed in 0.19 or perhaps one of the dependencies, such as Qt, had the issue and now has fixed it. In either case, I suggest trying the latest 0.19 build.
alberich
Posts: 77
Joined: Thu Aug 17, 2017 2:09 pm
Location: Texas

Re: FreeCAD crashes when creating new Material

Post by alberich »

I get the same crash with

Code: Select all

OS: Linux Mint 19.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16117 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.18.2)
Hash: dbb4cc6415bac848a294f03b80f65e888d531742
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

However, it works fine with

Code: Select all

S: Linux Mint 19.1 (MATE/mate)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Release Date: 2019/08/08 00:17:07
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FreeCAD crashes when creating new Material

Post by Kunda1 »

Not sure this will get a backport. Also, all the latest and greatest changes for Materials is on 0.19_pre so perhaps close this issue as 'Known Issue' ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
AntonW
Posts: 7
Joined: Fri Aug 16, 2019 2:11 pm

Re: FreeCAD crashes when creating new Material

Post by AntonW »

I am a new user and so perhaps not much saying about this. But I think a stable release should be as stable as possible. That is if you want to attract and hold new users.

Besides, what is otherwise the point of reporting a bug. I think that the solution for this problem is known, because in version 0.19 the bug is fixed.

I did try the pre-release of august 2. But simple models had problems with recomputing. Lines that I hide were shown after recomputing; object keep still touched after recompute. That can be expected with a development version, but it makes it not usable for a regular user at the moment.
AntonW
Posts: 7
Joined: Fri Aug 16, 2019 2:11 pm

Re: FreeCAD crashes when creating new Material

Post by AntonW »

I solved the problem with Arch Material in version 0.18.3 by copying the file "ArchMaterial.py" from the latest pre-release of version 0.19, https://github.com/FreeCAD/FreeCAD/releases/tag/Staging, to the folder ".\FreeCAD 0.18\Mod\Arch" of version 0.18 on my pc.
Post Reply