[dovecot2] 'port load dovecot2' breaks imap & pop3

Bjarne D Mathiesen macintosh at mathiesen.info
Tue Feb 21 02:28:30 PST 2012


I took my problem up on the dovecot mailing list.
And was advised to try the following:

>Try attaching gdb into it:
>
>gdb -p <pid of imap session>
>bt full
4604ds1-ynoe:~ root# ps -axj | grep dovecot
root     40655     1 40655 4d84750    0 Ss     ??    0:00.02
/macports/sbin/dovecot -c /macports/etc/dovecot/dovecot.conf
_dovecot 40657 40655 40655 4d84750    0 S      ??    0:00.01 dovecot/anvil
root     40658 40655 40655 4d84750    0 S      ??    0:00.03 dovecot/log
root     40660 40655 40655 4d84750    0 S      ??    0:00.06 dovecot/config
_dovecot 40662 40655 40655 4d84750    0 S      ??    0:00.02 dovecot/auth
root     40663 40655 40655 4d84750    0 S      ??    0:00.03 dovecot/auth -w
5000     40677 40655 40655 4d84750    0 S      ??    0:00.01 dovecot/pop3
5000     40689 40655 40655 4d84750    0 S      ??    0:00.01 dovecot/pop3
5000     40803 40655 40655 4d84750    0 S      ??    0:00.01 dovecot/pop3
root     40618   362 40618 5680af8    1 S+   s001    0:00.01 tail -f
dovecot.log
root     40952   396 40951 4d85d40    2 R+   s003    0:00.00 grep dovecot
4604ds1-ynoe:~ root# gdb -p 40803
GNU gdb 6.3.50-20050815 (Apple version gdb-1518) (Sat Feb 12 02:49:13
UTC 2011)
Copyright 2004 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 "i386-apple-darwin".
/private/var/root/40803: No such file or directory
Attaching to process 40803.
Reading symbols for shared libraries . done
Reading symbols for shared libraries ...... done
0x90003afa in mach_msg_trap ()
(gdb) bt full
#0  0x90003afa in mach_msg_trap ()
No symbol table info available.
#1  0x90004267 in mach_msg ()
No symbol table info available.
#2  0x9001b431 in vproc_mig_look_up2 ()
No symbol table info available.
#3  0x9001b26a in bootstrap_look_up2 ()
No symbol table info available.
#4  0x9001b0e4 in bootstrap_look_up ()
No symbol table info available.
#5  0x9001af30 in notify_register_check ()
No symbol table info available.
#6  0x9001ada7 in notify_register_tz ()
No symbol table info available.
#7  0x9001a621 in tzsetwall_basic ()
No symbol table info available.
#8  0x90041903 in localtime ()
No symbol table info available.
#9  0x0007ba2f in mail_index_update_day_headers ()
No symbol table info available.
#10 0x00077c95 in mail_index_transaction_finish ()
No symbol table info available.
#11 0x0007680a in mail_index_transaction_commit_v ()
No symbol table info available.
#12 0x00076acf in mail_index_transaction_commit_full ()
No symbol table info available.
#13 0x00076b18 in mail_index_transaction_commit ()
No symbol table info available.
#14 0x0007f434 in mail_index_sync_commit ()
No symbol table info available.
#15 0x0004ff02 in maildir_sync_index_finish ()
No symbol table info available.
#16 0x00051376 in maildir_sync_context ()
No symbol table info available.
#17 0x000516f2 in maildir_storage_sync_init ()
No symbol table info available.
#18 0x000125fd in mailbox_sync ()
No symbol table info available.
#19 0x000024ba in client_create ()
No symbol table info available.
#20 0x00001a2a in client_create_from_input ()
No symbol table info available.
#21 0x00001f35 in login_client_connected ()
No symbol table info available.
#22 0x000eb1a8 in master_login_auth_finish ()
No symbol table info available.
#23 0x000eae80 in master_login_auth_callback ()
No symbol table info available.
#24 0x000ebb3a in master_login_auth_input ()
No symbol table info available.
#25 0x001001a7 in io_loop_call_io ()
No symbol table info available.
#26 0x00101492 in io_loop_handler_run ()
No symbol table info available.
#27 0x00100148 in io_loop_run ()
No symbol table info available.
#28 0x000ed25a in master_service_run ()
No symbol table info available.
#29 0x00001df8 in main ()
No symbol table info available.
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from process 40803.
4604ds1-ynoe:~ root#

to which I got the following answer :
From: Timo Sirainen <tss -at- iki.fi>
>> #9  0x0007ba2f in mail_index_update_day_headers ()

> So Dovecot calls localtime() and the process hangs. Something's badly
> broken in your system related to timezone handling, nothing Dovecot
> can do about it..

Can someone advise me as to how I can fix this problem ???

-- 
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3


More information about the macports-dev mailing list