Re: multithreaded server issues

2011-06-04 Thread jeetu.gol...@gmail.com
Hi again, I've made further progress in my attempts to debug my server code. I've increased the buffer size in copy_fd_to_chan from 4000 to 4 and am reading slightly less than that. I also noticed that I had not initialized the buffer. Result: The apps launched seem to be far more stable, ev

multithreaded server issues

2011-06-04 Thread jeetu.gol...@gmail.com
Hi guys, I'm facing some issues with the libssh server that I'm putting together. I'm using the latest libssh from the master. My code can be found on pastebin at the link below. Also pasted below is the crash report and what gdb has to about this. The problem and how to reproduce: If I make mul