Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    [3.4.B5] bug - chromium crashes on startup [sbc]

    Scheduled Pinned Locked Moved
    Beta Firmware
    4
    7
    439
    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.
    • jbjhjmundefined
      jbjhjm
      last edited by

      Since updating to 3.4-b5 this morning, the touch panel connected to my raspi shows a crashed chromium window right after startup.

      IMG_20211014_200001.jpg

      When exiting fullscreen and moving it away one can see there's a second chromium window with a working DWC tab.

      IMG_20211014_200035.jpg

      As described here:
      https://forum.duet3d.com/topic/25254/crashes-during-printing-spi-connection-has-been-reset/14?_=1634233362101
      There's also a high amount of chromium processes running. I have not checked running processes before b5, but it feels unusual.

      T3P3Tonyundefined chrishammundefined 4 Replies Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators @jbjhjm
        last edited by

        @jbjhjm
        I can see the issue with the two windows open when I reboot the pi. I did not reboot my pi when upgrading to 3.4b5 so did not see this before.
        Before rebooting I checked your Chromium process issue in the following manner

        1. With no browser open on the SBC, just remote connection via SSH
          a84ea52d-a69d-48c2-8ad3-11ae344cbf96-image.png

        2. Started the browser on the SBC, 1 tab open with DWC running
          c4db9bcf-7ff6-48d0-90c7-5a39bf95ed31-image.png
          "only" 4 Chromium processes were opened. note this is connecting over VNC, rather than with a physical screen but cant see how that influences the number of processes spawned

        Its only one sample but it looks like the high number of processes is something odd about your install. I assume you updated everything (including chromium) when you updated to b5? (I did a straight apt update/upgrade so everything got upgraded).

        I then rebooted the Pi and saw the same issue with two browsers being opened. I have flagged that to @chrishamm however I don't think that is necessarily the cause of the issue with lots of chromium processes.

        www.duet3d.com

        1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators @jbjhjm
          last edited by

          @jbjhjm ok a bit more digging. this time I closed the browser windows before rebooting. This time on start-up there was only one window opened automatically, with DWC and no prompt to restore. Next i left that single window running and restarted and we are back to the prompt to restore previous sessions.

          This looks like some chromium setting to restore sessions that did not close down properly has changed.

          Can you try restarting the pi, after having shut down the windows to see if you can replicate this.

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators @jbjhjm
            last edited by

            @jbjhjm as a work around please try the following setting in chromium on the Pid41b44f4-0e1a-4300-bed3-5c918a430e4a-image.png

            www.duet3d.com

            1 Reply Last reply Reply Quote 0
            • chrishammundefined
              chrishamm administrators @jbjhjm
              last edited by chrishamm

              @jbjhjm It seems to be related to the latest Chromium update. I've already tried to address this in the DuetPi build files, please check if that fixes it for you, too. To update the launch script, you can run

              sudo curl https://raw.githubusercontent.com/Duet3D/DuetPi/master/stage-dsf-gui/01-desktop/files/launch-dwc -o /usr/bin/launch-dwc
              

              and restart the Pi to check if that solves it.

              Duet software engineer

              MaxGyverundefined jbjhjmundefined 2 Replies Last reply Reply Quote 0
              • MaxGyverundefined
                MaxGyver @chrishamm
                last edited by MaxGyver

                @chrishamm said in [3.4.B5] bug - chromium crashes on startup [sbc]:

                @jbjhjm It seems to be related to the latest Chromium update. I've already tried to address this in the DuetPi build files, please check if that fixes it for you, too. To update the launch script, you can run

                sudo curl https://raw.githubusercontent.com/Duet3D/DuetPi/master/stage-dsf-gui/01-desktop/files/launch-dwc -o /usr/bin/launch-dwc
                

                and restart the Pi to check if that solves it.

                I had the same issue and can confirm that your solution solved it.

                Cheers
                Max

                1 Reply Last reply Reply Quote 1
                • jbjhjmundefined
                  jbjhjm @chrishamm
                  last edited by

                  @chrishamm that fixes it thank you! 😄

                  1 Reply Last reply Reply Quote 1
                  • T3P3Tonyundefined T3P3Tony referenced this topic
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA