Forum Archive

Pythonista crashes with two STASH Instances

ltddev

I don't recall this to be a problem before but when I run Launch STASH a second time to have a second STASH instance, when i go back to the first STASH instance andI run a command such as "ls" Pythonista crashes.

ltddev

Actually, I'm having some trouble reproducing this. I have to go back and see the exact steps I took when I was able to crash the app but I can create multiple STASH instances and have no problem switching between instances. I definitely was able to crash the app multiple times with two STASH instances.

ltddev

I can reproduce with the following steps:

  1. Run launch_stash.py
  2. Run the command again to create a second instance.
  3. Go back to the first and enter what seems to be any character.

RESULT: Pythonista crashes.

If STASH does not support this scenario perhaps it should only allow a single instance?

omz

Maybe this could also be added to StaSh's bug tracker? Seems like this is a scenario that could be prevented by changes in StaSh itself.

ltddev

@omz forgive my ignorance but where is the bug tracker for STASH?

I agree this seems to be a bug in STASH and some of the other errors I am seeing here (like issues with git) may be related.

dgelessus

@ltddev https://github.com/ywangd/stash/issues