AppImage File Crashes on Linux Mint v22

AppImage File Crashes on Linux Mint v22 - I am using Linux Mint v22 and when I attempt to run the ".AppImage" file, it crashes? - Mensajes

#1 Publicado: 4/12/2024 8:11:39
Keith

Keith

1 me gusta en 3 mensajes.

Grupo: User

I am using Linux Mint v22 and when I attempt to run the ".AppImage" file, it crashes with the following errors:
Citar


Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 assembly: type: membernull)
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000d4] in <728fbd68fe594062895e1f819791e76a>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at System.Drawing.Graphics.FromHdcInternal (System.IntPtr hdc) [0x00000] in <728fbd68fe594062895e1f819791e76a>:0
at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x0007e] in :0
at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in :0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in :0
at System.Windows.Forms.XplatUI..cctor () [0x000e3] in :0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in :0
at .. (System.String[] ) [0x0002d] in <868b174b35bf46d7860f868d305a3a08>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.so.0 assembly: type: membernull)
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdiplusStartup(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x000d4] in <728fbd68fe594062895e1f819791e76a>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at System.Drawing.Graphics.FromHdcInternal (System.IntPtr hdc) [0x00000] in <728fbd68fe594062895e1f819791e76a>:0
at System.Windows.Forms.XplatUIX11.SetDisplay (System.IntPtr display_handle) [0x0007e] in :0
at System.Windows.Forms.XplatUIX11..ctor () [0x00077] in :0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x0001c] in :0
at System.Windows.Forms.XplatUI..cctor () [0x000e3] in :0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00006] in :0
at .. (System.String[] ) [0x0002d] in <868b174b35bf46d7860f868d305a3a08>:0
Restoring environment...

A 1 usuarios les gustó este mensaje
TopUser2000 13/12/2024 18:44:00
#2 Publicado: 13/12/2024 18:46:00
TopUser2000

TopUser2000

0 me gusta en 28 mensajes.

Grupo: User

Wrote

I am using Linux Mint v22 and when I attempt to run the ".AppImage" file, it crashes with the following errors:



I have the same problem on LM22 and sent this report to the developer many weeks ago but I haven't got any answer
#3 Publicado: 14/12/2024 13:22:07
Keith

Keith

1 me gusta en 3 mensajes.

Grupo: User

Misery loves Company...
#4 Publicado: 14/12/2024 19:56:54
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

This happens because libgdiplus in appimage has missing symlinks.
I added and recompiled appimage with libgdiplus symlinks added.
Now it works. I don't know why Andrev didn't add those links, who knows?
Download appimage linked below, I have tried with linuxmint_22 live iso.

Regards

SMathStudioDesktop.1.2.9038-x86_64-linuxmint_22.glibc2.35.AppImage.tar.gz (11,66 MiB) descargado 1199 vez(es).
A 1 usuarios les gustó este mensaje
TopUser2000 16/12/2024 1:54:00
#5 Publicado: 15/12/2024 14:15:23
Keith

Keith

1 me gusta en 3 mensajes.

Grupo: User

That works great... Thanks a lot!
#6 Publicado: 16/12/2024 2:18:17
TopUser2000

TopUser2000

0 me gusta en 28 mensajes.

Grupo: User

Wrote

I have tried with linuxmint_22 live iso.



Thanks so much. Now it works.
Does the sMath author have any activity? No respond of email request or forum topic.
#7 Publicado: 21/12/2024 18:49:02
Andrey Ivashov

Andrey Ivashov

2.343 me gusta en 4.056 mensajes.

Grupo: Super Administrator

Wrote

This happens because libgdiplus in appimage has missing symlinks.
I added and recompiled appimage with libgdiplus symlinks added.
Now it works. I don't know why Andrev didn't add those links, who knows?
Download appimage linked below, I have tried with linuxmint_22 live iso.

Regards

SMathStudioDesktop.1.2.9038-x86_64-linuxmint_22.glibc2.35.AppImage.tar.gz (11,66 MiB) descargado 1199 vez(es).


Hello.

Please, could you provide a script to create this appimage? We can integrate it into our build process and provide Mint v22 appimage package in future.
Thanks in advanced!

Best regards, Andrey Ivashov.
#8 Publicado: 24/12/2024 0:36:37
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

Hello.

Please, could you provide a script to create this appimage? We can integrate it into our build process and provide Mint v22 appimage package in future.
Thanks in advanced!

Best regards, Andrey Ivashov.


I did extract content of original smath appimage from terminal via --appimage-extract argument.
Added libgif.so and symlinks for libgdiplus.
Mono library replacement shouldn't be necessary, only for just in case.

2024-12-23_20-33.png

Andrey, you can take my appimage and extract its content.
Only smath file updates should be enough for new appimage creation.

Regards
#9 Publicado: 24/12/2024 0:42:14
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Generally libgdiplus library is strictly depended on glibc version of system.
Usually it is creating the havoc, because of it also mono libraries too.
#10 Publicado: 24/12/2024 4:01:30
Andrey Ivashov

Andrey Ivashov

2.343 me gusta en 4.056 mensajes.

Grupo: Super Administrator

Thank you! Checking.
#11 Publicado: 27/12/2024 2:33:48
TopUser2000

TopUser2000

0 me gusta en 28 mensajes.

Grupo: User

Wrote

I added and recompiled appimage with libgdiplus symlinks added.



Could you fix the latest appImage?
#12 Publicado: 27/12/2024 2:52:30
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

Could you fix the latest appImage?


What do you mean by fix?
The file I have uploaded should already works for linuxmint 22.
#13 Publicado: 27/12/2024 2:54:23
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: Moderator

Wrote

Wrote

Could you fix the latest appImage?


What do you mean by fix?
The file I have uploaded should already works for linuxmint 22.



There is a new 1.3.0.9126 version
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#14 Publicado: 27/12/2024 2:57:16
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

There is a new 1.3 version


Really? I didn't even update my SMath.
I am going to look it, post here when it is done.

Regards
A 1 usuarios les gustó este mensaje
Oscar Campo 27/12/2024 18:23:00
#15 Publicado: 27/12/2024 11:58:03
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

I don't know if it is only on my pc but,
New version doesn't work on linux.
When any plugin is installed,
SMath crashes when reopened.
Going to inspect further...
#16 Publicado: 27/12/2024 22:04:51
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

There was some missing files for /usr/lib/mono and libgdiplus.so.
This should work now, please check it and report.

Regards

SMathStudioDesktop.1_3_0_9126.Mono.x86_64.linuxmint-22.glibc2.35.AppImage.tar.gz (11,7 MiB) descargado 956 vez(es).
SMathStudioDesktop.1_3_0_9126.Mono.x86_64.linuxmint-22.glibc2.35.AppImage.tar.gz (11,7 MiB) descargado 1172 vez(es).
A 2 usuarios les gustó este mensaje
Oscar Campo 27/12/2024 22:25:00, TopUser2000 28/12/2024 1:59:00
#17 Publicado: 28/12/2024 1:56:55
TopUser2000

TopUser2000

0 me gusta en 28 mensajes.

Grupo: User

Wrote

This should work now, please check it and report



it works even with XYplot plugin)
But some text can't be imaged like in the previous version
ksnip_20241227-215516.png
#18 Publicado: 28/12/2024 2:15:50
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

This version even works with ubuntu-24.04 along linuxmint-22.
I only added export MONO_WINFORMS_XIM_STYLE=disabled before exec mono.
It prevents a stupid mono bug keeping applications crash at start.
Change is applied to smath_launcher in appimage.

For the lacking of button texts, it is probably mono error.
Possibly I can't do anything about that.

Regards

SMathStudioDesktop.1_3_0_9126.Mono.x86_64.linuxmint-22.glibc2.35.AppImage.tar.gz (11,7 MiB) descargado 1172 vez(es).
A 2 usuarios les gustó este mensaje
Oscar Campo 28/12/2024 4:29:00, ⚜ Kenny Lemens, P.E. ᵂᴵ 10/2/2026 15:15:43
#19 Publicado: 30/8/2025 17:34:13
tr

tr

0 me gusta en 1 mensajes.

Grupo: User

Hello.

I am relatively new to Linux and want to use Smath in Ubuntu 24.04 LTS, a program I have been using on Windows for some time. As mentioned in this forum, the .AppImage execution doesn't work. I used the modified file from Overlord and ran the command export MONO_WINFORMS_XIM_STYLE=disabled beforehand. The application opens, but after a few minutes, it crashes and closes. While it's open, I can't use the numeric keypad, and the spacebar stops working at times; it also lags a lot. I would appreciate it if someone knew what steps to follow to make it work correctly. It's a tool I would like to continue using.

Thanks!
Editado 30/8/2025 17:35:22
#20 Publicado: 12/3/2026 13:55:43
Aleksi

Aleksi

0 me gusta en 1 mensajes.

Grupo: User

Noticed that undo and redo short cuts are not working correctly. Undo is bound ctrl+w and redo doesn't work. Pressing ctrl+z opens the insert unit page. Any way to fix this?
  • Nuevos mensajes
  • Sin mensajes nuevos