Package: netsniff-ng Version: 0.5.8-2 Severity: important Dear Maintainer, Running ifpps -d $interface causes a segmetation fault, if I run ifpps with the -c flag (csv) it works. I've tried the same package on x64 architecture and it works.
I have tried this package in 3 machines (2 physical and 1 virtualbox) with the same results. I have also tried to compile from source (apt-get source) with same results. Here is an example: root@debian:~# ifpps eth0 Segmentation fault root@debian:~# ####################################################################### DEBUG: root@debian:~# strace ifpps eth0 execve("/usr/sbin/ifpps", ["ifpps", "eth0"], [/* 17 vars */]) = 0 brk(0) = 0x88af000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7721000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=89909, ...}) = 0 mmap2(NULL, 89909, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb770b000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i386-linux-gnu/libncurses.so.5", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 O\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=157816, ...}) = 0 mmap2(NULL, 161048, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb76e3000 mmap2(0xb7709000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0xb7709000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i386-linux-gnu/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300^\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=141676, ...}) = 0 mmap2(NULL, 141612, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb76c0000 mmap2(0xb76e0000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0xb76e0000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i386-linux-gnu/i686/cmov/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\233\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1750780, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76bf000 mmap2(NULL, 1755772, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7512000 mmap2(0xb76b9000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a7000) = 0xb76b9000 mmap2(0xb76bc000, 10876, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76bc000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i386-linux-gnu/i686/cmov/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=13856, ...}) = 0 mmap2(NULL, 16512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb750d000 mmap2(0xb7510000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xb7510000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb750c000 set_thread_area({entry_number:-1, base_addr:0xb750c700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:6) mprotect(0xb76b9000, 8192, PROT_READ) = 0 mprotect(0xb7510000, 4096, PROT_READ) = 0 mprotect(0xb76e0000, 8192, PROT_READ) = 0 mprotect(0xb7709000, 4096, PROT_READ) = 0 mprotect(0x8053000, 4096, PROT_READ) = 0 mprotect(0xb7745000, 4096, PROT_READ) = 0 munmap(0xb770b000, 89909) = 0 getuid32() = 0 setfsuid32(0) = 0 getgid32() = 0 setfsgid32(0) = 0 brk(0) = 0x88af000 brk(0x88d0000) = 0x88d0000 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCGIFMTU, {ifr_name="eth0", ifr_mtu=1500}) = 0 close(3) = 0 rt_sigaction(SIGINT, {0x8049f90, ~[RTMIN RT_1], SA_RESTART}, NULL, 8) = 0 rt_sigaction(SIGQUIT, {0x8049f90, ~[RTMIN RT_1], SA_RESTART}, NULL, 8) = 0 rt_sigaction(SIGSTOP, {0x8049f90, ~[RTMIN RT_1], SA_RESTART}, NULL, 8) = -1 EINVAL (Invalid argument) rt_sigaction(SIGHUP, {0x8049f90, ~[RTMIN RT_1], SA_RESTART}, NULL, 8) = 0 openat(AT_FDCWD, "/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 getdents64(3, /* 13 entries */, 32768) = 392 getdents64(3, /* 0 entries */, 32768) = 0 close(3) = 0 uname({sys="Linux", node="debian", ...}) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCETHTOOL, 0xbfe5d76c) = 0 close(3) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCGIWRATE, 0xbfe5d77c) = -1 EOPNOTSUPP (Operation not supported) close(3) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 stat64("/root/.terminfo", 0x88af310) = -1 ENOENT (No such file or directory) stat64("/etc/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/lib/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/usr/share/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 time(NULL) = 1478263826 access("/etc/terminfo/x/xterm", R_OK) = -1 ENOENT (No such file or directory) access("/lib/terminfo/x/xterm", R_OK) = 0 open("/lib/terminfo/x/xterm", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=3361, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7720000 read(3, "\32\1)\0&\0\17\0\235\1u\5xterm|xterm-debian|X"..., 4096) = 3361 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7720000, 4096) = 0 time(NULL) = 1478263826 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, TIOCGWINSZ, {ws_row=66, ws_col=319, ws_xpixel=1920, ws_ypixel=873}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, TIOCGWINSZ, {ws_row=66, ws_col=319, ws_xpixel=1920, ws_ypixel=873}) = 0 brk(0x88f1000) = 0x88f1000 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 brk(0x8912000) = 0x8912000 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig -icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0 rt_sigaction(SIGTSTP, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTSTP, {0xb76f72d0, [], SA_RESTART}, NULL, 8) = 0 rt_sigaction(SIGINT, NULL, {0x8049f90, ~[KILL STOP RTMIN RT_1], SA_RESTART}, 8) = 0 rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {0xb76f71c0, [], SA_RESTART}, NULL, 8) = 0 rt_sigaction(SIGWINCH, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGWINCH, {0xb76f71a0, [], 0}, NULL, 8) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost -isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0 write(1, "\33[?1049h\33[1;66r\33(B\33[m\33[4l\33[?7h\33["..., 37[?1049h[1;66r(B[m[4l[?7h[?1h=) = 37 rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTART}, {0xb76f72d0, [], SA_RESTART}, 8) = 0 write(1, "\33[H\33[2J", 7[H[2J) = 7 rt_sigaction(SIGTSTP, {0xb76f72d0, [], SA_RESTART}, NULL, 8) = 0 rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTART}, {0xb76f72d0, [], SA_RESTART}, 8) = 0 select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) rt_sigaction(SIGTSTP, {0xb76f72d0, [], SA_RESTART}, NULL, 8) = 0 gettimeofday({1478263826, 553186}, NULL) = 0 select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) gettimeofday({1478263826, 553215}, NULL) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCETHTOOL, 0xbfe5d76c) = 0 close(3) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCGIWRATE, 0xbfe5d77c) = -1 EOPNOTSUPP (Operation not supported) close(3) = 0 write(1, "\33[?25l", 6[?25l) = 6 openat(AT_FDCWD, "/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 getdents64(3, /* 13 entries */, 32768) = 392 getdents64(3, /* 0 entries */, 32768) = 0 close(3) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCETHTOOL, 0xbfe5d5dc) = 0 close(3) = 0 openat(AT_FDCWD, "/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 getdents64(3, /* 13 entries */, 32768) = 392 getdents64(3, /* 0 entries */, 32768) = 0 close(3) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCETHTOOL, 0xbfe5d5cc) = 0 close(3) = 0 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1} --- +++ killed by SIGSEGV +++ Segmentation fault root@debian:~# gdb ifpps GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ifpps...(no debugging symbols found)...done. (gdb) run eth0 Starting program: /usr/sbin/ifpps eth0 [?1049h[1;66r(B[m[4l[?7h[?1h=[H[2J[?25l Program received signal SIGSEGV, Segmentation fault. 0xb7e10508 in _IO_vfprintf_internal (s=s@entry=0xbffff7f0, format=<optimized out>, format@entry=0x8050938 "%s,%s %s (%s%s), t=%lums, cpus=%u%s/%u", ' ' <repeats 15 times>, ap=0xbffff9a0 "e\024\005\b\001", ap@entry=0xbffff980 "\002B\005\b\b\372\377\277\bP\005\bL\372\377\277\310\371\377\277\350\003") at vfprintf.c:1642 1642 vfprintf.c: No such file or directory. (gdb) bt full #0 0xb7e10508 in _IO_vfprintf_internal (s=s@entry=0xbffff7f0, format=<optimized out>, format@entry=0x8050938 "%s,%s %s (%s%s), t=%lums, cpus=%u%s/%u", ' ' <repeats 15 times>, ap=0xbffff9a0 "e\024\005\b\001", ap@entry=0xbffff980 "\002B\005\b\b\372\377\277\bP\005\bL\372\377\277\310\371\377\277\350\003") at vfprintf.c:1642 len = <optimized out> string_malloced = <optimized out> step0_jumps = {0, -18243, -15104, -15029, -14947, -14872, -14778, -14537, -13085, -13585, -13484, -12820, -12669, -12584, -12499, -14339, -3134, -3119, -9977, -9884, -2584, -11018, -1716, -2929, -2250, -2144, -2857, -12584, -12669, -14627} space = 0 is_short = 0 use_outdigits = 0 step1_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, -13585, -13484, -12820, -12669, -12584, -12499, -14339, -3134, -3119, -9977, -9884, -2584, -11018, -1716, -2929, -2250, -2144, -2857, -12584, -12669, 0} group = 0 prec = -1 step2_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -13484, -12820, -12669, -12584, -12499, -14339, -3134, -3119, -9977, -9884, -2584, -11018, -1716, -2929, -2250, -2144, -2857, -12584, -12669, 0} string = <optimized out> left = 0 is_long_double = 0 width = 0 step3a_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -12905, 0, 0, 0, -12499, -14339, -3134, -3119, -9977, 0, 0, 0, 0, -2929, 0, 0, 0, 0, 0, 0} alt = 0 showsign = 0 is_long = 0 is_char = 0 pad = 32 ' ' step3b_jumps = {0 <repeats 11 times>, -12669, 0, 0, -12499, -14339, -3134, -3119, -9977, -9884, -2584, -11018, -1716, -2929, -2250, -2144, -2857, 0, 0, 0} step4_jumps = {0 <repeats 14 times>, -12499, -14339, -3134, -3119, -9977, -9884, -2584, -11018, -1716, -2929, -2250, -2144, -2857, 0, 0, 0} is_negative = <optimized out> base = <optimized out> the_arg = {pa_wchar = -1 L'\xffffffff', pa_int = -1, pa_long_int = -1, pa_long_long_int = 4294967295, pa_u_int = 4294967295, pa_u_long_int = 4294967295, pa_u_long_long_int = 4294967295, pa_double = 2.1219957904712067e-314, pa_long_double = 1.5656012773184538201527627793379349e-4941, pa_string = 0xffffffff <error: Cannot access memory at address 0xffffffff>, pa_wstring = 0xffffffff <error: Cannot access memory at address 0xffffffff>, pa_pointer = 0xffffffff, pa_user = 0xffffffff} spec = 115 's' _buffer = {__routine = 0xfffffffc, __arg = 0xbffff980, __canceltype = 0, __prev = 0x0} _avail = <optimized out> thousands_sep = 0x0 grouping = 0xffffffff <error: Cannot access memory at address 0xffffffff> done = 70 f = 0x805095a "s/%u", ' ' <repeats 15 times> lead_str_end = <optimized out> end_of_spec = <optimized out> work_buffer = "\000\000\000\000\006\000\000\000\000\000\000\000\325\375\004\b|\371\377\277d\000\000\000\000\000 \000>\370\377\277\204\371\377\277d\000\000\000\000\000\000\000N\370\377\277\356-\341\267\000\000\000\000\060Z\005\b\000\000\000\000\356-\341\267\002\000\000\000\060Z\005\b2Z\005\b\200\371\377\277\002\000\000\000\000\000\000\000\062Z\005\b\220\371\377\277", '\000' <repeats 64 times>, "Ђ\367\267\314\364\377\277\000\360\377\267Ђ\367\267\206N\376\267P\240ܷ\000\000\000\000\060\000\000\000\022\b\000\000\003\000\000\000\000"... workstart = 0x0 workend = <optimized out> ap_save = 0xbffff980 "\002B\005\b\b\372\377\277\bP\005\bL\372\377\277\310\371\377\277\350\003" nspecs_done = 7 save_errno = <optimized out> readonly_format = 0 args_malloced = 0x0 specs = <optimized out> specs_malloced = false jump_table = "\001\000\000\004\000\016\000\006\000\000\a\002\000\003\t\000\005\b\b\b\b\b\b\b\b\b\000\000\000\000\000\000\000\032\000\031\000\023\023\023\000\035\000\000\f\000\000\000\000\000\000\025\000\000\000\000\022\000\r\000\000\000\000\000\000\032\000\024\017\023\023\023\n\017\034\000\v\030\027\021\026\f\000\025\033\020\000\000\022\000\r" __PRETTY_FUNCTION__ = "_IO_vfprintf_internal" #1 0xb7ec53b0 in ___vsnprintf_chk (s=0x809c7d0 "3.16.0-4-586, i686, eth0 (e1000 1000Mbit/s link:yes), t=1000ms, cpus=0\004..", maxlen=<optimized out>, flags=1, slen=4294967295, format=0x8050938 "%s,%s %s (%s%s), t=%lums, cpus=%u%s/%u", ' ' <repeats 15 times>, args=0xbffff980 "\002B\005\b\b\372\377\277\bP\005\bL\372\377\277\310\371\377\277\350\003") at vsnprintf_chk.c:63 sf = {f = {_sbf = {_f = {_flags = -72515583, _IO_read_ptr = 0x809c7d0 "3.16.0-4-586, i686, eth0 (e1000 1000Mbit/s link:yes), t=1000ms, cpus=0\004..", _IO_read_end = 0x809c7d0 "3.16.0-4-586, i686, eth0 (e1000 1000Mbit/s link:yes), t=1000ms, cpus=0\004..", _IO_read_base = 0x809c7d0 "3.16.0-4-586, i686, eth0 (e1000 1000Mbit/s link:yes), t=1000ms, cpus=0\004..", _IO_write_base = 0x809c7d0 "3.16.0-4-586, i686, eth0 (e1000 1000Mbit/s link:yes), t=1000ms, cpus=0\004..", _IO_write_ptr = 0x809c816 "\004..", _IO_write_end = 0x80a1a50 "", _IO_buf_base = 0x809c7d0 "3.16.0-4-586, i686, eth0 (e1000 1000Mbit/s link:yes), t=1000ms, cpus=0\004..", _IO_buf_end = 0x80a1a50 "", _IO_save_base = 0x0, _IO_backup_base = 0x0, _IO_save_end = 0x0, _markers = 0x0, _chain = 0x0, _fileno = -1210237816, _flags2 = 4, _old_offset = 1, _cur_column = 0, _vtable_offset = 0 '\000', _shortbuf = "", _lock = 0x0, _offset = -4611693766548389888, _codecvt = 0xbffff868, _wide_data = 0xffffffff, _freeres_list = 0x0, _freeres_buf = 0xb7fdb860, _freeres_size = 3086435408, _mode = -1, _unused2 = "\000\000\000\000\377\377\377\377\000\360\377\267`\270\375\267\001\000\000\000\320\370\377\277_\314\376\267\030\272\375\267\210\207\367\267\001\000\000"}, vtable = 0xb7f73920 <_IO_strn_jumps>}, _s = {_allocate_buffer = 0x0, _free_buffer = 0x73}}, overflow_buf = "\000\000\000\000w\000\000\000\264\370\377\277X2\374\267\000\347\371\267\240\320\371\267`\270\375\267\000@\367\267 D\367\267\210<ݷ?\001\000\000\261\v\344\267\001\000\000\000\000\060\374\267\300\266\371\267\070\t\005\b"} ret = <optimized out> #2 0xb7fb1a36 in _nc_printf_string () from /lib/i386-linux-gnu/libncurses.so.5 No symbol table info available. #3 0xb7fad38c in vwprintw () from /lib/i386-linux-gnu/libncurses.so.5 No symbol table info available. #4 0xb7fad4ac in mvwprintw () from /lib/i386-linux-gnu/libncurses.so.5 ---Type <return> to continue, or q <return> to quit--- No symbol table info available. #5 0x0804aa18 in ?? () No symbol table info available. #6 0x0804c4fa in ?? () No symbol table info available. #7 0x0804974e in ?? () No symbol table info available. #8 0xb7de4a63 in __libc_start_main (main=0x80493f0, argc=2, argv=0xbffffd74, init=0x804fbe0, fini=0x804fc50, rtld_fini=0xb7fedc50 <_dl_fini>, stack_end=0xbffffd6c) at libc-start.c:287 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1208532992, 0, 0, 0, 341243183, 1463513407}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x2, 0x8049827}, data = {prev = 0x0, cleanup = 0x0, canceltype = 2}}} not_first_call = <optimized out> #9 0x08049848 in ?? () No symbol table info available. (gdb) quit A debugging session is active. Inferior 1 [process 18703] will be killed. Quit anyway? (y or n) y -- System Information: Debian Release: 8.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 3.16.0-4-586 Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages netsniff-ng depends on: ii libc6 2.19-18+deb8u6 ii libcli1.9 1.9.7-1 ii libgeoip1 1.6.2-4 ii libncurses5 5.9+20140913-1+b1 ii libnet1 1.1.6+dfsg-3 ii libnetfilter-conntrack3 1.0.4-1 ii libnl-3-200 3.2.24-2 ii libnl-genl-3-200 3.2.24-2 ii libpcap0.8 1.6.2-2 ii libtinfo5 5.9+20140913-1+b1 ii liburcu2 0.8.5-1 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages netsniff-ng recommends: ii ntp 1:4.2.6.p5+dfsg-7+deb8u2 netsniff-ng suggests no packages. -- no debconf information
root@debian:~# strace ifpps eth0 execve("/usr/sbin/ifpps", ["ifpps", "eth0"], [/* 17 vars */]) = 0 brk(0) = 0x88af000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7721000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=89909, ...}) = 0 mmap2(NULL, 89909, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb770b000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i386-linux-gnu/libncurses.so.5", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 O\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=157816, ...}) = 0 mmap2(NULL, 161048, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb76e3000 mmap2(0xb7709000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0xb7709000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i386-linux-gnu/libtinfo.so.5", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300^\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=141676, ...}) = 0 mmap2(NULL, 141612, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb76c0000 mmap2(0xb76e0000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0xb76e0000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i386-linux-gnu/i686/cmov/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\233\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1750780, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb76bf000 mmap2(NULL, 1755772, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7512000 mmap2(0xb76b9000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a7000) = 0xb76b9000 mmap2(0xb76bc000, 10876, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76bc000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/i386-linux-gnu/i686/cmov/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=13856, ...}) = 0 mmap2(NULL, 16512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb750d000 mmap2(0xb7510000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xb7510000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb750c000 set_thread_area({entry_number:-1, base_addr:0xb750c700, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 (entry_number:6) mprotect(0xb76b9000, 8192, PROT_READ) = 0 mprotect(0xb7510000, 4096, PROT_READ) = 0 mprotect(0xb76e0000, 8192, PROT_READ) = 0 mprotect(0xb7709000, 4096, PROT_READ) = 0 mprotect(0x8053000, 4096, PROT_READ) = 0 mprotect(0xb7745000, 4096, PROT_READ) = 0 munmap(0xb770b000, 89909) = 0 getuid32() = 0 setfsuid32(0) = 0 getgid32() = 0 setfsgid32(0) = 0 brk(0) = 0x88af000 brk(0x88d0000) = 0x88d0000 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCGIFMTU, {ifr_name="eth0", ifr_mtu=1500}) = 0 close(3) = 0 rt_sigaction(SIGINT, {0x8049f90, ~[RTMIN RT_1], SA_RESTART}, NULL, 8) = 0 rt_sigaction(SIGQUIT, {0x8049f90, ~[RTMIN RT_1], SA_RESTART}, NULL, 8) = 0 rt_sigaction(SIGSTOP, {0x8049f90, ~[RTMIN RT_1], SA_RESTART}, NULL, 8) = -1 EINVAL (Invalid argument) rt_sigaction(SIGHUP, {0x8049f90, ~[RTMIN RT_1], SA_RESTART}, NULL, 8) = 0 openat(AT_FDCWD, "/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 getdents64(3, /* 13 entries */, 32768) = 392 getdents64(3, /* 0 entries */, 32768) = 0 close(3) = 0 uname({sys="Linux", node="debian", ...}) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCETHTOOL, 0xbfe5d76c) = 0 close(3) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCGIWRATE, 0xbfe5d77c) = -1 EOPNOTSUPP (Operation not supported) close(3) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 stat64("/root/.terminfo", 0x88af310) = -1 ENOENT (No such file or directory) stat64("/etc/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/lib/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/usr/share/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 time(NULL) = 1478263826 access("/etc/terminfo/x/xterm", R_OK) = -1 ENOENT (No such file or directory) access("/lib/terminfo/x/xterm", R_OK) = 0 open("/lib/terminfo/x/xterm", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=3361, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7720000 read(3, "\32\1)\0&\0\17\0\235\1u\5xterm|xterm-debian|X"..., 4096) = 3361 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7720000, 4096) = 0 time(NULL) = 1478263826 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, TIOCGWINSZ, {ws_row=66, ws_col=319, ws_xpixel=1920, ws_ypixel=873}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, TIOCGWINSZ, {ws_row=66, ws_col=319, ws_xpixel=1920, ws_ypixel=873}) = 0 brk(0x88f1000) = 0x88f1000 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 brk(0x8912000) = 0x8912000 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig -icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0 rt_sigaction(SIGTSTP, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTSTP, {0xb76f72d0, [], SA_RESTART}, NULL, 8) = 0 rt_sigaction(SIGINT, NULL, {0x8049f90, ~[KILL STOP RTMIN RT_1], SA_RESTART}, 8) = 0 rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {0xb76f71c0, [], SA_RESTART}, NULL, 8) = 0 rt_sigaction(SIGWINCH, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGWINCH, {0xb76f71a0, [], 0}, NULL, 8) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost -isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0 write(1, "\33[?1049h\33[1;66r\33(B\33[m\33[4l\33[?7h\33["..., 37[?1049h[1;66r(B[m[4l[?7h[?1h=) = 37 rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTART}, {0xb76f72d0, [], SA_RESTART}, 8) = 0 write(1, "\33[H\33[2J", 7[H[2J) = 7 rt_sigaction(SIGTSTP, {0xb76f72d0, [], SA_RESTART}, NULL, 8) = 0 rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTART}, {0xb76f72d0, [], SA_RESTART}, 8) = 0 select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) rt_sigaction(SIGTSTP, {0xb76f72d0, [], SA_RESTART}, NULL, 8) = 0 gettimeofday({1478263826, 553186}, NULL) = 0 select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout) gettimeofday({1478263826, 553215}, NULL) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCETHTOOL, 0xbfe5d76c) = 0 close(3) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCGIWRATE, 0xbfe5d77c) = -1 EOPNOTSUPP (Operation not supported) close(3) = 0 write(1, "\33[?25l", 6[?25l) = 6 openat(AT_FDCWD, "/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 getdents64(3, /* 13 entries */, 32768) = 392 getdents64(3, /* 0 entries */, 32768) = 0 close(3) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCETHTOOL, 0xbfe5d5dc) = 0 close(3) = 0 openat(AT_FDCWD, "/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 getdents64(3, /* 13 entries */, 32768) = 392 getdents64(3, /* 0 entries */, 32768) = 0 close(3) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 ioctl(3, SIOCETHTOOL, 0xbfe5d5cc) = 0 close(3) = 0 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1} --- +++ killed by SIGSEGV +++ Segmentation fault root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# root@debian:~# gdb ifpps GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ifpps...(no debugging symbols found)...done. (gdb) run eth0 Starting program: /usr/sbin/ifpps eth0 [?1049h[1;66r(B[m[4l[?7h[?1h=[H[2J[?25l Program received signal SIGSEGV, Segmentation fault. 0xb7e10508 in _IO_vfprintf_internal (s=s@entry=0xbffff7f0, format=<optimized out>, format@entry=0x8050938 "%s,%s %s (%s%s), t=%lums, cpus=%u%s/%u", ' ' <repeats 15 times>, ap=0xbffff9a0 "e\024\005\b\001", ap@entry=0xbffff980 "\002B\005\b\b\372\377\277\bP\005\bL\372\377\277\310\371\377\277\350\003") at vfprintf.c:1642 1642 vfprintf.c: No such file or directory. (gdb) bt full #0 0xb7e10508 in _IO_vfprintf_internal (s=s@entry=0xbffff7f0, format=<optimized out>, format@entry=0x8050938 "%s,%s %s (%s%s), t=%lums, cpus=%u%s/%u", ' ' <repeats 15 times>, ap=0xbffff9a0 "e\024\005\b\001", ap@entry=0xbffff980 "\002B\005\b\b\372\377\277\bP\005\bL\372\377\277\310\371\377\277\350\003") at vfprintf.c:1642 len = <optimized out> string_malloced = <optimized out> step0_jumps = {0, -18243, -15104, -15029, -14947, -14872, -14778, -14537, -13085, -13585, -13484, -12820, -12669, -12584, -12499, -14339, -3134, -3119, -9977, -9884, -2584, -11018, -1716, -2929, -2250, -2144, -2857, -12584, -12669, -14627} space = 0 is_short = 0 use_outdigits = 0 step1_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, -13585, -13484, -12820, -12669, -12584, -12499, -14339, -3134, -3119, -9977, -9884, -2584, -11018, -1716, -2929, -2250, -2144, -2857, -12584, -12669, 0} group = 0 prec = -1 step2_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -13484, -12820, -12669, -12584, -12499, -14339, -3134, -3119, -9977, -9884, -2584, -11018, -1716, -2929, -2250, -2144, -2857, -12584, -12669, 0} string = <optimized out> left = 0 is_long_double = 0 width = 0 step3a_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -12905, 0, 0, 0, -12499, -14339, -3134, -3119, -9977, 0, 0, 0, 0, -2929, 0, 0, 0, 0, 0, 0} alt = 0 showsign = 0 is_long = 0 is_char = 0 pad = 32 ' ' step3b_jumps = {0 <repeats 11 times>, -12669, 0, 0, -12499, -14339, -3134, -3119, -9977, -9884, -2584, -11018, -1716, -2929, -2250, -2144, -2857, 0, 0, 0} step4_jumps = {0 <repeats 14 times>, -12499, -14339, -3134, -3119, -9977, -9884, -2584, -11018, -1716, -2929, -2250, -2144, -2857, 0, 0, 0} is_negative = <optimized out> base = <optimized out> the_arg = {pa_wchar = -1 L'\xffffffff', pa_int = -1, pa_long_int = -1, pa_long_long_int = 4294967295, pa_u_int = 4294967295, pa_u_long_int = 4294967295, pa_u_long_long_int = 4294967295, pa_double = 2.1219957904712067e-314, pa_long_double = 1.5656012773184538201527627793379349e-4941, pa_string = 0xffffffff <error: Cannot access memory at address 0xffffffff>, pa_wstring = 0xffffffff <error: Cannot access memory at address 0xffffffff>, pa_pointer = 0xffffffff, pa_user = 0xffffffff} spec = 115 's' _buffer = {__routine = 0xfffffffc, __arg = 0xbffff980, __canceltype = 0, __prev = 0x0} _avail = <optimized out> thousands_sep = 0x0 grouping = 0xffffffff <error: Cannot access memory at address 0xffffffff> done = 70 f = 0x805095a "s/%u", ' ' <repeats 15 times> lead_str_end = <optimized out> end_of_spec = <optimized out> work_buffer = "\000\000\000\000\006\000\000\000\000\000\000\000\325\375\004\b|\371\377\277d\000\000\000\000\000 \000>\370\377\277\204\371\377\277d\000\000\000\000\000\000\000N\370\377\277\356-\341\267\000\000\000\000\060Z\005\b\000\000\000\000\356-\341\267\002\000\000\000\060Z\005\b2Z\005\b\200\371\377\277\002\000\000\000\000\000\000\000\062Z\005\b\220\371\377\277", '\000' <repeats 64 times>, "Ђ\367\267\314\364\377\277\000\360\377\267Ђ\367\267\206N\376\267P\240ܷ\000\000\000\000\060\000\000\000\022\b\000\000\003\000\000\000\000"... workstart = 0x0 workend = <optimized out> ap_save = 0xbffff980 "\002B\005\b\b\372\377\277\bP\005\bL\372\377\277\310\371\377\277\350\003" nspecs_done = 7 save_errno = <optimized out> readonly_format = 0 args_malloced = 0x0 specs = <optimized out> specs_malloced = false jump_table = "\001\000\000\004\000\016\000\006\000\000\a\002\000\003\t\000\005\b\b\b\b\b\b\b\b\b\000\000\000\000\000\000\000\032\000\031\000\023\023\023\000\035\000\000\f\000\000\000\000\000\000\025\000\000\000\000\022\000\r\000\000\000\000\000\000\032\000\024\017\023\023\023\n\017\034\000\v\030\027\021\026\f\000\025\033\020\000\000\022\000\r" __PRETTY_FUNCTION__ = "_IO_vfprintf_internal" #1 0xb7ec53b0 in ___vsnprintf_chk (s=0x809c7d0 "3.16.0-4-586, i686, eth0 (e1000 1000Mbit/s link:yes), t=1000ms, cpus=0\004..", maxlen=<optimized out>, flags=1, slen=4294967295, format=0x8050938 "%s,%s %s (%s%s), t=%lums, cpus=%u%s/%u", ' ' <repeats 15 times>, args=0xbffff980 "\002B\005\b\b\372\377\277\bP\005\bL\372\377\277\310\371\377\277\350\003") at vsnprintf_chk.c:63 sf = {f = {_sbf = {_f = {_flags = -72515583, _IO_read_ptr = 0x809c7d0 "3.16.0-4-586, i686, eth0 (e1000 1000Mbit/s link:yes), t=1000ms, cpus=0\004..", _IO_read_end = 0x809c7d0 "3.16.0-4-586, i686, eth0 (e1000 1000Mbit/s link:yes), t=1000ms, cpus=0\004..", _IO_read_base = 0x809c7d0 "3.16.0-4-586, i686, eth0 (e1000 1000Mbit/s link:yes), t=1000ms, cpus=0\004..", _IO_write_base = 0x809c7d0 "3.16.0-4-586, i686, eth0 (e1000 1000Mbit/s link:yes), t=1000ms, cpus=0\004..", _IO_write_ptr = 0x809c816 "\004..", _IO_write_end = 0x80a1a50 "", _IO_buf_base = 0x809c7d0 "3.16.0-4-586, i686, eth0 (e1000 1000Mbit/s link:yes), t=1000ms, cpus=0\004..", _IO_buf_end = 0x80a1a50 "", _IO_save_base = 0x0, _IO_backup_base = 0x0, _IO_save_end = 0x0, _markers = 0x0, _chain = 0x0, _fileno = -1210237816, _flags2 = 4, _old_offset = 1, _cur_column = 0, _vtable_offset = 0 '\000', _shortbuf = "", _lock = 0x0, _offset = -4611693766548389888, _codecvt = 0xbffff868, _wide_data = 0xffffffff, _freeres_list = 0x0, _freeres_buf = 0xb7fdb860, _freeres_size = 3086435408, _mode = -1, _unused2 = "\000\000\000\000\377\377\377\377\000\360\377\267`\270\375\267\001\000\000\000\320\370\377\277_\314\376\267\030\272\375\267\210\207\367\267\001\000\000"}, vtable = 0xb7f73920 <_IO_strn_jumps>}, _s = {_allocate_buffer = 0x0, _free_buffer = 0x73}}, overflow_buf = "\000\000\000\000w\000\000\000\264\370\377\277X2\374\267\000\347\371\267\240\320\371\267`\270\375\267\000@\367\267 D\367\267\210<ݷ?\001\000\000\261\v\344\267\001\000\000\000\000\060\374\267\300\266\371\267\070\t\005\b"} ret = <optimized out> #2 0xb7fb1a36 in _nc_printf_string () from /lib/i386-linux-gnu/libncurses.so.5 No symbol table info available. #3 0xb7fad38c in vwprintw () from /lib/i386-linux-gnu/libncurses.so.5 No symbol table info available. #4 0xb7fad4ac in mvwprintw () from /lib/i386-linux-gnu/libncurses.so.5 ---Type <return> to continue, or q <return> to quit--- No symbol table info available. #5 0x0804aa18 in ?? () No symbol table info available. #6 0x0804c4fa in ?? () No symbol table info available. #7 0x0804974e in ?? () No symbol table info available. #8 0xb7de4a63 in __libc_start_main (main=0x80493f0, argc=2, argv=0xbffffd74, init=0x804fbe0, fini=0x804fc50, rtld_fini=0xb7fedc50 <_dl_fini>, stack_end=0xbffffd6c) at libc-start.c:287 result = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1208532992, 0, 0, 0, 341243183, 1463513407}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x2, 0x8049827}, data = {prev = 0x0, cleanup = 0x0, canceltype = 2}}} not_first_call = <optimized out> #9 0x08049848 in ?? () No symbol table info available. (gdb) quit A debugging session is active. Inferior 1 [process 18703] will be killed. Quit anyway? (y or n) y root@debian:~# vi /[K[K[K[Kexit exit Script done on Fri 04 Nov 2016 01:50:54 PM CET