I have encountered an odd bug the last few weeks where authdaemond causes segfaults in libc. I'll post the log at the end of the message.
I am using Gentoo with: mail-mta/courier-0.71 net-libs/courier-authlib-0.65.0-r3 sys-libs/glibc-2.18-r1 (I have tried with default 2.17 with same segfault error) sys-devel/gcc-4.8.2 (CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native -msse3") It seems as "now and then" something happens to cause the mailserver and/or authdaemond to restart over and over and cause segfaults as you can see from the logs below. I rebooted the server 2 days ago and I had no more segfaults since 9am on 25th. I have seen these errors before, and they seem to group or come in spurts like this. What can I do to debug this and find the root cause? I have tried to reinstall/recompile the entire system (emerge -e world) and no errors were discovered. Seems like the IP (89.248.172.46) trying to connect unsuccessfully is part of the same block as a spam/hacking network: http://www.ipillion.com/ip/89.248.172.172 Could the IP be behind some odd communication towards the server, causing authdaemond to crash? Does not seem good at all if it is the case. ~A ############################### ## dmesg: complete log: http://pastebin.com/ZAwq0Y4U ############################### [Feb25 03:12] authdaemond[2456]: segfault at 0 ip 00007f7af8a20084 sp 00007fff503eca98 error 4 in libc-2.18.so[7f7af88fb000+19d000] [ +16.189321] authdaemond[23534]: segfault at 0 ip 00007f7af8a20084 sp ############################### ## mail.log: one hour of maillog: http://pastebin.com/dyeTJzww ############################### Feb 25 03:10:12 e350 courieresmtpd: started,ip=[::ffff:89.248.172.46] Feb 25 03:10:12 e350 courieresmtpd: started,ip=[::ffff:89.248.172.46] Feb 25 03:10:13 e350 courieresmtpd: error,relay=::ffff:89.248.172.46,msg="535 Authentication failed.",cmd: AUTH Feb 25 03:10:21 e350 courieresmtpd: error,relay=::ffff:89.248.172.46,msg="535 Authentication failed.",cmd: AUTH Feb 25 03:10:21 e350 authdaemond: stopping authdaemond children Feb 25 03:10:21 e350 authdaemond: restarting authdaemond children Feb 25 03:10:21 e350 authdaemond: modules="authmysql authuserdb authpwd authshadow authcustom authpipe", daemons=5 Feb 25 03:10:21 e350 authdaemond: Uninstalling authmysql Feb 25 03:10:21 e350 authdaemond: Uninstalling authuserdb Feb 25 03:10:21 e350 authdaemond: Uninstalling authpwd Feb 25 03:10:21 e350 authdaemond: Uninstalling authshadow Feb 25 03:10:21 e350 authdaemond: Uninstalling authcustom Feb 25 03:10:21 e350 authdaemond: Uninstalling authpipe Feb 25 03:10:21 e350 authdaemond: Installing libauthmysql Feb 25 03:10:21 e350 authdaemond: Installation complete: authmysql Feb 25 03:10:21 e350 authdaemond: Installing libauthuserdb Feb 25 03:10:21 e350 authdaemond: Installation complete: authuserdb Feb 25 03:10:21 e350 authdaemond: Installing libauthpwd Feb 25 03:10:21 e350 authdaemond: Installation complete: authpwd Feb 25 03:10:21 e350 authdaemond: Installing libauthshadow Feb 25 03:10:21 e350 authdaemond: Installation complete: authshadow Feb 25 03:10:21 e350 authdaemond: Installing libauthcustom Feb 25 03:10:21 e350 authdaemond: Installation complete: authcustom Feb 25 03:10:21 e350 authdaemond: Installing libauthpipe Feb 25 03:10:21 e350 authdaemond: Installation complete: authpipe Feb 25 03:10:37 e350 courieresmtpd: error,relay=::ffff:89.248.172.46,msg="535 Authentication failed.",cmd: AUTH Feb 25 03:10:37 e350 authdaemond: stopping authdaemond children Feb 25 03:10:37 e350 authdaemond: restarting authdaemond children Feb 25 03:10:37 e350 authdaemond: modules="authmysql authuserdb authpwd authshadow authcustom authpipe", daemons=5 Feb 25 03:10:37 e350 authdaemond: Uninstalling authmysql Feb 25 03:10:37 e350 authdaemond: Uninstalling authuserdb Feb 25 03:10:37 e350 authdaemond: Uninstalling authpwd Feb 25 03:10:37 e350 authdaemond: Uninstalling authshadow Feb 25 03:10:37 e350 authdaemond: Uninstalling authcustom Feb 25 03:10:37 e350 authdaemond: Uninstalling authpipe Feb 25 03:10:37 e350 authdaemond: Installing libauthmysql Feb 25 03:10:37 e350 authdaemond: Installation complete: authmysql Feb 25 03:10:37 e350 authdaemond: Installing libauthuserdb Feb 25 03:10:37 e350 authdaemond: Installation complete: authuserdb Feb 25 03:10:37 e350 authdaemond: Installing libauthpwd Feb 25 03:10:37 e350 authdaemond: Installation complete: authpwd Feb 25 03:10:37 e350 authdaemond: Installing libauthshadow Feb 25 03:10:37 e350 authdaemond: Installation complete: authshadow Feb 25 03:10:37 e350 authdaemond: Installing libauthcustom Feb 25 03:10:37 e350 authdaemond: Installation complete: authcustom Feb 25 03:10:37 e350 authdaemond: Installing libauthpipe Feb 25 03:10:37 e350 authdaemond: Installation complete: authpipe Feb 25 03:11:09 e350 courieresmtpd: error,relay=::ffff:89.248.172.46,msg="535 Authentication failed.",cmd: AUTH Feb 25 03:11:09 e350 authdaemond: stopping authdaemond children Feb 25 03:11:09 e350 authdaemond: restarting authdaemond children Feb 25 03:11:09 e350 authdaemond: modules="authmysql authuserdb authpwd authshadow authcustom authpipe", daemons=5 Feb 25 03:11:09 e350 authdaemond: Uninstalling authmysql Feb 25 03:11:09 e350 authdaemond: Uninstalling authuserdb Feb 25 03:11:09 e350 authdaemond: Uninstalling authpwd Feb 25 03:11:09 e350 authdaemond: Uninstalling authshadow Feb 25 03:11:09 e350 authdaemond: Uninstalling authcustom Feb 25 03:11:09 e350 authdaemond: Uninstalling authpipe Feb 25 03:11:09 e350 authdaemond: Installing libauthmysql Feb 25 03:11:09 e350 authdaemond: Installation complete: authmysql Feb 25 03:11:09 e350 authdaemond: Installing libauthuserdb Feb 25 03:11:09 e350 authdaemond: Installation complete: authuserdb Feb 25 03:11:09 e350 authdaemond: Installing libauthpwd Feb 25 03:11:09 e350 authdaemond: Installation complete: authpwd Feb 25 03:11:09 e350 authdaemond: Installing libauthshadow Feb 25 03:11:09 e350 authdaemond: Installation complete: authshadow Feb 25 03:11:09 e350 authdaemond: Installing libauthcustom Feb 25 03:11:09 e350 authdaemond: Installation complete: authcustom Feb 25 03:11:09 e350 authdaemond: Installing libauthpipe Feb 25 03:11:09 e350 authdaemond: Installation complete: authpipe ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
