Many AppImages have stopped working after today's update :/

After today’s update some of my AppImages have stopped working. Two different Freecad AppImages and my Electrum wallet AppImage.

Anything I can do to fix this?

PS Cura and Filmulator are working fine.

EDIT: Freecad does run, meaning, the application window opens up. I can even open files or create new files by going through the menu which is completely functional. However, I cannot see the opened files or the newly created files, that is, the main application window is frozen.

Can you run an appimage from terminal and post the output?

Sure

$ ./FreeCAD-asm3-Daily-Conda-Py3-Qt5-20210531-glibc2.12-x86_64.AppImage 
/tmp/.mount_FreeCAje22Mx
FreeCAD 0.19, Libs: 2021.531R24301 +3702 (Git)
Assembly4 workbench loaded 
libGL error: MESA-LOADER: failed to open radeonsi: /tmp/.mount_FreeCAje22Mx/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi: /tmp/.mount_FreeCAje22Mx/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /tmp/.mount_FreeCAje22Mx/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: swrast

Output when the application is closed.

Program received signal SIGSEGV, Segmentation fault.
#0  /usr/lib/libc.so.6(+0x3cda0) [0x7f7a995ebda0]
#1  /usr/lib/libc.so.6(+0x16206e) [0x7f7a9971106e]
#2  /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib64/../lib/libCoin.so.80(cc_glglue_instance+0x15d) [0x7f7a9911239d]
#3  0x7f7a9bba9f81 in SIM::Coin3D::Quarter::QuarterWidgetP::removeFromCacheContext(QuarterWidgetP_cachecontext*, QOpenGLWidget const*) from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib64/libFreeCADGui.so+0xd1
#4  0x7f7a9bbaa01a in SIM::Coin3D::Quarter::QuarterWidgetP::~QuarterWidgetP() from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib64/libFreeCADGui.so+0x1a
#5  0x7f7a9bba72b9 in SIM::Coin3D::Quarter::QuarterWidget::~QuarterWidget() from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib64/libFreeCADGui.so+0xb9
#6  0x7f7a9bbf14e6 in Gui::View3DInventorViewer::~View3DInventorViewer() from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib64/libFreeCADGui.so+0x726
#7  0x7f7a9bbf157a in Gui::View3DInventorViewer::~View3DInventorViewer() from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib64/libFreeCADGui.so+0xa
#8  0x7f7a9bbd68b5 in Gui::View3DInventor::~View3DInventor() from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib64/libFreeCADGui.so+0x125
#9  0x7f7a9bbd6a3a in Gui::View3DInventor::~View3DInventor() from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib64/libFreeCADGui.so+0xa
#10  0x7f7a99b0a54e in QObject::event(QEvent*) from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib/libQt5Core.so.5+0x76
#11  0x7f7a9a34707f in QWidget::event(QEvent*) from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib/libQt5Widgets.so.5+0xcc5
#12  0x7f7a9a3f134f in QMainWindow::event(QEvent*) from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib/libQt5Widgets.so.5+0xdd
#13  0x7f7a9a31b7f2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib/libQt5Widgets.so.5+0xdc
#14  0x7f7a9a32131d in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib/libQt5Widgets.so.5+0x1ac9
#15  0x7f7a9b817eb9 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib64/libFreeCADGui.so+0x89
#16  0x7f7a99af5606 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib/libQt5Core.so.5+0x86
#17  0x7f7a99af583e in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib/libQt5Core.so.5+0x1da
#18  0x7f7a99af5eb2 in QCoreApplication::exec() from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib/libQt5Core.so.5+0x120
#19  0x7f7a9b79192e in Gui::Application::runApplication() from /tmp/.mount_FreeCA9R3Pu5/usr/bin/../lib64/libFreeCADGui.so+0x40e
#20  /tmp/.mount_FreeCA9R3Pu5/usr/bin/FreeCADLink(+0x44be) [0x5607cde684be]
#21  /usr/lib/libc.so.6(__libc_start_main+0xd5) [0x7f7a995d6b25]
#22  /tmp/.mount_FreeCA9R3Pu5/usr/bin/FreeCADLink(+0x47d5) [0x5607cde687d5]
1 Like

I installed vulkan-swrast but that did nothing.

I’m having a similar issue.
After I update my system I can’t open any FreeCAD AppImage. (lbry tv AppImage working fine tho)
Here is terminal output.

/home/mozammel/Applications/FreeCAD-asm3-Stable-Conda-Py3-Qt5-20210528-glibc2.12-x86_64_76b15da2b46a54d103a358223191e341.AppImage                             ✔  
    /tmp/.mount_FreeCAlxWEsW
FreeCAD 0.19, Libs: 2021.528R24301 +3572 (Git)
Sheet Metal workbench loaded
Assembly4 workbench loaded
libGL error: MESA-LOADER: failed to open iris: /tmp/.mount_FreeCAlxWEsW/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.
so) (search paths /usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /tmp/.mount_FreeCAlxWEsW/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/iris_dri.
so) (search paths /usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /tmp/.mount_FreeCAlxWEsW/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_
dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: swrast
which: no openscad in (/tmp/.mount_FreeCAlxWEsW/usr/bin:/tmp/.mount_FreeCAlxWEsW/usr/Mod/AddonManager:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Arch:/tmp/.mount_FreeCAlxWEsW/usr/Mod/
Draft:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Drawing:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Fem:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Idf:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Image:/tmp/.mount_F
reeCAlxWEsW/usr/Mod/Import:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Inspection:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Material:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Measure:/tmp/.mount_FreeCAl
xWEsW/usr/Mod/Mesh:/tmp/.mount_FreeCAlxWEsW/usr/Mod/MeshPart:/tmp/.mount_FreeCAlxWEsW/usr/Mod/OpenSCAD:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Part:/tmp/.mount_FreeCAlxWEsW/usr/Mod
/PartDesign:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Path:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Points:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Raytracing:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Revers
eEngineering:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Robot:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Show:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Sketcher:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Spreadsh
eet:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Start:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Surface:/tmp/.mount_FreeCAlxWEsW/usr/Mod/TechDraw:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Test:/tmp/.mou
nt_FreeCAlxWEsW/usr/Mod/Tux:/tmp/.mount_FreeCAlxWEsW/usr/Mod/Web:/tmp/.mount_FreeCAlxWEsW/usr/Mod/appimage_updater:/tmp/.mount_FreeCAlxWEsW/usr/Mod/asm3:/home/mozammel/.Free
CAD/Mod/A2plus:/home/mozammel/.FreeCAD/Mod/frame:/home/mozammel/.FreeCAD/Mod/Reinforcement:/home/mozammel/.FreeCAD/Mod/fcgear:/home/mozammel/.FreeCAD/Mod/BIM:/home/mozammel/
.FreeCAD/Mod/ose-piping:/home/mozammel/.FreeCAD/Mod/parts_library:/home/mozammel/.FreeCAD/Mod/sheetmetal:/home/mozammel/.FreeCAD/Mod/Render:/home/mozammel/.FreeCAD/Mod/BOLTS
FC:/home/mozammel/.FreeCAD/Mod/Reporting:/home/mozammel/.FreeCAD/Mod/fasteners:/home/mozammel/.FreeCAD/Mod/ExplodedAssembly:/home/mozammel/.FreeCAD/Mod/ArchTextures:/home/mo
zammel/.FreeCAD/Mod/PieMenu:/home/mozammel/.FreeCAD/Mod/WebTools:/home/mozammel/.FreeCAD/Mod/DesignSPHysics:/home/mozammel/.FreeCAD/Mod/dodo:/home/mozammel/.FreeCAD/Mod/Asse
mbly4:/home/mozammel/.FreeCAD/Mod/Curves:/tmp/.mount_FreeCAlxWEsW/usr/bin:/home/mozammel/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/opt/cuda/nsight_co
mpute:/opt/cuda/nsight_systems/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
/tmp/.mount_FreeCAlxWEsW/AppRun: line 46: 24823 Aborted                 (core dumped) "$PREFIX/bin/$name" "$@"`Preformatted text`

FreeCAD is not working anymore:

FreeCAD 0.20, Libs: 0.20R25025 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2021
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

libGL error: MESA-LOADER: failed to open r600: /tmp/.mount_freecallSEeP/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/r600_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: r600
libGL error: MESA-LOADER: failed to open r600: /tmp/.mount_freecallSEeP/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/r600_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: r600
libGL error: MESA-LOADER: failed to open swrast: /tmp/.mount_freecallSEeP/usr/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: swrast
/tmp/.mount_freecallSEeP/AppRun: Zeile 41: 52137 Abgebrochen             (Speicherabzug geschrieben) ${MAIN} "$@"
[uli@Libra ~]$ 

1 Like

Hi,
Same problem since the last update:

[eric@eric-pc ~]$ freecad_0.19
FreeCAD 0.19, Libs: 0.19R24291 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2021
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn’t be possible without FreeCAD community.

#### ###

# # # #

## #### #### # # # #

# # # # # # # ##### #

# #### #### # # # #

# # # # # # # # ## ##

# #### #### ### # # #### ## ##

libGL error: MESA-LOADER: failed to open radeonsi: /tmp/.mount_freecaZQ0VMf/usr/bin/…/lib/libstdc++.so.6: version GLIBCXX_3.4.29' not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri) libGL error: failed to load driver: radeonsi libGL error: MESA-LOADER: failed to open radeonsi: /tmp/.mount_freecaZQ0VMf/usr/bin/../lib/libstdc++.so.6: version GLIBCXX_3.4.29’ not found (required by /usr/lib/dri/radeonsi_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /tmp/.mount_freecaZQ0VMf/usr/bin/…/lib/libstdc++.so.6: version `GLIBCXX_3.4.29’ not found (required by /usr/lib/dri/swrast_dri.so) (search paths /usr/lib/dri)
libGL error: failed to load driver: swrast
/tmp/.mount_freecaZQ0VMf/AppRun : ligne 41 : 18419 Abandon (core dumped)${MAIN} “$@”

1 Like

I’ve starting using Freecad from the official repo :confused:

I miss the wildthunder’s link branch.

I did able to open FreeCAD, workaround is to downgrate “mesa” driver for me. use “downgrade” command to downgrade mesa 21.1.0 to 21.0.3
$sudo downgrade mesa

1 Like

Perfect. works for me also!Thanks for the hint!

Just be careful because after today’s update, my computer was booting only to terminal; the desktop wasn’t working. I had to upgrade mesa to get it working again.

Also, my vlc has stopped working because of the mesa downgrade :confused:

Okay this is now a serious problem. I can’t use Freecad unless I downgrade mesa but if I downgrade mesa, my desktop environment doesn’t start.

I would love to complain to Freecad about this issue but Manjaro is culprit here. Where do I report this issue?

Just current update broke my system again, now I can’t downgrade to that version which works, because it’s not appearing on the list.
I don’t see manjaro forum moderator noticing this issue. So what you can do, just share more so devs notice it.

Have you tried the git version?

https://aur.archlinux.org/packages/freecad-appimage-git

it’s FreeCAD’s main branch, I use FreeCAD LinkStage3 branch.
For your information, FreeCAD main branch working fine.

I just built and installed from the link you posted: it doesn’t work, just like the others. All Freecad appimages have been affected it seems.

If you are using Hybrid Intel-Nvidia card then it may use
$ prime-run /home/mozammel/Applications/FreeCAD-asm3-Stable-Conda-Py3-Qt5-20210528-glibc2.12-x86_64_76b15da2b46a54d103a358223191e341.AppImage

1 Like

It looks like it’s using the wrong files for libstdc++.

Pointing it to the correct library as below made it work for me:

LD_PRELOAD=/usr/lib/libstdc++.so ./FreeCAD_0.19-24291-Linux-Conda_glibc2.12-x86_64.AppImage

Make an alias or run an export for LD_PRELOAD=/usr/lib/libstdc++.so in a startup script for convenience until it gets fixed if you’d like.


Possibly related:

pixinsight . com/forum/index.php?threads/archlinux-glibcxx_3-4-29.16603/

The solution suggested there is to delete libstdc++.so.6, presumably forcing the program in question to fall back on the correct library.

The error message I got here also says (search paths /usr/lib/dri), and ../lib/libstdc++.so.6 potentially relative to a file in /usr/lib/dri/ though, so another course I’d investigate is whether it might be looking in the wrong places for libraries or something.

Either way, explicitly pointing to the correct library with the command I posted above seems to have fixed it for me.

Thanks for posting this but it didn’t work for me.

I did export LD_PRELOAD=/usr/lib/libstdc++.so', then ./FreeCAD-asm3-Stable-Conda-Py3-Qt5-20210528-glibc2.12-x86_64_76b15da2b46a54d103a358223191e341.AppImage`. Also tried with the newer version of the link branch but that also didn’t work.

Thanks to the link @WC-CA posted, I discovered a solution.

  1. Download the appimagetool.

  2. ./appImageYouWantToFix --appimage-extract

  3. A new folder will be created. Navigate to newlycreatedfolder/usr/lib and delete libstdc++.so.6.

  4. cp /lib/libstdc++.so.6 /path/to/newlycreatedfolder/usr/lib/libstdc++.so.6

  5. You can now navigate to newlycreatedfolder and execute AppRun and your appimage should work, it did in my case.

  6. [Optional] Recompile the appimage by ./appimagetool-x86_64.AppImage -v ./newlycreatefolder.

That solved my problem. Hopefully it will work for everyone.

3 Likes