[Dovecot] dsync crash

Vasiliy Shokov v.shokov at rittal.ru
Thu Sep 16 20:40:10 EEST 2010


> Could you check with gdb what the invalid name is?
>
>> dsync(v.shokov): Panic: file mailbox-list-fs.c: line 150
>> (fs_list_get_path): assertion failed:
>> (mailbox_list_is_valid_pattern(_list, name))
>
> So probably something like:
>
> ulimit -c unlimited
> dsync ...
> gdb dsync core
> bt full

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /usr/lib/dovecot/libdovecot-storage.so.0...(no
debugging symbols found)...done.
Loaded symbols for /usr/lib/dovecot/libdovecot-storage.so.0
Reading symbols from /usr/lib/dovecot/libdovecot.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/dovecot/libdovecot.so.0
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libpthread.so.0...(no debugging symbols
found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libgcc_s.so.1
(no debugging symbols found)
Core was generated by `dsync -Dv -u v.shokov mirror sdbox:/dsync/v.shokov'.
Program terminated with signal 6, Aborted.
#0  0x00126402 in __kernel_vsyscall ()
(gdb) bt all
No symbol table is loaded.  Use the "file" command.
(gdb) bt full
#0  0x00126402 in __kernel_vsyscall ()
No symbol table info available.
#1  0x002fbfc0 in raise () from /lib/libc.so.6
No symbol table info available.
#2  0x002fd8d1 in abort () from /lib/libc.so.6
No symbol table info available.
#3  0x00224aff in ?? () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#4  0x00224be5 in default_fatal_handler () from
/usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#5  0x00224178 in i_panic () from /usr/lib/dovecot/libdovecot.so.0
No symbol table info available.
#6  0x00181876 in ?? () from /usr/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#7  0x0014d9bd in mailbox_list_get_path () from
/usr/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#8  0x00182734 in ?? () from /usr/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#9  0x00182272 in fs_list_iter_next () from
/usr/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#10 0x0014da42 in mailbox_list_iter_next () from
/usr/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#11 0x0014ec7f in ?? () from /usr/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#12 0x0014da42 in mailbox_list_iter_next () from
/usr/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#13 0x080580a6 in ?? ()
No symbol table info available.
#14 0x0804ed08 in ?? ()
No symbol table info available.
#15 0x0804e067 in dsync_brain_sync ()
No symbol table info available.
#16 0x0804ef29 in ?? ()
No symbol table info available.
#17 0x0804e016 in dsync_brain_sync ()
No symbol table info available.
#18 0x0804ec08 in dsync_brain_sync_all ()
No symbol table info available.
#19 0x0804d06b in main ()
No symbol table info available.

> fr 6
> p name
> (If it doesn't print the name, try a different number to "fr", it's the
> mailbox_list_is_valid_pattern frame in the bt.)
>

I didn't see this pattern in dump. Sorry, I'm not good in C/C++.


Kind regards,

Vasiliy Shokov


More information about the dovecot mailing list