You guys have any thoughts how to further investigate what might be going on? I've attached the program I made to test this. When connecting to an OS X machine, it'll sometimes fail to get data from a command. The program runs a series of commands and if one of the commands that should have data doesn't it spits out an extra caps message saying it got 0 bytes when it shouldn't have. This sometimes takes a couple runs before happening. It also occasionally will lock on reading.
Hopefully can figure this out, thanks again. Hopefully the C isn't too messy, haven't done much pure C in a while :)
main.c
Description: Binary data
-- Jeremy Knope / Software Developer / Ambrosia Software, Inc. -- http://www.AmbrosiaSW.com/ On Apr 14, 2009, at 5:27 PM, Jeremy Knope wrote:
I'll see if I can get a boiled down version tomorrow, it's currently in ObjC. I was able to figure out how to do something similar to 'strace' on OS X via 'dtruss' which uses dtrace to do a trace of system calls. If it's at all helpful, attached is a trace of a successful 'ls -lL' command and then one where i get no data, I put some space & markers between the separate calls.I'll post a smaller sample app if I get it to have the same problem in that form tomorrow. Thanks for the help guys. Hopefully can figure out what's going on. Very possible something weird I'm doing :)<sshd-trace.txt> -- Jeremy Knope / Software Developer / Ambrosia Software, Inc. -- http://www.AmbrosiaSW.com/ On Apr 14, 2009, at 5:18 PM, Daniel Stenberg wrote:On Tue, 14 Apr 2009, Jeremy Knope wrote:Any help is appreciated, if you need to see some code, would you prefer it on a paste site or just attached?Yes, preferably I'd like to see a complete small app written in portable Cthat we can use in our ends to repeat this problem... -- / daniel.haxx.se ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com_______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel
------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com
_______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel