A NOTE has been added to this issue. ====================================================================== http://dbmail.org/mantis/view.php?id=766 ====================================================================== Reported By: waza123 Assigned To: ====================================================================== Project: DBMail Issue ID: 766 Category: POP3 daemon Reproducibility: have not tried Severity: crash Priority: normal Status: new target: ====================================================================== Date Submitted: 12-Feb-09 15:53 CET Last Modified: 15-Feb-09 01:54 CET ====================================================================== Summary: dbmail-pop3d crash Description: i have 2 crash per week in dbmail-pop3d
here is logs: r...@d:/var/log# cat dbmail.err dbmail-pop3d: authsql.c:138: auth_getencryption: Assertion `user_idnr > 0' failed. dbmail-pop3d: authsql.c:138: auth_getencryption: Assertion `user_idnr > 0' failed. r...@d:/var/log# ====================================================================== ---------------------------------------------------------------------- (0002771) jasb (reporter) - 12-Feb-09 16:02 http://dbmail.org/mantis/view.php?id=766#c2771 ---------------------------------------------------------------------- What version are you using? There's a problem with 2.3.5 that is already fixed on GIT ---------------------------------------------------------------------- (0002772) waza123 (reporter) - 12-Feb-09 16:26 http://dbmail.org/mantis/view.php?id=766#c2772 ---------------------------------------------------------------------- this version http://git.dbmail.eu/paul/dbmail/?p=paul/dbmail;a=commitdiff;h=6bdfea2664dfca5347e5de631be312a152397166 but i now will try to "git pull" to latest. ---------------------------------------------------------------------- (0002773) jasb (reporter) - 12-Feb-09 16:35 http://dbmail.org/mantis/view.php?id=766#c2773 ---------------------------------------------------------------------- Try running dbmail-pop3d in gdb to catch it ---------------------------------------------------------------------- (0002774) waza123 (reporter) - 12-Feb-09 17:03 http://dbmail.org/mantis/view.php?id=766#c2774 ---------------------------------------------------------------------- ok updated to latest with gmime-2.2.23, and started dbmail-pop3d with gdb , will see.. ---------------------------------------------------------------------- (0002776) waza123 (reporter) - 13-Feb-09 16:05 http://dbmail.org/mantis/view.php?id=766#c2776 ---------------------------------------------------------------------- please help me with gdb usage, i can't get "bt ful" or any other info about crash, some thing wrong.. 1. compile dbmail with --with-debug-info (don't know if its correct or its not necessary) 2. i run it all in screen screen -S pop3d gdb dbmail-pop3d run when crash i type: screen -r pop3d bt full No stack. HELP ! i have a lot of crashes dbmail-pop3d! ---------------------------------------------------------------------- (0002777) jasb (reporter) - 13-Feb-09 16:07 http://dbmail.org/mantis/view.php?id=766#c2777 ---------------------------------------------------------------------- It can be something related to screen, i don't use it. see if you can have a machine to leave a session open and do: gdb /usr/local/sbin/dbmail-pop3d run -D "when it crashes" bt ---------------------------------------------------------------------- (0002778) paul (administrator) - 13-Feb-09 17:11 http://dbmail.org/mantis/view.php?id=766#c2778 ---------------------------------------------------------------------- let's move this discussion to the lists plz. ---------------------------------------------------------------------- (0002779) waza123 (reporter) - 15-Feb-09 01:54 http://dbmail.org/mantis/view.php?id=766#c2779 ---------------------------------------------------------------------- Here is crash report: http://dbmail.org/mantis/view.php?id=0 0xb7af6c87 in raise () from /lib/libc.so.6 No symbol table info available. http://dbmail.org/mantis/view.php?id=1 0xb7af84f8 in abort () from /lib/libc.so.6 No symbol table info available. http://dbmail.org/mantis/view.php?id=2 0xb7af030c in __assert_fail () from /lib/libc.so.6 No symbol table info available. http://dbmail.org/mantis/view.php?id=3 0xb799041f in auth_getencryption (user_idnr=0) at authsql.c:138 Exception_flag = <value optimized out> Exception_frame = {line = 0, env = {{__jmpbuf = {65, -1080654588, -1212980031, -1212988399, 135056952, -1212104368}, __mask_was_saved = 842086644, __saved_mask = {__val = {892560738, 3086633220, 104, 0, 3081978897, 16, 3081981233, 3082767452, 112, 3082862936, 3082862928, 842086536, 942761314, 40, 3081978897, 3082767452, 3082862936, 3082862936, 3081981233, 135056888, 60, 13, 40, 3082858484, 135354104, 89, 3081978897, 3214312875, 0, 3082862848, 3082862928, 3082858484}}}}, func = 0x31313b70 <Address 0x31313b70 out of bounds>, file = 0x49 <Address 0x49 out of bounds>, exception = 0x28, prev = 0xe0, message = "x\000\000\000юL©Ї\000\000\000\000\002\000\000\000h\000\000\000Т╞юЇ \000\000\000\220\000\000\000(\000\000\000Т╞юЇ\000W\021\b аюЇэ\205\226©H\203ЁЇ аюЇ\000W\021\bЬ\235\017\bТ╞юЇ аюЇ\000\236\017\bэ\205\226©П\200ЁЇ аюЇ\000\236\017\bТ╞юЇ аюЇ$\000\000\000Ь\235\017\b~kЁЇ аюЇ$\000\000\000Т╞юЇ#\000\000\000$\000\000\000╗\206\226©\032╩╡Ї\000\236\017\b\000\236\017\b#\000\000\000\000\236\017\b\000\000\000\000#\000\000\000\000\200ґШ\000\236\017\b\000\236\017\b\000\236\017\b\000\236\017\b#\236\017\bd\236\017\b\000\236\017\b"...} res = <value optimized out> c = <value optimized out> r = <value optimized out> __PRETTY_FUNCTION__ = "auth_getencryption" __func__ = "auth_getencryption" http://dbmail.org/mantis/view.php?id=4 0xb7f95374 in auth_getencryption (user_idnr=0) at authmodule.c:144 No locals. http://dbmail.org/mantis/view.php?id=5 0x0804ab7d in pop3 (session=0x80f5300, buffer=0xbf968810 "APOP") at pop3.c:753 __a1 = <value optimized out> __a2 = <value optimized out> value = 0xbf968815 "26810427" searchptr = <value optimized out> enctype = <value optimized out> cmdtype = <value optimized out> found = <value optimized out> validate_result = <value optimized out> http://dbmail.org/mantis/view.php?id=4 0xb7f95374 in auth_getencryption (user_idnr=0) at authmodule.c:144 No locals. http://dbmail.org/mantis/view.php?id=5 0x0804ab7d in pop3 (session=0x80f5300, buffer=0xbf968810 "APOP") at pop3.c:753 __a1 = <value optimized out> __a2 = <value optimized out> value = 0xbf968815 "26810427" searchptr = <value optimized out> enctype = <value optimized out> cmdtype = <value optimized out> found = <value optimized out> validate_result = <value optimized out> result = <value optimized out> top_lines = <value optimized out> top_messageid = <value optimized out> user_idnr = 0 msg = <value optimized out> ci = (clientbase_t *) 0x812beb8 client_ip = 0x812bee8 "83.99.194.89" __func__ = "pop3" http://dbmail.org/mantis/view.php?id=6 0x0804b41d in pop3_cb_read (arg=0x80f5300) at pop3.c:258 l = <value optimized out> buffer = "APOP\00026810427\00058b6a2c2e3cd92cd1c1a498a9d8929d1", '\0' <repeats 65489 times> session = (ClientSession_t *) 0x80f5300 __func__ = "pop3_cb_read" http://dbmail.org/mantis/view.php?id=7 0xb7f93ad7 in socket_read_cb (fd=17, what=2, arg=0x80f5300) at clientsession.c:130 __func__ = "socket_read_cb" http://dbmail.org/mantis/view.php?id=8 0xb7d88467 in event_base_loop (base=0x808e510, flags=0) at event.c:387 evsel = (const struct eventop *) 0xb7d98430 evbase = (void *) 0x808e0e0 tv = {tv_sec = 59, tv_usec = 998989} tv_p = <value optimized out> res = <value optimized out> http://dbmail.org/mantis/view.php?id=9 0xb7d88775 in event_loop (flags=0) at event.c:463 No locals. http://dbmail.org/mantis/view.php?id=10 0xb7d8879a in event_dispatch () at event.c:401 No locals. http://dbmail.org/mantis/view.php?id=11 0xb7f92db5 in server_run (conf=0xbf9789d8) at server.c:632 ip = 134827504 __PRETTY_FUNCTION__ = "server_run" __func__ = "server_run" http://dbmail.org/mantis/view.php?id=12 0xb7f937af in server_mainloop (config=0xbf9789d8, service=0x804b8d7 "POP", servicename=0x804c180 "dbmail-pop3d") at server.c:756 __func__ = "server_mainloop" http://dbmail.org/mantis/view.php?id=13 0x0804b509 in main (argc=2, argv=Cannot access memory at address 0x782d ) at pop3d.c:58 config = {no_daemonize = 2, log_verbose = 0, pidFile = 0x8094df0 "/var/run/dbmail-pop3d.pid", timeout = 300, login_timeout = 60, iplist = 0x805a2d0, ipcount = 1, listenSockets = 0x8064c50, ssl_listenSockets = 0x0, result = <value optimized out> top_lines = <value optimized out> top_messageid = <value optimized out> user_idnr = 0 msg = <value optimized out> ci = (clientbase_t *) 0x812beb8 client_ip = 0x812bee8 "83.99.194.89" __func__ = "pop3" http://dbmail.org/mantis/view.php?id=6 0x0804b41d in pop3_cb_read (arg=0x80f5300) at pop3.c:258 l = <value optimized out> buffer = "APOP\00026810427\00058b6a2c2e3cd92cd1c1a498a9d8929d1", '\0' <repeats 65489 times> session = (ClientSession_t *) 0x80f5300 __func__ = "pop3_cb_read" http://dbmail.org/mantis/view.php?id=7 0xb7f93ad7 in socket_read_cb (fd=17, what=2, arg=0x80f5300) at clientsession.c:130 __func__ = "socket_read_cb" http://dbmail.org/mantis/view.php?id=8 0xb7d88467 in event_base_loop (base=0x808e510, flags=0) at event.c:387 evsel = (const struct eventop *) 0xb7d98430 evbase = (void *) 0x808e0e0 tv = {tv_sec = 59, tv_usec = 998989} tv_p = <value optimized out> res = <value optimized out> http://dbmail.org/mantis/view.php?id=9 0xb7d88775 in event_loop (flags=0) at event.c:463 No locals. http://dbmail.org/mantis/view.php?id=10 0xb7d8879a in event_dispatch () at event.c:401 No locals. http://dbmail.org/mantis/view.php?id=11 0xb7f92db5 in server_run (conf=0xbf9789d8) at server.c:632 ip = 134827504 __PRETTY_FUNCTION__ = "server_run" __func__ = "server_run" http://dbmail.org/mantis/view.php?id=12 0xb7f937af in server_mainloop (config=0xbf9789d8, service=0x804b8d7 "POP", servicename=0x804c180 "dbmail-pop3d") at server.c:756 __func__ = "server_mainloop" http://dbmail.org/mantis/view.php?id=13 0x0804b509 in main (argc=2, argv=Cannot access memory at address 0x782d ) at pop3d.c:58 config = {no_daemonize = 2, log_verbose = 0, pidFile = 0x8094df0 "/var/run/dbmail-pop3d.pid", timeout = 300, login_timeout = 60, iplist = 0x805a2d0, ipcount = 1, listenSockets = 0x8064c50, ssl_listenSockets = 0x0, ---Type <return> to continue, or q <return> to quit--- service_before_smtp = 1, port = 110, ssl_port = 0, ssl = 0, backlog = 16, resolveIP = 0, service_name = "POP", '\0' <repeats 1020 times>, process_name = "dbmail-pop3d", '\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", '\0' <repeats 1015 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 = 0x804b0c0 <pop3_handle_connection>} result = 0 __func__ = "main" Issue History Date Modified Username Field Change ====================================================================== 12-Feb-09 15:53 waza123 New Issue 12-Feb-09 15:57 jasb Issue Monitored: jasb 12-Feb-09 16:02 jasb Note Added: 0002771 12-Feb-09 16:26 waza123 Note Added: 0002772 12-Feb-09 16:35 jasb Note Added: 0002773 12-Feb-09 17:03 waza123 Note Added: 0002774 13-Feb-09 16:05 waza123 Note Added: 0002776 13-Feb-09 16:07 jasb Note Added: 0002777 13-Feb-09 17:11 paul Note Added: 0002778 15-Feb-09 01:54 waza123 Note Added: 0002779 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://twister.fastxs.net/mailman/listinfo/dbmail-dev