Daniel Stenberg <daniel_at_haxx.se> writes:
> On Mon, 12 Apr 2010, Simon Josefsson wrote:
>
>> Does 'make check' pass for you? It doesn't for me.
>
> Uhm, this whole make check target is very magic to me. How do I invoke
> and run the test case with gdb ?
What I do is typically add some code in ssh2.c that will hang, like:
getchar ()
and then do M-x gdb to attach to the running process, add some
breakpoint, and then do 'c' in gdb and then start to debug it.
I did this some time ago, and then it hang when tearing down the
connection in the new poll() code. Of course, it is possible that the
ssh2.c self test code is buggy, but still, it used to work so something
we changed in the library likely broke it.
I am sorry I don't have time to look into this further myself right now,
I'm just returning from vacation and there is plenty of things to catch
up on...
You could also just disable the self check and release anyway.
/Simon
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-04-13