[Dovecot] Dbox Upgrade Problem With MAILBOXDIR

Alan Swanson swanson at ukfsn.org
Wed Mar 25 00:49:18 EET 2009


Hi.

Trying to upgrade from Dovecot 1.1.11 to 1.1.13 but having a problem
with imap process segfaulting. Backtrace is below. I presume it's
related to these MAILBOXDIR changes but the only documentation is the
single line in the news for changing to ":MAILBOXDIR=mailboxes" when
using dbox.

Current configuration is "mail_location = dbox:~/Mail" so what exactly
should be changed here?

(gdb) bt full
#0  0x08093546 in dbox_get_list_settings (list_set=0xafe33244, 
    data=0xafe34e33 "/home/USER/Mail", 
    flags=MAIL_STORAGE_FLAG_NO_AUTODETECTION, layout_r=0xafe331e0, 
    alt_dir_r=0xafe331dc, error_r=0xafe33304) at dbox-storage.c:76
	subs_fname = 0x810fd7c "subscriptions"
	debug = false
#1  0x08093615 in dbox_create (_storage=0x9405d08, 
    data=0xafe34e33 "/home/USER/Mail", error_r=0xafe33304)
    at dbox-storage.c:103
	storage = (struct dbox_storage *) 0x9405d08
	list_set = {root_dir = 0x93fc038 "/home/USER/Mail", 
  index_dir = 0x0, control_dir = 0x0, inbox_path = 0x0, 
  subscription_fname = 0x810fd7c "subscriptions", 
  maildir_name = 0x810fd8d "dbox-Mails", mailbox_dir_name = 0x0, 
  mail_storage_flags = 0x0, lock_method = 0x0}
	st = {st_dev = 12674028786447048160, __pad1 = 61096, 
  __st_ino = 155213040, st_mode = 135297936, st_nlink = 2950902296, 
  st_uid = 135192819, st_gid = 155213040, st_rdev = 0, __pad2 = 20, 
  st_size = -6340927589388910560, st_blksize = -1344064952, 
  st_blocks = 666635824201130632, st_atim = {tv_sec = 20, 
    tv_nsec = -1344064952}, st_mtim = {tv_sec = 135387904, tv_nsec =
1}, 
  st_ctim = {tv_sec = 1, tv_nsec = 155213040}, st_ino = 34514951600}
	layout = 0x810fd8a "fs"
	alt_dir = 0x0
#2  0x080b1f12 in mail_storage_create (ns=0x9405900, driver=0x93fc030
"dbox", 
    data=0xafe34e33 "/home/USER/Mail", user=0xafe34830 "USER", 
    flags=MAIL_STORAGE_FLAG_NO_AUTODETECTION, 
    lock_method=FILE_LOCK_METHOD_FCNTL, error_r=0xafe33304)
    at mail-storage.c:224
	storage_class = (struct mail_storage *) 0x8128be0
	storage = (struct mail_storage *) 0x9405d08
	classes = (struct mail_storage * const *) 0xafe332a0
	home = 0xa8007ff4 "|�\024"
	value = 0x2 <Address 0x2 out of bounds>
	i = 0
	count = 1
#3  0x080b0815 in mail_namespaces_init (pool=0x94058e8, 
    user=0xafe34830 "USER", namespaces_r=0xafe33360) at
mail-namespace.c:230
	namespaces = (struct mail_namespace *) 0x0
	ns = (struct mail_namespace *) 0x9405900
	ns_p = (struct mail_namespace **) 0xafe33310
	flags = 0
	lock_method = FILE_LOCK_METHOD_FCNTL
	mail = 0xafe34e2e "dbox:/home/USER/Mail"
	data = 0x0
	error = 0x0
	i = 1
#4  0x0806c373 in main_init () at main.c:238
	client = (struct client *) 0x0
	ns = (struct mail_namespace *) 0x49c953ed
	user = 0xafe34830 "USER"
	str = 0x0
#5  0x0806c59a in main (argc=1, argv=0xafe33434, envp=0xafe3343c) at
main.c:296
No locals.
(gdb) 

-- 
Alan.

"One must never be purposelessnessnesslessness."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090324/8022e0ee/attachment-0001.bin 


More information about the dovecot mailing list