[Dovecot] Segmentation Fault in doveadm move under Solaris 10

Jürgen Obermann Juergen.Obermann at hrz.uni-giessen.de
Wed Apr 27 17:53:44 EEST 2011


Quoting Timo Sirainen <tss at iki.fi>:

> On 27.4.2011, at 17.03, Jürgen Obermann wrote:
>
>> # doveadm -v -f flow move -u g033 test-aus mailbox test-ein all
>> Segmentation Fault
>
> Can you get gdb backtrace?
>
> gdb --args doveadm -v ...
> run
> bt full
>
> Or if that doesn't produce valid output:
>
> ulimit -c unlimited
> doveadm -v ...
> gdb doveadm core
> bt full
>
> If you don't have gdb, I guess dbx backtrace works too, but I'm not  
> entirely sure how that thing works.
>

I compiled with Suns Studio compiler so there are no symbols, but I  
hope this helps a bit anyway:

# gdb --args doveadm -v -f flow move -u g033 test-aus mailbox test-ein all
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
(gdb) run
Starting program: /usr/local/etc/doveadm -v -f flow move -u g033  
test-aus mailbox test-ein all

Program received signal SIGSEGV, Segmentation fault.
0xfee32370 in strlen () from /lib/libc.so.1
(gdb) bt full
#0  0xfee32370 in strlen () from /lib/libc.so.1
No symbol table info available.
#1  0xff29a9a8 in mail_generate_guid_128_hash () from  
/opt/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#2  0xff2c2088 in index_mail_expunge () from  
/opt/local/lib/dovecot/libdovecot-storage.so.0
No symbol table info available.
#3  0x0001af1c in cmd_move_run ()
No symbol table info available.
#4  0x00016778 in doveadm_mail_next_user ()
No symbol table info available.
#5  0x00016844 in doveadm_mail_single_user ()
No symbol table info available.
#6  0x00016c5c in doveadm_mail_cmd ()
No symbol table info available.
#7  0x000172b4 in doveadm_mail_try_run ()
No symbol table info available.
#8  0x0001db28 in main ()
No symbol table info available.
(gdb) quit
The program is running.  Exit anyway? (y or n) y

-- 
Hochschulrechenzentrum der | Mail: Juergen.Obermann at hrz.uni-giessen.de
Justus-Liebig-Universitaet | WWW:  http://www.uni-giessen.de/obermann/
Heinrich-Buff-Ring 44      | Tel:  0641-99-13054 (0641-99-13001)
D-35392 Giessen, Germany   | Fax:  0641-99-13009



More information about the dovecot mailing list