You are not logged in.

#1 2018-03-29 10:34:30

maderios
Member
Registered: 2013-10-24
Posts: 19

Can't launch Freecad

Hi
https://aur.archlinux.org/packages/freecad/
I get this crash message when I try to launch Freecad in console:
FreeCAD 0.16, Libs: 0.16R5235 (Git shallow)
[1]    3008 segmentation fault (core dumped)  freecad
dmesg:
traps: freecad[3008] general protection ip:7ff988914220 sp:7ffe19036ff8 error:0
[ 2925.044034]  in libCoin.so.60.1.3[7ff98868f000+779000]
Is it a Coin bug?
Thanks

Offline

#2 2018-03-29 13:09:21

rsolva
Member
Registered: 2015-03-18
Posts: 19

Re: Can't launch Freecad

I too have struggled with getting FreeCAD to run the last few days. To clarify; I have not used it before, but want to start using it to make some sketches for a small house.

I have tried multiple versions from AUR (freecad, freecad-git), which took forever to compile (without success). Then I found out that FreeCAD offers AppImages on their Github page, but booth the 0.16 and 0.17 version gives the following error:

symbol lookup error: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var

.
Any help would be appreciated!

Offline

#3 2018-03-29 15:09:39

maderios
Member
Registered: 2013-10-24
Posts: 19

Re: Can't launch Freecad

- Bug is  'General protection fault'. I found similar bug here:
https://bbs.archlinux.org/viewtopic.php?id=207305

- OT : I tested appimage, I got nearly same error message:
'zenity, kdialog, Xdialog missing. Skipping /tmp/.mount_FreeCA9BvuMK/usr/bin//freecad.wrapper.
/tmp/.mount_FreeCA9BvuMK/usr/bin/freecad: symbol lookup error: /usr/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var'

Offline

#4 2018-03-29 15:15:18

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,465

Re: Can't launch Freecad

For the appimage, they're shipping their own freetype2, but not their own fontconfig. Bad appimage.

Online

#5 2018-03-30 14:11:44

rsolva
Member
Registered: 2015-03-18
Posts: 19

Re: Can't launch Freecad

Scimmia wrote:

For the appimage, they're shipping their own freetype2, but not their own fontconfig. Bad appimage.

Do you know if it is possible to somehow trick the AppImage to use my local freetype2 instead of the one provided? Maybe a little symlink hack could work?

Offline

#6 2018-04-01 02:06:24

DanielH
Member
From: Mar del Plata, Argentina
Registered: 2014-03-11
Posts: 28

Re: Can't launch Freecad

@madeiros:
I have found the same problem this week compiling FreeCad in my Lenovo R60e (Core 2 Duo).
But in my Samsung N150 I have compiled FreeCAD 0.16.6712-4 in december 27 2017, and coin 3.1.3-15 was compiled in december 6 2015; FreeCAD is running OK and its dependencies updated without issues (opencascade has been recently updated to 6.9.1-8).

IMPORTANT NOTE:
In my Samsung N150 (FreeCAD OK), /usr/lib/libCoin.so.60.1.3 md5sum: 4cac38cfb6a67a5bdd5c211dc5e59711 (8536336 B)
In my Lenovo R60e (FreeCAD crashes),  /usr/lib/libCoin.so.60.1.3 md5sum: 753b906e4b7ebebdda16f316405b04a2 (8365920 B)
So, those files are very different.
Evidently, now there are a bug in Coin 3.1.3-15...

Copying /usr/lib/libCoin.so.60.1.3 from my Samsung to my Lenovo and setting it as executable, only leads to more segfaults launching FreeCAD.
Dead end street...

OT: I'm testing solvespace https://aur.archlinux.org/packages/solvespace/ as a lightweight replacement for FreeCAD. Not the same beast, but...

Offline

#7 2018-04-01 16:16:12

maderios
Member
Registered: 2013-10-24
Posts: 19

Re: Can't launch Freecad

Good news. Today, I compiled successfully this FreeCAD version.
No crash, it works for me.
https://aur.archlinux.org/packages/freecad-python3-git/

Offline

#8 2018-04-03 02:43:39

DanielH
Member
From: Mar del Plata, Argentina
Registered: 2014-03-11
Posts: 28

Re: Can't launch Freecad

Good news, but some issues has arise...

I've able to compile freecad-python3-git (thanks, maderios), aparently without problems (hours and hours and hours compiling its dependencies and FC-p3-g itself).

FC is working, but in all Workbenches, under Two side Lighting, shape colours are displayed too much dark, despite changes stated in Property  panel > View or in View > Appeareance menu.

Default shape colour RGB 204,204,204 is showed as a very dark grey, near black.
Other selected palette colours are showed as the same but very dark colour. However, line colours can be changed without issue.

Setting Lighting = One side in Property view panel solves this problem.

Are you experiencing the same issue?

Offline

#9 2018-04-09 13:24:38

jancici
Member
From: svk
Registered: 2011-12-04
Posts: 190

Re: Can't launch Freecad

my situation is bit different, I am getting this

failed to create drawable
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
freecad: xcb_io.c:259: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.

There is worka round: https://aur.archlinux.org/packages/freecad/

so starting freecad like this

LIBGL_DRI3_DISABLE=true FreeCAD

it is running without problem

I am using xf86-video-ati driver for my [Radeon HD 7750/8740 / R7 250E]

Last edited by jancici (2018-04-09 13:26:20)

Offline

#10 2018-04-12 19:17:42

atrus6
Member
Registered: 2011-02-17
Posts: 16

Re: Can't launch Freecad

That fixed it for me.

Offline

Board footer

Powered by FluxBB