question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Random SIGTRAPs in DecommitSystemPages on Arch Linux

See original GitHub issue

Steps to reproduce

I’m not really sure what causes this, but the element desktop client isn’t very stable. Sometimes, when switching between rooms via alt+up/alt+down, it crashes without any warning or anything; other times, like just now, it crashed, again, even though I wasn’t doing anything other than chatting, and when I tried reopening it in the console after it crashed several times in sequence it said “Trace/breakpoint trap (core dumped)”. I can’t seem to find said core dump, nor can I seem to find the cause. I wish I could provide more info (maybe there’s a way to do it and I just don’t know).

Outcome

What did you expect?

I expected Element to start correctly.

What happened instead?

Element crashed several times, and tends to crash at random.

The output in the console before it crashed follows:

/home/ethin/.config/Element exists: yes
/home/ethin/.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
Fetching translation json for locale: en-us
Could not fetch translation json for locale: 'en-us' Error: Cannot find module './i18n/strings/en-us.json'
Require stack:
- /usr/lib/element/app.asar/lib/language-helper.js
- /usr/lib/element/app.asar/lib/tray.js
- /usr/lib/element/app.asar/lib/electron-main.js
- /usr/lib/electron15/resources/default_app.asar/main.js
- 
    at Module._resolveFilename (node:internal/modules/cjs/loader:934:15)
    at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
    at Module._load (node:internal/modules/cjs/loader:779:27)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1006:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at AppLocalization.fetchTranslationJson (/usr/lib/element/app.asar/lib/language-helper.js:76:20)
    at /usr/lib/element/app.asar/lib/language-helper.js:89:39
    at Array.forEach (<anonymous>)
    at AppLocalization.setAppLocale (/usr/lib/element/app.asar/lib/language-helper.js:88:17) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/lib/element/app.asar/lib/language-helper.js',
    '/usr/lib/element/app.asar/lib/tray.js',
    '/usr/lib/element/app.asar/lib/electron-main.js',
    '/usr/lib/electron15/resources/default_app.asar/main.js',
    undefined
  ]
}
Resetting the UI components after locale change
Resetting the UI components after locale change
libva error: /usr/lib/dri/i965_drv_video.so init failed
[1599646:0204/193337.743056:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
Changing application language to en-us
Fetching translation json for locale: en-us
Could not fetch translation json for locale: 'en-us' Error: Cannot find module './i18n/strings/en-us.json'
Require stack:
- /usr/lib/element/app.asar/lib/language-helper.js
- /usr/lib/element/app.asar/lib/tray.js
- /usr/lib/element/app.asar/lib/electron-main.js
- /usr/lib/electron15/resources/default_app.asar/main.js
- 
    at Module._resolveFilename (node:internal/modules/cjs/loader:934:15)
    at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
    at Module._load (node:internal/modules/cjs/loader:779:27)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1006:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at AppLocalization.fetchTranslationJson (/usr/lib/element/app.asar/lib/language-helper.js:76:20)
    at /usr/lib/element/app.asar/lib/language-helper.js:89:39
    at Array.forEach (<anonymous>)
    at AppLocalization.setAppLocale (/usr/lib/element/app.asar/lib/language-helper.js:88:17) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/lib/element/app.asar/lib/language-helper.js',
    '/usr/lib/element/app.asar/lib/tray.js',
    '/usr/lib/element/app.asar/lib/electron-main.js',
    '/usr/lib/electron15/resources/default_app.asar/main.js',
    undefined
  ]
}
Resetting the UI components after locale change
Trace/breakpoint trap (core dumped)

Operating system

Arch Linux

Application version

Element version: 1.10.1, Olm version: 3.2.8

How did you install the app?

I installed the app from the Arch Linux repositories via pacman.

Homeserver

I’m using synapse 1.51

Will you send logs?

No

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:20
  • Comments:88 (26 by maintainers)

github_iconTop GitHub Comments

5reactions
MountainXcommented, Sep 28, 2022

I get these SIGTRAPs whenever I have the search indexing enabled. I can very reliably trigger a crash whenever I do a fresh login and it has to rebuild the search index.

Yes, the same for me on Arch Linux.

4reactions
PaarthShahcommented, Nov 3, 2022

I get these SIGTRAPs whenever I have the search indexing enabled. I can very reliably trigger a crash whenever I do a fresh login and it has to rebuild the search index.

Yeeep, disabling the encrypted search index stopped the crashes for me. Not a favorable long-term workaround, though

Read more comments on GitHub >

github_iconTop Results From Across the Web

Element-Desktop constantly crashing after login
I am just installing arch on my new laptop where I am getting this ... is the issue: [Random SIGTRAPs in DecommitSystemPages on...
Read more >
killed with SIGTRAP on arch linux - Launchpad Bugs
This bug report was converted into a question: question #271755: killed with SIGTRAP on arch linux. 10. This bug affects 2 people. Affects ......
Read more >
Suppressed Node 6 deprecation warnings - Microsoft/Azure ...
Random SIGTRAPs in DecommitSystemPages on Arch Linux, 76, 2022-02-05, 2022-09-03. There should not be print the JSON data when the user clicking on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found