Mailing List Archive

[DBMail 0001080]: IMAPD crashes when exposed to internet
A NOTE has been added to this issue.
Reported By: yazeed
Assigned To:
Project: DBMail
Issue ID: 1080
Category: IMAP daemon
Reproducibility: always
Severity: crash
Priority: normal
Status: new
Date Submitted: 28-Jun-16 00:47 CEST
Last Modified: 08-Sep-16 19:19 CEST
Summary: IMAPD crashes when exposed to internet
Hi there

This is my first post here, I have just registered, so excuse me if i am
doing it all wrong.

dbmail-imapd crashes whenever i allow users to login (probably a certain
user triggering the segfault with a certain command), if i block public
access and use IMAP through web mail or any other, it works fine, seconds
after allowing traffic to the deamon, it will crash

I have compiled the debug binaries, then run dbmail-imapd from within gdb,
right after the crash, i issue a bt, and here are the commands and results

root@email:/usr/local/sbin# gdb /usr/sbin/dbmail-imapd -p
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/dbmail-imapd...(no debugging symbols
Illegal process-id: /run/dbmail/
(gdb) run -D
Starting program: /usr/sbin/dbmail-imapd -D
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/".
[New Thread 0x7ffff0506700 (LWP 16325)]
[Thread 0x7ffff0506700 (LWP 16325) exited]
[New Thread 0x7ffff0506700 (LWP 16326)]
[New Thread 0x7fffef8f1700 (LWP 16327)]
[New Thread 0x7fffef0f0700 (LWP 16328)]
[New Thread 0x7fffee8ef700 (LWP 16329)]
[New Thread 0x7fffee0ee700 (LWP 16330)]
[New Thread 0x7fffed8ed700 (LWP 16331)]
[New Thread 0x7fffed0ec700 (LWP 16332)]
[New Thread 0x7fffec8eb700 (LWP 16333)]
[New Thread 0x7fffe7fff700 (LWP 16334)]
[New Thread 0x7fffe77fe700 (LWP 16335)]
[New Thread 0x7fffe6ffd700 (LWP 16336)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffee0ee700 (LWP 16330)]
0x0000555555560a13 in ?? ()
(gdb) bt 0x0000555555560a13 in ?? () 0x00007ffff6aba1d8 in ?? () from
/lib/x86_64-linux-gnu/ 0x00007ffff6ab9845 in ?? () from
/lib/x86_64-linux-gnu/ 0x00007ffff51790a4 in start_thread
(arg=0x7fffee0ee700) at
pthread_create.c:309 0x00007ffff4eae87d in clone () at


(0003747) alan (reporter) - 08-Sep-16 19:19
If this is a new install it may be your dbmail.conf
Is there anything in the log files? You can configure what is included in
the logs.

Issue History
Date Modified Username Field Change
28-Jun-16 00:47 yazeed New Issue
08-Sep-16 19:19 alan Note Added: 0003747

Dbmail-dev mailing list