V 0.17 crashes on draft bench selection

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
aubiwan
Posts: 2
Joined: Thu Jan 03, 2019 6:07 pm

V 0.17 crashes on draft bench selection

Post by aubiwan »

Hello all

since today Freecad crashes every time i select the 'Draft' workbench (i've tried the same with the last appimg v0.18 and it works) can someone help me (i ve rebooted my computer but it is not enough to get FC 0.17 to work)

thanks to all

here is the version of freecad i'm running

Code: Select all

OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
here is the msg i get in console when Freecad crashes :

Code: Select all

freecad
FreeCAD 0.17, Libs: 0.17R13541 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Gtk-Message: 19:00:14.229: Failed to load module "canberra-gtk-module"
not a freecad file: .IGES
not a freecad file: .IGES
not a freecad file: .IGES
freecad: SoBase.cpp :199 : SoBase::SoBase():  l'assertion « (SoBase::classTypeId != SoType::badType()) && "An SoBase-derived class was attempted instantiated *before* Coin initialization. (Have you perhaps placed an SoBase-derived instance (e.g. a scene graph node) in non-heap memory?) See SoBase class documentation for more info." » a échoué.
Abandon (core dumped)
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: V 0.17 crashes on draft bench selection

Post by chrisb »

If it occured suddenly, you can try to reset the configuration with the button in the preferences. Another possiility is to delete your config files or to move them in case you want to restore them.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: V 0.17 crashes on draft bench selection

Post by NormandC »

Chris, this won't help. The freecad-stable PPA is currently broken on Ubuntu 18.04 and 18.10.

https://forum.freecadweb.org/viewtopic.php?f=4&t=33071
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: V 0.17 crashes on draft bench selection

Post by chrisb »

Sorry I had seen the topic but did not follow it further :oops: . Glad I added the part with moving the config files.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
aubiwan
Posts: 2
Joined: Thu Jan 03, 2019 6:07 pm

Re: V 0.17 crashes on draft bench selection

Post by aubiwan »

"chrisb" thank you for your answer, I have tried to remove cfg files (user.cfg and system.cfg) but I have still the same crash on activating draft workbench.
nhomar
Posts: 1
Joined: Fri Sep 15, 2017 5:14 am

Re: V 0.17 crashes on draft bench selection

Post by nhomar »

I am having the same problem.

A little bit more context.

I installed all dependencies to compile master (it was working) and now both 0.17 and master (from sources) give this error:

Code: Select all

FreeCAD 0.17, Libs: 0.17R13541 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

freecad: SoBase.cpp:199: SoBase::SoBase(): Assertion `(SoBase::classTypeId != SoType::badType()) && "An SoBase-derived class was attempted instantiated *before* Coin initialization. (Have you perhaps placed an SoBase-derived instance (e.g. a scene graph node) in non-heap memory?) See SoBase class documentation for more info."' failed.
Aborted (core dumped)
With master compiled from sources.

Code: Select all

✘-ABRT ~/FreeCAD [master|…602] 
01:24 $ ./bin/FreeCAD
FreeCAD 0.18, Libs: 0.18R15594 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

FreeCAD: SoType.cpp:739: SbBool SoType::isDerivedFrom(SoType) const: Assertion `!this->isBad()' failed.
Aborted (core dumped)

CharlieMAC
Posts: 228
Joined: Fri Apr 25, 2014 1:59 am

Re: V 0.17 crashes on draft bench selection

Post by CharlieMAC »

This also happens on 0.18 under Debian Buster, but in this case when a new sketch is createdusing the part design workbench .

Code: Select all

OS: Debian GNU/Linux buster/sid
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15711 (Git)
Build type: Unknown
Branch: master
Hash: 5caae5f430237a73cd17e283d45b3ac9ab005feb
Python version: 2.7.15+
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Any clues? I have tried by deleting the configuration folder, but no luck.
Post Reply