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

Running two commands from ios_system causes a hang #2079

Open
3 tasks done
mhoran opened this issue Dec 3, 2024 · 1 comment
Open
3 tasks done

Running two commands from ios_system causes a hang #2079

mhoran opened this issue Dec 3, 2024 · 1 comment
Labels
bug Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions.

Comments

@mhoran
Copy link

mhoran commented Dec 3, 2024

Checklist

Configuration

Blink: v18.0.1.940 (App Store). Oct 4 2024
iOS: 18.1.1

Describe the bug

Running two commands from ios_system.framework at the same time (in separate windows) will result in a hang. I first ran into this running curl in two windows (a relatively contrived example as I was testing something out, but something that could happen in normal use.)

Then I noticed that if I were to curl in one window and ls in another, I got a hang. This also happens with other commands from the ios_system.framework: if I cat and ls, cat and curl, etc.

I understand that there are some limitations in ios_system.framework and perhaps this is one of them. If so, perhaps there should be a lock on running any of these commands at the same time.

I tried this in a-shell and I also get a crash when I run two curl processes at the same time, but I can use cat and ls, etc. as expected.

@mhoran mhoran added the bug Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions. label Dec 3, 2024
@carloscabanero
Copy link
Member

Thanks! This shouldn't happen though. I will review.

Also noticed that if you then try to do a Ctrl-C there, then everything goes nuts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug that's either related to Blink Shell or prevents the user to use the app in normal conditions.
Projects
None yet
Development

No branches or pull requests

2 participants