FreeCAD 0.18 crash every times on Fedora 30

Having trouble installing or compiling FreeCAD? Get help here.
User avatar
sgrogan
Posts: 5574
Joined: Wed Oct 22, 2014 5:02 pm

Re: FreeCAD 0.18 crash every times on Fedora 30

Postby sgrogan » Fri May 24, 2019 6:56 pm

fillet wrote:
Thu May 23, 2019 10:00 pm
Here is the installed version using Package Manager
Hey fillet, you may want to ask on this thread https://forum.freecadweb.org/viewtopic. ... 90#p251319
Flatpack may be an option, and you'll talk other FreeCAD Fedora users.
fillet
Posts: 18
Joined: Fri Feb 05, 2016 2:01 pm

Re: FreeCAD 0.18 crash every times on Fedora 30

Postby fillet » Sat Jun 01, 2019 11:47 am

I just received a new Freecad update (0.18.2) by my package manager.
My Python version switch from 2 to 3 (see below) and it still work well without any proprietary card driver.
Note that Qt is still in 4.8 version... It was maybe a problem using Qt 5 ?
I don't necessary need a Qt 5 version, just a working Freecad version...

Code: Select all

OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.Unknown
Build type: Unknown
Python version: 3.7.3
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.9.1.oce-0.18
Locale: French/France (fr_FR)
Jee-Bee
Posts: 1986
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: FreeCAD 0.18 crash every times on Fedora 30

Postby Jee-Bee » Sat Jun 01, 2019 1:36 pm

What system are you on?? you are also on OCE 6.9 against current OCC 7.3
fillet
Posts: 18
Joined: Fri Feb 05, 2016 2:01 pm

Re: FreeCAD 0.18 crash every times on Fedora 30

Postby fillet » Thu Jun 06, 2019 10:33 pm

Jee-Bee wrote:
Sat Jun 01, 2019 1:36 pm
What system are you on?? you are also on OCE 6.9 against current OCC 7.3
I'm using Fedora 30.
I try the last AppImage using OCC7.3 (FreeCAD_0.18-16117-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage). I open Freecad. When I try to open a freecad file, it crashes.
So I'm using Freecad version not from official website appimage, but from official Fedora repository. It is not the last OCC version, but it works !
I hope you will solve your AppImage problem for Fedora...
triplus
Posts: 9078
Joined: Mon Dec 12, 2011 4:45 pm

Re: FreeCAD 0.18 crash every times on Fedora 30

Postby triplus » Thu Jun 20, 2019 8:00 pm

Hi @fillet

What happens is you try to run the AppImage in Xorg session?

P.S. You should be able to select Xorg/Wayland session from the login screen.
BNiels707
Posts: 1
Joined: Tue Jun 25, 2019 12:51 am

Re: FreeCAD 0.18 crash every times on Fedora 30

Postby BNiels707 » Tue Jun 25, 2019 12:59 am

I can confirm the same issue here, only difference is the drivers being queried (AMD card):

Code: Select all

./FreeCAD_0.18-16117-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage 
/tmp/.mount_FreeCAeBt91s
FreeCAD 0.18, Libs: 0.18R16117 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib64/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib64/dri)
libGL error: failed to load driver: swrast

** (FreeCAD:12915): WARNING **: 19:52:52.191: invalid source position for vertical gradient

** (FreeCAD:12915): WARNING **: 19:52:52.191: invalid source position for vertical gradient
Program received signal SIGSEGV, Segmentation fault.
/tmp/.mount_FreeCAeBt91s/AppRun: line 12: 12915 Segmentation fault      (core dumped) ${HERE}/usr/bin/FreeCAD "$@"
Opening any file (even examples) causes the crash, opening the add-on manager crashes. The settings menu works. Help doesn't, but also doesn't crash.

The issue occurs in both X.org and Wayland sessions. Possibly an issue with the Mesa 19 drivers?

The current flatpak works fine.
triplus
Posts: 9078
Joined: Mon Dec 12, 2011 4:45 pm

Re: FreeCAD 0.18 crash every times on Fedora 30

Postby triplus » Sat Aug 31, 2019 8:49 pm

Can someone on Fedora 30 test the latest FreeCAD 0.18/0.19 AppImages and report back (if the crashes still occur):

https://github.com/FreeCAD/FreeCAD/releases/

Thanks.
User avatar
PrzemoF
Posts: 2666
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: FreeCAD 0.18 crash every times on Fedora 30

Postby PrzemoF » Sat Aug 31, 2019 9:00 pm

I tried this page:
https://www.freecadweb.org/wiki/Appimage
and link to:
"Current Development1,2 version is FreeCAD_"
but the link is broken:
https://github.com/FreeCAD/FreeCAD/rele ... 4.AppImage

Will it work if I get the current stable + update?
triplus
Posts: 9078
Joined: Mon Dec 12, 2011 4:45 pm

Re: FreeCAD 0.18 crash every times on Fedora 30

Postby triplus » Sat Aug 31, 2019 9:24 pm

PrzemoF wrote:
Sat Aug 31, 2019 9:00 pm
Will it work if I get the current stable + update?
The way it (currently) works is when updating the stable FreeCAD 0.18 AppImage. It will get updated to AppImage located on latest (currently 0.18.3):

https://github.com/FreeCAD/FreeCAD/releases/latest

When updating development FreeCAD 0.19 AppImage. It will get updated to AppImage located on 0.19_pre:

https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
User avatar
PrzemoF
Posts: 2666
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: FreeCAD 0.18 crash every times on Fedora 30

Postby PrzemoF » Sat Aug 31, 2019 10:14 pm

I can't recreate the crash, so I think the problem is fixed.

OS: Fedora 30 (Workstation Edition) (GNOME/gnome-xorg)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17935 (Git) AppImage
Build type: Release
Branch: master
Hash: bdc229f51e959caedf24459c1b9c9de7f6567298
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Polish/Poland (pl_PL)