lbryio / lbry-desktop

A browser and wallet for LBRY, the decentralized, user-controlled content marketplace.

Home Page:https://lbry.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AppImage 0.53.7 Bus error (core dumped) clone (libc.so.6 + 0xfca2f)

slrslr opened this issue · comments

One week back, I have filled one bus error #7727, and now another bus error. This time every time i launch LBRY_0.53.7.AppImage on Debian 11.:

$ coredumpctl info 1928375

Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal' can see all messages.
      Pass -q to turn off this notice.
           PID: 1928375 (lbry)
           UID: 1000 (user)
           GID: 1000 (user)
        Signal: 11 (SEGV)
     Timestamp: Mon 2022-11-07 22:07:44 (1 weeks 0 days ago)
  Command Line: /tmp/.mount_LBRY_0yZTt8C/lbry --type=renderer --enable-crashpad --enable-crash-reporter=ab5162c2-19c3-4759-9c62-18ee7dd80191,no_channel --user-data-dir=/home/user/.config/LBRY --app-path=/tmp/.mount_LBRY_0yZTt8C/resourc>
    Executable: /tmp/.mount_LBRY_0yZTt8C/lbry
 Control Group: /user.slice/user-1000.slice/session-3.scope
          Unit: session-3.scope
         Slice: user-1000.slice
       Session: 3
     Owner UID: 1000 (user)
       Boot ID: b19572d4d72c4dd39d4f28c4ab7e1144
    Machine ID: c26368907b934bc3ba2e44793795e06e
      Hostname: ...
       Storage: /var/lib/systemd/coredump/core.lbry.1000.b19572d4d72c4dd39d4f28c4ab7e1144.1928375.1667855264000000.zst (inaccessible)
       Message: Process 1928375 (lbry) of user 1000 dumped core.
                
                Stack trace of thread 2055034:
                #0  0x000055a8cff9edc0 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x31dadc0)
                #1  0x000055a8cffae93d n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x31ea93d)
                #2  0x000055a8d30d0b57 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x630cb57)
                #3  0x000055a8d30d1a78 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x630da78)
                #4  0x000055a8d1a25d56 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c61d56)
                #5  0x000055a8d1a4ee35 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c8ae35)
                #6  0x000055a8d1a4e32b n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c8a32b)
                #7  0x000055a8d1a7dd1e n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4cb9d1e)
                #8  0x000055a8d1a4e03f n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c8a03f)
                #9  0x000055a8d1a55b1e n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c91b1e)
                #10 0x000055a8d1a557cd n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c917cd)
                #11 0x000055a8d1a7e3f3 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4cba3f3)
                #12 0x00007f5657fd0ea7 start_thread (libpthread.so.0 + 0x7ea7)
                #13 0x00007f5656815a2f __clone (libc.so.6 + 0xfca2f)
                
                Stack trace of thread 1928390:
                #0  0x00007f5656815d56 epoll_wait (libc.so.6 + 0xfcd56)
                #1  0x000055a8d1bb93bb n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4df53bb)
                #2  0x000055a8d1bb6f05 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4df2f05)
                #3  0x000055a8d1a9c764 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4cd8764)
                #4  0x000055a8d1a42494 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c7e494)
                #5  0x000055a8d1a0f21c n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c4b21c)
                #6  0x000055a8d1a5b3b8 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c973b8)
                #7  0x000055a8d1a5b547 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c97547)
                #8  0x000055a8d1a7e3f3 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4cba3f3)
                #9  0x00007f5657fd0ea7 start_thread (libpthread.so.0 + 0x7ea7)
                #10 0x00007f5656815a2f __clone (libc.so.6 + 0xfca2f)
                
                Stack trace of thread 1928375:
                #0  0x000055a8d31253c0 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x63613c0)
                #1  0x000055a8d06005f4 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x383c5f4)
                #2  0x000055a8cffafa23 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x31eba23)
                #3  0x000055a8cfff8d62 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x3234d62)
                #4  0x000055a8cfff88c7 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x32348c7)
                #5  0x000055a8cffdf9aa n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x321b9aa)
                #6  0x000055a8cffde7b2 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x321a7b2)
                #7  0x000055a8cffeae4c n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x3226e4c)
                #8  0x000055a8cffb6209 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x31f2209)
                #9  0x000055a8d03bf68a n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x35fb68a)
                #10 0x000030b507f0a778 n/a (n/a + 0x0)
                #11 0x000030b507eb835d n/a (n/a + 0x0)
                #12 0x000030b507eee2dd n/a (n/a + 0x0)
                #13 0x000030b5001aefca n/a (n/a + 0x0)
                #14 0x000030b50038bf4c n/a (n/a + 0x0)
                #15 0x000030b5002269c7 n/a (n/a + 0x0)
                #16 0x000030b5002ea980 n/a (n/a + 0x0)
                #17 0x000030b5002ab286 n/a (n/a + 0x0)
                #18 0x000030b5001b2c0c n/a (n/a + 0x0)
                #19 0x000030b5001737ad n/a (n/a + 0x0)
                #20 0x000030b50015c448 n/a (n/a + 0x0)
                #21 0x000030b5000d4fe2 n/a (n/a + 0x0)
                #22 0x000030b5000bdfb0 n/a (n/a + 0x0)
                #23 0x000030b500167e90 n/a (n/a + 0x0)
                #24 0x000030b5000cd8ab n/a (n/a + 0x0)
                #25 0x000030b50012ac49 n/a (n/a + 0x0)
                #26 0x000030b500130ebc n/a (n/a + 0x0)
                #27 0x000030b5001337b1 n/a (n/a + 0x0)
                #28 0x000030b500131555 n/a (n/a + 0x0)
                #29 0x000030b50012b81c n/a (n/a + 0x0)
                #30 0x000030b500175551 n/a (n/a + 0x0)
                #31 0x000030b50012ff02 n/a (n/a + 0x0)
                #32 0x000030b50013343c n/a (n/a + 0x0)
                #33 0x000030b5001311f8 n/a (n/a + 0x0)
                #34 0x000030b50013283c n/a (n/a + 0x0)
                #35 0x000030b507e8c6a2 n/a (n/a + 0x0)
                #36 0x000030b507f5c538 n/a (n/a + 0x0)
                #37 0x000030b507eb3d5e n/a (n/a + 0x0)
                #38 0x000030b507e8a607 n/a (n/a + 0x0)
                #39 0x000055a8cff5fddc n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x319bddc)
                #40 0x000055a8cff60560 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x319c560)
                #41 0x000055a8cff6071d n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x319c71d)
                #42 0x000055a8cff87506 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x31c3506)
                #43 0x000055a8d0aab34a n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x3ce734a)
                #44 0x000055a8d0aae56e n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x3cea56e)
                #45 0x000055a8d1a2da4f n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c69a4f)
                #46 0x000055a8d1a2e734 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c6a734)
                #47 0x000055a8d1a41b26 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c7db26)
                #48 0x000055a8d19f0d9e n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c2cd9e)
                #49 0x000055a8d1a42494 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c7e494)
                #50 0x000055a8d1a0f21c n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x4c4b21c)
                #51 0x000055a8d5016551 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x8252551)
                #52 0x000055a8cf070aeb n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x22acaeb)
                #53 0x000055a8cf071764 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x22ad764)
                #54 0x000055a8cf06ec7e n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x22aac7e)
                #55 0x000055a8cf06f693 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x22ab693)
                #56 0x000055a8cedfdf08 n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x2039f08)
                #57 0x00007f565673cd0a __libc_start_main (libc.so.6 + 0x23d0a)
                #58 0x000055a8cea5766a n/a (/tmp/.mount_LBRY_0yZTt8C/lbry + 0x1c9366a)

Feedback please how to make it working again?

Some progress. Tried commands:
# pkill -f lbry;pkill -f lbrynet
# pkill -f lbry*;pkill -f lbrynet*
# pkill -f /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet
# ps aux|grep lbr

user     2709562  0.0  0.0 6556880  448 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers
user     2709567  0.0  0.0 6556880  720 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers
user     2709568  0.0  0.0 6556880  128 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers
user     2709569  0.0  0.0 6556880  320 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers
user     2709570  0.0  0.0 6556880  300 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers
user     2709571  0.0  0.0 6556880  384 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers
user     2709572  0.0  0.0 6556880  300 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers
user     2709573  0.0  0.0 6556880  368 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers
user     2709574  0.0  0.0 6556880  328 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers
user     2709576  0.0  0.0 6556880  348 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers
user     2709578  0.0  0.0 6556880  240 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers
user     2709579  0.0  0.0 6556880  304 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers
user     2709580  0.0  0.0 6556880  260 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers
user     2709581  0.0  0.0 6556880  332 ?        S    Nov14   0:00 /tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/lbrynet start --initial-headers=/tmp/.mount_LBRY_0WrkqCM/resources/static/daemon/headers

This worked to get rid of that: for pid in $(pidof lbrynet); do kill -9 $pid; done

Committed Memory, is the sum of all memory which has been allocated by processes.

It fell from 21.7->9.6 GB !!! (why so much?)

Now LBRY started (that i get rid of that processes), i start playing one of my videos and i can see committed memory is back at 21GB up from 9.6GB. After like 15 seconds app crashed:

Update for version 0.53.7 is not available (latest version: 0.53.7, downgrade is disallowed).
INFO     lbry.dht.protocol.routing_table:312: join buckets 3
INFO     lbry.dht.protocol.routing_table:312: join buckets 2
INFO     lbry.dht.protocol.routing_table:312: join buckets 1

[3621274:1115/111901.152047:ERROR:network_service_instance_impl.cc(975)] Network service crashed, restarting service.
Trace/breakpoint trap (core dumped)

$ coredumpctl info

Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal' can see all messages.
      Pass -q to turn off this notice.
           PID: 3621765 (lbry)
           UID: 1000 (user)
           GID: 1000 (user)
        Signal: 5 (TRAP)
     Timestamp: Tue 2022-11-15 11:19:03 ... (1min 57s ago)
  Command Line: /tmp/.mount_LBRY_0iZeVS6/lbry
    Executable: /tmp/.mount_LBRY_0iZeVS6/lbry
 Control Group: /system.slice/cron.service
          Unit: cron.service
         Slice: system.slice
       Boot ID: 6125e214e5c943799dfafb5abb932a90
    Machine ID: c26368907b934bc3ba2e44793795e06e
      Hostname: ...
       Storage: /var/lib/systemd/coredump/core.lbry.1000.6125e214e5c943799dfafb5abb932a90.3621765.1668507543000000.zst
       Message: Process 3621765 (lbry) of user 1000 dumped core.
                
                Stack trace of thread 3621765:
                #0  0x0000558100c988a5 n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x2a348a5)
                #1  0x0000558100c3c2e7 n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x29d82e7)
                #2  0x000055810406dfbd n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x5e09fbd)
                #3  0x000055810406df61 n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x5e09f61)
                #4  0x00005581021e79d9 n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x3f839d9)
                #5  0x00005581021e8409 n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x3f84409)
                #6  0x00005581021e41d7 n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x3f801d7)
                #7  0x0000558100510901 n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x22ac901)
                #8  0x0000558100511d68 n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x22add68)
                #9  0x000055810051173b n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x22ad73b)
                #10 0x000055810050ec7e n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x22aac7e)
                #11 0x000055810050f693 n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x22ab693)
                #12 0x000055810029df08 n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x2039f08)
                #13 0x00007fe2a99b0d0a __libc_start_main (libc.so.6 + 0x23d0a)
                #14 0x00005580ffef766a n/a (/tmp/.mount_LBRY_0iZeVS6/lbry + 0x1c9366a)

@jessopb @tzarebczan @Ruk33 what should i try so this is debugged/fixed?

It dump core even when i remove
/home/user/.local/share/lbry
"coredumpctl info" output is here
Stable Debian with KDE, check system here.

.deb version 0.53.8 (earlier I was talking about 0.53.7 .AppImage) works though:

cd apps;wget -c https://github.com/lbryio/lbry-desktop/releases/download/v0.53.8/LBRY_0.53.8.deb
sudo dpkh -i LBRY_0.53.8.deb 
lbry