<div dir="ltr">There is a bug report from vmware [0] users affected by the same bug. I tried to recompile the component to link it against the new library, but no change.<div><br></div><div>[0] <a href="https://bugs.archlinux.org/task/33779">https://bugs.archlinux.org/task/33779</a></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 10, 2013 at 7:26 PM, Benoît Minisini <span dir="ltr"><<a href="mailto:gambas@...1..." target="_blank">gambas@...1...</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 10/02/2013 23:06, Sebastian Kulesz a écrit :<br>
<div><div class="h5">> On Sun, Feb 10, 2013 at 6:46 PM, Benoît Minisini <<br>
> <a href="mailto:gambas@...1...">gambas@...1...</a>> wrote:<br>
><br>
>> Le 10/02/2013 22:15, Sebastian Kulesz a écrit :<br>
>>> Hi!<br>
>>><br>
>>> I'm using Archlinux, after upgrading curl (7.28.1-1 -> 7.29.0-1) i am<br>
>>> getting a crash every time a project (of any type) that loads the<br>
>>> gb.net.curl component ends. Here is the backtrace from gdb:<br>
>>><br>
>>> (gdb) run<br>
>>> Starting program: /usr/bin/gbx3<br>
>>> warning: Could not load shared library symbols for linux-vdso.so.1.<br>
>>> Do you need "set solib-search-path" or "set sysroot"?<br>
>>> [Thread debugging using libthread_db enabled]<br>
>>> Using host libthread_db library "/usr/lib/libthread_db.so.1".<br>
>>> [New Thread 0x7ffff57ae700 (LWP 3253)]<br>
>>> [Thread 0x7ffff57ae700 (LWP 3253) exited]<br>
>>> Invalid signature<br>
>>><br>
>>> Program received signal SIGSEGV, Segmentation fault.<br>
>>> 0x00007ffff62964a0 in curl_multi_cleanup () from /usr/lib/libcurl.so.4<br>
>>> (gdb) bt<br>
>>> #0  0x00007ffff62964a0 in curl_multi_cleanup () from<br>
>> /usr/lib/libcurl.so.4<br>
>>> #1  0x000000000040b03b in EXEC_native () at gbx_exec.c:1332<br>
>>> #2  0x000000000040b5fd in EXEC_public_desc (class=0x0, class@...703...<br>
>> =0x6b4f78,<br>
>>> object=0x61, object@...703...=0x0, desc=0x61, nparam=7099400, nparam@...703...<br>
>> =0)<br>
>>>       at gbx_exec.c:1572<br>
>>> #3  0x000000000040b682 in EXEC_public (class=class@...714.....=0x6b4f78,<br>
>>> object=object@...703...=0x0, name=name@...703...=0x43cda2 "_exit",<br>
>>> nparam=nparam@...703...=0)<br>
>>>       at gbx_exec.c:1595<br>
>>> #4  0x000000000040f252 in exit_class (class=0x6b4f78, native=<optimized<br>
>>> out>) at gbx_class.c:109<br>
>>> #5  exit_class (native=1 '\001', class=0x6b4f78) at gbx_class.c:287<br>
>>> #6  CLASS_clean_up (silent=silent@...703...=0 '\000') at gbx_class.c:386<br>
>>> #7  0x000000000042535a in main_exit (silent=0 '\000', silent@...703...=-19<br>
>>> '\355') at gbx.c:128<br>
>>> #8  0x0000000000404639 in main (argc=1, argv=0x7fffffffe1c8) at gbx.c:429<br>
>>><br>
>>> (gdb) bt full<br>
>>> #0  0x00007ffff62964a0 in curl_multi_cleanup () from<br>
>> /usr/lib/libcurl.so.4<br>
>>> No symbol table info available.<br>
>>> #1  0x000000000040b03b in EXEC_native () at gbx_exec.c:1332<br>
>>>           desc = 0x7ffff66f9f20 <CCurlDesc+192><br>
>>>           nparam = 0<br>
>>>           object = 0x0<br>
>>>           use_stack = 0 '\000'<br>
>>>           i = <optimized out><br>
>>>           n = <optimized out><br>
>>>           nm = <optimized out><br>
>>>           value = <optimized out><br>
>>>           sign = <optimized out><br>
>>>           error = <optimized out><br>
>>>           ret = {type = 3, _boolean = {type = 3, value = 34}, _byte =<br>
>> {type =<br>
>>> 3, value = 34}, _short = {type = 3, value = 34}, _integer = {type = 3,<br>
>>>               value = 34}, _long = {type = 3, value = 34}, _single =<br>
>> {type =<br>
>>> 3, value = 4.76441478e-44}, _float = {type = 3,<br>
>>>               value = 1.6798231958602383e-322}, _date = {type = 3, date =<br>
>> 34,<br>
>>> time = 0}, _string = {type = 3, addr = 0x22 <Address 0x22 out of bounds>,<br>
>>>               start = 4253865, len = 9}, _pointer = {type = 3, value =<br>
>> 0x22<br>
>>> <Address 0x22 out of bounds>}, _function = {type = 3, class = 0x22,<br>
>>>               object = 0x90040e8a9, kind = 120 'x', defined = 79 'O',<br>
>> index =<br>
>>> 107}, _variant = {type = 3, vtype = 34, value = {_boolean = -87 '\251',<br>
>>>                 _byte = 169 '\251', _short = -5975, _integer = 4253865,<br>
>> _long<br>
>>> = 38658959529, _single = 5.96093449e-39, _float =<br>
>> 1.9100063807245997e-313,<br>
>>>                 _date = {date = 4253865, time = 9}, _string = 0x90040e8a9<br>
>>> <Address 0x90040e8a9 out of bounds>, _pointer = 0x90040e8a9, _object =<br>
>>> 0x90040e8a9,<br>
>>>                 data = 38658959529}}, _class = {type = 3, class = 0x22,<br>
>> super<br>
>>> = 0x90040e8a9}, _object = {class = 0x3, object = 0x22, super =<br>
>>> 0x90040e8a9},<br>
>>>             _void = {type = 3, ptype = 34, value = {38658959529,<br>
>> 7032696}}}<br>
>>> #2  0x000000000040b5fd in EXEC_public_desc (class=0x0, class@...703...<br>
>> =0x6b4f78,<br>
>>> object=0x61, object@...703...=0x0, desc=0x61, nparam=7099400, nparam@...703...<br>
>> =0)<br>
>>>       at gbx_exec.c:1572<br>
>>> No locals.<br>
>>> #3  0x000000000040b682 in EXEC_public (class=class@...714.....=0x6b4f78,<br>
>>> object=object@...703...=0x0, name=name@...703...=0x43cda2 "_exit",<br>
>>> nparam=nparam@...703...=0)<br>
>>>       at gbx_exec.c:1595<br>
>>>           desc = <optimized out><br>
>>> #4  0x000000000040f252 in exit_class (class=0x6b4f78, native=<optimized<br>
>>> out>) at gbx_class.c:109<br>
>>> No locals.<br>
>>> #5  exit_class (native=1 '\001', class=0x6b4f78) at gbx_class.c:287<br>
>>> No locals.<br>
>>> #6  CLASS_clean_up (silent=silent@...703...=0 '\000') at gbx_class.c:386<br>
>>>           n = <optimized out><br>
>>>           nc = 4<br>
>>>           nb = <optimized out><br>
>>>           class = 0x6b4f78<br>
>>> #7  0x000000000042535a in main_exit (silent=0 '\000', silent@...703...=-19<br>
>>> '\355') at gbx.c:128<br>
>>>           __err = <optimized out><br>
>>>           __err_context = {prev = 0x0, handler = 0x0, info = {code = 0<br>
>>> '\000', native = 0 '\000', free = -1 '\377', _reserved = -1 '\377', cp =<br>
>>> 0x0,<br>
>>>               fp = 0x0, pc = 0x31b46c48413b6c8b, msg = 0xce4b9336b8076c8b<br>
>>> <Address 0xce4b9336b8076c8b out of bounds>}, env = {{__jmpbuf = {0,<br>
>>>                   -3581606660242051957, 4212308, 140737488347584, 0, 0,<br>
>>> 3581606661264731275, -3581607229822243701}, __mask_was_saved = 0,<br>
>>> __saved_mask = {<br>
>>>                   __val = {0, 16, 0, 7109608, 1, 1, 4212308,<br>
>> 140737488347584,<br>
>>> 0, 1, 0, 1, 4212308, 0, 1, 4212308}}}}, ret = 0 '\000'}<br>
>>> #8  0x0000000000404639 in main (argc=1, argv=0x7fffffffe1c8) at gbx.c:429<br>
>>>           startup = 0x6c7d88<br>
>>>           i = 1<br>
>>>           n = 7099400<br>
>>>           file = 0x4390ed "."<br>
>>>           ret = 0<br>
>>> (gdb)<br>
>>><br>
>>> I read the curl webpage, but saw no info about breaking changes. The<br>
>>> component works perfectly, it just shows a message at the end of the<br>
>>> execution that it crashed.<br>
>>> Let me know if you need me to compile curl with debugging symbols too.<br>
>>><br>
>>> Thanks!<br>
>>><br>
>><br>
>> Well, it crashes inside the libcurl library apparently. Try to run the<br>
>> project with valgrind to see if this is not the consequence of an<br>
>> earlier illegal memory access.<br>
>><br>
>> Regards,<br>
>><br>
>> --<br>
>> Benoît Minisini<br>
>><br>
>><br>
>> ------------------------------------------------------------------------------<br>
>> Free Next-Gen Firewall Hardware Offer<br>
>> Buy your Sophos next-gen firewall before the end March 2013<br>
>> and get the hardware for free! Learn more.<br>
>> <a href="http://p.sf.net/sfu/sophos-d2d-feb" target="_blank">http://p.sf.net/sfu/sophos-d2d-feb</a><br>
>> _______________________________________________<br>
>> Gambas-devel mailing list<br>
>> <a href="mailto:Gambas-devel@lists.sourceforge.net">Gambas-devel@lists.sourceforge.net</a><br>
>> <a href="https://lists.sourceforge.net/lists/listinfo/gambas-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gambas-devel</a><br>
>><br>
><br>
> Here is the output of valgrind --tool=memcheck --num-callers=50<br>
> --leak-check=full gbx3 > valgrind.out 2>&1<br>
> I added --leak-check=full just in case it was missing anything.<br>
><br>
> Thanks!<br>
><br>
<br>
</div></div>Mmm... Either there is a bug in libcurl, either something has changed in<br>
the way the multi CURL interface must be used...<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Benoît Minisini<br>
<br>
------------------------------------------------------------------------------<br>
Free Next-Gen Firewall Hardware Offer<br>
Buy your Sophos next-gen firewall before the end March 2013<br>
and get the hardware for free! Learn more.<br>
<a href="http://p.sf.net/sfu/sophos-d2d-feb" target="_blank">http://p.sf.net/sfu/sophos-d2d-feb</a><br>
_______________________________________________<br>
Gambas-devel mailing list<br>
<a href="mailto:Gambas-devel@lists.sourceforge.net">Gambas-devel@...595...urceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gambas-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gambas-devel</a><br>
</div></div></blockquote></div><br></div>