Page 1 of 2

FreeCAD 0.16 and 0.17 crash

Posted: Thu Mar 14, 2019 7:36 pm
by Taufeeq2
NB: This is happening on linux
*********Operating System Charateristics.
Distributor ID: LinuxMint
Description: Linux Mint 18.3 Sylvia
Release: 18.3
Codename: sylvia
REPORT

This is the error that pops up when i click the part design module.
-------
Program received signal SIGSEGV, Segmentation fault.
Segmentation fault.
----------------
I have tried to check the console in the software by running import Part, the following is the response.
---------------------------------------------------
Traceback (most recent call last):
File "<input>", line 1, in <module>
ImportError: /usr/lib/freecad/lib/Part.so: undefined symbol: _ZN9BRep_Tool14CurveOnSurfaceERK11TopoDS_EdgeRK11TopoDS_FaceRdS6_Pb
-----------------------------------------------
Attached to this is a FreeCAD log.
Conclusion
At this point, i am unsure what the likely cause of this error is, i am investing a possible dependency breaking by opencascade.

Re: FreeCAD 0.16 and 0.17 crash

Posted: Thu Mar 14, 2019 7:40 pm
by chrisb
0.16 is very old, 0.17 is old. Please retry with a current 0.18 or wait a few days, it will be released as stable soon.

Re: FreeCAD 0.16 and 0.17 crash

Posted: Thu Mar 14, 2019 7:54 pm
by Taufeeq2
on further investigation i have uninstalled the libraries for opencascade and freecad, installed freecad and opencascade and am still getting the same errors.
Am out of ideas officially!

Re: FreeCAD 0.16 and 0.17 crash

Posted: Thu Mar 14, 2019 7:58 pm
by Taufeeq2
chrisb wrote: Thu Mar 14, 2019 7:40 pm 0.16 is very old, 0.17 is old. Please retry with a current 0.18 or wait a few days, it will be released as stable soon.
I have installed the freecad 0.18, this is the error i get when i click part design module.
-------
/usr/lib/freecad-daily/lib/Part.so: undefined symbol: _ZTV23BRepAlgoAPI_Defeaturing
/usr/lib/freecad-daily/lib/Part.so: undefined symbol: _ZTV23BRepAlgoAPI_Defeaturing
Traceback (most recent call last):
File "<string>", line 43, in Initialize

Program received signal SIGSEGV, Segmentation fault.
Segmentation fault

-------

Re: FreeCAD 0.16 and 0.17 crash

Posted: Thu Mar 14, 2019 8:55 pm
by chrisb
Have you tried the Appimage? Please post your full FreeCAD info.

Re: FreeCAD 0.16 and 0.17 crash

Posted: Thu Mar 14, 2019 8:55 pm
by Jee-Bee
before going to the part module can you copy you're usere settings? see https://forum.freecadweb.org/viewtopic.php?f=3&t=5236

Re: FreeCAD 0.16 and 0.17 crash

Posted: Thu Mar 14, 2019 9:22 pm
by Taufeeq2
chrisb wrote: Thu Mar 14, 2019 8:55 pm Have you tried the Appimage? Please post your full FreeCAD info.
FreeCAD 0.17, Libs: 0.17R13541 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018

For the freecad-daily

FreeCAD 0.18, Libs: 0.18R16085 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019


Yes i tried the AppImage, it returns the error
---------
open dir error: Software caused connection abort

Re: FreeCAD 0.16 and 0.17 crash

Posted: Thu Mar 14, 2019 9:29 pm
by Taufeeq2
Jee-Bee wrote: Thu Mar 14, 2019 8:55 pm before going to the part module can you copy you're usere settings? see https://forum.freecadweb.org/viewtopic.php?f=3&t=5236
Thank you for your timely responses everyone![

With regards to the link
i tried the installation on another ubuntu installation and it worked perfectly,which is why am not led to report this as a bug.

i cant find the user config file in the .FreeCAD directory

Re: FreeCAD 0.16 and 0.17 crash

Posted: Thu Mar 14, 2019 10:03 pm
by sgrogan
Taufeeq2 wrote: Thu Mar 14, 2019 9:29 pm i cant find the user config file in the .FreeCAD directory
Do you mean there is no user.cfg in $HOME/.FreeCAD or you can't find the hidden .FreeCAd directory?

Re: FreeCAD 0.16 and 0.17 crash

Posted: Thu Mar 14, 2019 11:44 pm
by chrisb
There is a Macro "findConfigFiles", installable via Addon manager, which might help you.