Re: segfault at 0 ... error 4 in curl-loader
Status: Alpha
Brought to you by:
coroberti
From: bnoble <bn...@gm...> - 2009-12-02 06:57:06
|
Robert, In case you need it, here is the curl version: curl 7.19.0 (x86_64-suse-linux-gnu) libcurl/7.19.0 OpenSSL/0.9.8h zlib/1.2.3 libidn/1.10 Protocols: tftp ftp telnet dict ldap http file https ftps Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz Alternately, if you know of a version of libcurl which is more stable/works better with curl-loader, I would happily revert to an older version. Your efforts are appreciated. On Tue, Dec 1, 2009 at 9:37 PM, Robert Iakobashvili <cor...@gm...> wrote: > Thank you very much. > > I will try to play with newer versions of libcurl > and let you know. > > Thanks! > > On Wed, Dec 2, 2009 at 12:17 AM, bnoble <bn...@gm...> wrote: >> >> Same in 0.48, ~112 clients. >> >> >> On Tue, Dec 1, 2009 at 2:11 PM, bnoble <bn...@gm...> wrote: >> > Robert, >> > >> > Same result with 0.49, only sooner. ~136 clients. >> > >> > (gdb) bt >> > #0 0x000000000043e70a in Curl_done () >> > #1 0x00000000004262e7 in multi_runsingle () >> > #2 0x0000000000426b55 in curl_multi_perform () >> > #3 0x0000000000427422 in multi_socket () >> > #4 0x0000000000427bf4 in curl_multi_socket_all () >> > #5 0x0000000000410917 in mperform_hyper (bctx=0x7fff4c572da0, >> > still_running=0x7fb77547efa4) at loader_hyper.c:667 >> > #6 0x000000000041027c in next_load_cb_hyper (fd=-1, kind=1, >> > userp=0x7fff4c572da0) at loader_hyper.c:398 >> > #7 0x000000000045e146 in event_process_active (base=0x7fb771a1c950) >> > at event.c:392 >> > #8 0x000000000045e483 in event_base_loop (base=0x7fb771a1c950, >> > flags=0) at event.c:544 >> > #9 0x000000000045e1a6 in event_base_dispatch >> > (event_base=0x7fb771a1c950) at event.c:412 >> > #10 0x00000000004106f1 in mget_url_hyper (bctx=0x7fff4c572da0) at >> > loader_hyper.c:567 >> > #11 0x000000000041060c in user_activity_hyper >> > (cctx_array=0x7fb777acb010) at loader_hyper.c:506 >> > #12 0x000000000040a952 in batch_function (batch_data=0x7fff4c572da0) >> > at loader.c:333 >> > #13 0x00007fb777692070 in ?? () >> > #14 0x0000000000000000 in ?? () >> > (gdb) up >> > #1 0x00000000004262e7 in multi_runsingle () >> > Current language: auto; currently asm >> > (gdb) up >> > #2 0x0000000000426b55 in curl_multi_perform () >> > (gdb) up >> > #3 0x0000000000427422 in multi_socket () >> > (gdb) up >> > #4 0x0000000000427bf4 in curl_multi_socket_all () >> > (gdb) up >> > #5 0x0000000000410917 in mperform_hyper (bctx=0x7fff4c572da0, >> > still_running=0x7fb77547efa4) at loader_hyper.c:667 >> > 667 while (CURLM_CALL_MULTI_PERFORM == >> > Current language: auto; currently c >> > (gdb) up >> > #6 0x000000000041027c in next_load_cb_hyper (fd=-1, kind=1, >> > userp=0x7fff4c572da0) at loader_hyper.c:398 >> > 398 mperform_hyper (bctx, &st); >> > (gdb) up >> > #7 0x000000000045e146 in event_process_active (base=0x7fb771a1c950) >> > at event.c:392 >> > 392 (*ev->ev_callback)((int)ev->ev_fd, >> > ev->ev_res, ev->ev_arg); >> > (gdb) up >> > #8 0x000000000045e483 in event_base_loop (base=0x7fb771a1c950, >> > flags=0) at event.c:544 >> > 544 event_process_active(base); >> > (gdb) up >> > #9 0x000000000045e1a6 in event_base_dispatch >> > (event_base=0x7fb771a1c950) at event.c:412 >> > 412 return (event_base_loop(event_base, 0)); >> > (gdb) up >> > #10 0x00000000004106f1 in mget_url_hyper (bctx=0x7fff4c572da0) at >> > loader_hyper.c:567 >> > 567 event_base_dispatch((struct event_base *) bctx->eb); >> > (gdb) up >> > #11 0x000000000041060c in user_activity_hyper >> > (cctx_array=0x7fb777acb010) at loader_hyper.c:506 >> > 506 if (mget_url_hyper (bctx) == -1) >> > (gdb) up >> > #12 0x000000000040a952 in batch_function (batch_data=0x7fff4c572da0) >> > at loader.c:333 >> > 333 rval = ua_array[loading_mode] (bctx->cctx_array); >> > (gdb) up >> > >> > Thanks. >> > >> > On Tue, Dec 1, 2009 at 1:56 PM, Robert Iakobashvili >> > <cor...@gm...> wrote: >> >> Hi, >> >> >> >> Better try 0.48 and 0.49. >> >> Thanks! >> >> >> >> On Tue, Dec 1, 2009 at 11:52 PM, bnoble <bn...@gm...> wrote: >> >>> >> >>> Hello, >> >>> >> >>> Started with curl-loader-0.50, just went to the last stable release, >> >>> curl-loader-0.44, made it with "optimize=1 debug=0", tuned my TCP >> >>> settings, again, coredumps. Do you think I'd have better luck with >> >>> 0.49? >> >>> >> >>> Thanks! >> >>> >> >>> On Tue, Dec 1, 2009 at 1:43 PM, Robert Iakobashvili >> >>> <cor...@gm...> >> >>> wrote: >> >>> > Hi, >> >>> > >> >>> > On Tue, Dec 1, 2009 at 11:21 PM, bnoble <bn...@gm...> wrote: >> >>> >> >> >>> >> > Core was generated by `curl-loader -t 4 -f >> >>> >> > /home/support/curl-loader/curl-loader-0.50/conf-examples/ht'. >> >>> >> > Program terminated with signal 11, Segmentation fault. >> >>> >> > #0 0x0000000000437de0 in Curl_done () >> >>> >> > (gdb) bt >> >>> >> > #0 0x0000000000437de0 in Curl_done () >> >>> >> > #1 0x0000000000426a32 in multi_runsingle () >> >>> >> > #2 0x0000000000426e5f in curl_multi_perform () >> >>> >> > #3 0x0000000000428629 in curl_multi_socket_all () >> >>> >> > #4 0x0000000000411bfa in mperform_hyper (bctx=0x7fffff4aa410, >> >>> >> > still_running=0x7ff32f33de94) at loader_hyper.c:683 >> >>> >> > #5 0x0000000000411520 in next_load_cb_hyper (fd=-1, kind=1, >> >>> >> > userp=0x7fffff4aa410) at loader_hyper.c:398 >> >>> >> > #6 0x00000000004648f8 in event_base_loop () >> >>> >> > #7 0x0000000000411995 in mget_url_hyper (bctx=0x7fffff4aa410) at >> >>> >> > loader_hyper.c:567 >> >>> >> > #8 0x00000000004118b0 in user_activity_hyper >> >>> >> > (cctx_array=0x7ff330b42010) at loader_hyper.c:506 >> >>> >> > #9 0x000000000040aadf in batch_function >> >>> >> > (batch_data=0x7fffff4aa410) >> >>> >> > at loader.c:345 >> >>> >> > #10 0x00007ff331d52070 in start_thread () from >> >>> >> > /lib64/libpthread.so.0 >> >>> >> > #11 0x00007ff3310db11d in clone () from /lib64/libc.so.6 >> >>> >> > #12 0x0000000000000000 in ?? () >> >>> >> > (gdb) up >> >>> >> > #9 0x000000000040aadf in batch_function >> >>> >> > (batch_data=0x7fffff4aa410) >> >>> >> > at loader.c:345 >> >>> >> > 345 rval = ua_array[loading_mode] (bctx->cctx_array); >> >>> >> > (gdb) up >> >>> >> > #10 0x00007ff331d52070 in start_thread () from >> >>> >> > /lib64/libpthread.so.0 >> >>> >> > (gdb) up >> >>> >> > #11 0x00007ff3310db11d in clone () from /lib64/libc.so.6 >> >>> >> > (gdb) up >> >>> >> > #12 0x0000000000000000 in ?? () >> >>> >> > (gdb) up >> >>> >> > >> >>> >> > >> >>> > >> >>> > Can you try some previous version, e.g 0.49 ? >> >>> > Thanks! >> >>> > >> >>> > On my side I am looking at libcurl recent bug fixes, since it may be >> >>> > some >> >>> > issue >> >>> > in Curl_done () or something in libevent >> >>> > >> >>> > -- >> >>> > Truly, >> >>> > Robert Iakobashvili, Ph.D. >> >>> > >> >>> > ...................................................................... >> >>> > www.ghotit.com >> >>> > Assistive technology that understands you >> >>> > >> >>> > ...................................................................... >> >>> > >> >>> > >> >>> > >> >>> > ------------------------------------------------------------------------------ >> >>> > Join us December 9, 2009 for the Red Hat Virtual Experience, >> >>> > a free event focused on virtualization and cloud computing. >> >>> > Attend in-depth sessions from your desk. Your couch. Anywhere. >> >>> > http://p.sf.net/sfu/redhat-sfdev2dev >> >>> > _______________________________________________ >> >>> > curl-loader-devel mailing list >> >>> > cur...@li... >> >>> > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel >> >>> > >> >>> > >> >>> >> >>> >> >>> >> >>> ------------------------------------------------------------------------------ >> >>> Join us December 9, 2009 for the Red Hat Virtual Experience, >> >>> a free event focused on virtualization and cloud computing. >> >>> Attend in-depth sessions from your desk. Your couch. Anywhere. >> >>> http://p.sf.net/sfu/redhat-sfdev2dev >> >>> _______________________________________________ >> >>> curl-loader-devel mailing list >> >>> cur...@li... >> >>> https://lists.sourceforge.net/lists/listinfo/curl-loader-devel >> >> >> >> >> >> >> >> -- >> >> Truly, >> >> Robert Iakobashvili, Ph.D. >> >> ...................................................................... >> >> www.ghotit.com >> >> Assistive technology that understands you >> >> ...................................................................... >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Join us December 9, 2009 for the Red Hat Virtual Experience, >> >> a free event focused on virtualization and cloud computing. >> >> Attend in-depth sessions from your desk. Your couch. Anywhere. >> >> http://p.sf.net/sfu/redhat-sfdev2dev >> >> _______________________________________________ >> >> curl-loader-devel mailing list >> >> cur...@li... >> >> https://lists.sourceforge.net/lists/listinfo/curl-loader-devel >> >> >> >> >> > >> >> >> ------------------------------------------------------------------------------ >> Join us December 9, 2009 for the Red Hat Virtual Experience, >> a free event focused on virtualization and cloud computing. >> Attend in-depth sessions from your desk. Your couch. Anywhere. >> http://p.sf.net/sfu/redhat-sfdev2dev >> _______________________________________________ >> curl-loader-devel mailing list >> cur...@li... >> https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > > > > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > www.ghotit.com > Assistive technology that understands you > ...................................................................... > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > > |