Comment 6 for bug 1619968

Revision history for this message
Charly Bazaugour (cbazaugour) wrote :

I am currently recreating this bug on Ubuntu Xenial with a minimal config file :

options.timeout = 120
options.namespace = false
options.subscribe = true
options.charset = 'UTF-8'

cbaz_laposte = IMAP
{
 server = 'imap.laposte.net',
 username = 'cbazaugour'
}

Placing print('a') before and after the IMAP call shows the segfault happens in the IMAP call :

~$ imapfilter -v
a
Enter password for <email address hidden>:
S (3): * OK IMAP4 ready
C (3): 1000 CAPABILITY
S (3): 1000 OK completed
C (3): 1001 STARTTLS
S (3): 1001 OK completed
Erreur de segmentation (core dumped)

After adding the ssl information in my IMAP parameter :

cbaz_laposte = IMAP
{
 server = 'imap.laposte.net',
 username = 'cbazaugour',
 ssl = 'ssl2'
}

the segfault does no longer happen :

~$ imapfilter -v
Enter password for <email address hidden>:
S (3): * OK IMAP4 ready
C (3): 1000 CAPABILITY
S (3): 1000 OK completed
C (3): 1001 LOGIN "cbazaugour" *
S (3): 1001 OK [CAPABILITY IMAP4rev1 ACL BINARY CATENATE CHILDREN CONDSTORE ENABLE ESEARCH ESORT I18NLEVEL=1 ID IDLE LIST-EXTENDED LIST-STATUS LITERAL+ LOGIN-REFERRALS MULTIAPPEND NAMESPACE QRESYNC QUOTA RIGHTS=ektx SASL-IR SEARCHRES SORT THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN XLIST] LOGIN completed
C (3): 1002 CAPABILITY
S (3): 1002 OK CAPABILITY completed
C (3): 1003 LOGOUT

I would like to give you more informations to allow you to test this, but this account is my main personnal account. I''' try creating a new account reproducing the segfault.