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? - Сообщения

#1 Опубликовано: 04.12.2024 08:11:39
Keith

Keith

1 сообщений из 3 понравились пользователям.

Группа: User

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


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...

1 пользователям понравился этот пост
TopUser2000 13.12.2024 18:44:00
#2 Опубликовано: 13.12.2024 18:46:00
TopUser2000

TopUser2000

0 сообщений из 28 понравились пользователям.

Группа: 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 Опубликовано: 14.12.2024 13:22:07
Keith

Keith

1 сообщений из 3 понравились пользователям.

Группа: User

Misery loves Company...
#4 Опубликовано: 14.12.2024 19:56:54
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 МиБ) скачан 117 раз(а).
1 пользователям понравился этот пост
TopUser2000 16.12.2024 01:54:00
#5 Опубликовано: 15.12.2024 14:15:23
Keith

Keith

1 сообщений из 3 понравились пользователям.

Группа: User

That works great... Thanks a lot!
#6 Опубликовано: 16.12.2024 02:18:17
TopUser2000

TopUser2000

0 сообщений из 28 понравились пользователям.

Группа: 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 Опубликовано: 21.12.2024 18:49:02
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: 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 МиБ) скачан 117 раз(а).


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 Опубликовано: 24.12.2024 00:36:37
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 Опубликовано: 24.12.2024 00:42:14
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 Опубликовано: 24.12.2024 04:01:30
Andrey Ivashov

Andrey Ivashov

2270 сообщений из 3734 понравились пользователям.

Группа: Super Administrator

Thank you! Checking.
#11 Опубликовано: 27.12.2024 02:33:48
TopUser2000

TopUser2000

0 сообщений из 28 понравились пользователям.

Группа: User

Wrote

I added and recompiled appimage with libgdiplus symlinks added.



Could you fix the latest appImage?
#12 Опубликовано: 27.12.2024 02:52:30
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 Опубликовано: 27.12.2024 02:54:23
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: 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 Опубликовано: 27.12.2024 02:57:16
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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
1 пользователям понравился этот пост
Oscar Campo 27.12.2024 18:23:00
#15 Опубликовано: 27.12.2024 11:58:03
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 Опубликовано: 27.12.2024 22:04:51
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 МиБ) скачан 58 раз(а).
SMathStudioDesktop.1_3_0_9126.Mono.x86_64.linuxmint-22.glibc2.35.AppImage.tar.gz (11 МиБ) скачан 103 раз(а).
2 пользователям понравился этот пост
Oscar Campo 27.12.2024 22:25:00, TopUser2000 28.12.2024 01:59:00
#17 Опубликовано: 28.12.2024 01:56:55
TopUser2000

TopUser2000

0 сообщений из 28 понравились пользователям.

Группа: 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 Опубликовано: 28.12.2024 02:15:50
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 МиБ) скачан 103 раз(а).
1 пользователям понравился этот пост
Oscar Campo 28.12.2024 04:29:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений