Segmentation fault with doveadm search
Aki Tuomi
aki.tuomi at dovecot.fi
Wed Aug 30 09:17:15 EEST 2017
On 30.08.2017 09:13, Stefán Tamás wrote:
> Hi,
>
> We have a Ubuntu 14.04 server with dovecot 2.2.9
>
> If I try to run
>
> /usr/bin/doveadm search -u email at exmaple.com mailbox Junk savedbefore 30d
>
> It will dump a core file.
>
> We have a similar config on an other server and there is no problem there.
>
> Any ideas how to prevent the core dump?
>
> root at triws2:~# gdb --args doveadm search -u email at example.com mailbox Junk savedbefore 30d
>
> Reading symbols from doveadm...Reading symbols from /usr/lib/debug//usr/bin/doveadm...done.
> done.
> (gdb) run
> Starting program: /usr/bin/doveadm search -u email at example.com mailbox Junk savedbefore 30d
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000000000000 in ?? ()
> (gdb) where
> #0 0x0000000000000000 in ?? ()
> #1 0x00007ffff76ef1b5 in mailbox_get_metadata (box=box at entry=0x5555557e1c70,
> items=items at entry=MAILBOX_METADATA_GUID,
> metadata_r=metadata_r at entry=0x7fffffffe2f0) at mail-storage.c:1544
> #2 0x0000555555570918 in cmd_search_box (info=<optimized out>,
> ctx=0x5555557c8230) at doveadm-mail-search.c:28
> #3 cmd_search_run (ctx=0x5555557c8230, user=<optimized out>)
> at doveadm-mail-search.c:58
> #4 0x0000555555569b5b in doveadm_mail_next_user (ctx=0x5555557c8230,
> input=<optimized out>, error_r=0x7fffffffe3f8) at doveadm-mail.c:314
> #5 0x000055555556a8ac in doveadm_mail_cmd (argv=0x5555557c33b0, argc=7,
> cmd=0x5555557c7408) at doveadm-mail.c:525
> #6 doveadm_mail_try_run (cmd_name=<optimized out>, argc=7,
> argv=0x5555557c3398) at doveadm-mail.c:617
> #7 0x00005555555696d4 in main (argc=7, argv=0x5555557c3398) at doveadm.c:398
>
>
> Üdvözlettel
>
> Stefán Tamás
> --------------------------------- domain > email > web >>> siker
> Numex Informatika Kft.
> Mobil: +36 20 956 0233, Tel: +36 1 205 3915
> http://numex.hu
Hi!
Can you do
p *box
Aki
More information about the dovecot
mailing list