[Gambas-user] segmentation error (11)

philippe philippe.valarcher at free.fr
Sun Feb 17 18:29:38 CET 2019


Le samedi 16 février 2019, 10:16:58 philippe a écrit :
> Le samedi 16 février 2019, 01:42:28 Jussi Lahtinen a écrit :
> > Can you provide the project or small demonstration project, which
> > reproduces the problem?
> > 
> > Jussi
> > 
> > On Fri, Feb 15, 2019 at 5:53 PM philippe <philippe.valarcher at free.fr> wrote:
> > > Bonjour,
> > > 
> > > 
> > > 
> > > this function causes a segmentation error (11) and I do not understand
> > > why.
> > > 
> > > Can we help?
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Public Function TestServeur() As Boolean 'test des paramètres de compte
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Dim POP1 As Pop3Client
> > > 
> > > Dim rep As Boolean
> > > 
> > > 
> > > 
> > > 
> > > 
> > > POP1 = New Pop3Client
> > > 
> > > POP1.host = txtServer.Text
> > > 
> > > POP1.User = txtUser.text
> > > 
> > > POP1.Password = txtPass.text
> > > 
> > > POP1.port = txtPort.text
> > > 
> > > POP1.Encrypt = IIf(chkSSL.value, 1, 0)
> > > 
> > > 
> > > 
> > > Try POP1.Open
> > > 
> > > 
> > > 
> > > If Not Error Then
> > > 
> > > POP1.Close
> > > 
> > > Message.Warning(("La connexion au serveur ") & " < " & POP1.host & " > "
> > > &
> > > 
> > > (" est efficiente."))
> > > 
> > > rep = True
> > > 
> > > Else
> > > 
> > > Message.Warning(("La connexion au serveur ") & " < " & POP1.host & " > "
> > > &
> > > 
> > > (" a échouée."))
> > > 
> > > rep = False
> > > 
> > > Endif
> > > 
> > > 
> > > 
> > > POP1 = Null
> > > 
> > > Return rep
> > > 
> > > 
> > > 
> > > End
> > > 
> > > 
> > > 
> > > 
> > > 
> > > this error happens when after returning the function we click on any tab
> > > of the Fmain.form if the data entered in the tab accounts are wrong
> > > (any)
> > > so when the pop account is either inateignable or does not exist.
> > > 
> > > 
> > > 
> > > Here are informations about my system
> > > 
> > > 
> > > 
> > > [System]
> > > 
> > > Gambas=3.12.2
> > > 
> > > OperatingSystem=Linux
> > > 
> > > Kernel=4.4.0-142-generic
> > > 
> > > Architecture=x86_64
> > > 
> > > Distribution=Ubuntu 14.04.5 LTS
> > > 
> > > Desktop=KDE4
> > > 
> > > Theme=Oxygen
> > > 
> > > Language=fr_FR.UTF-8
> > > 
> > > Memory=3750M
> > > 
> > > 
> > > 
> > > [Libraries]
> > > 
> > > Cairo=libcairo.so.2.11301.0
> > > 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190217/68094c91/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Signature.png
Type: image/png
Size: 19385 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190217/68094c91/attachment-0001.png>


More information about the User mailing list