You are not logged in.

#1 2022-03-13 07:00:47

handmadebots
Member
Registered: 2020-09-30
Posts: 7

Electron apps freezing on start

Around 3 weeks ago electron apps stopped working, but I kind of ignored it, didn't needed them so badly.
I'm almost certain that this happen after an update.

Today I'm really in need of using an app I built myself, in electron and same issue, it doesn't start.


Here's the log from journalctl my own app, which is also freezing:

Process 35511 (electron) of user 1000 dumped core.
                                             
                                             Module /home/icebox/Documents/electron-vue/node_modules/electron/dist/electron with build-id bcf26c1abb1ff93a8942ada4f03cee49604edbc7
                                             Module /home/icebox/Documents/electron-vue/node_modules/electron/dist/libffmpeg.so with build-id ed11ec403fe639e0d12f9263a7aaa93f8bbf6a6c
                                             Module linux-vdso.so.1 with build-id 9d7d4d926c59683413fc723b3ac6d532410b7dd0
                                             Module libbrotlicommon.so.1 with build-id a4ba3f4b4571c8272343b621da812a6e24a202a7
                                             Module libstdc++.so.6 with build-id 88ad4eff81a00c684abfe0f863e87434123d8943
                                             Module libicudata.so.70 with build-id e1dcc2a88cfaafed882d09c90c668af0eed4efed
                                             Module libgpg-error.so.0 with build-id 82524ee3d1c4c2244d7cfdcc1e6eea5f9855f6c6
                                             Module libgmp.so.10 with build-id e58d34ab389d1b649c24195c2d145e3ff2e58290
                                             Module libhogweed.so.6 with build-id 2d70cff7b1841b4d9ca4e8e7726cd4b944c07fdc
                                             Module libnettle.so.8 with build-id 9a878e513c02007598fcf1e2e286c2203f13536e
                                             Module libtasn1.so.6 with build-id ee3429ca5e94718aea4fe5249fc859e0cd88e4e9
                                             Module libunistring.so.2 with build-id 015ac6d6bcb60b7d8bea31a80d1941b06e8636ab
                                             Module libidn2.so.0 with build-id 1ce2b50ad9f9821c2c629b521cf5a3c99593d332
                                             Module libp11-kit.so.0 with build-id cc372ea3c28c4d3dfc633b4d2e933c8584d2af16
                                             Module libbrotlidec.so.1 with build-id 45defc036e918e0140a72f1fbce6e7692d38241d
                                             Module libbz2.so.1.0 with build-id 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
                                             Module libdatrie.so.1 with build-id 6fe3b6ece2c8e7d11869fa051375128d8f808f58
                                             Module libxml2.so.2 with build-id 34aa03d6fadb52a051964f0e50a977efaea9482e
                                             Module libjson-glib-1.0.so.0 with build-id 5865be5fcc01b48a0a113e0145ec45529bff89a6
                                             Module libsqlite3.so.0 with build-id 132f0de53d66f5245cd1b1c863e1ec81f32ddebe
                                             Module libicui18n.so.70 with build-id 95af755fca990df26753a7d720b8e3ae24270e42
                                             Module libicuuc.so.70 with build-id 2e245c2bf12f95fd8ab79b3a4be99524677cbd70
                                             Module libstemmer.so.0 with build-id aa44a40dfb223020ed8e49cd2d28fc3887128463
                                             Module libgraphite2.so.3 with build-id 47761dc11e553f519cde97ed9ee985be12ccdae2
                                             Module libgcrypt.so.20 with build-id db45f5d5e0f7af1e77324fea1885f974619ad268
                                             Module libcap.so.2 with build-id eb6dae97527fc89dbb0d5bb581a15acd02ae9f56
                                             Module liblz4.so.1 with build-id e63600ab23b2f6997f42fac2fa56e1f02ce159a1
                                             Module libzstd.so.1 with build-id 3bccb8fe08e48d5ea135b1d0f99de0d771dd752f
                                             Module liblzma.so.5 with build-id 8b615460aa230708c5183f16bede67aa0437d95e
                                             Module libblkid.so.1 with build-id 9e4bb910a2e63ba71cae0e3b89c07fdd45033ff2
                                             Module libgnutls.so.30 with build-id 50f3a52ba3db67b822fd5888790238eb548b64aa
                                             Module libavahi-client.so.3 with build-id 1858551543958190c653b565cf0eb64609ad908a
                                             Module libavahi-common.so.3 with build-id 80fda945459a3476ccd1050783dfd5f5c17c479a
                                             Module libwayland-server.so.0 with build-id 645526447334b85a6f4bf5a8b37737b27696365f
                                             Module libpixman-1.so.0 with build-id 341f793dcada3a48a306a793d265a517e3f2e7d6
                                             Module libxcb-shm.so.0 with build-id fb797f299a446f559a95afcc168227482cc800d1
                                             Module libxcb-render.so.0 with build-id a37bdb37744b508be9dd29fd9ccb9bb0170d43e5
                                             Module libfreetype.so.6 with build-id 26c5f833068ff72660d1975cbc2074c3eb47fad8
                                             Module libthai.so.0 with build-id a7ac5010b4275c49308021200d23690533952702
                                             Module libXinerama.so.1 with build-id dbb6adece34ea2766d3efcd628af8f9757344dd6
                                             Module libwayland-egl.so.1 with build-id 791e39283cdcc5a08cfd091b8cd4c59869a11278
                                             Module libwayland-cursor.so.0 with build-id 79d7e67af210407c2afe92ba8c189c8648a6474c
                                             Module libwayland-client.so.0 with build-id 0a237f2fd096bada4ca381eec5d64474c4078be4
                                             Module libxkbcommon.so.0 with build-id 3a9338b2085f0af41217bc0a90ffcc941938a16e
                                             Module libtracker-sparql-3.0.so.0 with build-id b0eee5a9b660fed5221ea15139e9608282320503
                                             Module libcloudproviders.so.0 with build-id ed1d9c9e60be4e858ad148484767249be1edf95f
                                             Module libepoxy.so.0 with build-id b6357fc6b748c512f90339433d74502b9d0621dc
                                             Module libcairo-gobject.so.2 with build-id abbf5a8a182ea1b8b7d68540df5c2e25c0bdae0c
                                             Module libfribidi.so.0 with build-id 79124bad061c2aab4ec89f25d067363d5b781114
                                             Module libfontconfig.so.1 with build-id 9fdeb38479c4090d673efc2e8cb60176efe65da1
                                             Module libpangoft2-1.0.so.0 with build-id edad121a4bf12166e3c0e7ab0ec4c2e26c3b0195
                                             Module libharfbuzz.so.0 with build-id ee57ebbf2c33ad97fd7ee7327cf63f419548e64e
                                             Module libtiff.so.5 with build-id e8d89a0fb0847641ddb75c5f03fa89d68155a75d
                                             Module libjpeg.so.8 with build-id 324d9d66f01707241e31af5cc104db3c9122f4c4
                                             Module libpng16.so.16 with build-id 2dc0bce07f199bf983c07a05fb95a6f4af83a9b3
                                             Module libsystemd.so.0 with build-id 05d0460efefd339d315812f9506aecc5a5d22200
                                             Module libplc4.so with build-id 44dcd42fb72cc8aab586dbf4000293590bb19e67
                                             Module libplds4.so with build-id e915f74a1aff6a20d65b5f03f5ee2e0197153a33
                                             Module libXdmcp.so.6 with build-id 8ca0792d23c8b8b4c0864297512349292bea5955
                                             Module libXau.so.6 with build-id 1c67764663e07bec24d8951e5fd93f4d165979ff
                                             Module libmount.so.1 with build-id 765508fe9812e693ac41fd3d0aedd65d7a78b287
                                             Module libz.so.1 with build-id 0c1459c56513efd5d53eb3868290e9afee6a6a26
                                             Module libgmodule-2.0.so.0 with build-id 0f0921c3ff98f0afe7fafbb123581acec5f7de29
                                             Module libpcre.so.1 with build-id 845483dd0acba86de9f0313102bebbaf3ce52767
                                             Module libffi.so.8 with build-id f90d8b734f6de9b25faedb8cbfab7054dafc0a42
                                             Module ld-linux-x86-64.so.2 with build-id c09c6f50f6bcec73c64a0b4be77eadb8f7202410
                                             Module libc.so.6 with build-id 85766e9d8458b16e9c7ce6e07c712c02b8471dbc
                                             Module libgcc_s.so.1 with build-id 5d817452a709ca3a213341555ddcf446ecee37fa
                                             Module libcups.so.2 with build-id 52ccc84fcb1bd56821c25e88ff624550698087f5
                                             Module libatspi.so.0 with build-id de251156cf6f2f447c5e2b8721bd913d79995d4f
                                             Module libasound.so.2 with build-id b17fc1317a484842433c772360376623b64ec3d8
                                             Module libXss.so.1 with build-id baa7abf56d3c688475068639478b07b508149f7a
                                             Module libgbm.so.1 with build-id b1e71b2fbf996e9e3f95978d5fb1c35257fc739d
                                             Module libdrm.so.2 with build-id 00816f0a71c7e4e388c10db6245dbb9c031732a9
                                             Module libexpat.so.1 with build-id a05c64fe82308a309e7653685c94ce71735f8a1a
                                             Module libXrandr.so.2 with build-id d4e869b5c72541e1de8f96b456248987ea52d51b
                                             Module libm.so.6 with build-id 596b63a006a4386dcab30912d2b54a7a61827b07
                                             Module libcairo.so.2 with build-id 06820af9cf79c2deb207d9533a61caf04e67a8ad
                                             Module libpango-1.0.so.0 with build-id c2b8d903e7052541c788edb3bc2a3736d2933752
                                             Module libpangocairo-1.0.so.0 with build-id 30063d7038a0c440744aee22ff7497b48e8b1c9b
                                             Module libgdk-3.so.0 with build-id b5444c773af49f371f15e359ed4d40a1ccec60ca
                                             Module libgtk-3.so.0 with build-id ef86994105faf0ab94f8ba9794c9a63506b6352e
                                             Module libgdk_pixbuf-2.0.so.0 with build-id ca4beb15a30de8d8767f7bca8222038c61b58b36
                                             Module libdbus-1.so.3 with build-id 7f4b16b4b407cbae2d7118d6f99610e29a18a56a
                                             Module libatk-bridge-2.0.so.0 with build-id 1161ebbcc5aa791075dfa026671875e5417287bd
                                             Module libatk-1.0.so.0 with build-id aacaa40363d304858b654728a893bc212a4ca119
                                             Module libnspr4.so with build-id c5d12234f7975d11a11e67646533657d014d9540
                                             Module libsmime3.so with build-id 38ed6b6692b32697434cdd8fce1c9952f8d01bff
                                             Module libnssutil3.so with build-id 55bee0bf3db3999032321084a401b89bb52dc8fb
                                             Module libnss3.so with build-id 745d38e8db0686fe42741974d3189c8aad518784
                                             Module libXtst.so.6 with build-id 96411faea62997274e362f263e65082e601a787b
                                             Module libXrender.so.1 with build-id 97e0b9ab6ba96ebc86527cc2b3c3078aad8616b3
                                             Module libXi.so.6 with build-id 16603be937a02a7e61b0b0395d064be7efd86f49
                                             Module libXfixes.so.3 with build-id 0a05c7e8714522bfbdd7c0027c3e2a94965664b0
                                             Module libXext.so.6 with build-id d70f24beb4fad748d6becffdcc13e51be0a2ebfa
                                             Module libXdamage.so.1 with build-id a1d867e093c16944b2c0083be98050ef35c9e5c2
                                             Module libXcursor.so.1 with build-id eb6315bcd7526aaf51b0a1307efdc587cea0a152
                                             Module libXcomposite.so.1 with build-id f1bb5ffb6203ab2907ac044a204ce3902a79f1c1
                                             Module libxcb-dri3.so.0 with build-id 9407a2480e09dc5a1dd9d9a0652fa8d32b328c91
                                             Module libxcb.so.1 with build-id 0d1ef11740a5daad2ee331e812a51aa6574af222
                                             Module libX11-xcb.so.1 with build-id 0db4f94d8ae31b8dc9a83f825a9171656f1e532c
                                             Module libX11.so.6 with build-id 5ba5798d193c0065014b8c6252a0678671c8d478
                                             Module libgio-2.0.so.0 with build-id 8418b6a6a164774cde5db9d63d03911bb9823368
                                             Module libglib-2.0.so.0 with build-id 0fcc81d3dfd68bddbf63423156549fc66939e8ca
                                             Module libgobject-2.0.so.0 with build-id 1ab19051c262a2c995e86ea2b0af7e8ab70798f3
                                             Module librt.so.1 with build-id 4761858b348db8303e872e515aa8d56c046c921c
                                             Module libpthread.so.0 with build-id 7fa8b52fae071a370ba4ca32bf9490a30aff31c4
                                             Module libdl.so.2 with build-id bb9bd2657bfba9f60bd34d2050cc63a7eb024bc4
                                             Stack trace of thread 35514:
                                             #0  0x00007f8b2bc863c6 start_thread (libc.so.6 + 0x8d3c6)
                                             #1  0x00007f8b2bd0b584 __clone (libc.so.6 + 0x112584)
                                             
                                             Stack trace of thread 35511:
                                             #0  0x00007f8b2bd0b576 __clone (libc.so.6 + 0x112576)
                                             #1  0x0000000000000000 n/a (n/a + 0x0)
                                             ELF object binary architecture: AMD x86-64

I've checked the official electron samples from: https://www.electronjs.org/blog/simple-samples
Interestingly enough, they don't freeze but they don't work correctly either.
For example, the activity monitor app looks like this on my end: https://i.imgur.com/S0zWi98.png (blank screen)
While it should look like this: https://i.imgur.com/ZZw60UM.png

UPDATE
I found a workaround here: https://github.com/atom/atom/issues/23608
Start the app with the following arguments

./app --in-progress-gpu --no-sandbox

It's better than nothing, but still looking for a better solution.

Any suggestion is appreciated

Last edited by handmadebots (2022-03-13 07:58:45)

Offline

#2 2022-03-13 15:48:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,302

Re: Electron apps freezing on start

That is the fix until electron fixes their stuff. which electron version are you trying to use? Is this still an issue on 17.1.0 ?

Offline

Board footer

Powered by FluxBB