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

Crash (coredump) seemingly while rebuilding the messages index #932

Closed
Porkepix opened this issue Apr 29, 2023 · 11 comments · Fixed by #1001
Closed

Crash (coredump) seemingly while rebuilding the messages index #932

Porkepix opened this issue Apr 29, 2023 · 11 comments · Fixed by #1001
Labels
T-Defect X-Community-Supported-Platform This issue occurs in a platform not directly supported by us, but by a community project elsewhere

Comments

@Porkepix
Copy link

Porkepix commented Apr 29, 2023

Steps to reproduce

It seems to happens at random time, but was caused by the fact I had to reset my messages index because I experienced this: #904

Outcome

It shouldn't crash

Operating system

Linux

Application version

1.11.26-1

How did you install the app?

Package Manager

Logs

Coredump
           PID: 498268 (electron)
           UID: 1000 (clement)
           GID: 985 (users)
        Signal: 5 (TRAP)
     Timestamp: Sat 2023-04-29 10:43:25 CEST (6min ago)
  Command Line: $'/usr/lib/electron/electron --disable-dev-mode /usr/lib/element/app.asar'
    Executable: /usr/lib/electron/electron
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-gnome-io.element.Element-498268.scope
          Unit: user@1000.service
     User Unit: app-gnome-io.element.Element-498268.scope
         Slice: user-1000.slice
     Owner UID: 1000 (clement)
       Boot ID: 93da7beea6f24732bed94e803e36ca37
    Machine ID: c8ef63b932b54372a1d6c2571d18b83d
      Hostname: T470-clement
       Storage: /var/lib/systemd/coredump/core.electron.1000.93da7beea6f24732bed94e803e36ca37.498268.1682757805000000.zst (present)
  Size on Disk: 10.9M
       Message: Process 498268 (electron) of user 1000 dumped core.

                Stack trace of thread 498268:
                #0  0x00005607a2dfb3be n/a (electron + 0x52863be)
                #1  0x00005607a2e00f4e n/a (electron + 0x528bf4e)
                #2  0x00005607a2dfb14c n/a (electron + 0x528614c)
                #3  0x00005607a2d0b98e n/a (electron + 0x519698e)
                #4  0x00005607a2c9f62b n/a (electron + 0x512a62b)
                #5  0x00005607a2cbbc49 n/a (electron + 0x5146c49)
                #6  0x00005607a2cbc4b2 n/a (electron + 0x51474b2)
                #7  0x00005607a2c66d6f n/a (electron + 0x50f1d6f)
                #8  0x00007f6008ecb53b g_main_context_dispatch (libglib-2.0.so.0 + 0x5a53b)
                #9  0x00007f6008f28219 n/a (libglib-2.0.so.0 + 0xb7219)
                #10 0x00007f6008eca1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2)
                #11 0x00005607a2c66a0c n/a (electron + 0x50f1a0c)
                #12 0x00005607a2cbcc3e n/a (electron + 0x5147c3e)
                #13 0x00005607a2c83e9a n/a (electron + 0x510ee9a)
                #14 0x00005607a1c5942e n/a (electron + 0x40e442e)
                #15 0x00005607a1c5b5c3 n/a (electron + 0x40e65c3)
                #16 0x00005607a1c5684e n/a (electron + 0x40e184e)
                #17 0x000056079fd0e813 n/a (electron + 0x2199813)
                #18 0x000056079fd0fcda n/a (electron + 0x219acda)
                #19 0x000056079fd0fa8a n/a (electron + 0x219aa8a)
                #20 0x000056079fd0c742 n/a (electron + 0x2197742)
                #21 0x000056079fd0ce95 n/a (electron + 0x2197e95)
                #22 0x000056079fa33983 n/a (electron + 0x1ebe983)
                #23 0x00007f600443c790 n/a (libc.so.6 + 0x23790)
                #24 0x00007f600443c84a __libc_start_main (libc.so.6 + 0x2384a)
                #25 0x000056079f7d4025 _start (electron + 0x1c5f025)

                Stack trace of thread 498290:
                #0  0x00007f60044ea747 wait4 (libc.so.6 + 0xd1747)
                #1  0x00005607a2cf92ea n/a (electron + 0x51842ea)
                #2  0x00005607a2cf6404 n/a (electron + 0x5181404)
                #3  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #4  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #5  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498284:
                #0  0x00007f60045139df __poll (libc.so.6 + 0xfa9df)
                #1  0x00005607a22ccefc n/a (electron + 0x4757efc)
                #2  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #3  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #4  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498291:
                #0  0x00007f60045211b6 epoll_wait (libc.so.6 + 0x1081b6)
                #1  0x00005607a2e4af67 n/a (electron + 0x52d5f67)
                #2  0x00005607a2e48a65 n/a (electron + 0x52d3a65)
                #3  0x00005607a2d0e3b7 n/a (electron + 0x51993b7)
                #4  0x00005607a2cbcc3e n/a (electron + 0x5147c3e)
                #5  0x00005607a2c83e9a n/a (electron + 0x510ee9a)
                #6  0x00005607a2cda297 n/a (electron + 0x5165297)
                #7  0x00005607a2cc5e9b n/a (electron + 0x5150e9b)
                #8  0x00005607a2cda44a n/a (electron + 0x516544a)
                #9  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #10 0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #11 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498297:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449df90 pthread_cond_wait (libc.so.6 + 0x84f90)
                #2  0x000056079fa2ddea uv_cond_wait (electron + 0x1eb8dea)
                #3  0x00005607a6905f47 n/a (electron + 0x8d90f47)
                #4  0x00005607a690352a n/a (electron + 0x8d8e52a)
                #5  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #6  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498295:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449df90 pthread_cond_wait (libc.so.6 + 0x84f90)
                #2  0x00005607a2cfabe4 n/a (electron + 0x5185be4)
                #3  0x00005607a2cfb420 n/a (electron + 0x5186420)
                #4  0x00005607a2c664b8 n/a (electron + 0x50f14b8)
                #5  0x00005607a2cbcc3e n/a (electron + 0x5147c3e)
                #6  0x00005607a2c83e9a n/a (electron + 0x510ee9a)
                #7  0x00005607a2cda297 n/a (electron + 0x5165297)
                #8  0x00005607a2cda44a n/a (electron + 0x516544a)
                #9  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #10 0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #11 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498292:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
                #2  0x00005607a2cfad2b n/a (electron + 0x5185d2b)
                #3  0x00005607a2cfb7b4 n/a (electron + 0x51867b4)
                #4  0x00005607a2cd34a8 n/a (electron + 0x515e4a8)
                #5  0x00005607a2cd408c n/a (electron + 0x515f08c)
                #6  0x00005607a2cd3c7a n/a (electron + 0x515ec7a)
                #7  0x00005607a2cd3b12 n/a (electron + 0x515eb12)
                #8  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #9  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #10 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498298:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449df90 pthread_cond_wait (libc.so.6 + 0x84f90)
                #2  0x000056079fa2ddea uv_cond_wait (electron + 0x1eb8dea)
                #3  0x00005607a6905f47 n/a (electron + 0x8d90f47)
                #4  0x00005607a690352a n/a (electron + 0x8d8e52a)
                #5  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #6  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498328:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449df90 pthread_cond_wait (libc.so.6 + 0x84f90)
                #2  0x00005607a2cfabe4 n/a (electron + 0x5185be4)
                #3  0x00005607a2cfb7a2 n/a (electron + 0x51867a2)
                #4  0x00005607a2cd34a8 n/a (electron + 0x515e4a8)
                #5  0x00005607a2cd408c n/a (electron + 0x515f08c)
                #6  0x00005607a2cd3cca n/a (electron + 0x515ecca)
                #7  0x00005607a2cd3b1c n/a (electron + 0x515eb1c)
                #8  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #9  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #10 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498293:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
                #2  0x00005607a2cfad2b n/a (electron + 0x5185d2b)
                #3  0x00005607a2cfb7b4 n/a (electron + 0x51867b4)
                #4  0x00005607a2cd34a8 n/a (electron + 0x515e4a8)
                #5  0x00005607a2cd408c n/a (electron + 0x515f08c)
                #6  0x00005607a2cd3c7a n/a (electron + 0x515ec7a)
                #7  0x00005607a2cd3b12 n/a (electron + 0x515eb12)
                #8  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #9  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #10 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498296:
                #0  0x00007f60045211b6 epoll_wait (libc.so.6 + 0x1081b6)
                #1  0x000056079fa30d8d n/a (electron + 0x1ebbd8d)
                #2  0x000056079fa21914 uv_run (electron + 0x1eac914)
                #3  0x00005607a6905d33 n/a (electron + 0x8d90d33)
                #4  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #5  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498299:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449df90 pthread_cond_wait (libc.so.6 + 0x84f90)
                #2  0x000056079fa2ddea uv_cond_wait (electron + 0x1eb8dea)
                #3  0x00005607a6905f47 n/a (electron + 0x8d90f47)
                #4  0x00005607a690352a n/a (electron + 0x8d8e52a)
                #5  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #6  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498330:
                #0  0x00007f60045211b6 epoll_wait (libc.so.6 + 0x1081b6)
                #1  0x00005607a2e4af67 n/a (electron + 0x52d5f67)
                #2  0x00005607a2e48a65 n/a (electron + 0x52d3a65)
                #3  0x00005607a2d0e30d n/a (electron + 0x519930d)
                #4  0x00005607a2cbcc3e n/a (electron + 0x5147c3e)
                #5  0x00005607a2c83e9a n/a (electron + 0x510ee9a)
                #6  0x00005607a2cda297 n/a (electron + 0x5165297)
                #7  0x00005607a2cda44a n/a (electron + 0x516544a)
                #8  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #9  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #10 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498335:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
                #2  0x00005607a2cfad2b n/a (electron + 0x5185d2b)
                #3  0x00005607a2cfb7b4 n/a (electron + 0x51867b4)
                #4  0x00005607a2cd34a8 n/a (electron + 0x515e4a8)
                #5  0x00005607a2cd408c n/a (electron + 0x515f08c)
                #6  0x00005607a2cd3c7a n/a (electron + 0x515ec7a)
                #7  0x00005607a2cd3b12 n/a (electron + 0x515eb12)
                #8  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #9  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #10 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498331:
                #0  0x00007f600450f96c read (libc.so.6 + 0xf696c)
                #1  0x000056079fbd7339 n/a (electron + 0x2062339)
                #2  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #3  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #4  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498300:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f60044a6930 n/a (libc.so.6 + 0x8d930)
                #2  0x000056079fa2dbf8 uv_sem_wait (electron + 0x1eb8bf8)
                #3  0x00005607a698d957 n/a (electron + 0x8e18957)
                #4  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #5  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498393:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
                #2  0x00005607a2cfad2b n/a (electron + 0x5185d2b)
                #3  0x00005607a2cfb7b4 n/a (electron + 0x51867b4)
                #4  0x00005607a2cd34a8 n/a (electron + 0x515e4a8)
                #5  0x00005607a2cd408c n/a (electron + 0x515f08c)
                #6  0x00005607a2cd3c7a n/a (electron + 0x515ec7a)
                #7  0x00005607a2cd3b12 n/a (electron + 0x515eb12)
                #8  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #9  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #10 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498337:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
                #2  0x00005607a2cfad2b n/a (electron + 0x5185d2b)
                #3  0x00005607a2cfb7b4 n/a (electron + 0x51867b4)
                #4  0x00005607a2cd34a8 n/a (electron + 0x515e4a8)
                #5  0x00005607a2cd408c n/a (electron + 0x515f08c)
                #6  0x00005607a2cd3c7a n/a (electron + 0x515ec7a)
                #7  0x00005607a2cd3b12 n/a (electron + 0x515eb12)
                #8  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #9  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #10 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498333:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
                #2  0x00005607a2cfad2b n/a (electron + 0x5185d2b)
                #3  0x00005607a2cfb7b4 n/a (electron + 0x51867b4)
                #4  0x00005607a2cd34a8 n/a (electron + 0x515e4a8)
                #5  0x00005607a2cd408c n/a (electron + 0x515f08c)
                #6  0x00005607a2cd3c7a n/a (electron + 0x515ec7a)
                #7  0x00005607a2cd3b12 n/a (electron + 0x515eb12)
                #8  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #9  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #10 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498325:
                #0  0x00007f60045190dd syscall (libc.so.6 + 0x1000dd)
                #1  0x00007f6008f217b5 g_cond_wait (libglib-2.0.so.0 + 0xb07b5)
                #2  0x00007f6008e95fb4 n/a (libglib-2.0.so.0 + 0x24fb4)
                #3  0x00007f6008efcf9e n/a (libglib-2.0.so.0 + 0x8bf9e)
                #4  0x00007f6008ef8315 n/a (libglib-2.0.so.0 + 0x87315)
                #5  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #6  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498403:
                #0  0x00007f60045190dd syscall (libc.so.6 + 0x1000dd)
                #1  0x00007f5faea99004 n/a (index.node + 0x99004)
                #2  0x00007f5faed46cc7 n/a (index.node + 0x346cc7)
                #3  0x00007f5faed441ad n/a (index.node + 0x3441ad)
                #4  0x00007f5faed4a77e n/a (index.node + 0x34a77e)
                #5  0x00007f5faee672a3 n/a (index.node + 0x4672a3)
                #6  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #7  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498341:
                #0  0x00007f60045211b6 epoll_wait (libc.so.6 + 0x1081b6)
                #1  0x000056079fbe4e68 n/a (electron + 0x206fe68)
                #2  0x000056079fbae7bf n/a (electron + 0x20397bf)
                #3  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #4  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498334:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
                #2  0x00005607a2cfad2b n/a (electron + 0x5185d2b)
                #3  0x00005607a2cfb7b4 n/a (electron + 0x51867b4)
                #4  0x00005607a2cd34a8 n/a (electron + 0x515e4a8)
                #5  0x00005607a2cd408c n/a (electron + 0x515f08c)
                #6  0x00005607a2cd3c7a n/a (electron + 0x515ec7a)
                #7  0x00005607a2cd3b12 n/a (electron + 0x515eb12)
                #8  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #9  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #10 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498405:
                #0  0x00007f60045190dd syscall (libc.so.6 + 0x1000dd)
                #1  0x00007f5faea99004 n/a (index.node + 0x99004)
                #2  0x00007f5faed46cc7 n/a (index.node + 0x346cc7)
                #3  0x00007f5faed441ad n/a (index.node + 0x3441ad)
                #4  0x00007f5faed4a77e n/a (index.node + 0x34a77e)
                #5  0x00007f5faee672a3 n/a (index.node + 0x4672a3)
                #6  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #7  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498326:
                #0  0x00007f60045139df __poll (libc.so.6 + 0xfa9df)
                #1  0x00007f6008f2817f n/a (libglib-2.0.so.0 + 0xb717f)
                #2  0x00007f6008eca1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2)
                #3  0x00007f6008eca1f2 n/a (libglib-2.0.so.0 + 0x591f2)
                #4  0x00007f6008ef8315 n/a (libglib-2.0.so.0 + 0x87315)
                #5  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #6  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498347:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449df90 pthread_cond_wait (libc.so.6 + 0x84f90)
                #2  0x000056079fa2ddea uv_cond_wait (electron + 0x1eb8dea)
                #3  0x000056079fa1df7b n/a (electron + 0x1ea8f7b)
                #4  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #5  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498338:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449df90 pthread_cond_wait (libc.so.6 + 0x84f90)
                #2  0x00005607a2cfabe4 n/a (electron + 0x5185be4)
                #3  0x00005607a2cfb7a2 n/a (electron + 0x51867a2)
                #4  0x00005607a2cd34a8 n/a (electron + 0x515e4a8)
                #5  0x00005607a2cd408c n/a (electron + 0x515f08c)
                #6  0x00005607a2cd3d1a n/a (electron + 0x515ed1a)
                #7  0x00005607a2cd3b26 n/a (electron + 0x515eb26)
                #8  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #9  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #10 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498400:
                #0  0x00007f60045211b6 epoll_wait (libc.so.6 + 0x1081b6)
                #1  0x00007f5faed29f41 n/a (index.node + 0x329f41)
                #2  0x00007f5faed2996c n/a (index.node + 0x32996c)
                #3  0x00007f5faed0a536 n/a (index.node + 0x30a536)
                #4  0x00007f5faed1c636 n/a (index.node + 0x31c636)
                #5  0x00007f5faed1a297 n/a (index.node + 0x31a297)
                #6  0x00007f5faee672a3 n/a (index.node + 0x4672a3)
                #7  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #8  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498327:
                #0  0x00007f60045139df __poll (libc.so.6 + 0xfa9df)
                #1  0x00007f6008f2817f n/a (libglib-2.0.so.0 + 0xb717f)
                #2  0x00007f6008ecac7f g_main_loop_run (libglib-2.0.so.0 + 0x59c7f)
                #3  0x00007f6008939d5c n/a (libgio-2.0.so.0 + 0x10ed5c)
                #4  0x00007f6008ef8315 n/a (libglib-2.0.so.0 + 0x87315)
                #5  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #6  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498340:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449df90 pthread_cond_wait (libc.so.6 + 0x84f90)
                #2  0x00005607a2cfabe4 n/a (electron + 0x5185be4)
                #3  0x00005607a2cfb420 n/a (electron + 0x5186420)
                #4  0x00005607a2c664b8 n/a (electron + 0x50f14b8)
                #5  0x00005607a2cbcc3e n/a (electron + 0x5147c3e)
                #6  0x00005607a2c83e9a n/a (electron + 0x510ee9a)
                #7  0x00005607a2cda297 n/a (electron + 0x5165297)
                #8  0x00005607a2cda44a n/a (electron + 0x516544a)
                #9  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #10 0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #11 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498349:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
                #2  0x00005607a2cfad2b n/a (electron + 0x5185d2b)
                #3  0x00005607a2cfb7b4 n/a (electron + 0x51867b4)
                #4  0x00005607a2cd3448 n/a (electron + 0x515e448)
                #5  0x00005607a2cd408c n/a (electron + 0x515f08c)
                #6  0x00005607a2cd3cca n/a (electron + 0x515ecca)
                #7  0x00005607a2cd3b1c n/a (electron + 0x515eb1c)
                #8  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #9  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #10 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498294:
                #0  0x00007f60045211b6 epoll_wait (libc.so.6 + 0x1081b6)
                #1  0x00005607a2e4af67 n/a (electron + 0x52d5f67)
                #2  0x00005607a2e48a65 n/a (electron + 0x52d3a65)
                #3  0x00005607a2d0e3b7 n/a (electron + 0x51993b7)
                #4  0x00005607a2cbcc3e n/a (electron + 0x5147c3e)
                #5  0x00005607a2c83e9a n/a (electron + 0x510ee9a)
                #6  0x00005607a2cda297 n/a (electron + 0x5165297)
                #7  0x00005607a1c5c602 n/a (electron + 0x40e7602)
                #8  0x00005607a2cda44a n/a (electron + 0x516544a)
                #9  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #10 0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #11 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498332:
                #0  0x00007f60045139df __poll (libc.so.6 + 0xfa9df)
                #1  0x00007f6008f2817f n/a (libglib-2.0.so.0 + 0xb717f)
                #2  0x00007f6008eca1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2)
                #3  0x00007f5ff1482fde n/a (libdconfsettings.so + 0x5fde)
                #4  0x00007f6008ef8315 n/a (libglib-2.0.so.0 + 0x87315)
                #5  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #6  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498351:
                #0  0x00007f60045211b6 epoll_wait (libc.so.6 + 0x1081b6)
                #1  0x00005607a2e4af67 n/a (electron + 0x52d5f67)
                #2  0x00005607a2e48a65 n/a (electron + 0x52d3a65)
                #3  0x00005607a2d0e3b7 n/a (electron + 0x51993b7)
                #4  0x00005607a2cbcc3e n/a (electron + 0x5147c3e)
                #5  0x00005607a2c83e9a n/a (electron + 0x510ee9a)
                #6  0x00005607a2cda297 n/a (electron + 0x5165297)
                #7  0x00005607a2cda44a n/a (electron + 0x516544a)
                #8  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #9  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #10 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498398:
                #0  0x00007f60045190dd syscall (libc.so.6 + 0x1000dd)
                #1  0x00007f5faee4034d n/a (index.node + 0x44034d)
                #2  0x00007f5faee3d560 n/a (index.node + 0x43d560)
                #3  0x00007f5faee3fd64 n/a (index.node + 0x43fd64)
                #4  0x00007f5faee3e85c n/a (index.node + 0x43e85c)
                #5  0x00007f5faee672a3 n/a (index.node + 0x4672a3)
                #6  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #7  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498399:
                #0  0x00007f60045190dd syscall (libc.so.6 + 0x1000dd)
                #1  0x00007f5faee4034d n/a (index.node + 0x44034d)
                #2  0x00007f5faee3d560 n/a (index.node + 0x43d560)
                #3  0x00007f5faee3fd64 n/a (index.node + 0x43fd64)
                #4  0x00007f5faee3e85c n/a (index.node + 0x43e85c)
                #5  0x00007f5faee672a3 n/a (index.node + 0x4672a3)
                #6  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #7  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498401:
                #0  0x00007f60045190dd syscall (libc.so.6 + 0x1000dd)
                #1  0x00007f5faee5ca24 n/a (index.node + 0x45ca24)
                #2  0x00007f5faec1d322 n/a (index.node + 0x21d322)
                #3  0x00007f5faec1c033 n/a (index.node + 0x21c033)
                #4  0x00007f5faebe00d1 n/a (index.node + 0x1e00d1)
                #5  0x00007f5faec1e6b1 n/a (index.node + 0x21e6b1)
                #6  0x00007f5faee672a3 n/a (index.node + 0x4672a3)
                #7  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #8  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498402:
                #0  0x00007f60045190dd syscall (libc.so.6 + 0x1000dd)
                #1  0x00007f5faee5ca24 n/a (index.node + 0x45ca24)
                #2  0x00007f5faed4c5c2 n/a (index.node + 0x34c5c2)
                #3  0x00007f5faed4b869 n/a (index.node + 0x34b869)
                #4  0x00007f5faed46d2f n/a (index.node + 0x346d2f)
                #5  0x00007f5faed441ad n/a (index.node + 0x3441ad)
                #6  0x00007f5faed4a77e n/a (index.node + 0x34a77e)
                #7  0x00007f5faee672a3 n/a (index.node + 0x4672a3)
                #8  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #9  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498336:
                #0  0x00007f60045139df __poll (libc.so.6 + 0xfa9df)
                #1  0x00005607a2d0234c n/a (electron + 0x518d34c)
                #2  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #3  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #4  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498404:
                #0  0x00007f60045190dd syscall (libc.so.6 + 0x1000dd)
                #1  0x00007f5faee5ca24 n/a (index.node + 0x45ca24)
                #2  0x00007f5faed4c5c2 n/a (index.node + 0x34c5c2)
                #3  0x00007f5faed4b869 n/a (index.node + 0x34b869)
                #4  0x00007f5faed46d2f n/a (index.node + 0x346d2f)
                #5  0x00007f5faed441ad n/a (index.node + 0x3441ad)
                #6  0x00007f5faed4a77e n/a (index.node + 0x34a77e)
                #7  0x00007f5faee672a3 n/a (index.node + 0x4672a3)
                #8  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #9  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498408:
                #0  0x00007f60045190dd syscall (libc.so.6 + 0x1000dd)
                #1  0x00007f5faee5ca24 n/a (index.node + 0x45ca24)
                #2  0x00007f5faeb3ebd2 n/a (index.node + 0x13ebd2)
                #3  0x00007f5faeb3d259 n/a (index.node + 0x13d259)
                #4  0x00007f5faeb19d7c n/a (index.node + 0x119d7c)
                #5  0x00007f5faeb2e677 n/a (index.node + 0x12e677)
                #6  0x00007f5faee672a3 n/a (index.node + 0x4672a3)
                #7  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #8  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498406:
                #0  0x00007f60045190dd syscall (libc.so.6 + 0x1000dd)
                #1  0x00007f5faea99004 n/a (index.node + 0x99004)
                #2  0x00007f5faed46cc7 n/a (index.node + 0x346cc7)
                #3  0x00007f5faed441ad n/a (index.node + 0x3441ad)
                #4  0x00007f5faed4a77e n/a (index.node + 0x34a77e)
                #5  0x00007f5faee672a3 n/a (index.node + 0x4672a3)
                #6  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #7  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498344:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449df90 pthread_cond_wait (libc.so.6 + 0x84f90)
                #2  0x000056079fa2ddea uv_cond_wait (electron + 0x1eb8dea)
                #3  0x000056079fa1df7b n/a (electron + 0x1ea8f7b)
                #4  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #5  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498339:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449df90 pthread_cond_wait (libc.so.6 + 0x84f90)
                #2  0x00005607a2cfabe4 n/a (electron + 0x5185be4)
                #3  0x00005607a3a93185 n/a (electron + 0x5f1e185)
                #4  0x00005607a2cfe98e n/a (electron + 0x518998e)
                #5  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #6  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498465:
                #0  0x00007f60045190dd syscall (libc.so.6 + 0x1000dd)
                #1  0x00007f5faee5ca24 n/a (index.node + 0x45ca24)
                #2  0x00007f5faebca1fe n/a (index.node + 0x1ca1fe)
                #3  0x00007f5faebca362 n/a (index.node + 0x1ca362)
                #4  0x00007f5faebcad8a n/a (index.node + 0x1cad8a)
                #5  0x00007f5faec1a02a n/a (index.node + 0x21a02a)
                #6  0x00007f5faebe0691 n/a (index.node + 0x1e0691)
                #7  0x00007f5faec1ecba n/a (index.node + 0x21ecba)
                #8  0x00007f5faee672a3 n/a (index.node + 0x4672a3)
                #9  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #10 0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498345:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449df90 pthread_cond_wait (libc.so.6 + 0x84f90)
                #2  0x000056079fa2ddea uv_cond_wait (electron + 0x1eb8dea)
                #3  0x000056079fa1df7b n/a (electron + 0x1ea8f7b)
                #4  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #5  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498346:
                #0  0x00007f600449b766 n/a (libc.so.6 + 0x82766)
                #1  0x00007f600449df90 pthread_cond_wait (libc.so.6 + 0x84f90)
                #2  0x000056079fa2ddea uv_cond_wait (electron + 0x1eb8dea)
                #3  0x000056079fa1df7b n/a (electron + 0x1ea8f7b)
                #4  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #5  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)

                Stack trace of thread 498397:
                #0  0x00007f60045190dd syscall (libc.so.6 + 0x1000dd)
                #1  0x00007f5faee4034d n/a (index.node + 0x44034d)
                #2  0x00007f5faee3d560 n/a (index.node + 0x43d560)
                #3  0x00007f5faee3fd64 n/a (index.node + 0x43fd64)
                #4  0x00007f5faee3e85c n/a (index.node + 0x43e85c)
                #5  0x00007f5faee672a3 n/a (index.node + 0x4672a3)
                #6  0x00007f600449ebb5 n/a (libc.so.6 + 0x85bb5)
                #7  0x00007f6004520d90 n/a (libc.so.6 + 0x107d90)
                ELF object binary architecture: AMD x86-64

Messages before and after the coredump in journalctl:

Apr 29 10:43:25 T470-clement kernel: traps: electron[498268] trap int3 ip:5607a2dfb3be sp:7ffefa4896e0 error:0 in electron[56079f7d4000+7267000]
Apr 29 10:43:25 T470-clement systemd[1]: Started Process Core Dump (PID 498469/UID 0).
[…]
Apr 29 10:43:28 T470-clement systemd[1]: systemd-coredump@8-498469-0.service: Deactivated successfully.
Apr 29 10:43:28 T470-clement systemd[1]: systemd-coredump@8-498469-0.service: Consumed 1.841s CPU time.
Apr 29 10:43:28 T470-clement io.element.Element.desktop[498348]: [498348:0429/104328.956357:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)
Apr 29 10:43:28 T470-clement systemd[943]: app-gnome-io.element.Element-498268.scope: Consumed 42.993s CPU time.
@t3chguy
Copy link
Member

t3chguy commented Apr 29, 2023

This looks like a community package, i suggest seeking help from the packager. Official packages bake in with an electron rather than using a separate system executable.

@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 Apr 29, 2023
@Porkepix
Copy link
Author

Distro bug opened at https://bugs.archlinux.org/task/78329; the issue seems to be closely related to messages index though, and it seems that once it finished rebuilding the index it stopped crashing (as it didn't crash before I reset the index).

@t3chguy
Copy link
Member

t3chguy commented Apr 29, 2023

Yup, the arch package uses the wrong major version of sqlcipher, we build against the dependency available in Debian and Ubuntu which is 3.4, some packagers take our debs and repack them but depend on sqlcipher 4.3
We offer a static build they should be using instead. That doesn't have this problem.

Looks like the above is relevant to the AUR nightly, the mainline package builds it statically itself. It's possible the Seshat update in the next release may change things for it.

@urbenlegend
Copy link

@t3chguy Which build or AUR package should we be using instead? Even the Flatpak has this issue.

@t3chguy
Copy link
Member

t3chguy commented May 2, 2023

You're welcome to use any you wish, but they're not provided by us, so you'll need to seek help from their maintainers. We only provide static tarball builds and an apt repo separate to that.

@urbenlegend
Copy link

@t3chguy Where do I find these static tarball builds and do they auto-update?

@Porkepix
Copy link
Author

Porkepix commented May 2, 2023

Looks like the above is relevant to the AUR nightly, the mainline package builds it statically itself. It's possible the Seshat update in the next release may change things for it.

Oh, by the way, no I'm not using an AUR package here, but the community stable one, https://archlinux.org/packages/community/x86_64/element-desktop/

@t3chguy
Copy link
Member

t3chguy commented May 2, 2023

https://packages.element.io/desktop/install/linux/glibc-x86-64/index.html they do not auto update.

@urbenlegend
Copy link

It seems like the latest version(s) of Element no longer has this issue on Arch. Can anyone confirm?

I've deleted the ~/.config/Element folder entirely to check if it can rebuild the index from scratch and it seems to be happily chugging along. Is this due to the Seshat update that you mentioned, @t3chguy?

@t3chguy
Copy link
Member

t3chguy commented May 30, 2023

@urbenlegend that depends entirely on how your Arch package is being built. I unfortunately am not involved in that process so do not know. Previously arch was using the wrong major version of sqlcipher

@BubuOT
Copy link

BubuOT commented Oct 17, 2023

I get these occasional crashes with the official element deb packages as well.

There's not much visible in the console log though:

[startup messages]
<a couple of minutes of indexing without logs>
Trace/breakpoint trap

Edit: Okay, in the beginning this worked okay-ish with only 2 crashes in 10 minutes. But now it's crashing every couple of seconds, seemingly after indexing a single batch of messages. :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

Successfully merging a pull request may close this issue.

4 participants