MeshMixer AppImage goes straight to Segmentation fault


#1

Hi. I have MeshMixer appimage created from and older version of Meshmixer.yml. It worked well on Fedora 26, but after upgrading to Fedora 27, it segfaults upon launching. I wonder, what would be the best way to debug the problem? gdb complains for missing debuginfo RPM packages, but given it’s appimage, I don’t think my Fedora debuginfos would help it.

This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from meshmixer...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/churchyard/.local/bin/meshmixer 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Detaching after fork from child process 3607.
process 3603 is executing new program: /tmp/.mount_bZZSlt/AppRun
process 3603 is executing new program: /tmp/.mount_bZZSlt/usr/bin/meshmixer
warning: Could not load shared library symbols for 61 libraries, e.g. ./lib/x86_64-linux-gnu/libboost_filesystem.so.1.54.0.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Missing separate debuginfo for /tmp/.mount_bZZSlt/usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/libqimsw-multi.so
Try: dnf --enablerepo='*debug*' install /usr/lib/debug/.build-id/c5/d625959d10aeccd5156090c94baab6d48f8b9a.debug

Program received signal SIGSEGV, Segmentation fault.
0x00000000000006e0 in ?? ()
Missing separate debuginfos, use: dnf debuginfo-install pcre2-10.30-2.fc27.x86_64

Note that I the last mentioned command says I already have pcre2-debuginfo-10.30-3.fc27.x86_64 installed.

I will try to recreate the appimage and see if it still segfaults, but in the meantime, is there a way to debug this somehow?

Thanks.

(gdb) info sharedlibrary
From                To                  Syms Read   Shared Object Library
0x00007ffff7dd5d50  0x00007ffff7df5310  Yes         /lib64/ld-linux-x86-64.so.2
                                        No          ./lib/x86_64-linux-gnu/libboost_filesystem.so.1.54.0
                                        No          ./lib/x86_64-linux-gnu/libboost_system.so.1.54.0
                                        No          ./lib/x86_64-linux-gnu/libboost_date_time.so.1.54.0
                                        No          ./lib/x86_64-linux-gnu/libboost_thread.so.1.54.0
0x00007ffff737ab00  0x00007ffff7389251  Yes         /lib64/libpthread.so.0
                                        No          ./lib/x86_64-linux-gnu/libQtCore.so.4
                                        No          ./lib/x86_64-linux-gnu/libQtGui.so.4
                                        No          ./lib/x86_64-linux-gnu/libQtOpenGL.so.4
                                        No          ./lib/x86_64-linux-gnu/libQtXml.so.4
                                        No          ./lib/x86_64-linux-gnu/libQtNetwork.so.4
                                        No          ./lib/x86_64-linux-gnu/libQtWebKit.so.4
                                        No          ./lib/x86_64-linux-gnu/libQtScript.so.4
                                        No          ./lib/x86_64-linux-gnu/libdns_sd.so.1
0x00007ffff2cc33f0  0x00007ffff2cc672f  Yes         /lib64/libGL.so.1
0x00007ffff2a1a680  0x00007ffff2a6b303  Yes         /lib64/libGLU.so.1
                                        No          ./lib/libTimberlineWrapper.so
                                        No          ./lib/libsuperlu.so.3
                                        No          ./lib/libblas.so.3
                                        No          ./lib/liblapack.so.3
0x00007ffff1813100  0x00007ffff18c37f8  Yes         /lib64/libstdc++.so.6
0x00007ffff1439880  0x00007ffff14e2985  Yes         /lib64/libm.so.6
0x00007ffff121dac0  0x00007ffff122dde5  Yes         /lib64/libgcc_s.so.1
0x00007ffff0e56790  0x00007ffff0fc560c  Yes         /lib64/libc.so.6
0x00007ffff0c301a0  0x00007ffff0c336b6  Yes         /lib64/librt.so.1
                                        No          ../lib/x86_64-linux-gnu/libz.so.1
0x00007ffff0811e50  0x00007ffff0812b7e  Yes         /lib64/libdl.so.2
0x00007ffff0517ed0  0x00007ffff058ffb8  Yes         /lib64/libglib-2.0.so.0
0x00007ffff02bee50  0x00007ffff02dea9a  Yes         /lib64/libfontconfig.so.1
                                        No          ./lib/x86_64-linux-gnu/libaudio.so.2
                                        No          ../lib/x86_64-linux-gnu/libpng12.so.0
                                        No          ./lib/x86_64-linux-gnu/libfreetype.so.6
0x00007fffef98e710  0x00007fffef9c03d5  Yes         /lib64/libgobject-2.0.so.0
                                        No          ./lib/x86_64-linux-gnu/libSM.so.6
                                        No          ./lib/x86_64-linux-gnu/libICE.so.6
                                        No          ./lib/x86_64-linux-gnu/libXi.so.6
                                        No          ./lib/x86_64-linux-gnu/libXrender.so.1
                                        No          ./lib/x86_64-linux-gnu/libXext.so.6
                                        No          ./lib/x86_64-linux-gnu/libX11.so.6
                                        No          ./lib/x86_64-linux-gnu/libjpeg.so.8
                                        No          ./lib/x86_64-linux-gnu/libxslt.so.1
                                        No          ./lib/x86_64-linux-gnu/libxml2.so.2
                                        No          ./lib/x86_64-linux-gnu/libgstapp-1.0.so.0
                                        No          ./lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0
                                        No          ./lib/x86_64-linux-gnu/libgstvideo-1.0.so.0
                                        No          ./lib/x86_64-linux-gnu/libgstaudio-1.0.so.0
                                        No          ./lib/x86_64-linux-gnu/libgstbase-1.0.so.0
                                        No          ./lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
                                        No          ./lib/x86_64-linux-gnu/libsqlite3.so.0
                                        No          ./lib/x86_64-linux-gnu/libavahi-common.so.3
                                        No          ./lib/x86_64-linux-gnu/libavahi-client.so.3
0x00007fffecce2fb0  0x00007fffeccecb45  Yes         /lib64/libGLX.so.0
0x00007fffeca68bb0  0x00007fffeca6ba37  Yes         /lib64/libGLdispatch.so.0
---Type <return> to continue, or q <return> to quit---
                                        No          ./lib/libother_core.so
                                        No          ./lib/libotherfab_geom.so
                                        No          ./lib/libotherfab_base.so
                                        No          ./lib/libother_amf.so
                                        No          ./lib/libother_print3d_back.so
                                        No          ./lib/x86_64-linux-gnu/libgfortran.so.3
0x00007fffe9353610  0x00007fffe93a534d  Yes         /lib64/libpcre.so.1
                                        No          ../lib/x86_64-linux-gnu/libexpat.so.1
                                        No          ./lib/x86_64-linux-gnu/libXt.so.6
                                        No          ./lib/x86_64-linux-gnu/libXau.so.6
0x00007fffe8ab77c0  0x00007fffe8abbf7a  Yes         /lib64/libffi.so.6
                                        No          ../lib/x86_64-linux-gnu/libuuid.so.1
0x00007fffe86949f0  0x00007fffe86a6b15  Yes         /lib64/libxcb.so.1
                                        No          ../lib/x86_64-linux-gnu/liblzma.so.5
                                        No          ./lib/x86_64-linux-gnu/liborc-0.4.so.0
                                        No          ./lib/x86_64-linux-gnu/libgsttag-1.0.so.0
0x00007fffe7daa0f0  0x00007fffe7daafe6  Yes         /lib64/libgmodule-2.0.so.0
0x00007fffe7b66900  0x00007fffe7b92161  Yes         /lib64/libdbus-1.so.3
                                        No          ./lib/libother_cgal.so
                                        No          ./lib/x86_64-linux-gnu/libxerces-c-3.1.so
                                        No          ./lib/x86_64-linux-gnu/libminizip.so.0
                                        No          ./lib/libother_otherfab.so
                                        No          ./lib/libother_levelset.so
                                        No          ./lib/libother_nonlinear.so
                                        No          ./lib/x86_64-linux-gnu/libquadmath.so.0
0x00007fffe5e2d500  0x00007fffe5e86f04  Yes         /lib64/libsystemd.so.0
                                        No          ./lib/libCGAL.so.10
                                        No          ./lib/x86_64-linux-gnu/libgmp.so.10
                                        No          ./lib/libother_xml.so
0x00007fffe543a5c0  0x00007fffe5506d18  Yes         /lib64/libgcrypt.so.20
0x00007fffe521bf80  0x00007fffe522b060  Yes         /lib64/liblz4.so.1
0x00007fffe4ff7ca0  0x00007fffe500efcf  Yes         /lib64/libselinux.so.1
0x00007fffe4ddec50  0x00007fffe4de8d58  Yes         /lib64/libgpg-error.so.0
0x00007fffe4b5a120  0x00007fffe4bb91e1  Yes (*)     /lib64/libpcre2-8.so.0
0x00007fffdde8f710  0x00007fffdde9125b  Yes         /usr/lib64/gconv/UTF-16.so
0x00007fffddc85c90  0x00007fffddc8bc85  Yes         /lib64/libXrandr.so.2
0x00007fffdda7f540  0x00007fffdda817d6  Yes         /lib64/libXfixes.so
0x00007fffdd875a10  0x00007fffdd87a460  Yes         /lib64/libXcursor.so.1
0x00007fffdd670b00  0x00007fffdd671475  Yes         /lib64/libXinerama.so.1
0x00007fffdd461190  0x00007fffdd46bad7  Yes         /lib64/libXi.so
0x00007fffdd238200  0x00007fffdd2508e5  Yes         /lib64/libgconf-2.so.4
0x00007fffdd00ad70  0x00007fffdd01f641  Yes         /lib64/libdbus-glib-1.so.2
0x00007fffdcc9d7c0  0x00007fffdcd7d4f2  Yes         /lib64/libgio-2.0.so.0
0x00007fffdca4f830  0x00007fffdca5ed92  Yes         /lib64/libresolv.so.2
0x00007fffdc804a30  0x00007fffdc837868  Yes         /lib64/libmount.so.1
0x00007fffdc5b6e70  0x00007fffdc5e2fb8  Yes         /lib64/libblkid.so.1
0x00007fffdc3a8710  0x00007fffdc3aa405  Yes (*)     /tmp/.mount_uhUqax/usr/lib/x86_64-linux-gnu/qt4/plugins/inputmethods/libqimsw-multi.so
0x00007fffd9aba610  0x00007fffd9aba76a  Yes         /lib64/libgthread-2.0.so.0
0x00007fffdc153b90  0x00007fffdc187773  Yes         /lib64/libgnomevfs-2.so.0
0x00007fffdbee9490  0x00007fffdbf22d2e  Yes         /lib64/libssl.so.10
0x00007fffdbadf200  0x00007fffdbc16eae  Yes         /lib64/libcrypto.so.10
0x00007fffdb86ed30  0x00007fffdb86fac4  Yes         /lib64/libavahi-glib.so.1
0x00007fffdb66be70  0x00007fffdb66c82a  Yes         /lib64/libutil.so.1
(*): Shared library is missing debugging information.

#2

Run with LD_DEBUG=libs and see which library gets loaded right before the crash.


#3

/lib64/libgthread-2.0.so.0


#4

Now is there anything I can do about it? Is it likely a bug in Fedora’s libgthread, or the AppImage itself? Is the file on my system or inside the AppImage? May I insert some libgthread from older Ubuntu insde that to be used instead?


#5

If it starts with /lib64 then it is from the Fedora host system.

It wouldn’t hurt to try that, yes.