bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] update GnuTLS usage


From: Simon Josefsson
Subject: Re: [bug-mailutils] update GnuTLS usage
Date: Fri, 23 Mar 2012 12:42:06 +0100
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.94 (gnu/linux)

Trying to test this, I got a crash, but I get the crash without the
patch too.  Have you tested imap4d with STARTTLS?

I'm doing:

imap stream tcp nowait root /home/jas/src/mailutils/imap4d/imap4d imap4d -i 
--config-file /home/jas/src/mailutils/imap4d/foo --config-verbose

and the config file reads:

tls {
       enable yes;
       ssl-cert "/home/jas/cert.pem";
       ssl-key "/home/jas/key.pem";
#       priority-string "DEFAULT";
     }

and the crash happens when I invoke '. STARTTLS'.  Backtrace below.  Ideas?

/Simon

Program received signal SIGSEGV, Segmentation fault.
0x00007fc93515f45b in mu_stream_set_buffer (stream=0x0, type=mu_buffer_none, 
size=0) at stream.c:572
572       _bootstrap_event (stream);
(gdb) bt
#0  0x00007fc93515f45b in mu_stream_set_buffer (stream=0x0, 
type=mu_buffer_none, size=0)
    at stream.c:572
#1  0x00007fc93539581b in _mu_tls_stream_create (pstream=0x7fff0c023150, 
    openfn=0x7fc935394f15 <_tls_server_open>, strin=0x1664750, strout=0x0, 
flags=0) at tls.c:677
#2  0x00007fc935395940 in mu_tls_server_stream_create (pstream=0x7fff0c023150, 
strin=0x1664750, 
    strout=0x0, flags=0) at tls.c:708
#3  0x00000000004111db in imap4d_init_tls_server () at io.c:107
#4  0x000000000041853c in imap4d_starttls (command=0x6322e0, tok=0x166df40) at 
starttls.c:50
#5  0x0000000000419c75 in util_do_command (tok=0x166df40) at util.c:78
#6  0x0000000000410834 in imap4d_mainloop (ifd=0, ofd=1, tls=0) at imap4d.c:560
#7  0x0000000000410e89 in main (argc=5, argv=0x7fff0c023368) at imap4d.c:775
(gdb) 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]