You are not logged in.

#1 2025-02-15 21:59:27

thoth
Member
Registered: 2010-01-10
Posts: 112

SOLVED: element-desktop seg fault

Element was working great as soon as just this morning, I updated and rebooted and am getting a seg fault?

strace -o /tmp/element.log element-desktop
[1]    61618 segmentation fault (core dumped)  strace -o /tmp/element.log element-desktop

with the strace here:
https://gist.github.com/joshuacox/07121 … c580030938

from which it seems all the:

ENOENT (No such file or directory)

are resolved by subsequent opens.

The word 'fail' does not occur in the file, same with 'warn', and 'error' exemplifies my previous point:

grep -i 'error' /tmp/element.log 
openat(AT_FDCWD, "/usr/lib/electron34/libgpg-error.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libgpg-error.so.0", O_RDONLY|O_CLOEXEC) = 39

the rest of the strace from there is:

openat(AT_FDCWD, "/usr/lib/electron34/libgpg-error.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libgpg-error.so.0", O_RDONLY|O_CLOEXEC) = 39
read(39, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(39, {st_mode=S_IFREG|0755, st_size=161960, ...}) = 0
mmap(NULL, 160184, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 39, 0) = 0x7c92da765000
mmap(0x7c92da76a000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 39, 0x5000) = 0x7c92da76a000
mmap(0x7c92da782000, 36864, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 39, 0x1d000) = 0x7c92da782000
mmap(0x7c92da78b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 39, 0x26000) = 0x7c92da78b000
close(39)                               = 0
openat(AT_FDCWD, "/usr/lib/electron34/libcrypto.so.3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libcrypto.so.3", O_RDONLY|O_CLOEXEC) = 39
read(39, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(39, {st_mode=S_IFREG|0755, st_size=5143976, ...}) = 0
mmap(NULL, 5158560, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 39, 0) = 0x7c92da200000
mmap(0x7c92da24f000, 3366912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 39, 0x4f000) = 0x7c92da24f000
mmap(0x7c92da585000, 1032192, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 39, 0x385000) = 0x7c92da585000
mmap(0x7c92da681000, 425984, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 39, 0x480000) = 0x7c92da681000
mmap(0x7c92da6e9000, 9888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7c92da6e9000
close(39)                               = 0
openat(AT_FDCWD, "/usr/lib/electron34/libtss2-sys.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libtss2-sys.so.1", O_RDONLY|O_CLOEXEC) = 39
read(39, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(39, {st_mode=S_IFREG|0755, st_size=128976, ...}) = 0
mmap(NULL, 131104, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 39, 0) = 0x7c92da744000
mmap(0x7c92da74e000, 57344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 39, 0xa000) = 0x7c92da74e000
mmap(0x7c92da75c000, 28672, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 39, 0x18000) = 0x7c92da75c000
mmap(0x7c92da763000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 39, 0x1e000) = 0x7c92da763000
close(39)                               = 0
mprotect(0x7c92da7d0000, 4096, PROT_READ) = 0
mprotect(0x7c92da763000, 4096, PROT_READ) = 0
mprotect(0x7c92da681000, 413696, PROT_READ) = 0
mprotect(0x7c92da78b000, 4096, PROT_READ) = 0
mprotect(0x7c9368dcc000, 4096, PROT_READ) = 0
mprotect(0x7c9368dd3000, 4096, PROT_READ) = 0
mprotect(0x7c92da858000, 8192, PROT_READ) = 0
mprotect(0x7c92da9e1000, 20480, PROT_READ) = 0
mprotect(0x7c9362db0000, 20480, PROT_READ) = 0
mprotect(0x7c9368ded000, 4096, PROT_READ) = 0
munmap(0x7c9362db6000, 311299)          = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x90} ---
+++ killed by SIGSEGV (core dumped) +++

I'm not certain what went wrong?  Anyone have any similar issues today?

some interesting info:

uname -a
Linux perseus 6.12.13-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 08 Feb 2025 15:16:04 +0000 x86_64 GNU/Linux

grep -i 'model name' /proc/cpuinfo|uniq -c
     14 model name      : Intel(R) Core(TM) Ultra 5 125U

free -m
               total        used        free      shared  buff/cache   available
Mem:           47483        4889       38250         955        5883       42594
Swap:          65535           0       65535

sudo pacman -S element-desktop
warning: element-desktop-1.11.92-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) element-desktop-1.11.92-1

Total Installed Size:  40.00 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                     [#####################################################################] 100%
(1/1) checking package integrity                                                                                   [#####################################################################] 100%
(1/1) loading package files                                                                                        [#####################################################################] 100%
(1/1) checking for file conflicts                                                                                  [#####################################################################] 100%
(1/1) checking available disk space                                                                                [#####################################################################] 100%
:: Running pre-transaction hooks...
(1/1) etckeeper: pre-transaction commit
:: Processing package changes...
(1/1) reinstalling element-desktop                                                                                 [#####################################################################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating icon theme caches...
(3/4) Updating the desktop file MIME type cache...
(4/4) etckeeper: post-transaction commit

Last edited by thoth (2025-02-16 04:37:27)

Offline

#2 2025-02-15 22:20:02

faetter
Member
Registered: 2019-09-21
Posts: 29

Re: SOLVED: element-desktop seg fault

Yeah, exact same issue here, was just searching the forums and element's github to see if anyone hit the same bug.

No idea why it's happening though. Could it be related to the electron34 rebuild? It had been using electron32 until now.

Had to downgrade for the time being.


None are more enslaved than those who falsely believe they are free

Offline

#3 2025-02-16 00:15:18

faetter
Member
Registered: 2019-09-21
Posts: 29

Re: SOLVED: element-desktop seg fault

If you have an account on arch's gitlab (I'm waiting for mine to be created), you may want to show them your strace output here: https://gitlab.archlinux.org/archlinux/ … /issues/14


None are more enslaved than those who falsely believe they are free

Offline

#4 2025-02-16 00:24:03

thoth
Member
Registered: 2010-01-10
Posts: 112

Re: SOLVED: element-desktop seg fault

I'll certainly apply for an account as well.  Glad to know it's not just me!

Offline

#5 2025-02-16 01:24:28

faetter
Member
Registered: 2019-09-21
Posts: 29

Re: SOLVED: element-desktop seg fault

We're too late, it's already fixed smile

Can confirm the new version works fine. Thanks to arojas and all those involved!

Last edited by faetter (2025-02-16 01:24:56)


None are more enslaved than those who falsely believe they are free

Offline

#6 2025-02-16 04:36:32

thoth
Member
Registered: 2010-01-10
Posts: 112

Re: SOLVED: element-desktop seg fault

confirmed:
fixed in element-desktop-1.11.92-2

Last edited by thoth (2025-02-16 04:37:08)

Offline

Board footer

Powered by FluxBB