[Gambas-user] [CRASH REPORT] mailboxer
Benoît Minisini
g4mba5 at gmail.com
Sun Jul 5 18:14:17 CEST 2020
Le 05/07/2020 à 15:34, OpenOS DevTeam a écrit :
> Hello,
>
> Damned, my program crashed Gambas that way :
>
> This happens on LMDE 4 (Gambas 3.12.2). On Linux Mint 18.1 (Gambas
> 3.8.4) and Devuan 2.1 (Gambas 3.13.0) the same code works flawless.
>
> ==================================================
>
> Private Function gPollExec(..., ..., ...)
>
> Dim pop As New Pop3Client
> Dim hMMH As MimeMessage
> Dim sSubject As String
> Dim sSender As String
> Dim sMMText As String
> Dim i As Integer
>
> pop.Host = [...]
> pop.Port = [...]
> pop.Encrypt = [...]
> pop.User = [...]
> pop.Password = [...]
> Try pop.Open
> If pop.Status = 7 Then
> If pop.Count > 0 Then
> For i = 1 To pop.Count
> Wait
> sMMText = pop[i - 1].Text
> hMMH = New MimeMessage(sMMText)
> sSubject = hMMH.Subject & "\n"
> '>>> reading property Subject:
> '>>> OK!
> '
> sSender = hMMH.Sender & "\n"
> '>>> reading property Sender:
> '>>> ERROR (segmentation fault)
> '
> [... write vars to file]
> Next
> Else
> [...]
> Endif
> Else
> [...]
> Endif
> [...]
>
> Finally
> If pop.Status = 7 Then pop.Close
>
> Catch
> [...]
>
> End
>
> ==================================================
>
> On this occasion: the Gambas IDE is a really impressive project. Thank
> you very much for the many years of hard and first-class work!
>
> Respectfully yours ..
>
> the guys from OpenOS
>
Thanks. Is it possible for you to try a more recent version of Gambas?
--
Benoît Minisini
More information about the User
mailing list