weekly build 31709: segmentation fault when starting on Linux

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Giulio Buccini
Posts: 541
Joined: Fri Aug 26, 2016 9:07 pm
Location: Munich - Gemany

weekly build 31709: segmentation fault when starting on Linux

Post by Giulio Buccini »

I've just downloaded the last weekly build on my Linux Ubuntu 16.04, but it crashes on the start:

Code: Select all

./FreeCAD_weekly-builds-31709-2023-02-02-conda-Linux-x86_64-py310.AppImage
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x354c0) [0x7f8c840244c0]
#1  /lib/x86_64-linux-gnu/libc.so.6(wcslen+0) [0x7f8c8409adc0]
#2  /tmp/.mount_FreeCABynPbx/usr/bin/../lib/libpython3.10.so.1.0(+0x1569ae) [0x7f8c85b1d9ae]
#3  /tmp/.mount_FreeCABynPbx/usr/bin/../lib/libpython3.10.so.1.0(+0x1f2f6e) [0x7f8c85bb9f6e]
#4  /tmp/.mount_FreeCABynPbx/usr/bin/freecad(+0x5471) [0x5564b1fbc471]
#5  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f8c8400f840]
#6  /tmp/.mount_FreeCABynPbx/usr/bin/freecad(+0x6c29) [0x5564b1fbdc29]
The previous build 31058 was starting without problems:

Code: Select all

./FreeCAD_weekly-builds-31058-2022-11-20-conda-Linux-x86_64-py310.AppImage 
FreeCAD 0.21, Libs: 0.21R31058 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2022
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Sheet Metal workbench loaded
Authentication protocols? :?
Any clue?
Giulio Buccini
Posts: 541
Joined: Fri Aug 26, 2016 9:07 pm
Location: Munich - Gemany

Re: weekly build 31709: segmentation fault when starting on Linux

Post by Giulio Buccini »

Any idea?
Offering a sacrifice in front of the PC could help?
New batteries for the wireless mouse?
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: weekly build 31709: segmentation fault when starting on Linux

Post by Syres »

Giulio Buccini wrote: Sun Feb 05, 2023 11:02 am Any idea?
All I suggest is running

Code: Select all

unset SESSION_MANAGER
just before starting the AppImage, see https://stackoverflow.com/questions/590 ... cified-are
Giulio Buccini
Posts: 541
Joined: Fri Aug 26, 2016 9:07 pm
Location: Munich - Gemany

Re: weekly build 31709: segmentation fault when starting on Linux

Post by Giulio Buccini »

With unset SESSION_MANAGER the authentication problem has gone away, but I receive the segmentaion-fault error the same:

Code: Select all

giulio@ubu:~/appimages$ unset SESSION_MANAGER
giulio@ubu:~/appimages$ ./FreeCAD_weekly-builds-31709-2023-02-02-conda-Linux-x86_64-py310.AppImage
Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x354c0) [0x7f0a1c6944c0]
#1  /lib/x86_64-linux-gnu/libc.so.6(wcslen+0) [0x7f0a1c70adc0]
#2  /tmp/.mount_FreeCATuzKK9/usr/bin/../lib/libpython3.10.so.1.0(+0x1569ae) [0x7f0a1e18d9ae]
#3  /tmp/.mount_FreeCATuzKK9/usr/bin/../lib/libpython3.10.so.1.0(+0x1f2f6e) [0x7f0a1e229f6e]
#4  /tmp/.mount_FreeCATuzKK9/usr/bin/freecad(+0x5471) [0x55f50639d471]
#5  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f0a1c67f840]
#6  /tmp/.mount_FreeCATuzKK9/usr/bin/freecad(+0x6c29) [0x55f50639ec29]
giulio@ubu:~/appimages$ 
May I cry? :( :( :(
openBrain
Veteran
Posts: 9034
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: weekly build 31709: segmentation fault when starting on Linux

Post by openBrain »

Maybe you could also upgrade. :)
16.04 is by far obsolete. ;)
Giulio Buccini
Posts: 541
Joined: Fri Aug 26, 2016 9:07 pm
Location: Munich - Gemany

Re: weekly build 31709: segmentation fault when starting on Linux

Post by Giulio Buccini »

Yeah, but it is working like a charm. It has all I need.
More than this, I have no time in this period to backup all of my data and upgrade to a new Ubuntu version. I'm 100% busy. Zero free time.

Maybe I could just upgrade some lib? :?

P.S.
I tried to download and run the build 31772. Same result.
Giulio Buccini
Posts: 541
Joined: Fri Aug 26, 2016 9:07 pm
Location: Munich - Gemany

Re: weekly build 31709: segmentation fault when starting on Linux

Post by Giulio Buccini »

My libraries:

Code: Select all

giulio@ubu:~/appimages$ ldd /bin/bash
	linux-vdso.so.1 =>  (0x00007ffcbf3e1000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f368e817000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f368e60f000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f368e23f000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f368ea47000)
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: weekly build 31709: segmentation fault when starting on Linux

Post by chrisb »

Giulio Buccini wrote: Sun Feb 05, 2023 8:46 pm Yeah, but it is working like a charm. It has all I need.
I wouldn't call it a charm, if FreeCAD doesn't run. Did you try an old AppImage?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: weekly build 31709: segmentation fault when starting on Linux

Post by onekk »

Giulio Buccini wrote: Sun Feb 05, 2023 8:46 pm Yeah, but it is working like a charm. It has all I need.
...
16.04 is somewhat old, and obsolete from my point of view, some question:

- it is supported by Ubuntu as a LTS release.
- it receive security fixes.
- How much time it will take if some malware or ransomware will destroy or lock your data, due to a security flaw.

I usually have a separate home directory and periodically made backups, so changing a distribution is a matter of creating a new one, and move only configurations files, as relevant data are not stored in /home/user but in a separate home/data directory and are symlinked in the /home/user/ so setting up a new distribution is a matter of a couple of hours. (to have some customization done, if not much less)

But as usual it is a matter of taste.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: weekly build 31709: segmentation fault when starting on Linux

Post by wmayer »

As a test I have downloaded the latest available version that I found and this starts without problems on Xubuntu 22.04. The version is FreeCAD_weekly-builds-31772-2023-02-05-conda-Linux-x86_64-py310.AppImage

Can FreeCAD_weekly-builds-31709-2023-02-02-conda-Linux-x86_64-py310.AppImage still be downloaded somewhere? I haven't found a link for it.
Post Reply