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 2.3k 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.
    • J Offline
      jefftse
      last edited by

      my MM quits and restarts periodically. When I looked at the logs from pm2 and here is what I get. I wonder if anyone is experiencing the same thing and any solutions?

      0|mm | MEMORY-ERROR: electron[20099]: 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 i haven’t seen that reported before

        can you show the startup info from the logs?
        and also output of
        free -m

        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

          @sdetweil

          total           used        free        shared  buff/cache   available
          Mem:            3791        1127        1276         210        1674        2664
          Swap:            511           0         511
          

          how do i get you the startup info from the logs? pm2 log? or npm log?

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

            @jefftse pm2 logs --lines=xxx

            where xxx is the number of most recent lines to show

            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’m sorry but i’m not following…

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

                @jefftse

                pm2 logs --lines=15

                will show the last 15 lines of the captured output

                if your instance has been running for a day
                the LAST 15 lines are not useful, as the info is near the top (AND the log accumulates runs)

                you can also look at the file holding the output
                it is in the
                ~/.pm2/logs folder

                notice the dot in front of pm2

                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 gotcha. yea. i tried to upload the whole error log but i realized there is no way to do it here.

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

                    @jefftse just need the 4 lines

                    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 waiting for the next crash

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

                        @jefftse but the info is there now

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        J 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • 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