On Sat, 2010-07-10 at 22:20 +0200, Sven Kirmess wrote: > #6 0xfef4414c in fs_list_get_path (_list=0x80a1de0, > name=0x80aa398 <error reading variable>, > type=MAILBOX_LIST_PATH_TYPE_ALT_DIR) at mailbox-list-fs.c:202 > set = 0x80a1e4c > root_dir = 0x80a1ef8 <error reading variable> > __FUNCTION__ = <error reading variable>
I don't think this should be happening.. Did you use Sun Studio to compile it? See what it logs with attached patch.
diff -r fec7013c628b src/lib-storage/list/mailbox-list-fs.c --- a/src/lib-storage/list/mailbox-list-fs.c Sun Jul 11 19:42:48 2010 +0100 +++ b/src/lib-storage/list/mailbox-list-fs.c Sun Jul 11 19:49:09 2010 +0100 @@ -166,6 +166,8 @@ return t_strdup_printf("%s/%s%s", set->alt_dir, set->mailbox_dir_name, name); root_dir = set->alt_dir; + i_warning("alt_dir=%p", root_dir); + i_warning("alt_dir=%s", root_dir); break; case MAILBOX_LIST_PATH_TYPE_MAILBOX: break; @@ -173,6 +175,8 @@ if (set->alt_dir == NULL) return NULL; root_dir = set->alt_dir; + i_warning("alt_dir=%p", root_dir); + i_warning("alt_dir=%s", root_dir); break; case MAILBOX_LIST_PATH_TYPE_CONTROL: if (set->control_dir != NULL)