dovecot: imap-login segfault

Bug #1016905 reported by Nicola
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssl (Debian)
Unknown
Unknown
openssl (Ubuntu)
New
Undecided
Unassigned

Bug Description

After upgradind a server from oneiric to precise I see this error in my logs:

Jun 23 00:20:29 server1 dovecot: master: Error: service(imap-login): child 6714 killed with signal 11 (core dumps disabled)

16 hours after the update I have this results:

cat /var/log/mail.log | grep "killed with signal 11" | wc -l
592

please fix with an updated dovecot package

Tags: dovecot
Revision history for this message
Nicola (nicola) wrote :

looking at the dovecot commit history

http://hg.dovecot.org/dovecot-2.0/shortlog

there are a lot of fixes related to imap login since version 2.0.19 shipped with ubuntu

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

The current development version is 2.1.7. To make progress on this bug, we first need to determine if this bug is present in the development version. You can find more details about testing the development version at http://www.ubuntu.com/testing/

To keep releases stable, we do not update packages except to fix specific bugs. To be able to fix this bug in Precise, we would need steps to reproduce the bug and the specific upstream commit that fixed this issue to be identified. You can find out more information about this policy and procedure at https://wiki.ubuntu.com/StableReleaseUpdates

I'm marking this bug as Incomplete for now. If you can provide steps to reproduce the bug, please add that information here and change the bug status back to New. Thanks!

Changed in dovecot (Ubuntu):
status: New → Incomplete
Revision history for this message
Nicola (nicola) wrote :

Hi, can you please instruct on how to enable dovecot core dumps in ubuntu?

I already tryed 2.0.21 and I have the same issue only when the client is Microsoft Outlook, other clients such as thunderbird work fine. However dovecor 2.0.13 works fine

Revision history for this message
Nicola (nicola) wrote :

here is the trace

Core was generated by `dovecot/imap-login -D'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f4d01c1a031 in RC4 () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
(gdb) bt full
#0 0x00007f4d01c1a031 in RC4 () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#1 0x0000000000000134 in ?? ()
No symbol table info available.
#2 0x00000000000000cd in ?? ()
No symbol table info available.
#3 0x00007f4d03e97470 in ?? ()
No symbol table info available.
#4 0x00007f4d01c80629 in ?? () from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#5 0x00007f4d01f82bcf in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0
No symbol table info available.
#6 0x00007f4d01f79e04 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0
No symbol table info available.
#7 0x00007f4d01f7a134 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0
No symbol table info available.
#8 0x00007f4d027fed6f in ssl_write (proxy=0x7f4d03e7c0a0)
    at ssl-proxy-openssl.c:499
        ret = <optimized out>
#9 0x00007f4d027fee68 in plain_read (proxy=0x7f4d03e7c0a0)
    at ssl-proxy-openssl.c:308
        ret = <optimized out>
        corked = true
---Type <return> to continue, or q <return> to quit---
#10 0x00007f4d025b5c98 in io_loop_call_io (io=0x7f4d03e84b10) at ioloop.c:384
        ioloop = 0x7f4d03e3e680
        t_id = 2
#11 0x00007f4d025b6d27 in io_loop_handler_run (ioloop=<optimized out>)
    at ioloop-epoll.c:213
        ctx = 0x7f4d03e505a0
        events = 0x6579351d
        event = 0x7f4d03e50610
        list = 0x7f4d03e93690
        io = <optimized out>
        tv = {tv_sec = 59, tv_usec = 999832}
        msecs = <optimized out>
        ret = 1
        i = <optimized out>
        call = <optimized out>
#12 0x00007f4d025b5c28 in io_loop_run (ioloop=0x7f4d03e3e680) at ioloop.c:405
No locals.
#13 0x00007f4d025a3e33 in master_service_run (service=0x7f4d03e3e550,
    callback=<optimized out>) at master-service.c:481
No locals.
#14 0x00007f4d027f7cc2 in main (argc=2, argv=0x7f4d03e3e370) at main.c:371
        set_pool = 0x7f4d03e3e880
        allow_core_dumps = <optimized out>
---Type <return> to continue, or q <return> to quit---
        login_socket = 0x7f4d02800763 "login"
        c = <optimized out>
#15 0x00007f4d021d676d in __libc_start_main ()
   from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#16 0x00007f4d02c2d5a9 in _start ()
No symbol table info available.

I'm sending to the dovecot list too

Revision history for this message
Nicola (nicola) wrote :

the bug is in openssl not dovecot, please take a look here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666405

Revision history for this message
Nicola (nicola) wrote :

I recompiled openssl applying this patch:

http://cvs.openssl.org/chngview?cn=22415

and now dovecot works fine,

please apply to precise,

Nicola

Robie Basak (racb)
affects: dovecot (Ubuntu) → openssl (Ubuntu)
Changed in openssl (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.