FC 0.18.15638 AppImage dosn't start

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
herbk
Veteran
Posts: 2657
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

FC 0.18.15638 AppImage dosn't start

Post by herbk »

Like the topic say's:
FC 0.18.15638 AppImage dosn't start, at least not on OpenSuse 42.3
Gruß Herbert
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FC 0.18.15638 AppImage dosn't start

Post by Kunda1 »

What happens when you run it from the command line?
Can you use debugging to give us more info ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
herbk
Veteran
Posts: 2657
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: FC 0.18.15638 AppImage dosn't start

Post by herbk »

Try to start it from commandline brings only a message that its not a valid command:

Code: Select all

If 'FreeCAD_0.18.15638.glibc2.17-x86_64.AppImage' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf FreeCAD_0.18.15638.glibc2.17-x86_64.AppImage
Gruß Herbert
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FC 0.18.15638 AppImage dosn't start

Post by Kunda1 »

Code: Select all

chmod +x FreeCAD_0.18.15638.glibc2.17-x86_64.AppImage
./FreeCAD_0.18.15638.glibc2.17-x86_64.AppImage
Then for debugging you would try:

Code: Select all

gdb ./FreeCAD_0.18.15638.glibc2.17-x86_64.AppImage
handle SIG33 noprint nostop
run
(this executes the program)
(when the crash happens then do:)
bt
copy/paste the results back here.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
herbk
Veteran
Posts: 2657
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: FC 0.18.15638 AppImage dosn't start

Post by herbk »

that works:

Code: Select all

Type "apropos word" to search for commands related to "word"...
Reading symbols from ./FreeCAD_0.18.15638.glibc2.17-x86_64.AppImage...(no debugging symbols found)...done.
(gdb) handle SIG33 noprint nostop
Signal        Stop      Print   Pass to program Description
SIG33         No        No      Yes             Real-time event 33
(gdb) run
Starting program: /home/herbert/FreeCAD/Devl/FreeCAD_0.18.15638.glibc2.17-x86_64.AppImage 
Missing separate debuginfos, use: zypper install glibc-debuginfo-2.22-22.1.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[Detaching after fork from child process 6686]
process 6682 is executing new program: /tmp/.mount_FreeCAq4jpKM/AppRun
Missing separate debuginfos, use: zypper install libfuse2-debuginfo-2.9.3-12.3.2.x86_64 libz1-debuginfo-1.2.8-14.3.1.x86_64
process 6682 is executing new program: /tmp/.mount_FreeCAq4jpKM/usr/lib/freecad-daily/bin/FreeCAD
Missing separate debuginfos, use: zypper install glibc-debuginfo-2.22-22.1.x86_64
freecad-daily: error while loading shared libraries: /tmp/.mount_FreeCAq4jpKM/usr/lib/x86_64-linux-gnu/libboost_regex.so.1.55.0: cannot read file data: Error 103
[Inferior 1 (process 6682) exited with code 0177]
Missing separate debuginfos, use: zypper install glibc-debuginfo-2.22-22.1.x86_64
(gdb) handle SIG33 noprint nostopQuit
(gdb) 

Gruß Herbert
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FC 0.18.15638 AppImage dosn't start

Post by Kunda1 »

Code: Select all

freecad-daily: error while loading shared libraries: /tmp/.mount_FreeCAq4jpKM/usr/lib/x86_64-linux-gnu/libboost_regex.so.1.55.0: cannot read file data: Error 103
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: FC 0.18.15638 AppImage dosn't start

Post by triplus »

Hi @herbk

When you download the AppImage you need to make it executable (chmod or by right clicking on the file -> Properties -> Permissions). Please test again with both AppImages:

https://github.com/FreeCAD/FreeCAD/rele ... g/0.18_pre

Download, set executable and run. If it won't work run both from the terminal and copy/paste the output here (not using the gdb).
wafi
Posts: 82
Joined: Sat Oct 15, 2016 8:45 am

Re: FC 0.18.15638 AppImage dosn't start

Post by wafi »

Hi,
here the output when trying to start AppImage with no chance at all:
./FreeCAD-0.17.13541.9948ee4.glibc2.17-x86_64.AppImage
/bin/bash: /tmp/.mount_FreeCAW3U48G/lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required by /bin/bash)
FreeCAD 0.17, Libs: 0.17R13541 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##

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: ../../src/xcb_io.c:259: poll_for_event: Zusicherung »!xcb_xlib_threads_sequence_lost« nicht erfüllt.
Abgebrochen (Speicherabzug geschrieben)
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: FC 0.18.15638 AppImage dosn't start

Post by triplus »

wafi wrote: Fri Jan 25, 2019 1:41 pm Hi,
here the output when trying to start AppImage with no chance at all:
Yes this is a relatively common problem these days with GPU drivers and newer Linux distributions. DRI3 got enabled by default in Mesa and some GPU drivers unfortunately just can't handle it yet:

https://forum.freecadweb.org/viewtopic. ... 20#p227251

Therefore before starting the AppImage environment variable must be set. For example:

Code: Select all

export LIBGL_DRI3_DISABLE=1
./FreeCAD_0.18.15638.glibc2.17-x86_64.AppImage
P.S. Or as suggested in the linked thread to just disable DRI3 on such system globally or on per user level.
wafi
Posts: 82
Joined: Sat Oct 15, 2016 8:45 am

Re: FC 0.18.15638 AppImage dosn't start

Post by wafi »

Hi triplus
thank you very much, with your advice the AppImage is starting now and all functions which are not available at present freecad versions are available on the Appimage version. It seems that this version is significant slower, but .. ok, that`s life.
Post Reply