This hangs (a window appears and disappears): $ xfce4-terminal --default-working-directory '/home/sasha/Рабочий стол/_1/ЗАКУПКА №203750000011900049/Документы/1. ИЗВЕЩЕНИЕ, ИЗМЕНЕНИЕ ИЗВЕЩЕНИЯ О ПРОВЕДЕНИИ ЭЛЕКТРОННОГО АУКЦИОНА, ДОКУМЕНТАЦИЯ О ПРОВЕДЕНИИ ЭЛЕКТРОННОГО АУКЦИОНА/Проекты/Калуга, Театральная, 10/' The directory exists.
Hmm, working fine here: $ xfce4-terminal --default-working-directory '/home/igor/Рабочий стол/_1/ЗАКУПКА №203750000011900049/Документы/1. ИЗВЕЩЕНИЕ, ИЗМЕНЕНИЕ ИЗВЕЩЕНИЯ О ПРОВЕДЕНИИ ЭЛЕКТРОННОГО АУКЦИОНА, ДОКУМЕНТАЦИЯ О ПРОВЕДЕНИИ ЭЛЕКТРОННОГО АУКЦИОНА/Проекты/Калуга, Театральная, 10/' opens a window with the current working directory set as specified. Can you double check that the path exists and is accessible? Can any other app open the path or a file located there in a similar way, i.e. via the command line?
Hm, now I see that `cd` also hangs the terminal. Could I have some hooks on `cd`? Directory is correct. If I use Thunar's "Open in Terminal" I get a hanging terminal. > Can you double check that the path exists and is accessible? Does. But maybe path has extra symbols? Which are not copied here? I doesn't have this issue for the neighbor directory (with even longer name). > Can any other app open the path or a file located there in a similar way, i.e. via the command line? Can. In different ways.
Can you run `xfce4-terminal --disable-server --default-working-directory '/home/igor/Рабочий стол/_1/ЗАКУПКА №203750000011900049/Документы/1. ИЗВЕЩЕНИЕ, ИЗМЕНЕНИЕ ИЗВЕЩЕНИЯ О ПРОВЕДЕНИИ ЭЛЕКТРОННОГО АУКЦИОНА, ДОКУМЕНТАЦИЯ О ПРОВЕДЕНИИ ЭЛЕКТРОННОГО АУКЦИОНА/Проекты/Калуга, Театральная, 10/'` from another terminal and post the output here? It's the same command that you're using but with an additional parameter: "--disable-server".
$ xfce4-terminal --disable-server --default-working-directory '/home/sasha/Рабочий стол/_1/ЗАКУПКА №203750000011900049/Документы/1. ИЗВЕЩЕНИЕ, ИЗМЕНЕНИЕ ИЗВЕЩЕНИЯ О ПРОВЕДЕНИИ ЭЛЕКТРОННОГО АУКЦИОНА, ДОКУМЕНТАЦИЯ О ПРОВЕДЕНИИ ЭЛЕКТРОННОГО АУКЦИОНА/Проекты/Калуга, Театральная, 10/' ** (xfce4-terminal:9233): WARNING **: 00:37:20.682: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. $ xfce4-terminal --default-working-directory '/home/sasha/Рабочий стол/_1/ЗАКУПКА №203750000011900049/Документы/1. ИЗВЕЩЕНИЕ, ИЗМЕНЕНИЕ ИЗВЕЩЕНИЯ О ПРОВЕДЕНИИ ЭЛЕКТРОННОГО АУКЦИОНА, ДОКУМЕНТАЦИЯ О ПРОВЕДЕНИИ ЭЛЕКТРОННОГО АУКЦИОНА/Проекты/Калуга, Театральная, 10/' $ (And nothing else happen.) But I often see that warning while starting X-apps from terminal.
> Hm, now I see that `cd` also hangs the terminal. Do you mean a `cd` to this particular directory, or a `cd` anywhere? > But maybe path has extra symbols? Could easily be. Perhaps related to bug 13383 (C1 control character issue).
> Do you mean a `cd` to this particular directory, or a `cd` anywhere? In that dir only. And: > I doesn't have this issue for the neighbor directory (with even longer name).
Next. New terminal hangs up if I type that command and doesn't hang up if I'm trying to get it from file. So: Next scenario hangs up new terminal: 1. Use my filesystem :) 2. Copy command from topic start (Ctrl-C). 3. Insert it in Terminal (Ctrl-V) end press Enter. Next scenario hangs up new terminal: 1. Use my filesystem :) 2. Copy command from topic start (Ctrl-C). 3. Insert it in Terminal (Ctrl-V) and press Enter. 4. Close Terminal. 5. Open Terminal. 6. Restore last command (press Up) and press Enter. Next scenario *doesn't* hang up new terminal: 1. Use my filesystem :) 2. Copy command from topic start (Ctrl-C). 3. Insert it in Terminal (Ctrl-V) and press Enter. 4. Close Terminal. 5. Open Terminal. 6. Type: "bash -c $(tail -n 1 .bash_history)" and press Enter.
UPD to the last scenario in the last comment: it hangs up at point 3 but doesn't hang up at point 6. Next. It doesn't hang up on copy of that dir. So, after $ cp -R '/home/sasha/Рабочий стол/_1' '/home/sasha/Рабочий стол/_2' modified version (s/_1/_2/) of topic start command *doesn't* hang up new terminal. I don't want to modify the original folder because I'm afraid it will stop to reproduce. But I'm ready to continue the investigation.
What's the encoding of your terminal (Edit -> Preferences -> Advanced -> Default character encoding)? What does `locale charmap` report? What does `echo $VTE_VERSION` say? If lower than 5400 then could you please upgrade VTE to version 0.54.0 or newer? What happens if you do an `unset PROMPT_COMMAND` and then `cd` to that directory, does it still hang? Do you see anything suspicious in the output of `dmesg` that could perhaps refer to some file system or disk error?
(In reply to Egmont Koblinger from comment #9) > What's the encoding of your terminal (Edit -> Preferences -> Advanced -> > Default character encoding)? Default (UTF-8) > What does `locale charmap` report? UTF-8 > What does `echo $VTE_VERSION` say? If lower than 5400 then could you please > upgrade VTE to version 0.54.0 or newer? 4804. Will upgrade. > What happens if you do an `unset PROMPT_COMMAND` and then `cd` to that > directory, does it still hang? Does. > Do you see anything suspicious in the output of `dmesg` that could perhaps > refer to some file system or disk error? No.
$ echo $VTE_VERSION 5404 Nothing changed.
Can you reproduce the problem in `xterm`?
(In reply to Egmont Koblinger from comment #12) > Can you reproduce the problem in `xterm`? Yes (`cd` hangs xterm).
(In reply to Alexander Kurakin from comment #7) (Addition.) Next scenario *doesn't* hang up new terminal: 1. Use my filesystem :) 2. Copy *path* from topic start (Ctrl-C). 3. Open XFCE Terminal or xterm. 4. Type: "v='<Ctrl-V>'" and press Enter. 5. Type: "cd '$v'" and press Enter.
> Yes (`cd` hangs xterm). At this point I'm absolutely puzzled. Some problem with the file system is still my best guess. But at least we now know for sure that it's not a problem with xfce4-terminal or vte. The next thing you could do is debug/strace what your shell does. > Type: "cd '$v'" and press Enter. I assume you meant to quote it differently; in its current form you're cd'ing to the directory called "dollar-vee", without doing variable substitution.
> I assume you meant to quote it differently; in its current form you're cd'ing to the directory called "dollar-vee", without doing variable substitution. Yes :-) I reprinted quotes incorrectly here.
This is an interesting case but I'm closing this bug since the problem is unrelated to xfce4-terminal. Egmont, thanks for the support!
strace of `cd`: https://gist.github.com/kuraga/7dab4eff51ff16d8d5d86b56d8bbedf6