Hi folks,
I need help debugging why /bin/bash, /bin/zsh would hang being launched by
Eclipse (v2020-09) -> TM Terminal (v10) -> (shell) on up-to-date Fedora 33.
I am using upstream build Eclipse 2020-09 and the TM Terminal plugin:
1. As root - no problem, TM Terminal can launch /bin/bash
2. As user - both /bin/bash and /bin/zsh hang, (bash at some pselect6() ) call and both do not reach the shell prompt. They are still responsive to SIGHUP.
3. As user - /bin/fish, /bin/sh, /bin/ksh, /bin/tmux(this launches /bin/bash inside) - all work.
For /bin/bash specifically the hang seems to be here:
0x00007f6fcc10024b in pselect () from /lib64/libc.so.6
(gdb) bt
#0 0x00007f6fcc10024b in pselect () from /lib64/libc.so.6
#1 0x000055c978de88af in rl_getc ()
#2 0x000055c978de7b7c in rl_read_key ()
#3 0x000055c978dc8c4a in readline_internal_char ()
#4 0x000055c978dc97cd in readline ()
#5 0x000055c978d31f1f in yy_readline_get ()
#6 0x000055c978d33a29 in shell_getc.lto_priv ()
#7 0x000055c978d3632a in read_token.part ()
#8 0x000055c978d39c52 in yyparse ()
#9 0x000055c978d3d00b in parse_command ()
#10 0x000055c978d3d14d in read_command ()
#11 0x000055c978d3d415 in reader_loop ()
#12 0x000055c978d2f689 in main ()
0x00007f6fcc10024b in pselect () from /lib64/libc.so.6
(gdb) bt
#0 0x00007f6fcc10024b in pselect () from /lib64/libc.so.6
#1 0x000055c978de88af in rl_getc ()
#2 0x000055c978de7b7c in rl_read_key ()
#3 0x000055c978dc8c4a in readline_internal_char ()
#4 0x000055c978dc97cd in readline ()
#5 0x000055c978d31f1f in yy_readline_get ()
#6 0x000055c978d33a29 in shell_getc.lto_priv ()
#7 0x000055c978d3632a in read_token.part ()
#8 0x000055c978d39c52 in yyparse ()
#9 0x000055c978d3d00b in parse_command ()
#10 0x000055c978d3d14d in read_command ()
#11 0x000055c978d3d415 in reader_loop ()
#12 0x000055c978d2f689 in main ()
For /bin/zsh:
(gdb) bt
#0 0x00007f16278953f2 in read () from /lib64/libc.so.6
#1 0x00007f16199570a6 in getbyte () from /usr/lib64/zsh/5.8/zsh/zle.so
#2 0x00007f16199579c1 in getkeymapcmd () from /usr/lib64/zsh/5.8/zsh/zle.so
#3 0x00007f161995a4bf in getkeycmd () from /usr/lib64/zsh/5.8/zsh/zle.so
#4 0x00007f161995d354 in zlecore () from /usr/lib64/zsh/5.8/zsh/zle.so
#5 0x00007f161995e0bc in zleread () from /usr/lib64/zsh/5.8/zsh/zle.so
#6 0x000055d18465fb78 in zleentry ()
#7 0x000055d18466044b in ingetc.part ()
#8 0x000055d184653657 in ihgetc ()
#9 0x000055d18466d956 in zshlex.part ()
#10 0x000055d184690b56 in parse_event ()
#11 0x000055d184659698 in loop ()
#12 0x000055d184661b4e in zsh_main ()
#13 0x000055d18460fd8b in main ()
#0 0x00007f16278953f2 in read () from /lib64/libc.so.6
#1 0x00007f16199570a6 in getbyte () from /usr/lib64/zsh/5.8/zsh/zle.so
#2 0x00007f16199579c1 in getkeymapcmd () from /usr/lib64/zsh/5.8/zsh/zle.so
#3 0x00007f161995a4bf in getkeycmd () from /usr/lib64/zsh/5.8/zsh/zle.so
#4 0x00007f161995d354 in zlecore () from /usr/lib64/zsh/5.8/zsh/zle.so
#5 0x00007f161995e0bc in zleread () from /usr/lib64/zsh/5.8/zsh/zle.so
#6 0x000055d18465fb78 in zleentry ()
#7 0x000055d18466044b in ingetc.part ()
#8 0x000055d184653657 in ihgetc ()
#9 0x000055d18466d956 in zshlex.part ()
#10 0x000055d184690b56 in parse_event ()
#11 0x000055d184659698 in loop ()
#12 0x000055d184661b4e in zsh_main ()
#13 0x000055d18460fd8b in main ()
Any suggestions to track down the issue would be appreciated.
SPChan
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx