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

Element desktop freeze if to start it using menu icon on plasma #1682

Closed
jpVm5jYYRE1VIKL opened this issue May 16, 2024 · 3 comments
Closed
Labels
A-Electron O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Community-Supported-Platform This issue occurs in a platform not directly supported by us, but by a community project elsewhere

Comments

@jpVm5jYYRE1VIKL
Copy link

jpVm5jYYRE1VIKL commented May 16, 2024

Steps to reproduce

  1. Element desktop freeze if to start it using default menu icon on plasma (picture included)
    ksnip_20240516-140555
  2. Application using 100% Cpu and show empty white window
  3. if to attache using strace then visible endless "write(1, "Unhandled exception Error: EIO: "..., 673) = -1 EIO (Input/output error)"

ksnip_20240516-141014

This is standard arch plasma menu icon settings
ksnip_20240516-141311

If to start same application using console with command :
/usr/bin/element-desktop %u
it start without any problem

but show this :

/home/ktoto/.config/Element exists: yes
/home/ktoto/.config/Riot exists: no
No update_base_url is defined: auto update is disabled
Fetching translation json for locale: en_EN
Changing application language to en-us,en,en
Fetching translation json for locale: en-us
Could not fetch translation json for locale: 'en-us' Error: ENOENT, lib/i18n/strings/en_US.json not found in /usr/lib/element/app.asar
    at createError (node:electron/js2c/node_init:2:1657)
    at t.readFileSync (node:electron/js2c/node_init:2:9941)
    at loadJsonFile (/usr/lib/element/app.asar/lib/utils.js:55:36)
    at AppLocalization.fetchTranslationJson (/usr/lib/element/app.asar/lib/language-helper.js:83:45)
    at /usr/lib/element/app.asar/lib/language-helper.js:96:39
    at Array.filter (<anonymous>)
    at AppLocalization.setAppLocale (/usr/lib/element/app.asar/lib/language-helper.js:95:39)
    at new AppLocalization (/usr/lib/element/app.asar/lib/language-helper.js:65:18)
    at /usr/lib/element/app.asar/lib/electron-main.js:531:30
    at Generator.next (<anonymous>) {
  code: 'ENOENT',
  errno: -2
}
Fetching translation json for locale: en
Fetching translation json for locale: en
Resetting the UI components after locale change
Resetting the UI components after locale change
Changing application language to en
Fetching translation json for locale: en
Resetting the UI components after locale change

So most probably application hangs if err stream no where to write

Outcome

What did you expect?

Application must start and have to be logic to prevent 100% cpu load.

What happened instead?

Application hang

Operating system

Linux manjaro

Application version

1.11.65-1

How did you install the app?

pamac official

Homeserver

not related

Will you send logs?

Yes

@dosubot dosubot bot added A-Electron O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround labels May 16, 2024
@t3chguy
Copy link
Member

t3chguy commented May 16, 2024

We don't maintain the arch package, seek help from it's maintainer.

@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 2024
@t3chguy t3chguy added the X-Community-Supported-Platform This issue occurs in a platform not directly supported by us, but by a community project elsewhere label May 16, 2024
@jpVm5jYYRE1VIKL
Copy link
Author

jpVm5jYYRE1VIKL commented May 16, 2024

Ok but this is problem not from Arch it is problem of Element. Your application have mistake and if not exist Error stream it attempt to write to it even if it is not exist in endless loop.

@t3chguy
Copy link
Member

t3chguy commented May 23, 2024

Your application have mistake and if not exist Error stream it attempt to write to it even if it is not exist in endless loop.

The error stream isn't handled by us but Electron, you may open an issue with https://github.com/electron/electron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Electron O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Community-Supported-Platform This issue occurs in a platform not directly supported by us, but by a community project elsewhere
Projects
None yet
Development

No branches or pull requests

2 participants