[Bug 2049923] Re: gnome-terminal freezing, then crashing
The issue on Gnome Terminal has been resolved with this comment: Christian Persch on 5 August 2024: That code doesn't exist in gnome-terminal but is added by this debian/ubuntu patch: debian/patches/scrollbar-background-theming.patch Please report this to your distro and get them to fix (or, better yet, drop) that broken patch. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/2049923 Title: gnome-terminal freezing, then crashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 2049923] Re: gnome-terminal freezing, then crashing
This bug also happens when you create a new tab and try to detach right after. I reported it to the Gnome Terminal team, but they’re aware of it: https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/8086 In the meantime I’ll disable the Show scroll bar option. ** Bug watch added: gitlab.gnome.org/GNOME/gnome-terminal/-/issues #8086 https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/8086 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/2049923 Title: gnome-terminal freezing, then crashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 2049923] Re: gnome-terminal freezing, then crashing
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnome-terminal (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/2049923 Title: gnome-terminal freezing, then crashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 2049923] Re: gnome-terminal freezing, then crashing
Found the option, will try with "Show scrollbar" DISABLED. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/2049923 Title: gnome-terminal freezing, then crashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 2049923] Re: gnome-terminal freezing, then crashing
"I suspect that toggling the scrollbar's visibility might eliminate this bug for you" -I'd like to try that, but where's that option hidden? As for dropping the patch: I could try rebuilding, but for the time being I'd prefer the other option. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/2049923 Title: gnome-terminal freezing, then crashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 2049923] Re: gnome-terminal freezing, then crashing
H trying to make sense of it... There's hardly any code from gnome-terminal itself in the stack trace, most of them is from GTK. #10 is from update_color_scheme(): if (gdk_rgba_hash (&priv->bg_color) != gdk_rgba_hash (&bg)) { priv->bg_color = bg; g_object_notify (G_OBJECT (screen), "bg-color"); < this line } #0 gtk_widget_queue_draw() is called by #1 g_closure_invoke(), so the former is called as a callback registered earlier. The only place where this method can be registered as a callback is in terminal_screen_container_constructed(): g_signal_connect_swapped (priv->screen, "notify::bg-color", G_CALLBACK (gtk_widget_queue_draw), priv->vscrollbar); and it's indeed about the same "bg-color" signal, so I'm quite sure this is where we are. Now, this is not part of upstream gnome-terminal. It's added by Ubuntu's "scrollbar-background-theming.patch", as per lp:1493964, which tries to theme the scrollbar to match the terminal screen's main background color. I suspect that toggling the scrollbar's visibility might eliminate this bug for you. Also, if you're familiar with recompiling Ubuntu packages with tiny modifications, I'm fairly confident that dropping this patch should fix the problem. Installed packages, modules, settings, whatnot related to GTK scrollbars (e.g. choosing whether to use an overlay or traditional one, etc.) might easily be relevant to whether this bug occurs. I'm not an Ubuntu developer, and I'm not affiliated with Ubuntu or Launchpad. I'm a GNOME Terminal developer. At this point, I suspect with 99%+ certainity that upstream GNOME Terminal is not affected by the bug, it's introduced by Ubuntu (or maybe Debian). Therefore I'm sorry but I'm afraid I won't be able to help any further, the investigation and fixing should be continued by Ubuntu devs. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/2049923 Title: gnome-terminal freezing, then crashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 2049923] Re: gnome-terminal freezing, then crashing
** Attachment added: "Backtrace" https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+attachment/5743881/+files/backtrace.txt -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/2049923 Title: gnome-terminal freezing, then crashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 2049923] Re: gnome-terminal freezing, then crashing
Here goes the backtrace - couldn't send it via email, since: The message you sent included commands to modify the bug report, but you didn't sign the message with an OpenPGP key that is registered in Launchpad. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/2049923 Title: gnome-terminal freezing, then crashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [ext] [Bug 2049923] Re: gnome-terminal freezing, then crashing
* Egmont Koblinger <2049...@bugs.launchpad.net>: > > change to that new tab > > This is a no-op because the new tab is automatically swithed to, > correct? Indeed. > --- > > Are you on Wayland or X11? This command should answer it: > > echo $XDG_SESSION_TYPE $ echo $XDG_SESSION_TYPE x11 I could check with wayland if you like > I cannot reproduce the crash. The steps to reproduce are very simple, so > I believe we should have received more crash reports. There must be > something weird, unique going on in your machine, at least that's what I > suspect. > > Have you customized your shell prompt, for example? It might be > relevant. Nope. It's hildeb@vsw-it-nw-10:~$ username @ hostname > Or do you have unusually large or unusually small gnome- > terminal windows, or anything nontypical in the terminal's default > config? No, definitely not (site is about a quarter of the screen) > I'd like to see a stack trace of the crash. Could you please do the > following? Will work on that. Do I have to kill re-existing gnome-terminal-server processes? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/2049923 Title: gnome-terminal freezing, then crashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 2049923] Re: gnome-terminal freezing, then crashing
> change to that new tab This is a no-op because the new tab is automatically swithed to, correct? --- Are you on Wayland or X11? This command should answer it: echo $XDG_SESSION_TYPE --- I cannot reproduce the crash. The steps to reproduce are very simple, so I believe we should have received more crash reports. There must be something weird, unique going on in your machine, at least that's what I suspect. Have you customized your shell prompt, for example? It might be relevant. Or do you have unusually large or unusually small gnome- terminal windows, or anything nontypical in the terminal's default config? --- I'd like to see a stack trace of the crash. Could you please do the following? Open two terminals that are _not_ gnome-terminal. For example xterm. Make sure gnome-terminal is _not_ running. In the first xterm, execute two: ulimit -c unlimited /usr/libexec/gnome-terminal-server In the second xterm, within 10 seconds, execute: gnome-terminal You should see a gnome-terminal window appear as usual. Make it crash according to the aforementioned steps. In the first window you should see a brief message including "core dumped". In the directory /var/lib/apport/coredump you should see a freshly created file, mentioning gnome-terminal-server in its name. Verify its timestamp that it's indeed a freshly created one. Run this command gdb /usr/libexec/gnome-terminal-server /var/lib/apport/coredupmp/[the new filename of that core dump] You might then need to press Enter a few times until you get a "(gdb)" prompt. There execute the command bt full You might again need to press Enter a few times to continue its output (if it asks to "Type for more"), until you get a "(gdb)" prompt again. Then please copy-paste gdb's output here. (There might be an easier way of getting this info using apport, but I'm not familiar with that. If you are then you can do that.) Thanks in advance! -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/2049923 Title: gnome-terminal freezing, then crashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [ext] [Bug 2049923] Re: gnome-terminal freezing, then crashing
* Ralf Hildebrandt <2049...@bugs.launchpad.net>: > I'll have to check this when it happens the next time I found a way to reproduce (works every second to third time): * open a new terminal * type nothing into the terminal * press CTRL-SHIT T to create a new tab * change to that new tab * type something; I mostly press RETURN three times * detach that newly created tab All open instances of gnome-termin terminal close after about half a second -- Ralf Hildebrandt Charité - Universitätsmedizin Berlin Geschäftsbereich IT | Abteilung Netz | Netzwerk-Administration Invalidenstraße 120/121 | D-10115 Berlin Tel. +49 30 450 570 155 ralf.hildebra...@charite.de https://www.charite.de -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/2049923 Title: gnome-terminal freezing, then crashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [ext] [Bug 2049923] Re: gnome-terminal freezing, then crashing
* Egmont Koblinger <2049...@bugs.launchpad.net>: > What do you mean by "split windows out from tabs"? Do you mean right- > clicking on the tab and choosing "Detach Terminal"? Exactly. > Do I understand correctly that the freeze and crash always happens right > after opening a new window or detaching a tab? It's really hard to find out, since the error occurs so sporadically AND one doesn't always notice the "freezing" in that very moment. > Does the new window > appear before the freeze or not? I'll have to check this when it happens the next time -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/2049923 Title: gnome-terminal freezing, then crashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 2049923] Re: gnome-terminal freezing, then crashing
What do you mean by "split windows out from tabs"? Do you mean right- clicking on the tab and choosing "Detach Terminal"? Do I understand correctly that the freeze and crash always happens right after opening a new window or detaching a tab? Does the new window appear before the freeze or not? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/2049923 Title: gnome-terminal freezing, then crashing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2049923/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs