Giter Site home page Giter Site logo

Comments (23)

taf2 avatar taf2 commented on June 18, 2024

if you kill one of the bash's high enough up in the bash recursion eventually you're asked to trust or not even though you already explicitly trusted the folder...

if you continue past that you'll get a bunch of output like this infinitely :

only solution to recover from this appears to be:
killall bash

however even after that the system appears to be crashing with

Could not open a new pseudo-tty.

also seeing this:
Users/taf2/.rvm/scripts/rvm: line 102: awk: No such file or directory
/Users/taf2/.rvm/scripts/utility: line 593: grep: No such file or directory
/Users/taf2/.rvm/scripts/match: line 5: awk: No such file or directory
^C^C^C^C^C^C^C^C^C^C^C/Users/taf2/.rvm/scripts/utility: line 593: grep: No such file or directory
/Users/taf2/.rvm/scripts/cli: line 23: grep: No such file or directory
/Users/taf2/.rvm/scripts/cli: line 536: grep: No such file or directory
env: bash: No such file or directory
env: bash: No such file or directory
env: bash: No such file or directory
env: bash: No such file or directory
env: bash: No such file or directory
env: bash: No such file or directory
env: bash: No such file or directory
env: bash: No such file or directory

from rvm.

taf2 avatar taf2 commented on June 18, 2024

must run as root... killall -9 bash to really recover...

from rvm.

taf2 avatar taf2 commented on June 18, 2024

1.1.2 works 1.1.3 breaks

from rvm.

taf2 avatar taf2 commented on June 18, 2024

please see https://gist.github.com/751078 after upgrading from 1.1.2 to 1.1.3

from rvm.

wayneeseguin avatar wayneeseguin commented on June 18, 2024

I need a gist of:

set -x ; rvm --trace use ruby-1.9.2-p0@gopromo ; set +x

from rvm.

taf2 avatar taf2 commented on June 18, 2024

now i'm having a hard time reproducing the bug :( I went from a 1.0.1x version to 1.1.6 - than i downgraded back to 1.0.9 and upgraded to 1.1.2 and than 1.1.3 and when i went back to 1.1.3 i started to see the issue again... now this morning after running the command above I'm not seeing the same issues as I was last night...

from rvm.

wayneeseguin avatar wayneeseguin commented on June 18, 2024

... I hate HeisenBugs...

If it comes back please hop in #rvm on irc.freenode.net and I'll help you debug it.

from rvm.

taf2 avatar taf2 commented on June 18, 2024

https://gist.github.com/759813 yep it's definitley still happening, i tricked myself on the 22nd because i was in a hurry and installed a 1.0.3 version instead of the version 1.1.3 where the issue started...

from rvm.

taf2 avatar taf2 commented on June 18, 2024

because of the awk / grep command not found errors thought i'd share my $PATH too

https://gist.github.com/759823

that's in a clean shell before running any commands

from rvm.

taf2 avatar taf2 commented on June 18, 2024

i'll be in irc #rvm as taf2

from rvm.

taf2 avatar taf2 commented on June 18, 2024

the issue persists even after rm -rf .rvm and reinstall..

from rvm.

taf2 avatar taf2 commented on June 18, 2024

i'm upgrading coreutils thinking maybe something in there could be the cause?

from rvm.

taf2 avatar taf2 commented on June 18, 2024

definitely not a closed issue....

from rvm.

taf2 avatar taf2 commented on June 18, 2024

I have these in my .bashrc

shopt -s expand_aliases

if [ "$TERM" != "dump" ]; then
export LS_OPTIONS='--color=auto'
eval dircolors ~/.dir_colors
fi

I'm thinking one might be the cause...

from rvm.

taf2 avatar taf2 commented on June 18, 2024

Only thing I can think of that is distinct in my environment is this:
sudo port install coreutils +with_default_names

from rvm.

taf2 avatar taf2 commented on June 18, 2024

more environment information:

bash --version
GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)
Copyright (C) 2007 Free Software Foundation, Inc.

which bash
/bin/bash

from rvm.

taf2 avatar taf2 commented on June 18, 2024

when there is no .rvmrc file i can switch rubies

rvm use ruby-1.9.2-p136 works fine, but when there is an .rvmrc file it ignores the ruby version i typed to use and spins out of control

from rvm.

taf2 avatar taf2 commented on June 18, 2024

just test with bash 4.0.35_0 from mac ports and still seeing the same exact issue

from rvm.

taf2 avatar taf2 commented on June 18, 2024

after all my system changes:

rm -rf .rvm

reinstall

here's my gist

https://gist.github.com/761109

from rvm.

taf2 avatar taf2 commented on June 18, 2024

i'm now wondering if this could be the cause: http://fvue.nl/wiki/Bash:_Error_%60Unbound_variable'_when_testing_unset_variable

from rvm.

taf2 avatar taf2 commented on June 18, 2024

This is the change that is causing all the headache 189cae7

from rvm.

Kudu avatar Kudu commented on June 18, 2024

Having similar problem on Mac, except that I can't open new shells, nor launch more apps. Would it be safe to try to restart?

from rvm.

wayneeseguin avatar wayneeseguin commented on June 18, 2024

Try on latest head please waterfox, we fixed it in IRC. And sure, restart should be fine.

from rvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.