elyukai / tdeheroes

Optolith Character Generator is a desktop application for The Dark Eye 5th Edition.
http://www.ulisses-ebooks.de/product/209711
Other
29 stars 2 forks source link

Segfault on newer Linux Distributions #227

Closed manuelstengelberger closed 5 years ago

manuelstengelberger commented 5 years ago

On newer Linux distributions you get a segfault when trying to start Optolyth. I currently use Fedora 29, but got this error also on the latest Ubuntu release. It seems to be related to https://github.com/electron/electron/issues/13972 or https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1790966 where electron has problems with glibc >= 2.28.

It seems there is a patch / workaround available which needs Optolyth to be rebuilt.

EDIT: Another possible solution would be to provide a flatpak package with the required glibc version

elyukai commented 5 years ago

I have no experience using Linux but if this is fixed in Electron it should work with the next update as it is going to use Electron >= 4.0.0. I won’t close the issue so you can confirm if it’s fixed.

qw3ry commented 5 years ago

I cannot reproduce this on ArchLinux, glibc 2.28.5. Maybe this is not glibc related?

Koltak commented 5 years ago

Can confirm for Ubuntu 18.10.
Seems, ArchLinux has implemented a workaround due to the seriousness of this issue.

@Elytherion can you provide a new package built with a more recent patch version of Electron? Seems like 1.1 is still some time away.

elyukai commented 5 years ago

@Koltak Yeah, I think I have to. I'll try to have an update available today.

elyukai commented 5 years ago

If everything works fine there will be an update available tonight.

manuelstengelberger commented 5 years ago

Where can I download v1.0.3?

elyukai commented 5 years ago

I haven’t had the macOS build ready and I want to upload all builds at once to the Scriptorium. As I wasn’t home the last days—but I will be tonight—I will upload all builds for all OS‘s once I’m back.

elyukai commented 5 years ago

It's now available via the Scriptorium (and on the other OS's are auto-updates available as well).

Koltak commented 5 years ago

Tested on Ubuntu 18.10: App starts and I can create characters. Thanks!

manuelstengelberger commented 5 years ago

Runs like a charme on Fedora 29 :) Thanks!