MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Electron quit periodically

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    26 Posts 3 Posters 4.2k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @sdetweil
      last edited by

      @jefftse ok, this is related to the Wayland compositor

      can you switch back to X11

      use the raspi-config app

      sudo raspi-config

      advanced

      Screenshot at 2024-12-18 09-55-35.png

      Wayland

      Screenshot at 2024-12-18 09-55-47.png

      X11

      Screenshot at 2024-12-18 09-57-12.png

      you will have to reboot after that

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 3 Replies Last reply Reply Quote 0
      • J Offline
        jefftse @sdetweil
        last edited by

        @sdetweil ok, i just did it and will report back. I guess i lost VNC from switching.

        S 1 Reply Last reply Reply Quote 0
        • J Offline
          jefftse @sdetweil
          last edited by

          @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

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @jefftse
            last edited by sdetweil

            @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

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @jefftse
              last edited by

              @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?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jefftse @sdetweil
                last edited by

                @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

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @jefftse
                  last edited by

                  @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…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jefftse @sdetweil
                    last edited by karsten13

                    @sdetweil my setup is pretty simple and its freshly built yesterday. here is my config…

                    deleted
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @jefftse
                      last edited by sdetweil

                      @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 </> button

                      as 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

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        jefftse @sdetweil
                        last edited by

                        @sdetweil I might have found the problem. it’s the backgroundslideshow. I disabled resizing and it hasn’t crashed yet. we will report again!

                        S karsten13K 2 Replies Last reply Reply Quote 0
                        • S Offline
                          sdetweil @jefftse
                          last edited by

                          @jefftse cool…

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • karsten13K Offline
                            karsten13 @jefftse
                            last edited by

                            @jefftse

                            I deleted your config posted above because you published all your secrets in it …

                            J 1 Reply Last reply Reply Quote 1
                            • J Offline
                              jefftse @karsten13
                              last edited by

                              @karsten13 Ha! thank you!!! i totally overlooked it!! appreciated it!

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                jefftse @sdetweil
                                last edited by

                                @sdetweil

                                my setup is pretty simple.

                                1 Reply Last reply Reply Quote 0

                                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
                                • 1
                                • 2
                                • 2 / 2
                                • First post
                                  Last post
                                Enjoying MagicMirror? Please consider a donation!
                                MagicMirror created by Michael Teeuw.
                                Forum managed by Sam, technical setup by Karsten.
                                This forum is using NodeBB as its core | Contributors
                                Contact | Privacy Policy