[Dovecot] Dovecot v2.2.4 (ebbe00999da8) doveadm crash
e-frog
e-frog at gmx.de
Thu Aug 1 20:10:05 EEST 2013
On 01.08.2013 13:20, wrote Timo Sirainen:
> On 30.7.2013, at 15.08, e-frog <e-frog at gmx.de> wrote:
>
>>> Fixed the crash: http://hg.dovecot.org/dovecot-2.2/rev/0cab916b28c6
>>
>> Thanks, with this change I get an error message instead of the crash:
>> doveadm(test1 at local.lan): Fatal: seteuid(0) failed: Operation not permitted
>
> Try once more with latest hg. Should be at least a different error now?
>
Hmm, now it's crashing again:
doveadm mailbox status -A -t unseen 'virtual/unread'
test1 at local.lan unseen=1
Segmentation fault
Please note that it seems to work for the first user but crashes for the
second.
Core was generated by `doveadm mailbox status -A -t unseen virtual/unread'.
Program terminated with signal 11, Segmentation fault.
#0 i_stream_next_line (stream=0x0) at istream.c:382
382 istream.c: No such file or directory.
(gdb) bt full
#0 i_stream_next_line (stream=0x0) at istream.c:382
_stream = <optimized out>
pos = <optimized out>
#1 0xb752c711 in auth_master_user_list_next (ctx=0xb7edabc8) at
auth-master.c:694
line = <optimized out>
#2 0xb761aaeb in mail_storage_service_all_next (ctx=0xb7edfb98,
username_r=username_r at entry=0xbf852880) at mail-storage-service.c:1294
__FUNCTION__ = "mail_storage_service_all_next"
#3 0xb7736d46 in doveadm_mail_cmd_get_next_user (ctx=0xb7ed9468,
username_r=0xbf852880) at doveadm-mail.c:416
No locals.
#4 0xb7737e95 in doveadm_mail_all_users (wildcard_user=0x0,
argv=0xb7ed51e4, ctx=0xb7ed9468) at doveadm-mail.c:368
ret = <optimized out>
input = {module = 0x0, service = 0xb77758f3 "doveadm", username
= 0xb7eda890 "test1 at local.lan", session_id = 0x0,
local_ip = {family = 0, u = {ip6 = {__in6_u = {__u6_addr8 =
'\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0},
__u6_addr32 = {0, 0, 0, 0}}}, ip4 = {s_addr = 0}}},
remote_ip = {family = 0, u = {ip6 = {__in6_u = {
__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 =
{0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, ip4 = {
s_addr = 0}}}, local_port = 0, remote_port = 0,
userdb_fields = 0x0, flags_override_add = (unknown: 0),
flags_override_remove = (unknown: 0), no_userdb_lookup = 0}
user_idx = 0
user = 0xb7eda890 "test1 at local.lan"
error = 0x10 <Address 0x10 out of bounds>
#5 doveadm_mail_cmd (argv=0xb7ed51e4, argc=-1209183772, cmd=0xbf8528dc)
at doveadm-mail.c:523
ctx = 0xb7ed9468
getopt_args = <optimized out>
ret = <optimized out>
c = <optimized out>
wildcard_user = 0x0
error = <optimized out>
#6 doveadm_mail_try_run (cmd_name=cmd_name at entry=0xb7ed51f8 "mailbox",
argc=5, argc at entry=6, argv=argv at entry=0xb7ed51d4) at doveadm-mail.c:608
cmd = 0xbf8528dc
#7 0xb7736903 in main (argc=6, argv=0xb7ed51d4) at doveadm.c:398
cmd_name = 0xb7ed51f8 "mailbox"
i = <optimized out>
quick_init = false
c = <optimized out>
More information about the dovecot
mailing list