Hide Forgot
Description of problem: I typed "cd -" and enter and the terminal crashed Version-Release number of selected component: zsh-5.2-5.fc24 Additional info: reporter: libreport-2.7.2 backtrace_rating: 4 cmdline: zsh crash_function: execcmd executable: /usr/bin/zsh global_pid: 4675 kernel: 4.7.4-200.fc24.x86_64 pkg_fingerprint: 73BD E983 81B4 6521 pkg_vendor: Fedora Project runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (10 frames) #0 execcmd at exec.c:2461 #1 execpline2 at exec.c:1748 #2 execpline at exec.c:1526 #3 execlist at exec.c:1284 #4 execif at loop.c:549 #5 execcmd at exec.c:3474 #6 execpline2 at exec.c:1748 #7 execpline at exec.c:1526 #8 execlist at exec.c:1284 #9 execode at exec.c:1075
Created attachment 1206007 [details] File: backtrace
Created attachment 1206008 [details] File: cgroup
Created attachment 1206009 [details] File: core_backtrace
Created attachment 1206010 [details] File: dso_list
Created attachment 1206011 [details] File: environ
Created attachment 1206012 [details] File: exploitable
Created attachment 1206013 [details] File: limits
Created attachment 1206014 [details] File: maps
Created attachment 1206015 [details] File: mountinfo
Created attachment 1206016 [details] File: namespaces
Created attachment 1206017 [details] File: open_fds
Created attachment 1206018 [details] File: proc_pid_status
Created attachment 1206019 [details] File: var_log_messages
Looks like stack overflow due to unbounded recursive call. Is it reproducible? Are any extensions or locally sourced scripts needed to trigger the crash?
(In reply to Kamil Dudka from comment #14) > Looks like stack overflow due to unbounded recursive call. Is it > reproducible? Are any extensions or locally sourced scripts needed to > trigger the crash? I had changed the theme in .zshrc before it happened, and sourced it. I will try to reproduce it and report back.
Yes it is reproducible. Steps: 1. run 'source .zshrc' 2. run 'cd<space>' 3. crash It doesn't look like a ZSH bug though. It only occurs when I have the zsh-syntax-highlighting plugin on. I will report it there.
Thanks for the additional info! Please close this bug once the hypotheses is confirmed.
It is in the known issues list, when using zsh-autosuggestions and zsh-syntax-highlighting. More info here: https://github.com/zsh-users/zsh-syntax-highlighting/issues/353 Closing.