Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal closes randomly upon pressing enter #32

Closed
musicformellons opened this issue Jun 24, 2016 · 6 comments
Closed

Terminal closes randomly upon pressing enter #32

musicformellons opened this issue Jun 24, 2016 · 6 comments

Comments

@musicformellons
Copy link

When using the terminal it randomly closes (so sometimes it performs the folder shift and sometimes just closes, could not find any pattern...). I tracked the problem down to bashhub additions to .bashrc

Here it is:
http://askubuntu.com/questions/790752/gnome-terminal-quits-when-pressing-enter?noredirect=1#comment1188726_790752

It is a pity because I really like bashhub's features.

@rcaloras
Copy link
Owner

@musicformellons Thanks for reporting. Noticed this randomly after upgrading to version 0.3.0 of bash-preexec. I believe this is caused by rcaloras/bash-preexec#25

Could you check the bash and bashhub versions for me?

echo "$BASH_VERSION"
bashhub version

You can still use bashhub if you downgrade to 1.0.1 which doesn't use 0.3.0 of bash-preexec. Could you give it a try?

bashhub update 1.0.1

Going to work on fixing bash-preexec and potentially downgrade the version in bashhub to 0.2.3.

@musicformellons
Copy link
Author

bash version:
4.3.42(1)-release

bashhub version
Bashhub 1.0.2

Downgraded to 1.0.1 ; looks ok now!

rcaloras added a commit that referenced this issue Jul 25, 2016
- This is causing newer versions of bash to exit under some conditions.
  Believe this is caused by a bug in bash's debug trap and functrace that is
  being exposred by bash-preexec.
rcaloras added a commit that referenced this issue Jul 25, 2016
- This is causing newer versions of bash to exit under some conditions.
  Believe this is caused by a bug in bash's debug trap and functrace that is
  being exposred by bash-preexec.
@rcaloras
Copy link
Owner

@musicformellons Just released a dev version of bashhub to address this. #33 It disables subshell support by default. Could you give it a quick try?

Simply run:

bashhub update 1.1.1-dev

Let me know if you have any issues. Thanks!

@musicformellons
Copy link
Author

Will try in two weeks (on vacation right now). Thanks.

@rcaloras
Copy link
Owner

@musicformellons this should be fixed in bashhub 1.1.1

bashhub update for the latest.

Closing this, feel free to reopen if you see it's still a problem in the new version.

@musicformellons
Copy link
Author

Sorry, forgot about it. Just updated and looks good. Thanks a lot!

paysonwallach pushed a commit to paysonwallach/bashhub-client that referenced this issue Sep 6, 2020
- This is causing newer versions of bash to exit under some conditions.
  Believe this is caused by a bug in bash's debug trap and functrace that is
  being exposred by bash-preexec.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants