Crashing on SingleRemoteVIM::Initialize

3 views
Skip to first unread message

ldeveaux

unread,
Aug 9, 2010, 10:08:25 AM8/9/10
to XAM Developers Group
Hi everybody,

When loading the HTTP VIM 64bits, my application crashes in
SingleRemoteVIM::initialize when executing curl_easy_init().
After some searches on the web, I discover the problem can occur with
multi-threaded applications. Indeed, my application is multi-threaded.

1. Do you think that using a multi-threaded application can imply this
type of bug? If yes, how can I resolve the bug?

Thanks you in advance for your answers,

Ludovic Deveaux

ldeveaux

unread,
Aug 10, 2010, 2:24:26 AM8/10/10
to XAM Developers Group
On 9 août, 16:08, ldeveaux <deveaux.ludovi...@gmail.com> wrote:
> Hi everybody,
>
> When loading the HTTP VIM 64bits, my application crashes in
> SingleRemoteVIM::initialize when executing curl_easy_init().
> After some searches on the web, I discover the problem can occur with
> multi-threaded applications. Indeed, my application is multi-threaded.
>
> 1. Do you think that using a multi-threaded application can imply this
> type of bug? If yes, how can I resolve the bug?

I think I can answer myself to this question. libcurl works for multi-
threaded applications except for the ones which use signals or SSL/TLS
handlers.
Truly, my application uses signals and curl_easy_init emits a signal
which is catched by my own application instead of libcurl.
This is the explication of the crash at this line.

Best regards,
Reply all
Reply to author
Forward
0 new messages