weekly build 31709: segmentation fault when starting on Linux
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 541
- Joined: Fri Aug 26, 2016 9:07 pm
- Location: Munich - Gemany
Re: weekly build 31709: segmentation fault when starting on Linux
There is no way to convince FC to use my libs instead?
Just to check if this is what causes the problem.
Just to check if this is what causes the problem.
-
- Posts: 541
- Joined: Fri Aug 26, 2016 9:07 pm
- Location: Munich - Gemany
Re: weekly build 31709: segmentation fault when starting on Linux
Just a note.
I have also extracted the image of the build 31058 (the one working with zero problems) and the 3 files in the usr/lib folder are exactly the same
./usr/share/licenses/libstdc++
./usr/lib/libstdc++.so.6.0.30
./usr/lib/libstdc++.so.6
they have all the same size (12.212.840 bytes) like in the new build 31772 (the one that is not working).
So no changes here... why the new build gives me the segmentation fault error?
I have also extracted the image of the build 31058 (the one working with zero problems) and the 3 files in the usr/lib folder are exactly the same
./usr/share/licenses/libstdc++
./usr/lib/libstdc++.so.6.0.30
./usr/lib/libstdc++.so.6
they have all the same size (12.212.840 bytes) like in the new build 31772 (the one that is not working).
So no changes here... why the new build gives me the segmentation fault error?
Re: weekly build 31709: segmentation fault when starting on Linux
And all other files under /usr/lib of the AppImage are they equal to the older AppImage?
Re: weekly build 31709: segmentation fault when starting on Linux
Another thing could be that the libstc++ of the AppImage still links to your system libc.so. and maybe you need a newer version. You can get the libc.so for Ubuntu 22.04 from here: http://archive.ubuntu.com/ubuntu/pool/u ... _amd64.deb
Unpack the archive and copy the libc files to the usrr/lib directory of the AppImage.
Unpack the archive and copy the libc files to the usrr/lib directory of the AppImage.
-
- Posts: 541
- Joined: Fri Aug 26, 2016 9:07 pm
- Location: Munich - Gemany
Re: weekly build 31709: segmentation fault when starting on Linux
This evening I'm completely out of order because of my job. Too tired.
I will be back tomorrow.
Anyway I would really know what has been changed from build 31508 to build 31707 (or build 31772) to cause this error.
I will be back tomorrow.
Anyway I would really know what has been changed from build 31508 to build 31707 (or build 31772) to cause this error.
Re: weekly build 31709: segmentation fault when starting on Linux
Could you post full info of both versions?Giulio Buccini wrote: ↑Tue Feb 07, 2023 8:04 pm Anyway I would really know what has been changed from build 31508 to build 31707 (or build 31772) to cause this error.
-
- Posts: 541
- Joined: Fri Aug 26, 2016 9:07 pm
- Location: Munich - Gemany
Re: weekly build 31709: segmentation fault when starting on Linux
Sure.
I attach the two complete lists of packages included in the two appimage files.
I have already checked it yesterday evening: there are some differences, but was hard for me to understand what is important and what is not.
I got lost after one minute...
Anyway, the C libraries seems the same in both cases, so the problem should be elsewhere...
I attach the two complete lists of packages included in the two appimage files.
I have already checked it yesterday evening: there are some differences, but was hard for me to understand what is important and what is not.
I got lost after one minute...
Anyway, the C libraries seems the same in both cases, so the problem should be elsewhere...
- Attachments
-
- build_31508-packages.txt
- (20.4 KiB) Downloaded 32 times
-
- build_31772-packages.txt
- (19.97 KiB) Downloaded 32 times
-
- Posts: 541
- Joined: Fri Aug 26, 2016 9:07 pm
- Location: Munich - Gemany
Re: weekly build 31709: segmentation fault when starting on Linux
I copied the libc.so into the Appimage folder... and I got the same result:wmayer wrote: ↑Tue Feb 07, 2023 11:08 am Another thing could be that the libstc++ of the AppImage still links to your system libc.so. and maybe you need a newer version. You can get the libc.so for Ubuntu 22.04 from here: http://archive.ubuntu.com/ubuntu/pool/u ... _amd64.deb
Unpack the archive and copy the libc files to the usrr/lib directory of the AppImage.
Code: Select all
giulio@ubu:~/appimages/build-31772/squashfs-root$ ./AppRun
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x354c0) [0x7f878c6f44c0]
#1 /lib/x86_64-linux-gnu/libc.so.6(wcslen+0) [0x7f878c76adc0]
#2 /home/giulio/appimages/build-31772/squashfs-root/usr/bin/../lib/libpython3.10.so.1.0(+0x1513ae) [0x7f878e1e83ae]
#3 /home/giulio/appimages/build-31772/squashfs-root/usr/bin/../lib/libpython3.10.so.1.0(+0x1e616e) [0x7f878e27d16e]
#4 /home/giulio/appimages/build-31772/squashfs-root/usr/bin/freecad(+0x5471) [0x55b92200a471]
#5 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f878c6df840]
#6 /home/giulio/appimages/build-31772/squashfs-root/usr/bin/freecad(+0x6c29) [0x55b92200bc29]
Any other idea?
Re: weekly build 31709: segmentation fault when starting on Linux
According to the call stack it still uses the system libc
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x354c0) [0x7f878c6f44c0]
-
- Posts: 541
- Joined: Fri Aug 26, 2016 9:07 pm
- Location: Munich - Gemany
Re: weekly build 31709: segmentation fault when starting on Linux
I trust you on this.
No way to convince FC to use the lib inside the /usr/lib/ folder of the Appimage instead?
No way to convince FC to use the lib inside the /usr/lib/ folder of the Appimage instead?