Results 1 to 2 of 2
Hi friends,
My GNU Screen(process) is struck at write() system call. I tried to attach strace to the process. here is the output.
***************************************
$ /usr/bin/strace -ivx -p 5477 (screen ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-31-2009 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 1
process struck at write() call
Hi friends,
My GNU Screen(process) is struck at write() system call. I tried to attach strace to the process. here is the output.
***************************************
$ /usr/bin/strace -ivx -p 5477 (screen pid)
Process 5477 attached - interrupt to quit
[008fb7a2] write(4, "\x0d\x1b\x5b\x33\x39\x42\x1b\x5b\x37\x6d\x53\x77\ x69\x74"..., 4020 <unfinished ...>
Process 5477 detached
***************************************
Can somebody point me on how to overcome this problem? It will be nice if you can let me know what exactly it is doing in this write() system call.
Thanks in advance
- 08-07-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,160
The question should be, what is it writing to? The write() function will block until it is complete unless you make the connection/operation non-blocking. Then you can check the state of the connection if the bytes written don't agree with the number passed.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
