Announcement

Collapse
No announcement yet.

Kubuntu 25.10: Self-Updating Firefox

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    This forced update seems to be buggier than an anthill.

    I had various useful information about yesterday's state remaining in Konsole (shell) window scrollback.

    1) "snap list" reports I'm now running firefox 149.0-1. Yesterday, it claimed I was running firefox 148.0-1

    2) ps reports I have 28 firefox processes. Some of these have very low pids, such as 3497. Moreover, at least the first couple of entries in the list have the same low pids as they had yesterday. (I didn't check them all.)

    Processes almost never relaunch with the same pid they had before, though I suppose it might be theoretically possible.

    I do not see 28 or even 20 firefox windows open. Some may be tabs rather than windows, I imagine, and some may be iconified, but this does not seem remotely normal for this system. (There should be more windows, given this many processes.)

    3) I closed the "update in progress" notification and did not get an "update complete notification".

    My best guess is that the firefox update somehow stalled partway.

    I'll try killing firefox myself and see what happens. If I can kill it as one thing, that makes all 28 processes exit.

    Most likely I'll wind up with an unwanted reboot.

    Thanks, Canonical. I wish I could force my updates onto your computers, cell phones, etc., particularly those of all your executives. But you probably have paid support staff to fix them for you, reducing the pain.

    Meanwhile, once I regain control of my system, I'll make neutering firefox updates a priority. (There are instructions for one way to do that much earlier in this thread.)






    Comment


      #17
      no idea what is going on with your machine but i have firefox up with half a dozen tabs open and system monitor shows one PID for firefox starting today 4:20am when i updated it by closing the firefox window this morning and waiting for the confirmation notification that the update was complete.

      i suspect you have a bunch of old processes running for some other reason besides firefox needing an update.
      some stuff i did: https://github.com/droidgoo

      Intel® Core™ i7-14700K | 64 GiB of RAM | AMD RX 6800

      Comment


        #18
        Firefox has a "quit" option buried in its hamburger menu, as I suspected it might. It got rid of all 28 firefox processes. The app did not automatically restart, and I did not get an update complete notification.

        I waited a little while to make sure the forced upgrade didn't have a relaunch mechanism, or said mechanism was not working, then relaunched it myself.

        Still no "update complete" notification, but I do have a large heap of firefox windows in the virtual desktop I relaunched it from. I haven't sorted them out yet, but I'd be unsurprised to find 20 or so.

        This is, of course, the aggravation that makes me most angry about the forced update - each time, I have to reassign my windows to desktops.

        To be fair, Firefox on Kubuntu 25.10 is less unstable for me than Safari on MacOS Sequoia 15.4. Safari on my Mac has been crashing multiple times a week since it was upgraded to Sequoia, whereas Kubuntu's by-design Firefox outages average one per fortnight.

        Comment


          #19
          Originally posted by skyfishgoo View Post
          no idea what is going on with your machine but i have firefox up with half a dozen tabs open and system monitor shows one PID for firefox starting today 4:20am when i updated it by closing the firefox window this morning and waiting for the confirmation notification that the update was complete.

          i suspect you have a bunch of old processes running for some other reason besides firefox needing an update.
          I suspect the root cause will be that Kubuntu needs routine reboots to remain stable, and I've been pushing that envelope, basically to find out where its limits are. My system has now been up for 19 days; that's probably too long for a desktop installation of any Ubuntu variant.

          To be fair, 19 days is bit too long for MacOS, and was similarly too long for Windows a decade ago when I last used it.

          Not all operating systems can be as stable as FreeBSD (uptimes routinely measured in years) or Ubuntu server (months).

          Comment


            #20
            Originally posted by skyfishgoo View Post
            and system monitor shows one PID for firefox starting today 4:20am
            Thanks for implicitly pointing out the existence of the system monitor app, which I hadn't yet noticed. It looks like a cousin of MacOS' "Activity Monitor", which is often quite useful.

            Now to figure out how to get it to tell me when a process was launched....

            Comment


              #21
              Originally posted by DinoNerd View Post

              Thanks for implicitly pointing out the existence of the system monitor app, which I hadn't yet noticed. It looks like a cousin of MacOS' "Activity Monitor", which is often quite useful.

              Now to figure out how to get it to tell me when a process was launched....
              No luck on that, but I have determined that its pid column (hidden by default) gives a single pid even when ps is reporting multiple pids associated with the app.

              This actually makes a lot of sense, partly because of details of the way linux handles processes and threads internally, and partly because of the way web browsers must be coded to avoid having a single dodgy web page wedge access to every other web page the user is interested in.

              In brief, a pid isn't exactly a process id in linux, but also isn't exactly a thread ID. It rarely corresponds one-to-one to what appears to be an app to the user, except in rare simple cases. They were all pretty much the same thing on most classic Unix systems, but that began to change as early as the 1990s. I'm not sure whether linux ever went through a stage where they were all the same, but as of last time I looked, the linux kernel had one of the more sophisticated systems for handling this, with the BSDs trailing behind.

              And it's better to have not just multiple threads, but multiple address spaces in a web browser, to keep especially resource greedy web pages from starving better behaved pages the user is also trying to access.

              Comment


                #22
                After all this fun, I used the command line to update all my debs, and rebooted. Then I checked in with the App store app, in case of pending firmware updates.

                No firmware updates, but it already wanted to upgrade firefox yet again. I told it to do so, and it turned out to take time to download, and more time to install. I'm back on the mac typing this, while the kubuntu box gives me updates I don't want. (How could I want them? There's no information about what they changed, to allow me to determine whether anything changed that would benefit me. Discover isn't even clear on whether it's telling me the new firefox version number or the existing one - as it happens, the number shown is the existing one, and it's anyone's guess what it's currently installing, including perhaps the same thing it just installed.

                [Edit to add: "snap list" showed the same version number both before and after the "update" Discover wanted to do. But it least it no longer wants to do yet another update.

                More. Bugs. Than. An. Anthill.]
                Last edited by DinoNerd; Today, 03:11 PM.

                Comment


                  #23
                  in the system monitor you need to set the column to PID for it to match what is shown in ps

                  my system still only shows one firefox process so if yours shows other, i would suggest try testing with a new user acct to see if your snap is hose up some how

                  you can also use snap list to see if maybe you have conflicting installs

                  or snap refresh to make sure you have the latest packages.
                  some stuff i did: https://github.com/droidgoo

                  Intel® Core™ i7-14700K | 64 GiB of RAM | AMD RX 6800

                  Comment

                  Users Viewing This Topic

                  Collapse

                  There is 1 user viewing this topic.

                  Working...
                  X