(upstream gnome-terminal co-developer here, unaffiliated with Ubuntu) I cannot reproduce the problem.
I can think of three possible causes: 1. As per lp:2049923, a downstream Ubuntu patch is known to cause crash when detaching a tab. Ubuntu hasn't worked on fixing that known crash for almost 2 years now, no comment from me on this. Can you please try if the workaround (disabling scrollbar) solves it for you? Although I can't see how this could relate to the directory not being accessible. 2. Ubuntu still carries super legacy Provide-fallback-for-reading- current-directory-if-OS.patch, rather than making sure that gnome- terminal's superior solution (report the directory using the OSC 7 escape sequence) is configured to work correctly; despite us upstream developers clearly having asked Ubuntu to do this. Maybe there's something wrong with that patch as it tries to access the inaccessible directory. Can you please check if OSC 7 directory reporting is working for you? It should work if you `source /etc/profile.d/vte-2.91.sh` in your `.bashrc`. One way to verify: what is your $PROMPT_COMMAND? Another way: cd into a directory which is a symlink, e.g. `cd /bin`, open a new tab, does it show in your prompt (or the `pwd` command) the same symlinked location (e.g. `/bin` - good) or the resolved canonical location (e.g. `/usr/bin` - bad)? If it's the bad one, add source'ing the aforementioned file in .bashrc, confirm that it switch to the good behavior; does this eliminate the crash? 3. Could, of course, be an upstream gnome-terminal, but I honestly find it quite unlikely. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2128675 Title: Terminal crashes when detaching tab created when in "sudo -i" state To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2128675/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
