[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt running on crashed gnome-terminal



On Sun, Dec 29, 2024 at 06:20:11PM +0100, Enrico Zini wrote:

> today I decided to upgrade from bookworm to trixie/testing[1][2]. I ran
> the upgrade in a gnome-terminal, and of course all gnome terminals in
> the system crashed halfway through the upgrade[1][3].

Foreword: I'm pretty happy with Gnome Terminal and use it exclusively
for many many years now. That said...

Gnome Terminal nowadays has a server architecture. That means even if
you open many terminals, there is still just a single backend process
controlling all. So "all gnome terminals" really refers to that single
backend process (well, one per user, but if you were doing a dist
upgrade, then I doubt you had multiple users logged in via different
locally connected monitors/keyboards).

If that single process quit unexpectedly, then you should see systemd
recording that in the journal (journalctl --user), and if it was a true
crash instead of a controlled abort(), then the kernel should also have
logged it.

And it's also possible that there was nothing wrong with Gnome Terminal
itself. Nowadays there is a lot of infrastructure around it - and I'm
sure nobody tested all the potential error paths which could be hit if
some parts of that infrastructure disappear/restart and the new version
of a given piece is not necessarily 100% compatible with the previous
version.

Regards,
Gabor


Reply to: