On Fri, Sep 25, 2009 at 1:08 AM, Daniel Stenberg <[email protected]> wrote:
> On Thu, 24 Sep 2009, ganeshragavan wrote:
>
>> https://ipv6_address:443/ crashes at 1001th iteration everytime, whereas
>> https://ipv4_address:443/.. doesn't crash exactly at 3001th iteration
>> everytime.
>
>
> A) Cross-compiling and installing gdb on an embedded linux is not rocket
>   science.
>

I see the following on the iteration after the sleep while running
under gdb.  SIGPIPE is received for the first iteration after every
sleep.
Using a signal handler to ignore the SIGPIPE signal in the main
program prevents the crash and keep the program going, but I am
looking into see if I should handle this in a different way.

Program received signal SIGPIPE, Broken pipe.
0x0fd83174 in write () from /lib/libc.so.6
(gdb) backtrace
#0  0x0fd83174 in write () from /lib/libc.so.6
#1  0x0ff30640 in ?? () from /usr/lib/libcrypto.so.0.9.8
#2  0x0ff2e114 in BIO_write () from /usr/lib/libcrypto.so.0.9.8
#3  0x10030150 in do_ssl3_write ()
#4  0x100303c8 in ssl3_dispatch_alert ()
#5  0x1002eac0 in ssl3_send_alert ()
#6  0x1002c3f8 in ssl3_shutdown ()
#7  0x10037094 in SSL_shutdown ()
#8  0x1001bf78 in Curl_ossl_close ()
#9  0x1000aa0c in Curl_ssl_close ()
#10 0x100141d8 in Curl_disconnect ()
#11 0x100145dc in ConnectionExists ()
#12 0x1001582c in create_conn ()
#13 0x10015c60 in Curl_connect ()
#14 0x10021a6c in Curl_perform ()
#15 0x10006250 in curl_easy_perform ()
#16 0x10005b24 in main (nargs=1, args=0x7f94cd94) at tst.c:59
(gdb)
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to