[Bug 1745273] Re: Cannot open gnome-terminal with long working directory name containing Unicode characters

Simon May 0c02b95d at opayq.com
Thu Jan 25 12:58:33 UTC 2018


As a quick update, it does seem to be bash that crashes – see the
following terminal session:

user at host:~$ sh
$ cd /home/test/01234567890123456789/01234567890123456789/ä/01234567890123456789/01234567890123456789/01234567890123456789/01234567890123456789/01234567890123456789/
$ bash
Segmentation fault (core dumped)
$

At this point, no more terminal input is possible.

** Description changed:

  1) The release of Ubuntu you are using: Ubuntu 17.10
  
- 2) The version of the package you are using: 3.24.2-0ubuntu4
+ 2) The version of the package you are using: gnome-terminal version
+ 3.24.2-0ubuntu4; bash version 4.4-5ubuntu1
  
  3) What you expected to happen: When opening a terminal window with a
  long working directory path containing Unicode characters (such as
  “/home/test/01234567890123456789/01234567890123456789/ä/01234567890123456789/01234567890123456789/01234567890123456789/01234567890123456789”
  in a 80×24 window), gnome-terminal opens normally.
  
  4) What happened instead: gnome-terminal closes immediately, both when opened using
  gnome-terminal --working-directory=/home/test/01234567890123456789/01234567890123456789/ä/01234567890123456789/01234567890123456789/01234567890123456789/01234567890123456789
  and when changing to this directory using “cd”. There is no output on stderr or anywhere else, the window just closes.
  
- This makes it impossible to use gnome-terminal for many directories with
- long paths. This did NOT happen in Ubuntu 16.04.
+ It seems that gnome-terminal closes because bash crashes with a
+ segmentation fault, see https://bugs.launchpad.net/ubuntu/+source/gnome-
+ terminal/+bug/1745273/comments/4.
+ 
+ This makes it impossible to use the shell for many directories with long
+ paths. This did NOT happen in Ubuntu 16.04.

** Also affects: bash (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- Cannot open gnome-terminal with long working directory name containing Unicode characters
+ Cannot open terminal with long working directory name containing Unicode characters

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1745273

Title:
  Cannot open terminal with long working directory name containing
  Unicode characters

Status in bash package in Ubuntu:
  New
Status in gnome-terminal package in Ubuntu:
  New

Bug description:
  1) The release of Ubuntu you are using: Ubuntu 17.10

  2) The version of the package you are using: gnome-terminal version
  3.24.2-0ubuntu4; bash version 4.4-5ubuntu1

  3) What you expected to happen: When opening a terminal window with a
  long working directory path containing Unicode characters (such as
  “/home/test/01234567890123456789/01234567890123456789/ä/01234567890123456789/01234567890123456789/01234567890123456789/01234567890123456789”
  in a 80×24 window), gnome-terminal opens normally.

  4) What happened instead: gnome-terminal closes immediately, both when opened using
  gnome-terminal --working-directory=/home/test/01234567890123456789/01234567890123456789/ä/01234567890123456789/01234567890123456789/01234567890123456789/01234567890123456789
  and when changing to this directory using “cd”. There is no output on stderr or anywhere else, the window just closes.

  It seems that gnome-terminal closes because bash crashes with a
  segmentation fault, see https://bugs.launchpad.net/ubuntu/+source
  /gnome-terminal/+bug/1745273/comments/4.

  This makes it impossible to use the shell for many directories with
  long paths. This did NOT happen in Ubuntu 16.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1745273/+subscriptions



More information about the foundations-bugs mailing list