Read the statement by Michael Teeuw here.
Electron Browser Crashing?
-
I’m having a recent (last couple weeks) issue where I’ll walk past my mirror to find that it has partially crashed and is only showing a black screen with a cursor. It does not crash all the way to the home screen (which would have a menu bar at the top), and MagicMirror itself does not seem to be crashing because my logs (
pm2 log mm) are still showing regular module updates without any errors or warnings.Anyone have any idea what’s going on?
My setup:
Raspi 4B
Raspbian Buster
MM installed using @sdetweil 's install script -
@dathbe typically the black screen is an out of memory condition or a fault in some core drawing code
Very hard to find.
Adding. MMM-Logging or MMM-LogExt
To capture browser logs may help, maybe notAs you are buster, this presents more issues as everything has changed significantly since then
Os, node, electron, MagicMirror and many modules -
@sdetweil Thanks. I’ll see if that turns anything up.
-
I woke up to a crashed browser, and this is the only error message in my log:
[304749:0625/052044.668867:ERROR:network_service_instance_impl.cc(612)] Network service crashed, restarting service.Does this mean anything to anyone?
I found this other thread, which seems to be a related though not the same issue:
https://forum.magicmirror.builders/topic/19130/error-network_service_instance_impl-cc-600/7
I also found this, with no real solution I see other than maybe it’s temperature related? My Pi is reporting 55 deg C - 63 deg C. I thought that was within normal operating, but maybe not?
-
@dathbe said in Electron Browser Crashing?:
network_service_instance_impl.cc(612)] Network service crashed, restarting service
was another https://issues.chromium.org/issues/41487253
export CHROMIUM_FLAGS=–password-store=basic
there is also a config parm for flags , before the modules: array
electronSwitches:{ "password-store":"basic" /* needs quotes for the - */ }, -
I added the following to my config.js file:
... units: "imperial", electronSwitches: { "password-store": "basic" /* needs quotes for the - */ }, modules: [ ...And yet I again got another black screen (with cursor). This time, my error logs are entirely empty except for a couple fetch errors that tend to happen now and again.
-
@dathbe as I said, hard to catch
-
I’ve been rotating through disabling modules on my Mirror. I have currently disabled MMM-Pinfo, and have not noticed a crash recently. Noting it here for posterity. I’ll create an issue on Github if I get more confidence that it’s that module.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login