Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acreom AppImage won't open with Glibc >=2.41 #28

Open
psygreg opened this issue Feb 10, 2025 · 2 comments
Open

Acreom AppImage won't open with Glibc >=2.41 #28

psygreg opened this issue Feb 10, 2025 · 2 comments

Comments

@psygreg
Copy link

psygreg commented Feb 10, 2025

Here is the log obtained by running it from terminal:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: /tmp/.org.chromium.Chromium.mSyf4l: não foi possível habilitar pilhas de executável como requisitado pelo objeto compartilhado: Argumento inválido
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:2131)
at Object.<anonymous> (node:internal/modules/cjs/loader:1356:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2358)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/tmp/.mount_acreomcpgzfb/resources/app.asar/node_modules/koffi/index.js:537:16)
at Module._compile (node:internal/modules/cjs/loader:1271:14)

@sinux-l5d
Copy link

I have the same issue

➜ ./acreom-1.20.4.AppImage
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /tmp/.org.chromium.Chromium.St31RV: cannot enable executable stack as shared object requires: Invalid argument
    at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:2131)
    at Object.<anonymous> (node:internal/modules/cjs/loader:1356:18)
    at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2358)
    at Module.load (node:internal/modules/cjs/loader:1126:32)
    at node:internal/modules/cjs/loader:967:12
    at Function._load (node:electron/js2c/asar_bundle:2:13327)
    at Module.require (node:internal/modules/cjs/loader:1150:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (/tmp/.mount_acreomOaZgkv/resources/app.asar/node_modules/koffi/index.js:537:16)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)

@JordyProvost
Copy link

JordyProvost commented Feb 20, 2025

Hi,

Probably related to Glibc update 2.41 : https://lists.gnu.org/archive/html/info-gnu/2025-01/msg00014.html

* dlopen and dlmopen no longer make the stack executable if a shared
  library requires it, either implicitly because of a missing GNU_STACK
  ELF header (and default ABI permission having the executable bit set)
  or explicitly because of the executable bit in GNU_STACK, and the
  stack is not already executable.  Instead, loading such objects will
  fail.

You can find many other apps handling this new behavior:
Valve Portal 2
Julia

Dedicated bug on arch:
Arch forums

Reason for this change (TLDR: Security) :
https://sourceware.org/pipermail/libc-alpha/2024-December/163146.html

Upstream report (it is an expected behavior and nothing will be changed in Glibc):
https://sourceware.org/bugzilla/show_bug.cgi?id=32653

So Glibc has broken userspace and Arch is one the the first distribution having the issue, but others will follow as soon as they include glibc 2.41.

Wanted to test Acreom, but it's seems it is not for today unfortunately.

@psygreg Maybe change the title to "Acreom AppImage won't open with Glibc >=2.41" ?

Thanks !

@psygreg psygreg changed the title Acreom AppImage won't open on Arch/CachyOS Acreom AppImage won't open with Glibc >=2.41 Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants