Subject: Re: blocking redone committed

Re: blocking redone committed

From: Daniel Johnson <daniel.johnson31_at_gmail.com>
Date: Fri, 27 Mar 2009 10:01:00 -0400

On Mar 27, 2009, at 8:49 AM, Daniel Stenberg wrote:

> On Fri, 27 Mar 2009, Daniel Johnson wrote:
>
>> I don't get the hang anymore, but I'm still getting segfaults. Both
>> tests
>> fail at the same place.
>
> [...]
>
>> Maybe memory getting double-freed?
>
> Thanks, it was actually using a struct pointer to a struct that had
> been freed
> already... fixed now!

The tests work now, but there's a bigger problem. I tried running a
curl test build with this and Bad Things happened. I got several more
segfaults like this:

sh: line 1: 65407 Segmentation fault ../src/curl --output log/
curl600.out --include --verbose --trace-time --key curl_client_key --
pubkey curl_client_key.pub -u daniel: sftp://127.0.0.1:8999/build-8336/tests/log/file600.txt
>> log/stdout600 2>> log/stderr600

Backtrace:

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c000003b
Crashed Thread: 0

Thread 0 Crashed:
0 libssh2.1.dylib 0x0014950d libssh2_sftp_shutdown + 21
1 libcurl.4.dylib 0x000c495c ssh_statemach_act +
17826 (ssh.c:1825)
2 libcurl.4.dylib 0x000c54e2 ssh_easy_statemach + 47
(ssh.c:2182)
3 libcurl.4.dylib 0x000c5c86 sftp_disconnect + 120
(ssh.c:2557)
4 libcurl.4.dylib 0x00096e87 Curl_disconnect + 346
(url.c:2357)
5 libcurl.4.dylib 0x00097961 ConnectionKillOne + 238
(url.c:2760)
6 libcurl.4.dylib 0x00092fd3 close_connections + 17
(url.c:238)
7 libcurl.4.dylib 0x0009357d Curl_close + 549 (url.c:
444)
8 libcurl.4.dylib 0x000abe25 curl_easy_cleanup + 29
(easy.c:557)
9 curl 0x0000b7e9 operate + 14459 (main.c:
5109)
10 curl 0x0000b9a5 main + 95 (main.c:5171)
11 curl 0x00001f82 start + 54

These are the tests that failed:

TESTFAIL: These test cases failed: 600 602 604 608 609 610 611 612 613
614 615 616 618 620 622 624 625 626 627 633 634 635 636 637 2004

Daniel

------------------------------------------------------------------------------

_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Received on 2009-03-27