paul/dbmail? it is still buggy
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1216903488 (LWP 16035)]
0xb7b627a9 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0 0xb7b627a9 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#1 0x08054d60 in _ic_uid (self=0x80ae430) at imapcommands.c:2009
No locals.
#2 0x0804f26a in imap_handle_input (session=0x80ae430) at imap4.c:530
buffer = "4\000uid fetch 1:* (flags\n", '\0' <repeats 65512 times>
l = <value optimized out>
result = <value optimized out>
__func__ = "imap_handle_input"
#3 0xb7ce2455 in event_base_loop () from /usr/lib/libevent-1.1a.so.1
No symbol table info available.
#4 0xb7ce26c5 in event_loop () from /usr/lib/libevent-1.1a.so.1
No symbol table info available.
#5 0xb7ce26e9 in event_dispatch () from /usr/lib/libevent-1.1a.so.1
No symbol table info available.
#6 0xb7c6795b in server_run (conf=0xbfb0fd80) at server.c:632
ip = <value optimized out>
__PRETTY_FUNCTION__ = "server_run"
__func__ = "server_run"
#7 0xb7c68caf in server_mainloop (config=0xbfb0fd80, service=0x805c047
"IMAP", servicename=0x0) at server.c:756
__func__ = "server_mainloop"
#8 0x0805b8d3 in main (argc=0, argv=0x0) at imapd.c:70
config = {no_daemonize = 0, log_verbose = 0, pidFile = 0x80acc38
"/var/run/dbmail/dbmail-imapd.pid", timeout = 4000, login_timeout = 60,
iplist = 0x806bae8, ipcount = 1, listenSockets = 0x8075500,
ssl_listenSockets = 0x0, service_before_smtp = 0, port = 143, ssl_port =
0, ssl = 0,
backlog = 16, resolveIP = 0, service_name = "IMAP", '\0' <repeats 1019
times>, process_name = "dbmail-imapd", '\0' <repeats 1011 times>,
serverUser = "nobody", '\0' <repeats 1017 times>, serverGroup =
"nogroup", '\0' <repeats 1016 times>, socket = '\0' <repeats 1023 times>,
log = "/var/log/dbmail.log", '\0' <repeats 1004 times>, error_log =
"/var/log/dbmail.err", '\0' <repeats 1004 times>,
pid_dir = "/var/run/dbmail", '\0' <repeats 1008 times>, tls_cafile =
'\0' <repeats 1023 times>, tls_cert = '\0' <repeats 1023 times>,
tls_key = '\0' <repeats 1023 times>, tls_ciphers = '\0' <repeats 1023
times>, ClientHandler = 0x804e916 <imap_handle_connection>}
result = 0
__func__ = "main"
Paul J Stevens пишет:
Artem,
Please checkout the latest code. I've fixed an off-by-one error that
would have been responsible for corrupted buffers, which might explain
this behaviour.
Artem Bokhan wrote:
Paul J Stevens пишет:
x login testuser1 test
x select inbox
x uid fetch 1:* (flags)
so I assume there is something else inbetween the login and fetch
commands that is (partially) causing this.
The last command does not have one bracket)
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev