Displaying 18 results from an estimated 18 matches for "main_init".
2016 Jul 02
5
kqueue crash on FreeBSD with 2.2.25
...9 0x281813a6 in io_add (fd=56, condition=IO_READ, source_linenum=244, callback=0x2818a7d0 <signal_read>, context=0x0) at ioloop.c:81
#10 0x2818a666 in lib_signals_set_handler (signo=1, flags=3, handler=0x804e6c0 <sig_settings_reload>, context=0x0) at lib-signals.c:243
#11 0x0804e129 in main_init (set=0x2881d098) at main.c:518
#12 0x0804d562 in main (argc=3, argv=0xffffae08) at main.c:890
(gdb) bt full
#0 0x28295237 in thr_kill () from /lib/libc.so.7
No symbol table info available.
#1 0x2829522a in raise () from /lib/libc.so.7
No symbol table info available.
#2 0x28295176 in abort () f...
2018 Dec 04
3
Dovecot 2.3.4 crash
...3: auth_passdb_init.isra.8 (auth.c:306)
Dec 4 12:09:40 dovecot: auth-worker: Error: ==3071== by 0x119AFC: auth_init (auth.c:320)
Dec 4 12:09:40 dovecot: auth-worker: Error: ==3071== by 0x119AFC: auths_init (auth.c:425)
Dec 4 12:09:40 dovecot: auth-worker: Error: ==3071== by 0x118786: main_init (main.c:245)
Dec 4 12:09:40 dovecot: auth-worker: Error: ==3071== by 0x118786: main (main.c:394)
Dec 4 12:09:40 dovecot: auth-worker: Error: ==3071==
Dec 4 12:09:40 dovecot: auth-worker: Error: ==3071== Invalid read of size 8
Dec 4 12:09:40 dovecot: auth-worker: Error: ==3074== Invalid r...
2016 Jul 27
2
Dovecot v2.2.25 crashed on startup in Mac OSX
...ylib 0x00000001000fb5f1 io_add_file
+ 385
-> 8 libdovecot.0.dylib 0x00000001000fb456 io_add + 118
-> 9 libdovecot.0.dylib 0x0000000100102b83
lib_signals_set_handler + 355
-> 10 dovecot 0x0000000100027070 main_init +
112
-> 11 dovecot 0x0000000100026628 main + 2024
-> 12 libdyld.dylib 0x00007fff889ac5ad start + 1
It looks similar to this report:
http://article.gmane.org/gmane.mail.imap.dovecot/86319/match=panic+kevent
HomeBrew installed 2.2.24,...
2009 Jul 25
1
dovecot-1.2 changeset: 9238:1eb00fd62d1c causes a compiler warning
Hi Timo,
gcc tells me:
main.c: In function ?main_init?:
main.c:182: warning: suggest parentheses around comparison in operand of &
src/imap/main.c:182: if (username == NULL & IS_STANDALONE())
Regards,
Pascal
--
The trapper recommends today: cafebabe.0920623 at localdomain.org
2018 Dec 03
3
Dovecot 2.3.4 crash
On 2 Dec 2018, at 22.22, Guillaume via dovecot <dovecot at dovecot.org> wrote:
>
> I also have this kind of segfault since the update :
>
> Dec 2 21:12:11 xxxxxxx dovecot: auth-worker: Error: *** Error in `dovecot/auth': double free or corruption (fasttop): 0x000055573bb99f70
Is this easy to reproduce? Can you try with valgrind? It will slow down the logins a bit though.
2016 Jul 04
3
kqueue crash on FreeBSD with 2.2.25
...add (fd=56, condition=IO_READ, source_linenum=244, callback=0x2818a7d0 <signal_read>, context=0x0) at ioloop.c:81
> > #10 0x2818a666 in lib_signals_set_handler (signo=1, flags=3, handler=0x804e6c0 <sig_settings_reload>, context=0x0) at lib-signals.c:243
> > #11 0x0804e129 in main_init (set=0x2881d098) at main.c:518
> > #12 0x0804d562 in main (argc=3, argv=0xffffae08) at main.c:890
>
> Weird. I haven't touched anything even close to that. Also kqueue works on my OSX. The only thing that comes to my mind is https://github.com/dovecot/core/commit/fde7b8a03bf91cfa5b...
2016 Jul 01
2
kqueue crash on FreeBSD with 2.2.25
Hi,
2.2.25 crashes on FreeBSD with a kqueue-related message. I see references to something similar (http://www.dovecot.org/list/dovecot/2012-February.txt) from a couple years ago.
I get:
Jul 1 10:07:27 imap dovecot: master: Panic: kevent(EV_ADD, READ, 54) failed: Bad file descriptor
It's not dumping core, and I get the message even with "protocols ="
Downgrading back to 2.2.24
2003 Jul 16
2
Dovecot on Linux 2.6.0-test1-ac1
Hi all
For various reasons I was looking into 2.6, so I installed a copy on my
desktop. Everything works fine, except for dovecot - errors such as this
appeared in the syslog:
Jul 15 14:41:09 typhaon dovecot: Dovecot starting up
Jul 15 14:41:12 typhaon imap-login: setuid(113) failed: Resource
temporarily unavailable
Jul 15 14:41:12 typhaon dovecot: Login process died too early - shutting
down
I
2012 Aug 13
2
[PATCH] Replace hard-coded PKG_STATEDIR with state_dir setting
...}
static void replicator_dump_timeout(void *context ATTR_UNUSED)
{
- (void)replicator_queue_export(queue, REPLICATOR_DB_PATH);
+ const char *db_path;
+
+ db_path = t_strconcat(set->state_dir, "replicator.db", NULL);
+ (void)replicator_queue_export(queue, db_path);
}
static void main_init(void)
@@ -77,10 +80,13 @@
static void main_deinit(void)
{
+ const char *db_path;
+
notify_connections_destroy_all();
replicator_brain_deinit(&brain);
timeout_remove(&to_dump);
- (void)replicator_queue_export(queue, REPLICATOR_DB_PATH);
+ db_path = t_strconcat(set->state_dir, &q...
2009 Mar 24
2
Dbox Upgrade Problem With MAILBOXDIR
...-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 purposelessnessnesslessnes...
2010 Apr 14
1
version 1.2.11 creating symlink loop for config file
What is the following at the end of "main_init" in dovecot 1.2.11
(src/master/main.c) intended to accomplish?
base_config_path = t_strconcat(settings_root->defaults->base_dir,
"/"PACKAGE".conf", NULL);
(void)unlink(base_config_path);
if (symlink(confi...
2010 Sep 19
1
linking problems of dovecot 2.0.3
...cot-2.0.3/src/login-common/main.c:338:
more undefined references to `login_binary' follow
./.libs/liblogin.a(main.o): In function `main':
/tmp/dovecot/BUILD/dovecot-2.0.3/src/login-common/main.c:358:
undefined reference to `login_process_preinit'
./.libs/liblogin.a(main.o): In function `main_init':
/tmp/dovecot/BUILD/dovecot-2.0.3/src/login-common/main.c:308:
undefined reference to `clients_init'
./.libs/liblogin.a(main.o): In function `main_deinit':
/tmp/dovecot/BUILD/dovecot-2.0.3/src/login-common/main.c:317:
undefined reference to `clients_deinit'
./.libs/liblogin.a(sasl-...
2004 Jun 18
3
1.0-test17
http://dovecot.org/test/
Just mbox fixes since 1.0-test16. The logic is simpler and more correct
now. Can anyone break it anymore? I actually tested it a while with
Evolution and several mailboxes and it didn't break at least
immediately. :)
Now maybe a few more days and I dare trying this thing myself with my
real mboxes (yes, I'm still using them).
Dovecot mailing list archives could
2004 Sep 29
2
UIDL bug
I noticed a problem with handling UIDL msgnumber in test46.
If you do "UIDL 1" on a POP3 connection it returns the UID of the message
followed by a dot and an error message. I made 2 changes:
I added the following line to line 527 of src/pop3/commands.c
ctx->message = message;
I changed line 559 from:
if (list_uids_iter(client, ctx))
to:
if (!list_uids_iter(client, ctx))
2003 Apr 16
1
pop3 coredump
....c:264
#2 0x804b8e0 in maildir_open (storage=0x808f000, name=0x807660e "INBOX",
readonly=0, fast=0) at maildir-storage.c:239
#3 0x804ba20 in maildir_open_mailbox (storage=0x808f000,
name=0x80765b1 "INBOX", readonly=0, fast=0) at maildir-storage.c:288
#4 0x804b1c7 in main_init () at main.c:98
#5 0x804b269 in main (argc=1, argv=0x8047d3c, envp=0x8047d44) at main.c:132
#6 0x8049cae in __start ()
(gdb) up 1
#1 0x8053439 in index_storage_init (storage=0x808f000, box=0x8080658,
index=0x808c200, name=0x807660e "INBOX", readonly=0, fast=0)
at index-storage...
2019 Jan 10
2
auth core dump
2003 Nov 04
0
PATCH: make local IP address available to auth modules
The attached patch makes the local IP address to which the client
connected available to the authentication modules; i.e., the local IP
address is available for substitution as %i for the mysql and pgsql
modules. We needed this feature to support thousands of our legacy
accounts which are authenticated by username/local_part (not the full
email address) and IP address (one per domain).
Timo,
2005 Dec 31
4
invalid mbox files
Hello!
I recently upgraded from dovecot 0.9x to 1.0.5-Aplha and now when ever folders are opened (in IMAP), it keeps saying invalid mbox files. It worked fine in 0.99.x. It is detecting the right mbox files because it lists the folders and the subscriptions correctly. I am using "default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u" in the config file, but I get the same error with