Re: [Gambas-user] [SegFault 11] Enumerating HttpClient.Headers with For Each

2014-11-24 Thread Benoît Minisini
Le 23/11/2014 22:48, Benoît Minisini a écrit : Now just for clarification, is enumerating HttpClient.Headers with For Each something I should not be doing? Have I done something else wrong? Or is this actually a bug? I will look at it. But if you have a segfault, this is a bug, whatever

[Gambas-user] [SegFault 11] Enumerating HttpClient.Headers with For Each

2014-11-23 Thread T Lee Davidson
Okay, I've done more testing related to the noise I accidentally sent to the list yesterday. Attempting to enumerate through HttpClient.Headers with For Each causes a SegFault 11 under certain conditions. In the attached project, there is a procedure that traverses through a list of three

Re: [Gambas-user] [SegFault 11] Enumerating HttpClient.Headers with For Each

2014-11-23 Thread Benoît Minisini
Le 23/11/2014 22:07, T Lee Davidson a écrit : Okay, I've done more testing related to the noise I accidentally sent to the list yesterday. Attempting to enumerate through HttpClient.Headers with For Each causes a SegFault 11 under certain conditions. In the attached project, there is a

Re: [Gambas-user] [SegFault 11] Enumerating HttpClient.Headers with For Each

2014-11-23 Thread roberto
Hi Benoît and All I have a similar problem of fault segment 11 with a hpart (as MimePart) enumerated from a a MimeMessage in the special condition that the part is empty, as for example - -- = _ Part_819_1944908340.1380722116143

Re: [Gambas-user] [SegFault 11] Enumerating HttpClient.Headers with For Each

2014-11-23 Thread roberto
to bypass the segfault 11 , if I wanted to use the external library libgmime with: Library libgmime-2.6:0 the declaration of the function should be this: Private Extern g_mime_part_get_content_object(GMimePart As Pointer) As Pointer and my data is in variable hPart as MimePart how i can