On Wed, 2 Jan 2013 20:27:46 +0200 Konstantin Belousov <kostik...@gmail.com> wrote:
> On Wed, Jan 02, 2013 at 02:38:34PM +0200, Ion-Mihai Tetcu wrote: > > Hi, > > > > > > I'm seeing shhguard-ipfw sig 10 on start on my machines updated to > > 9-STABLE (eg. FreeBSD 9.1-STABLE #5 r244924: Tue Jan 1 19:45:55 > > EET 2013 :/usr/obj/usr/src/sys/GENERIC amd64 ) while on some > > -PRERELEASE it's running fine. Anyone seeing something similar? > > Recompile libc with the debugging and get the backtrace again. > Hm, here it is: Core was generated by `sshguard'. Program terminated with signal 10, Bus error. Reading symbols from /lib/libthr.so.3...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 getenv (name=0x800b9267b "TZ") at /usr/src/lib/libc/stdlib/getenv.c:438 438 if (environ == NULL || environ[0] == NULL) [New Thread 801007800 (LWP 100516/sshguard)] [New Thread 801007400 (LWP 100507/sshguard)] (gdb) bt full #0 getenv (name=0x800b9267b "TZ") at /usr/src/lib/libc/stdlib/getenv.c:438 envNdx = <value optimized out> #1 0x0000000800b61e11 in tzset_basic (rdlocked=1) at /usr/src/lib/libc/../../contrib/tzcode/stdtime/localtime.c:1274 name = <value optimized out> #2 0x0000000800b62112 in localtime_r (timep=0x7fffffffc138, tmp=0x7fffffffc080) at /usr/src/lib/libc/../../contrib/tzcode/stdtime/localtime.c:1483 No locals. #3 0x0000000800b62270 in ctime_r (timep=<value optimized out>, buf=0x7fffffffcd80 "PÍÿÿÿ\177") at /usr/src/lib/libc/../../contrib/tzcode/stdtime/localtime.c:1766 mytm = {tm_sec = -16072, tm_min = 32767, tm_hour = -12928, tm_mday = 32767, tm_mon = 0, tm_year = 0, tm_wday = 0, tm_yday = 0, tm_isdst = 4, tm_gmtoff = 514, tm_zone = 0x50e565d3 <Address 0x50e565d3 out of bounds>} #4 0x0000000800b5d938 in vsyslog (pri=37, fmt=0x43e191 "%s", ap=0x7fffffffcdf0) at /usr/src/lib/libc/gen/syslog.c:178 cnt = <value optimized out> ch = <value optimized out> p = <value optimized out> now = 1357211091 fd = <value optimized out> saved_errno = 2 stdp = <value optimized out> tbuf = "Ð\006\000\001\b\000\000\000{Wd\000\b\000\000\000\000\000\000\000\006\000\006\000ô¶\205\000\b\000\000\000 Âÿÿÿ\177\000\000\000´e\000\b\000\000\0000Âÿÿÿ\177\000\000ÐÁÿÿÿ\177\000\000\000\000\000\000\000\000\000\000¹zd\000\b", '\0' <repeats 35 times>, "p\030\000\001\b\000\000\000ÿÿÿÿ\000\000\000\000p\030\000\001\b\000\000\000ÿÿÿÿ\b\000\000\000\200\v\000\001\b\000\000\000ÿÿÿÿ\000\000\000\000À\004\000\001\b\000\000\000ÿÿÿÿ\b\000\000\000À\004\000\001\b\000\000\000\000¸e\000\b\000\000\000(\006\000\001\b\000\000\000\001\000\000\000ÿ\177\000\000 \v\000\001\b\000\000\000\001\000\000\000\000\000\000\000@"... fmt_cpy = "¶Ëÿÿÿ\177\000\000óÌÿÿÿ\177\000\000ðÌÿÿÿ\177\000\000°Ëÿÿÿ\177\000\000ðÌÿÿÿ\177\000\000ÐÌÿÿÿ\177\000\000 Ëÿÿÿ\177\000\000\020Êÿÿÿ\177\000\000 ®@\000\000\000\000\000`\214Û\000\b\000\000\000PÍÿÿÿ\177\000\000{Wd\000\000\000\000\000É®@\000\000\000\000\000íÌÿÿÿ\177\000\000pÊÿÿB\000\000\000{Wd\000\b\000\000\000\234ñ¸\000\002\000\002\000,l¨\000\b\000\000\000\220Êÿÿÿ\177\000\000\000¸e\000\b\000\000\000 Êÿÿÿ\177\000\000@Êÿÿÿ\177\000\000\000\000\000\000\000\000\000\000¹zd\000\b", '\0' <repeats 11 times>, "("... timbuf = "PÍÿÿÿ\177\000\000\004\000\000\000\000\000\000\000íÌÿÿÿ\177\000\000ã\001" errstr = "1\017@\000\000\000\000\000W£°\a", '\0' <repeats 13 times>, "¸e\000\b\000\000\000`ú\001\001\b\000\000\000 ®@", '\0' <repeats 13 times>, "½ d\000\b\000\000" fp = (FILE *) 0x800dd3460 fmt_fp = <value optimized out> tbuf_cookie = {base = 0x7fffffffc140 "Ð\006", left = 2048} fmt_cookie = {base = 0x8010011e0 "@?d", left = 1} #5 0x0000000800b5d838 in syslog (pri=<value optimized out>, fmt=<value optimized out>) at /usr/src/lib/libc/gen/syslog.c:128 ap = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffced0, reg_save_area = 0x7fffffffce10}} #6 0x0000000000403c6f in sshguard_log (prio=5, fmt=0x40aea0 "Started successfully [(a,p,s)=(%u, %u, %u)], now ready to scan.") at sshguard_log.c:129 ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffcfd0, reg_save_area = 0x7fffffffcef0}} __func__ = "sshguard_log" #7 0x0000000000402516 in main (argc=16906848, argv=0x80101d080) at sshguard.c:222 tid = 0x801007800 retv = 942421043 source_id = 32767 buf = '\0' <repeats 72 times>, "{Wd\000\b\000\000\000\000\000\000\000\002\000\002\000\br¨\000\b\000\000\000 Ñÿÿÿ\177\000\000\000¸e\000\b\000\000\0000Ñÿÿÿ\177\000\000ÐÐÿÿÿ\177\000\000\000\000\000\000\000\000\000\000¹zd\000\b", '\0' <repeats 21 times>, "d\000\b", '\0' <repeats 29 times>, "d\000\b\000\000\000\030\203\205\000\b\00---Type <return> to continue, or q <return> to quit--- 0\000\0008u©\000\b", '\0' <repeats 43 times>, " \221e\000\b\000\000\000°Ñÿÿÿ\177\000\000\220Òÿÿÿ\177\000\000\000\000\000\000\000\000\000\000\220Òÿÿÿ\177\000\000W{d\000\b\000\000\000Ã\020@\000\000\000\000\000\004Ï\212\006\000\000\000\000ôò\217ò\000"... (gdb) l 129 warning: Source file is more recent than executable. 124 static int my_pidfile_create(); 125 static void my_pidfile_destroy(); 126 127 128 int main(int argc, char *argv[]) { 129 pthread_t tid; 130 int retv; 131 sourceid_t source_id; 132 char buf[MAX_LOGLINE_LEN]; 133 (gdb) l 222 217 } 218 219 220 /* initialization successful */ 221 222 sshguard_log(LOG_NOTICE, "Started successfully [(a,p,s)=(%u, %u, %u)], now ready to scan.", \ 223 opts.abuse_threshold, (unsigned int)opts.pardon_threshold, (unsigned int)opts.stale_threshold); 224 225 226 while (read_log_line(buf, MAX_LOGLINE_LEN, false, & source_id) == 0) { -- IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> ite...@freebsd.org, PGP Key ID F0808380 _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"