Read the statement by Michael Teeuw here.
Electron quit periodically
-
@jefftse said in Electron quit periodically:
0|mm | ### SYSTEM: manufacturer: ; model: ; virtual: false
0|mm | ### OS: platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.6.62+rpt-rpi-v8
0|mm | ### VERSIONS: electron: 31.7.6; used node: 20.18.0; installed node: 20.9.0; npm: 10.1.0; pm2: 5.4.3
0|mm | ### OTHER: timeZone: America/New_York; ELECTRON_ENABLE_GPU: undefinedthat is what I needed
-
@jefftse ok, this is related to the Wayland compositor
can you switch back to X11
use the raspi-config app
sudo raspi-config
advanced
Wayland
X11
you will have to reboot after that
-
@sdetweil ok, i just did it and will report back. I guess i lost VNC from switching.
-
@sdetweil it did just crash with this
0|mm | /home/jeff/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
PM2 | App [mm:0] exited with code [1] via signal [SIGINT]
PM2 | App [mm:0] starting in -fork mode-
PM2 | App [mm:0] online
0|mm | > magicmirror@2.29.0 start
0|mm | > DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js -
@jefftse different vnc setup on x11
i use ssh to avoid all this graphical crud.
see this topic on using other tools from Windows
https://forum.magicmirror.builders/topic/19193/best-way-to-develop-from-windows-machine -
@jefftse said in Electron quit periodically:
0|mm | /home/jeff/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
what was before that line?
-
@sdetweil 0|mm | MEMORY-ERROR: electron[3627]: GSlice: assertion failed: sinfo->n_allocated > 0
0|mm | /home/jeff/MagicMirror/node_modules/electron/dist/electron exited with signal SIGABRT -
@jefftse ok, the issues I found referencing that problem all resulted in app code failure (using parms wrong, not freeing memory, a faulty image format, …) not electron problems…
I don’t see an module doing graphics in your setup… but I don’t know what they all do exactly…
-
@sdetweil my setup is pretty simple and its freshly built yesterday. here is my config…
deleted
-
@jefftse please use code marker around logs and config
paste the text into the forum editor, blank line above and below
select the text you pasted
push the </> buttonas I said, I don’t SEE anything causing this…
but…
only way is to disable one module at a time to see if we can find it
add
disabled:true,
after the module: line