Comments (10)
This issue should be solved when we switch to CRaSH with this change released: https://github.com/tgrabiec/crash/tree/interrupting
It is still experimental work and originates from upstream maintainer with intent to make interruption work also on Windows. It changes the approach for triggering interruption from having a SIGINT handler to disabling 'intr' in stty and reacting on character '\x03' (^C).
from osv.
On Thu, Oct 10, 2013 at 10:53 AM, Tomasz Grabiec
[email protected]:
This issue should be solved when we switch to CRaSH with this change
released: https://github.com/tgrabiec/crash/tree/interruptingIt is still experimental work and originates from upstream maintainer with
intent to make interruption work also on Windows. It changes the approach
for triggering interruption from having a SIGINT handler to disabling
'intr' in stty and reacting on character '3' (^C).
Good, this is basically what the ssh code already does (it doesn't get
SIGINT, so it needs to handle '\3' on its own), so it's what Avi suggested
we do.
Please note that this will only correctly interrupt JVM-based commands
(Java, Groovy, etc.) - if we run elf commands, they won't cooperate with
the Java Thread.interrupt() protocol, and can't be stopped in this way. But
we can think about this issue another time.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/53#issuecomment-26034976
.
Nadav Har'El
[email protected]
from osv.
A new version of CRaSH (1.3.0-beta8) has just been released, it should have the necessary fixes: crashub/crash@4b70314
from osv.
@tgrabiec What's the status of this? Did we already switch to new version Crash?
from osv.
@penberg No, we haven't yet. I talked to @lightpriest, he's going to work on upgrading.
from osv.
mgmt tree is upgraded to CRaSH 1.3.0-beta8 but it has a new bug (specifically related to OSv). I sent a pull request to fix it.
from osv.
@lightpriest any chance we can have this fix for OSv 0.0.4 ?
from osv.
@tzach I tried crash-1.3.0-beta11 to test this, but now there's a new problem. ^C not only causes thread top
to stop, but the vm terminates, I'll try to find out why. Any ideas in the meantime?
from osv.
This patch (https://groups.google.com/forum/#!topic/osv-dev/S8pN0ODiF4Y) should make ^C work intuitively, no need to upgrade CRaSH, for now. I'll wait on the merge which enables automatic ssh host key generation.
from osv.
works
Ctrl+C stops thread top, and return to CLI
from osv.
Related Issues (20)
- Blocking signals may prevent execution of corresponding signal handler
- Running signal handler that uses thread local variables in statically linked executables crashes HOT 1
- how to solve it HOT 1
- I have two problems. HOT 1
- why? HOT 1
- waitqueue disarm() sometimes misbehaves HOT 5
- Implement GICv3
- Add MSI support to aarch64 port HOT 1
- OSv does not support 5-level paging HOT 10
- Add acpica support to aarch64
- Support AWS graviton
- Compile errors on archlinux host HOT 1
- Asking for support for archlinux host HOT 1
- Error reading disk (real mode): 00000000000000e7 HOT 1
- Undefined references to osv's glibc layer HOT 17
- Failed to run RVVM in osv HOT 10
- Failing build on Fedora 39 HOT 2
- ramfs and /dev/ HOT 1
- posix_memalign fails when size and alignment is large HOT 1
- Missing setfsuid() implementation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osv.